diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d92f4d..2ba3a59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,30 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Added +- Added **bookmark management**: Added full-featured bookmark management functionality +- Added **Tab navigation bar**: options in appearance, displaying: tabs, bookmarks, history, recently closed tabs, reading list, and quick access on the side panel +- Added **Add tab to group** menu: add tabs to a new group or an existing group +- Added search keyword highlighting +- Added Premium Edition reservation +### Changed +- Adjusted Cookie, ReadingList, and bookmarks permissions to optional permissions, requiring user authorization for use +### Deprecated +- **Options Page - History - Show in side panel**: This option has been replaced by *Tab navigation bar* and will be deprecated soon + +### Fixed +- Fixed the issue where the expand group button would not appear when first clicking the sidebar +- Fixed the issue where reopening the browser and clicking the extension icon required reselecting between popup or sidebar +- Fixed the issue where the pinned tab icon and quick access icon sizes were inconsistent + +## [2.6.1] - 2024-08-30 + +### Changed +- Optimized menu display method, improved error prompts +- Added more compatibility for Chromium-based browsers -## [2.6.0] - 2024-08-20 +## [2.6.0] - 2024-08-28 ### Added - Added **Tab Menu Zoom**: A zoom feature has been added to the tab menu, allowing you to freely adjust the zoom level from 1% to 1000%. diff --git a/build/CHANGELOG.md b/build/CHANGELOG.md index 7d92f4d..2ba3a59 100644 --- a/build/CHANGELOG.md +++ b/build/CHANGELOG.md @@ -5,9 +5,30 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Added +- Added **bookmark management**: Added full-featured bookmark management functionality +- Added **Tab navigation bar**: options in appearance, displaying: tabs, bookmarks, history, recently closed tabs, reading list, and quick access on the side panel +- Added **Add tab to group** menu: add tabs to a new group or an existing group +- Added search keyword highlighting +- Added Premium Edition reservation +### Changed +- Adjusted Cookie, ReadingList, and bookmarks permissions to optional permissions, requiring user authorization for use +### Deprecated +- **Options Page - History - Show in side panel**: This option has been replaced by *Tab navigation bar* and will be deprecated soon + +### Fixed +- Fixed the issue where the expand group button would not appear when first clicking the sidebar +- Fixed the issue where reopening the browser and clicking the extension icon required reselecting between popup or sidebar +- Fixed the issue where the pinned tab icon and quick access icon sizes were inconsistent + +## [2.6.1] - 2024-08-30 + +### Changed +- Optimized menu display method, improved error prompts +- Added more compatibility for Chromium-based browsers -## [2.6.0] - 2024-08-20 +## [2.6.0] - 2024-08-28 ### Added - Added **Tab Menu Zoom**: A zoom feature has been added to the tab menu, allowing you to freely adjust the zoom level from 1% to 1000%. diff --git a/build/_locales/af/error.json b/build/_locales/af/error.json index fe0c5ef..0537fe0 100644 --- a/build/_locales/af/error.json +++ b/build/_locales/af/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gestoorde groepe is nie wysigbaar nie", + "Saved groups are not editable.": "Gestoorde groepe is nie wysigbaar nie", "ungroupingError": "Kon nie al die oortjies groepeer nie: {{error}}" } \ No newline at end of file diff --git a/build/_locales/af/options.json b/build/_locales/af/options.json index e066508..69552fc 100644 --- a/build/_locales/af/options.json +++ b/build/_locales/af/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rol na Aktiewe Oortjie" } }, + "tabNav": { + "label": "Wys oortjie navigasiebalk", + "description": "Wanneer geaktiveer, word die oortjie navigasiebalk vertoon", + "configure": "konfigureer", + "configureTabNav": "Konfigureer oortjie navigasie", + "enabledNavs": "Geaktiveerde navigasies", + "disabledNavs": "Gedeaktiveerde navigasies (beskikbaar)", + "showLabel": "Wys etiket", + "showCount": "Wys telling", + "days": "Dae", + "close": "Sluit", + "save": "Stoor", + "settings": "Instellings", + "OpenTabs": "Oop oortjies", + "RecentlyTabs": "Onlangs geslote oortjies", + "bookmarks": "Boekmerke", + "history": "Geskiedenis", + "readingList": "Leeslys", + "quickAccess": "Vinnige toegang", + "pinToToolbarReminder": "Maak asseblief seker dat die uitbreiding aan jou nutsbalk vasgemaak is voordat jy hierdie navigasie verwyder." + }, "bottomNav": { "label": "Wys onderste navigasiebalk", "description": "Wanneer hierdie opsie geaktiveer is, sal die onderste navigasiebalk verskyn", diff --git a/build/_locales/af/translation.json b/build/_locales/af/translation.json index c9d7637..e3eca17 100644 --- a/build/_locales/af/translation.json +++ b/build/_locales/af/translation.json @@ -151,5 +151,63 @@ "cancel": "Kanselleer", "fullscreen": "Volskerm", "exitFullscreen": "Verlaat Volskerm", - "zoom": "Soem" + "zoom": "Soem", + "undo": "Maak ongedaan", + "addTabToGroup": "Voeg oortjie by groep", + "newGroup": "Nuwe groep", + "nameThisGroup": "Noem hierdie groep", + "addBookmark": "Voeg boekmerk by", + "editBookmark": "Wysig boekmerk", + "deleteBookmark": "Verwyder boekmerk", + "duplicateBookmarks": "Dupliseer boekmerke", + "folderName": "Lêernaam", + "selectParentFolder": "Kies ouer lêer", + "addFolder": "Voeg lêer by", + "editFolder": "Wysig lêer", + "deleteFolder": "Verwyder lêer", + "deleteFolderConfirmation": "Wil jy regtig hierdie lêer verwyder? Alle boekmerke in hierdie lêer (insluitend boekmerke in sublêers) sal ook verwyder word.", + "containsCountURLs": "Bevat {{count}} URL's", + "openAll": "Maak alles oop ({{count}})", + "openAllInNewWindow": "Maak alles oop ({{count}}) in nuwe venster", + "openAllInIncognitoWindow": "Maak alles oop ({{count}}) in incognito venster", + "checkBookmarks": "Kontroleer boekmerke", + "hideEmptyFolders": "Versteek leë lêers", + "displayTreeConnectorLines": "Vertoon boomverbindingslyne", + "showBookmarkUrl": "Vertoon boekmerk URL", + "bookmarkManager": "Boekmerk Bestuurder", + "default": "Verstek", + "title": "Titel", + "url": "URL", + "recentlyUsed": "Onlangs gebruik", + "recentlyAdded": "Onlangs bygevoeg", + "switchToListView": "Skakel oor na lys aansig", + "switchToTreeView": "Skakel oor na boom aansig", + "premiumFeatureOnly": "Hierdie funksie is slegs beskikbaar met die Premium Uitgawe.", + "premiumFreeTrialDesc": "Hierdie funksie is eksklusief vir die Premium Uitgawe, en jy kan dit nou gratis probeer.", + "freeTrial": "Gratis Proeflopie", + "learnMore": "Leer Meer", + "limited": "beperk", + "premiumEdition": "Premium Uitgawe", + "PreOrderPremiumNow": "Vooraf bestel die Premium Uitgawe nou", + "getPremiumEditionNow": "Kry die Premium Uitgawe nou", + "alreadyHavePremiumLicenseKey": "Ek het reeds 'n Premium Uitgawe lisensie sleutel", + "licenseKey": "Lisensie Sleutel", + "activatePremium": "Aktiveer Premium Uitgawe", + "couldNotActivatePremium": "Kon nie Premium Uitgawe aktiveer nie. Voer asseblief 'n geldige lisensie sleutel in.", + "premiumActivatedSuccessfully": "Premium Uitgawe suksesvol geaktiveer.", + "premiumAccessFeatures": "Met die Premium Uitgawe, sal jy toegang kry tot bykomende funksies", + "premiumFeaturesPreOrderDescription": "Alle sleutelkenmerke van die uitbreiding is gratis om te gebruik en sal toeganklik bly sonder om Premium toegang te vereis. Die Premium Uitgawe, wat gevorderde funksies insluit wat vir professionele gebruik ontwerp is, is steeds in ontwikkeling. Deur nou vooraf te bestel, kan jy die ontwikkeling van hierdie premium vermoëns ondersteun en dit teen 'n goeie prys kry voordat hulle bekendgestel word.", + "premiumFeaturesDescription": "Alle sleutelkenmerke van die uitbreiding is gratis om te gebruik en sal toeganklik bly sonder om Premium toegang te vereis. Ons bied bykomende funksies om gevorderde vermoëns vir professionele gebruik te verskaf, wat beskikbaar sal wees in die Premium Uitgawe teen 'n fooi.", + "earlyBirdTicket": "Vroeë Voëlkaartjie", + "earlyBirdTicketDesc": "Ons is op die punt om Premium Uitgawe funksies bekend te stel, en jy kan nou voordeel trek uit 'n spesiale vroeë-voël aanbod om die ontwikkeling van hierdie verbeterings te ondersteun. Deur nou te koop, sal jy lewenslange toegang tot alle Premium Uitgawe funksies ontvang. Sodra die Premium Uitgawe vrygestel is, sal die vroeë-voël aanbod gestaak word, en lewenslange aankope sal nie meer beskikbaar wees nie.", + "afterPurchase": "Na aankoop, sal ons die Lisensie Sleutel binne 24 uur na jou e-pos stuur. Jy kan dit gebruik sodra die Premium Uitgawe amptelik vrygestel is.", + "enterMailForLicenseKey": "Voer asseblief jou e-pos adres in om die lisensie sleutel te ontvang.", + "upcomingFeatures": "Opkomende Funksies", + "treeTabs": "Boom Oortjies", + "tabHistory": "Oortjie Geskiedenis", + "cloudSync": "Wolk Sinchronisasie", + "advancedPictureInPicture": "Gevorderde Prent-in-Prent", + "APIAccess": "API Toegang", + "customizeMenu": "Pas Spyskaart Aan", + "Automation": "Outomatisering" } \ No newline at end of file diff --git a/build/_locales/am/error.json b/build/_locales/am/error.json index 89e40af..d072957 100644 --- a/build/_locales/am/error.json +++ b/build/_locales/am/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "ተቀማጭ ቡድኖች ሊረሳ አይችሉም", + "Saved groups are not editable.": "ተቀማጭ ቡድኖች ሊረሳ አይችሉም", "ungroupingError": "ሁሉንም ትምህርቶች ማሰናከል አልተሳካም: {{error}}" } \ No newline at end of file diff --git a/build/_locales/am/options.json b/build/_locales/am/options.json index d0fa66e..caea1dd 100644 --- a/build/_locales/am/options.json +++ b/build/_locales/am/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "ወደ እየሰራ ያለው ትምባህ እንቅስቃሴ አድርግ" } }, + "tabNav": { + "label": "ትምባህ አሰሳ አሞሌን አሳይ", + "description": "ሲነቃቃ ትምባህ አሰሳ አሞሌ ይታያል", + "configure": "አስተካክል", + "configureTabNav": "ትምባህ አሰሳን አስተካክል", + "enabledNavs": "እየሰሩ ያሉ አሰሳዎች", + "disabledNavs": "እየተዘጉ ያሉ አሰሳዎች (የሚገኙ)", + "showLabel": "መለያ አሳይ", + "showCount": "ብዛት አሳይ", + "days": "ቀናት", + "close": "ዝጋ", + "save": "አስቀምጥ", + "settings": "ቅንብሮች", + "OpenTabs": "እየተከፈቱ ያሉ ትምባሃት", + "RecentlyTabs": "በቅርቡ የተዘጉ ትምባሃት", + "bookmarks": "የተመረጡ ገጾች", + "history": "ታሪክ", + "readingList": "የንባብ ዝርዝር", + "quickAccess": "ፈጣን መድረሻ", + "pinToToolbarReminder": "እባክዎ እንደ ገና እንዲሰራ ለማድረግ ቅርብ እንዲሆን በመሳሪያ አሞሌዎ ላይ እንዲታይ አስቀምጡ።" + }, "bottomNav": { "label": "የታችኛውን አሰሳ አሞሌ አሳይ", "description": "ሲነቃቃ የታችኛው አሰሳ አሞሌ ይታያል", diff --git a/build/_locales/am/translation.json b/build/_locales/am/translation.json index 0683cc1..20bfec5 100644 --- a/build/_locales/am/translation.json +++ b/build/_locales/am/translation.json @@ -151,5 +151,63 @@ "cancel": "አቋርጥ", "fullscreen": "ሙሉ ማያ", "exitFullscreen": "ከሙሉ ማያ ውጣ", - "zoom": "እስቲ አታትም" + "zoom": "እስቲ አታትም", + "undo": "ይቅር በል", + "addTabToGroup": "ትርን ወደ ቡድን አክል", + "newGroup": "አዲስ ቡድን", + "nameThisGroup": "ይህን ቡድን ስም ስጥ", + "addBookmark": "የተመረጠ ገጽ አክል", + "editBookmark": "የተመረጠ ገጽ አርትዕ", + "deleteBookmark": "የተመረጠ ገጽ ሰርዝ", + "duplicateBookmarks": "የተመረጡ ገጾችን አባላል", + "folderName": "የፎልደር ስም", + "selectParentFolder": "የወላጅ ፎልደር ምረጥ", + "addFolder": "ፎልደር አክል", + "editFolder": "ፎልደር አርትዕ", + "deleteFolder": "ፎልደር ሰርዝ", + "deleteFolderConfirmation": "እርግጠኛ ነህ ይህን ፎልደር ማጥፋት ይፈልጋሉ? በዚህ ፎልደር ውስጥ ያሉ ሁሉም የተመረጡ ገጾች (ከፎልደሮች ጋር) እንዲሁም ይጠፋሉ።", + "containsCountURLs": "ይዟል {{count}} የድር አድራሻዎች", + "openAll": "ሁሉንም ክፈት ({{count}})", + "openAllInNewWindow": "ሁሉንም ክፈት ({{count}}) በአዲስ መስኮት", + "openAllInIncognitoWindow": "ሁሉንም ክፈት ({{count}}) በማስታወቂያ መስኮት", + "checkBookmarks": "የተመረጡ ገጾችን አረጋግጥ", + "hideEmptyFolders": "ባዶ ፎልደሮችን ሰውር", + "displayTreeConnectorLines": "የዛፍ አገናኝ መስመሮችን አሳይ", + "showBookmarkUrl": "የተመረጠ ገጽ አድራሻ አሳይ", + "bookmarkManager": "የተመረጡ ገጾች አስተዳዳሪ", + "default": "ነባሪ", + "title": "ርዕስ", + "url": "የድር አድራሻ", + "recentlyUsed": "በቅርቡ የተጠቀሙ", + "recentlyAdded": "በቅርቡ የታከሉ", + "switchToListView": "ወደ ዝርዝር እይታ ቀይር", + "switchToTreeView": "ወደ ዛፍ እይታ ቀይር", + "premiumFeatureOnly": "ይህ ባህሪ በፕሬሚየም እትም ብቻ ይገኛል።", + "premiumFreeTrialDesc": "ይህ ባህሪ በፕሬሚየም እትም ብቻ ይገኛል፣ እና አሁን በነፃ ልክ ማድረግ ትችላለህ።", + "freeTrial": "ነፃ ልክ", + "learnMore": "ተጨማሪ ተረድተህ ማውቀት", + "limited": "የተገደበ", + "premiumEdition": "ፕሬሚየም እትም", + "PreOrderPremiumNow": "ፕሬሚየም እትም አሁን ቅድሚያ ትዕዛዝ ስጥ", + "getPremiumEditionNow": "ፕሬሚየም እትም አሁን አግኝ", + "alreadyHavePremiumLicenseKey": "አሁንም የፕሬሚየም እትም ፈቃድ ቁልፍ አለኝ", + "licenseKey": "ፈቃድ ቁልፍ", + "activatePremium": "ፕሬሚየም እትም አንቃ", + "couldNotActivatePremium": "ፕሬሚየም እትም ማንቃት አልተቻለም። እባክህ ትክክለኛ ፈቃድ ቁልፍ አስገባ.", + "premiumActivatedSuccessfully": "ፕሬሚየም እትም በተሳካ ሁኔታ ተንቅሷል።", + "premiumAccessFeatures": "በፕሬሚየም እትም ተጨማሪ ባህሪዎችን ትገኛላችሁ", + "premiumFeaturesPreOrderDescription": "የእትም ሁሉም ቁልፍ ባህሪዎች ነፃ ለመጠቀም ናቸው እና ያለ ፕሬሚየም መዳረሻ እንደ ነበሩ ይቀጥላሉ። ፕሬሚየም እትም ውስጥ የሚገኙ የተሻሻሉ ባህሪዎች ለባለሙያ አጠቃቀም ተነድፈው ናቸው። አሁን ቅድሚያ ትዕዛዝ በመስጠት የእነዚህን የፕሬሚየም ችሎታዎች እድገት ማገዝ ትችላለህ እና ከመነሻው በፊት በታላቅ ዋጋ አግኝ.", + "premiumFeaturesDescription": "የእትም ሁሉም ቁልፍ ባህሪዎች ነፃ ለመጠቀም ናቸው እና ያለ ፕሬሚየም መዳረሻ እንደ ነበሩ ይቀጥላሉ። ተጨማሪ ባህሪዎችን ለማቅረብ እንደምንሰራ እና እነዚህ ባህሪዎች በፕሬሚየም እትም ለክፍያ ይገኛሉ።", + "earlyBirdTicket": "የቀደሙ ወፎች ቲኬት", + "earlyBirdTicketDesc": "የፕሬሚየም እትም ባህሪዎችን ለመክፈት እንቅስቃሴ እንደምንያደርግ እና አሁን በማስተማማኝ የቀደሙ ወፎች ቅናሽ መጠቀም ትችላለህ። በመግዛት ሁሉንም የፕሬሚየም እትም ባህሪዎች ለሕይወት ሁሉ መዳረሻ ትቀበላለህ። የፕሬሚየም እትም እንደ ተነሣ የቀደሙ ወፎች ቅናሽ ይቀር እና የሕይወት ግዢዎች አይገኙም።", + "afterPurchase": "ከግዢ በኋላ፣ በ24 ሰዓታት ውስጥ የፈቃድ ቁልፍ ወደ ኢሜልዎ እንልክልዎታለን። የፕሬሚየም እትም በመሠረቱ እንደተነሣ መጠቀም ትችላለህ።", + "enterMailForLicenseKey": "እባክህ የፈቃድ ቁልፍ ለመቀበል ኢሜል አድራሻ አስገባ.", + "upcomingFeatures": "የሚመጡ ባህሪዎች", + "treeTabs": "የዛፍ ትሮች", + "tabHistory": "የትር ታሪክ", + "cloudSync": "የደመና ማስማማት", + "advancedPictureInPicture": "የተሻሻለ ምስል በምስል", + "APIAccess": "API መዳረሻ", + "customizeMenu": "ምናሌን አርትዕ", + "Automation": "ራስ-ሰር ማድረግ" } \ No newline at end of file diff --git a/build/_locales/an/error.json b/build/_locales/an/error.json index c9b3a59..f5c8875 100644 --- a/build/_locales/an/error.json +++ b/build/_locales/an/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Os grupos guardaus no son editables", + "Saved groups are not editable.": "Os grupos guardaus no son editables", "ungroupingError": "No s'ha podido desagrupar todas as pestanyas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/an/options.json b/build/_locales/an/options.json index c84717c..5644d65 100644 --- a/build/_locales/an/options.json +++ b/build/_locales/an/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Desplazar a la pestaña activa" } }, + "tabNav": { + "label": "Amostrar a barra de navegación de pestanyas", + "description": "Quan se habilita, a barra de navegación de pestanyas se mosotrará", + "configure": "configurar", + "configureTabNav": "Configurar navegación de pestanyas", + "enabledNavs": "Navegaciones habilitadas", + "disabledNavs": "Navegaciones deshabilitadas (disponibles)", + "showLabel": "Amostrar etiqueta", + "showCount": "Amostrar cuenta", + "days": "Días", + "close": "Zarrar", + "save": "Guardar", + "settings": "Configuraciones", + "OpenTabs": "Pestanyas abiertas", + "RecentlyTabs": "Pestanyas zarradas recientement", + "bookmarks": "Marcadors", + "history": "Historial", + "readingList": "Lista de lectura", + "quickAccess": "Acceso rápido", + "pinToToolbarReminder": "Para quitar esta navegación, primero fija la extensión en tu barra de herramientas." + }, "bottomNav": { "label": "Amostrar a barra de navegación d'abaixo", "description": "Quan se habilita, a barra de navegación d'abaixo se mosotrará", diff --git a/build/_locales/an/translation.json b/build/_locales/an/translation.json index 9c06e14..8425d37 100644 --- a/build/_locales/an/translation.json +++ b/build/_locales/an/translation.json @@ -151,5 +151,63 @@ "cancel": "Cancelar", "fullscreen": "Pantalla completa", "exitFullscreen": "Salir de pantalla completa", - "zoom": "Ampliar" + "zoom": "Ampliar", + "undo": "Deshacer", + "addTabToGroup": "Añadir pestaña al grupo", + "newGroup": "Nuevo grupo", + "nameThisGroup": "Nombrar este grupo", + "addBookmark": "Añadir marcador", + "editBookmark": "Editar marcador", + "deleteBookmark": "Eliminar marcador", + "duplicateBookmarks": "Duplicar marcadores", + "folderName": "Nombre de la carpeta", + "selectParentFolder": "Seleccionar carpeta principal", + "addFolder": "Añadir carpeta", + "editFolder": "Editar carpeta", + "deleteFolder": "Eliminar carpeta", + "deleteFolderConfirmation": "¿Realmente quieres eliminar esta carpeta? Todos los marcadores en esta carpeta (incluidos los marcadores en subcarpetas) también se eliminarán.", + "containsCountURLs": "Contiene {{count}} URLs", + "openAll": "Abrir todo ({{count}})", + "openAllInNewWindow": "Abrir todo ({{count}}) en nueva ventana", + "openAllInIncognitoWindow": "Abrir todo ({{count}}) en ventana de incógnito", + "checkBookmarks": "Verificar marcadores", + "hideEmptyFolders": "Ocultar carpetas vacías", + "displayTreeConnectorLines": "Mostrar líneas de conexión del árbol", + "showBookmarkUrl": "Mostrar URL del marcador", + "bookmarkManager": "Administrador de marcadores", + "default": "Predeterminado", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recientemente", + "recentlyAdded": "Añadido recientemente", + "switchToListView": "Cambiar a vista de lista", + "switchToTreeView": "Cambiar a vista de árbol", + "premiumFeatureOnly": "Esta función solo está disponible con la Edición Premium.", + "premiumFreeTrialDesc": "Esta función es exclusiva de la Edición Premium, y puedes probarla gratis ahora.", + "freeTrial": "Prueba gratuita", + "learnMore": "Aprender más", + "limited": "limitado", + "premiumEdition": "Edición Premium", + "PreOrderPremiumNow": "Pre-ordenar la Edición Premium ahora", + "getPremiumEditionNow": "Obtener la Edición Premium ahora", + "alreadyHavePremiumLicenseKey": "Ya tengo una clave de licencia de la Edición Premium", + "licenseKey": "Clave de licencia", + "activatePremium": "Activar Edición Premium", + "couldNotActivatePremium": "No se pudo activar la Edición Premium. Por favor, introduce una clave de licencia válida.", + "premiumActivatedSuccessfully": "Edición Premium activada con éxito.", + "premiumAccessFeatures": "Con la Edición Premium, tendrás acceso a funciones adicionales", + "premiumFeaturesPreOrderDescription": "Todas las funciones clave de la extensión son gratuitas y seguirán siendo accesibles sin requerir acceso Premium. La Edición Premium, que incluye funciones avanzadas diseñadas para uso profesional, aún está en desarrollo. Al pre-ordenar ahora, puedes apoyar el desarrollo de estas capacidades premium y obtenerlas a un gran precio antes de su lanzamiento.", + "premiumFeaturesDescription": "Todas las funciones clave de la extensión son gratuitas y seguirán siendo accesibles sin requerir acceso Premium. Ofrecemos funciones adicionales para proporcionar capacidades avanzadas para uso profesional, que estarán disponibles en la Edición Premium por una tarifa.", + "earlyBirdTicket": "Boleto de acceso anticipado", + "earlyBirdTicketDesc": "Estamos a punto de lanzar las funciones de la Edición Premium, y ahora puedes aprovechar una oferta especial de acceso anticipado para apoyar el desarrollo de estas mejoras. Al comprar ahora, recibirás acceso de por vida a todas las funciones de la Edición Premium. Una vez que se lance la Edición Premium, la oferta de acceso anticipado se descontinuará y las compras de por vida ya no estarán disponibles.", + "afterPurchase": "Después de la compra, enviaremos la clave de licencia a tu correo electrónico dentro de las 24 horas. Puedes usarla una vez que la Edición Premium se lance oficialmente.", + "enterMailForLicenseKey": "Por favor, introduce tu dirección de correo electrónico para recibir la clave de licencia.", + "upcomingFeatures": "Próximas funciones", + "treeTabs": "Pestañas en árbol", + "tabHistory": "Historial de pestañas", + "cloudSync": "Sincronización en la nube", + "advancedPictureInPicture": "Imagen en imagen avanzada", + "APIAccess": "Acceso API", + "customizeMenu": "Personalizar menú", + "Automation": "Automatización" } \ No newline at end of file diff --git a/build/_locales/ar/error.json b/build/_locales/ar/error.json index 6685a1c..513f4f7 100644 --- a/build/_locales/ar/error.json +++ b/build/_locales/ar/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "المجموعات المحفوظة غير قابلة للتحرير", + "Saved groups are not editable.": "المجموعات المحفوظة غير قابلة للتحرير", "ungroupingError": "فشل في إلغاء تجميع جميع علامات التبويب: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ar/options.json b/build/_locales/ar/options.json index 74e2a78..ce3fed2 100644 --- a/build/_locales/ar/options.json +++ b/build/_locales/ar/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "التمرير إلى علامة التبويب النشطة" } }, + "tabNav": { + "label": "عرض شريط التنقل بين علامات التبويب", + "description": "عند التمكين، يتم عرض شريط التنقل بين علامات التبويب", + "configure": "تكوين", + "configureTabNav": "تكوين شريط التنقل بين علامات التبويب", + "enabledNavs": "التنقلات المفعلة", + "disabledNavs": "التنقلات المعطلة (متاحة)", + "showLabel": "عرض التسمية", + "showCount": "عرض العدد", + "days": "أيام", + "close": "إغلاق", + "save": "حفظ", + "settings": "الإعدادات", + "OpenTabs": "علامات التبويب المفتوحة", + "RecentlyTabs": "علامات التبويب المغلقة مؤخرًا", + "bookmarks": "الإشارات المرجعية", + "history": "السجل", + "readingList": "قائمة القراءة", + "quickAccess": "الوصول السريع", + "pinToToolbarReminder": "يرجى تثبيت الإضافة في شريط الأدوات قبل إزالة هذا التنقل." + }, "bottomNav": { "label": "عرض شريط التنقل السفلي", "description": "عند التمكين، سيتم عرض شريط التنقل السفلي", diff --git a/build/_locales/ar/translation.json b/build/_locales/ar/translation.json index 5805553..cf20871 100644 --- a/build/_locales/ar/translation.json +++ b/build/_locales/ar/translation.json @@ -164,5 +164,63 @@ "cancel": "إلغاء", "fullscreen": "ملء الشاشة", "exitFullscreen": "الخروج من ملء الشاشة", - "zoom": "تكبير" + "zoom": "تكبير", + "undo": "تراجع", + "addTabToGroup": "إضافة علامة تبويب إلى المجموعة", + "newGroup": "مجموعة جديدة", + "nameThisGroup": "اسم هذه المجموعة", + "addBookmark": "إضافة إشارة مرجعية", + "editBookmark": "تحرير الإشارة المرجعية", + "deleteBookmark": "حذف الإشارة المرجعية", + "duplicateBookmarks": "تكرار الإشارات المرجعية", + "folderName": "اسم المجلد", + "selectParentFolder": "اختر المجلد الرئيسي", + "addFolder": "إضافة مجلد", + "editFolder": "تحرير المجلد", + "deleteFolder": "حذف المجلد", + "deleteFolderConfirmation": "هل تريد حقًا حذف هذا المجلد؟ سيتم أيضًا حذف جميع الإشارات المرجعية في هذا المجلد (بما في ذلك الإشارات المرجعية في المجلدات الفرعية).", + "containsCountURLs": "يحتوي على {{count}} روابط", + "openAll": "فتح الكل ({{count}})", + "openAllInNewWindow": "فتح الكل ({{count}}) في نافذة جديدة", + "openAllInIncognitoWindow": "فتح الكل ({{count}}) في نافذة التصفح المتخفي", + "checkBookmarks": "تحقق من الإشارات المرجعية", + "hideEmptyFolders": "إخفاء المجلدات الفارغة", + "displayTreeConnectorLines": "عرض خطوط الربط الشجري", + "showBookmarkUrl": "عرض رابط الإشارة المرجعية", + "bookmarkManager": "مدير الإشارات المرجعية", + "default": "افتراضي", + "title": "العنوان", + "url": "الرابط", + "recentlyUsed": "تم استخدامه مؤخرًا", + "recentlyAdded": "تمت إضافته مؤخرًا", + "switchToListView": "التبديل إلى عرض القائمة", + "switchToTreeView": "التبديل إلى عرض الشجرة", + "premiumFeatureOnly": "هذه الميزة متاحة فقط مع الإصدار المميز.", + "premiumFreeTrialDesc": "هذه الميزة حصرية للإصدار المميز، ويمكنك تجربتها مجانًا الآن.", + "freeTrial": "تجربة مجانية", + "learnMore": "تعرف على المزيد", + "limited": "محدود", + "premiumEdition": "الإصدار المميز", + "PreOrderPremiumNow": "اطلب الإصدار المميز الآن مسبقًا", + "getPremiumEditionNow": "احصل على الإصدار المميز الآن", + "alreadyHavePremiumLicenseKey": "لدي بالفعل مفتاح ترخيص الإصدار المميز", + "licenseKey": "مفتاح الترخيص", + "activatePremium": "تفعيل الإصدار المميز", + "couldNotActivatePremium": "تعذر تفعيل الإصدار المميز. يرجى إدخال مفتاح ترخيص صالح.", + "premiumActivatedSuccessfully": "تم تفعيل الإصدار المميز بنجاح.", + "premiumAccessFeatures": "مع الإصدار المميز، ستحصل على ميزات إضافية", + "premiumFeaturesPreOrderDescription": "جميع الميزات الرئيسية للإضافة مجانية للاستخدام وستظل متاحة دون الحاجة إلى الوصول المميز. الإصدار المميز، الذي يتضمن ميزات متقدمة مصممة للاستخدام الاحترافي، لا يزال قيد التطوير. من خلال الطلب المسبق الآن، يمكنك دعم تطوير هذه القدرات المميزة والحصول عليها بسعر رائع قبل إطلاقها.", + "premiumFeaturesDescription": "جميع الميزات الرئيسية للإضافة مجانية للاستخدام وستظل متاحة دون الحاجة إلى الوصول المميز. نحن نقدم ميزات إضافية لتوفير قدرات متقدمة للاستخدام الاحترافي، والتي ستكون متاحة في الإصدار المميز مقابل رسوم.", + "earlyBirdTicket": "تذكرة الطيور المبكرة", + "earlyBirdTicketDesc": "نحن على وشك إطلاق ميزات الإصدار المميز، ويمكنك الآن الاستفادة من عرض خاص للطيور المبكرة لدعم تطوير هذه التحسينات. من خلال الشراء الآن، ستحصل على وصول مدى الحياة إلى جميع ميزات الإصدار المميز. بمجرد إصدار الإصدار المميز، سيتم إيقاف عرض الطيور المبكرة، ولن تكون عمليات الشراء مدى الحياة متاحة.", + "afterPurchase": "بعد الشراء، سنرسل مفتاح الترخيص إلى بريدك الإلكتروني في غضون 24 ساعة. يمكنك استخدامه بمجرد إصدار الإصدار المميز رسميًا.", + "enterMailForLicenseKey": "يرجى إدخال عنوان بريدك الإلكتروني لتلقي مفتاح الترخيص.", + "upcomingFeatures": "الميزات القادمة", + "treeTabs": "علامات التبويب الشجرية", + "tabHistory": "تاريخ علامات التبويب", + "cloudSync": "مزامنة السحابة", + "advancedPictureInPicture": "صورة داخل صورة متقدمة", + "APIAccess": "الوصول إلى API", + "customizeMenu": "تخصيص القائمة", + "Automation": "الأتمتة" } \ No newline at end of file diff --git a/build/_locales/be/error.json b/build/_locales/be/error.json index 54b9601..8b9a274 100644 --- a/build/_locales/be/error.json +++ b/build/_locales/be/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Захаваныя групы нельга рэдагаваць", + "Saved groups are not editable.": "Захаваныя групы нельга рэдагаваць", "ungroupingError": "Не ўдалося раз'яднаць усе ўкладкі: {{error}}" } \ No newline at end of file diff --git a/build/_locales/be/options.json b/build/_locales/be/options.json index 441302c..f7370e0 100644 --- a/build/_locales/be/options.json +++ b/build/_locales/be/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Пракруціць да актыўнай укладкі" } }, + "tabNav": { + "label": "Паказаць панэль навігацыі ўкладкі", + "description": "Калі ўключана, адлюстроўваецца панэль навігацыі ўкладкі", + "configure": "канфігураваць", + "configureTabNav": "Наладзіць навігацыю ўкладкі", + "enabledNavs": "Уключаныя навігацыі", + "disabledNavs": "Адключаныя навігацыі (даступныя)", + "showLabel": "Паказаць надпіс", + "showCount": "Паказаць колькасць", + "days": "Дні", + "close": "Закрыць", + "save": "Захаваць", + "settings": "Налады", + "OpenTabs": "Адкрытыя ўкладкі", + "RecentlyTabs": "Нядаўна закрытыя ўкладкі", + "bookmarks": "Закладкі", + "history": "Гісторыя", + "readingList": "Спіс для чытання", + "quickAccess": "Хуткі доступ", + "pinToToolbarReminder": "Каб выдаліць гэтую навігацыю, спачатку замацуеце пашырэнне на панэлі інструментаў." + }, "bottomNav": { "label": "Паказаць ніжнюю навігацыйную панэль", "description": "Калі ўключана, ніжняя навігацыйная панэль будзе адлюстроўвацца", diff --git a/build/_locales/be/translation.json b/build/_locales/be/translation.json index 1d06994..93741b9 100644 --- a/build/_locales/be/translation.json +++ b/build/_locales/be/translation.json @@ -151,5 +151,63 @@ "cancel": "Адмяніць", "fullscreen": "Поўнаэкранны рэжым", "exitFullscreen": "Выйсці з поўнаэкраннага рэжыму", - "zoom": "Маштаб" + "zoom": "Маштаб", + "undo": "Адмяніць", + "addTabToGroup": "Дадаць укладку ў групу", + "newGroup": "Новая група", + "nameThisGroup": "Назавіце гэтую групу", + "addBookmark": "Дадаць закладку", + "editBookmark": "Рэдагаваць закладку", + "deleteBookmark": "Выдаліць закладку", + "duplicateBookmarks": "Дубляваць закладкі", + "folderName": "Назва тэчкі", + "selectParentFolder": "Выбраць галоўную тэчку", + "addFolder": "Дадаць тэчку", + "editFolder": "Рэдагаваць тэчку", + "deleteFolder": "Выдаліць тэчку", + "deleteFolderConfirmation": "Вы сапраўды хочаце выдаліць гэтую тэчку? Усе закладкі ў гэтай тэчцы (уключаючы закладкі ў падтэчках) таксама будуць выдалены.", + "containsCountURLs": "Змяшчае {{count}} URL-адрасы", + "openAll": "Адкрыць усё ({{count}})", + "openAllInNewWindow": "Адкрыць усё ({{count}}) у новым акне", + "openAllInIncognitoWindow": "Адкрыць усё ({{count}}) у акне інкогніта", + "checkBookmarks": "Праверыць закладкі", + "hideEmptyFolders": "Схаваць пустыя тэчкі", + "displayTreeConnectorLines": "Паказаць лініі злучэння дрэва", + "showBookmarkUrl": "Паказаць URL закладкі", + "bookmarkManager": "Кіраўнік закладак", + "default": "Па змаўчанні", + "title": "Назва", + "url": "URL", + "recentlyUsed": "Нядаўна выкарыстаныя", + "recentlyAdded": "Нядаўна дададзеныя", + "switchToListView": "Пераключыць на выгляд спісу", + "switchToTreeView": "Пераключыць на выгляд дрэва", + "premiumFeatureOnly": "Гэтая функцыя даступная толькі з Premium Edition.", + "premiumFreeTrialDesc": "Гэтая функцыя эксклюзіўная для Premium Edition, і вы можаце паспрабаваць яе бясплатна зараз.", + "freeTrial": "Бясплатная пробная версія", + "learnMore": "Даведацца больш", + "limited": "абмежаваны", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Папярэдні заказ Premium Edition зараз", + "getPremiumEditionNow": "Атрымаць Premium Edition зараз", + "alreadyHavePremiumLicenseKey": "У мяне ўжо ёсць ліцэнзійны ключ Premium Edition", + "licenseKey": "Ліцэнзійны ключ", + "activatePremium": "Актываваць Premium Edition", + "couldNotActivatePremium": "Не ўдалося актываваць Premium Edition. Калі ласка, увядзіце сапраўдны ліцэнзійны ключ.", + "premiumActivatedSuccessfully": "Premium Edition паспяхова актываваны.", + "premiumAccessFeatures": "З Premium Edition вы атрымаеце доступ да дадатковых функцый", + "premiumFeaturesPreOrderDescription": "Усе ключавыя функцыі пашырэння бясплатныя для выкарыстання і застануцца даступнымі без неабходнасці доступу да Premium. Premium Edition, які ўключае ў сябе пашыраныя функцыі, прызначаныя для прафесійнага выкарыстання, усё яшчэ знаходзіцца ў распрацоўцы. Папярэдне заказваючы зараз, вы можаце падтрымаць распрацоўку гэтых прэміум-магчымасцей і атрымаць іх па выдатнай цане да іх запуску.", + "premiumFeaturesDescription": "Усе ключавыя функцыі пашырэння бясплатныя для выкарыстання і застануцца даступнымі без неабходнасці доступу да Premium. Мы прапануем дадатковыя функцыі для прадастаўлення пашыраных магчымасцей для прафесійнага выкарыстання, якія будуць даступныя ў Premium Edition за плату.", + "earlyBirdTicket": "Квіток ранняй птушкі", + "earlyBirdTicketDesc": "Мы збіраемся запусціць функцыі Premium Edition, і вы можаце скарыстацца спецыяльнай прапановай ранняй птушкі, каб падтрымаць распрацоўку гэтых удасканаленняў. Купляючы зараз, вы атрымаеце пажыццёвы доступ да ўсіх функцый Premium Edition. Пасля выпуску Premium Edition спецыяльная прапанова ранняй птушкі будзе спынена, і пажыццёвыя пакупкі больш не будуць даступныя.", + "afterPurchase": "Пасля пакупкі мы вышлем ліцэнзійны ключ на ваш электронны адрас на працягу 24 гадзін. Вы можаце выкарыстоўваць яго, як толькі Premium Edition будзе афіцыйна выпушчаны.", + "enterMailForLicenseKey": "Калі ласка, увядзіце свой адрас электроннай пошты, каб атрымаць ліцэнзійны ключ.", + "upcomingFeatures": "Будучыя функцыі", + "treeTabs": "Дрэва ўкладак", + "tabHistory": "Гісторыя ўкладак", + "cloudSync": "Сінхранізацыя з воблакам", + "advancedPictureInPicture": "Пашыраны рэжым карцінка ў карцінцы", + "APIAccess": "Доступ да API", + "customizeMenu": "Наладзіць меню", + "Automation": "Аўтаматызацыя" } \ No newline at end of file diff --git a/build/_locales/bg/error.json b/build/_locales/bg/error.json index 4b57516..d9125d2 100644 --- a/build/_locales/bg/error.json +++ b/build/_locales/bg/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Запазените групи не могат да се редактират", + "Saved groups are not editable.": "Запазените групи не могат да се редактират", "ungroupingError": "Неуспешно разделяне на всички раздели: {{error}}" } \ No newline at end of file diff --git a/build/_locales/bg/options.json b/build/_locales/bg/options.json index 99e5108..15dd1ec 100644 --- a/build/_locales/bg/options.json +++ b/build/_locales/bg/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Превърти до активния раздел" } }, + "tabNav": { + "label": "Показване на лентата за навигация в раздели", + "description": "Когато е активирано, лентата за навигация в раздели се показва", + "configure": "конфигурирай", + "configureTabNav": "Конфигурирай навигацията в раздели", + "enabledNavs": "Активирани навигации", + "disabledNavs": "Деактивирани навигации (налични)", + "showLabel": "Покажи етикет", + "showCount": "Покажи брой", + "days": "Дни", + "close": "Затвори", + "save": "Запази", + "settings": "Настройки", + "OpenTabs": "Отворени раздели", + "RecentlyTabs": "Наскоро затворени раздели", + "bookmarks": "Отметки", + "history": "История", + "readingList": "Списък за четене", + "quickAccess": "Бърз достъп", + "pinToToolbarReminder": "Моля, закачете разширението на лентата с инструменти, преди да премахнете тази навигация." + }, "bottomNav": { "label": "Показване на долната навигационна лента", "description": "Когато е активирана, долната навигационна лента ще се показва", diff --git a/build/_locales/bg/translation.json b/build/_locales/bg/translation.json index 5c5c2f0..f4ff910 100644 --- a/build/_locales/bg/translation.json +++ b/build/_locales/bg/translation.json @@ -164,5 +164,63 @@ "cancel": "Отмени", "fullscreen": "Цял екран", "exitFullscreen": "Изход от цял екран", - "zoom": "Увеличение" + "zoom": "Увеличение", + "undo": "Отмени", + "addTabToGroup": "Добави раздел към група", + "newGroup": "Нова група", + "nameThisGroup": "Назови тази група", + "addBookmark": "Добави отметка", + "editBookmark": "Редактирай отметка", + "deleteBookmark": "Изтрий отметка", + "duplicateBookmarks": "Дублирай отметки", + "folderName": "Име на папка", + "selectParentFolder": "Избери родителска папка", + "addFolder": "Добави папка", + "editFolder": "Редактирай папка", + "deleteFolder": "Изтрий папка", + "deleteFolderConfirmation": "Наистина ли искате да изтриете тази папка? Всички отметки в тази папка (включително отметките в подпапките) също ще бъдат изтрити.", + "containsCountURLs": "Съдържа {{count}} URL адреси", + "openAll": "Отвори всички ({{count}})", + "openAllInNewWindow": "Отвори всички ({{count}}) в нов прозорец", + "openAllInIncognitoWindow": "Отвори всички ({{count}}) в инкогнито прозорец", + "checkBookmarks": "Провери отметки", + "hideEmptyFolders": "Скрий празни папки", + "displayTreeConnectorLines": "Покажи линии на дървото", + "showBookmarkUrl": "Покажи URL на отметката", + "bookmarkManager": "Мениджър на отметки", + "default": "По подразбиране", + "title": "Заглавие", + "url": "URL", + "recentlyUsed": "Наскоро използвани", + "recentlyAdded": "Наскоро добавени", + "switchToListView": "Превключи към изглед на списък", + "switchToTreeView": "Превключи към изглед на дърво", + "premiumFeatureOnly": "Тази функция е достъпна само с Premium Edition.", + "premiumFreeTrialDesc": "Тази функция е ексклузивна за Premium Edition и можете да я пробвате безплатно сега.", + "freeTrial": "Безплатен пробен период", + "learnMore": "Научете повече", + "limited": "ограничен", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Предварителна поръчка на Premium Edition сега", + "getPremiumEditionNow": "Вземете Premium Edition сега", + "alreadyHavePremiumLicenseKey": "Вече имам лицензен ключ за Premium Edition", + "licenseKey": "Лицензен ключ", + "activatePremium": "Активирай Premium Edition", + "couldNotActivatePremium": "Неуспешно активиране на Premium Edition. Моля, въведете валиден лицензен ключ.", + "premiumActivatedSuccessfully": "Premium Edition успешно активиран.", + "premiumAccessFeatures": "С Premium Edition ще получите достъп до допълнителни функции", + "premiumFeaturesPreOrderDescription": "Всички ключови функции на разширението са безплатни за използване и ще останат достъпни без необходимост от Premium достъп. Premium Edition, който включва разширени функции, предназначени за професионална употреба, все още е в разработка. С предварителна поръчка сега, можете да подкрепите разработката на тези премиум възможности и да ги получите на страхотна цена преди пускането им.", + "premiumFeaturesDescription": "Всички ключови функции на разширението са безплатни за използване и ще останат достъпни без необходимост от Premium достъп. Ние предлагаме допълнителни функции за предоставяне на разширени възможности за професионална употреба, които ще бъдат достъпни в Premium Edition срещу такса.", + "earlyBirdTicket": "Билет за ранни птици", + "earlyBirdTicketDesc": "Скоро ще пуснем функциите на Premium Edition и сега можете да се възползвате от специална оферта за ранни птици, за да подкрепите разработката на тези подобрения. С покупка сега, ще получите доживотен достъп до всички функции на Premium Edition. След пускането на Premium Edition, офертата за ранни птици ще бъде прекратена и доживотните покупки вече няма да бъдат достъпни.", + "afterPurchase": "След покупката, ще изпратим лицензния ключ на вашия имейл в рамките на 24 часа. Можете да го използвате, след като Premium Edition бъде официално пуснат.", + "enterMailForLicenseKey": "Моля, въведете вашия имейл адрес, за да получите лицензния ключ.", + "upcomingFeatures": "Предстоящи функции", + "treeTabs": "Дървовидни раздели", + "tabHistory": "История на разделите", + "cloudSync": "Синхронизация с облака", + "advancedPictureInPicture": "Разширен режим картина в картина", + "APIAccess": "Достъп до API", + "customizeMenu": "Персонализиране на менюто", + "Automation": "Автоматизация" } \ No newline at end of file diff --git a/build/_locales/bn/error.json b/build/_locales/bn/error.json index 0085500..9267059 100644 --- a/build/_locales/bn/error.json +++ b/build/_locales/bn/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "সংরক্ষিত গোষ্ঠীগুলি সম্পাদনাযোগ্য নয়", + "Saved groups are not editable.": "সংরক্ষিত গোষ্ঠীগুলি সম্পাদনাযোগ্য নয়", "ungroupingError": "সমস্ত ট্যাব আনগ্রুপ করতে ব্যর্থ হয়েছে: {{error}}" } \ No newline at end of file diff --git a/build/_locales/bn/options.json b/build/_locales/bn/options.json index 506e98a..c4c86c0 100644 --- a/build/_locales/bn/options.json +++ b/build/_locales/bn/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "সক্রিয় ট্যাবে স্ক্রোল করুন" } }, + "tabNav": { + "label": "ট্যাব নেভিগেশন বার দেখান", + "description": "সক্ষম হলে, ট্যাব নেভিগেশন বার প্রদর্শিত হবে", + "configure": "কনফিগার করুন", + "configureTabNav": "ট্যাব নেভিগেশন কনফিগার করুন", + "enabledNavs": "সক্রিয় নেভিগেশন", + "disabledNavs": "নিষ্ক্রিয় নেভিগেশন (উপলব্ধ)", + "showLabel": "লেবেল দেখান", + "showCount": "গণনা দেখান", + "days": "দিন", + "close": "বন্ধ করুন", + "save": "সংরক্ষণ করুন", + "settings": "সেটিংস", + "OpenTabs": "খোলা ট্যাব", + "RecentlyTabs": "সম্প্রতি বন্ধ ট্যাব", + "bookmarks": "বুকমার্কস", + "history": "ইতিহাস", + "readingList": "পাঠ তালিকা", + "quickAccess": "দ্রুত অ্যাক্সেস", + "pinToToolbarReminder": "এই নেভিগেশনটি সরানোর আগে অনুগ্রহ করে এক্সটেনশনটি আপনার টুলবারে পিন করুন।" + }, "bottomNav": { "label": "নিচের নেভিগেশন বার দেখান", "description": "সক্ষম হলে, নিচের নেভিগেশন বার প্রদর্শিত হবে", diff --git a/build/_locales/bn/translation.json b/build/_locales/bn/translation.json index b448362..0e667a8 100644 --- a/build/_locales/bn/translation.json +++ b/build/_locales/bn/translation.json @@ -164,5 +164,63 @@ "cancel": "বাতিল করুন", "fullscreen": "পূর্ণ পর্দা", "exitFullscreen": "পূর্ণ পর্দা থেকে বের হন", - "zoom": "জুম" + "zoom": "জুম", + "undo": "পূর্বাবস্থায় ফেরান", + "addTabToGroup": "গ্রুপে ট্যাব যোগ করুন", + "newGroup": "নতুন গ্রুপ", + "nameThisGroup": "এই গ্রুপের নাম দিন", + "addBookmark": "বুকমার্ক যোগ করুন", + "editBookmark": "বুকমার্ক সম্পাদনা করুন", + "deleteBookmark": "বুকমার্ক মুছে ফেলুন", + "duplicateBookmarks": "বুকমার্কস নকল করুন", + "folderName": "ফোল্ডারের নাম", + "selectParentFolder": "প্যারেন্ট ফোল্ডার নির্বাচন করুন", + "addFolder": "ফোল্ডার যোগ করুন", + "editFolder": "ফোল্ডার সম্পাদনা করুন", + "deleteFolder": "ফোল্ডার মুছে ফেলুন", + "deleteFolderConfirmation": "আপনি কি সত্যিই এই ফোল্ডারটি মুছে ফেলতে চান? এই ফোল্ডারের সমস্ত বুকমার্ক (সাবফোল্ডারের বুকমার্ক সহ) মুছে ফেলা হবে।", + "containsCountURLs": "{{count}} টি URL রয়েছে", + "openAll": "সব খুলুন ({{count}})", + "openAllInNewWindow": "সব খুলুন ({{count}}) নতুন উইন্ডোতে", + "openAllInIncognitoWindow": "সব খুলুন ({{count}}) ইনকগনিটো উইন্ডোতে", + "checkBookmarks": "বুকমার্কস পরীক্ষা করুন", + "hideEmptyFolders": "খালি ফোল্ডার লুকান", + "displayTreeConnectorLines": "ট্রি সংযোগকারী লাইন প্রদর্শন করুন", + "showBookmarkUrl": "বুকমার্ক URL প্রদর্শন করুন", + "bookmarkManager": "বুকমার্ক ম্যানেজার", + "default": "ডিফল্ট", + "title": "শিরোনাম", + "url": "URL", + "recentlyUsed": "সম্প্রতি ব্যবহৃত", + "recentlyAdded": "সম্প্রতি যোগ করা হয়েছে", + "switchToListView": "তালিকা ভিউতে যান", + "switchToTreeView": "ট্রি ভিউতে যান", + "premiumFeatureOnly": "এই বৈশিষ্ট্যটি শুধুমাত্র প্রিমিয়াম সংস্করণে উপলব্ধ।", + "premiumFreeTrialDesc": "এই বৈশিষ্ট্যটি প্রিমিয়াম সংস্করণের জন্য একচেটিয়া, এবং আপনি এখন এটি বিনামূল্যে চেষ্টা করতে পারেন।", + "freeTrial": "বিনামূল্যে ট্রায়াল", + "learnMore": "আরও জানুন", + "limited": "সীমিত", + "premiumEdition": "প্রিমিয়াম সংস্করণ", + "PreOrderPremiumNow": "এখন প্রিমিয়াম সংস্করণ প্রি-অর্ডার করুন", + "getPremiumEditionNow": "এখন প্রিমিয়াম সংস্করণ পান", + "alreadyHavePremiumLicenseKey": "আমার কাছে ইতিমধ্যে প্রিমিয়াম সংস্করণের লাইসেন্স কী আছে", + "licenseKey": "লাইসেন্স কী", + "activatePremium": "প্রিমিয়াম সংস্করণ সক্রিয় করুন", + "couldNotActivatePremium": "প্রিমিয়াম সংস্করণ সক্রিয় করা যায়নি। একটি বৈধ লাইসেন্স কী প্রবেশ করুন।", + "premiumActivatedSuccessfully": "প্রিমিয়াম সংস্করণ সফলভাবে সক্রিয় হয়েছে।", + "premiumAccessFeatures": "প্রিমিয়াম সংস্করণের সাথে, আপনি অতিরিক্ত বৈশিষ্ট্যগুলিতে অ্যাক্সেস পাবেন", + "premiumFeaturesPreOrderDescription": "এক্সটেনশনের সমস্ত মূল বৈশিষ্ট্য বিনামূল্যে ব্যবহার করা যায় এবং প্রিমিয়াম অ্যাক্সেস ছাড়াই অ্যাক্সেসযোগ্য থাকবে। প্রিমিয়াম সংস্করণ, যা পেশাদার ব্যবহারের জন্য উন্নত বৈশিষ্ট্যগুলি অন্তর্ভুক্ত করে, এখনও উন্নয়নের অধীনে রয়েছে। এখন প্রি-অর্ডার করে, আপনি এই প্রিমিয়াম ক্ষমতাগুলির বিকাশকে সমর্থন করতে পারেন এবং লঞ্চের আগে এটি একটি দুর্দান্ত মূল্যে পেতে পারেন।", + "premiumFeaturesDescription": "এক্সটেনশনের সমস্ত মূল বৈশিষ্ট্য বিনামূল্যে ব্যবহার করা যায় এবং প্রিমিয়াম অ্যাক্সেস ছাড়াই অ্যাক্সেসযোগ্য থাকবে। আমরা পেশাদার ব্যবহারের জন্য উন্নত ক্ষমতা প্রদান করতে অতিরিক্ত বৈশিষ্ট্য অফার করি, যা একটি ফি জন্য প্রিমিয়াম সংস্করণে উপলব্ধ হবে।", + "earlyBirdTicket": "আর্লি বার্ড টিকিট", + "earlyBirdTicketDesc": "আমরা প্রিমিয়াম সংস্করণের বৈশিষ্ট্যগুলি চালু করতে যাচ্ছি, এবং আপনি এখন এই উন্নতিগুলির বিকাশকে সমর্থন করার জন্য একটি বিশেষ আর্লি-বার্ড অফারের সুবিধা নিতে পারেন। এখন কিনে, আপনি সমস্ত প্রিমিয়াম সংস্করণের বৈশিষ্ট্যগুলিতে আজীবন অ্যাক্সেস পাবেন। একবার প্রিমিয়াম সংস্করণ প্রকাশিত হলে, আর্লি-বার্ড অফার বন্ধ হয়ে যাবে এবং আজীবন কেনাকাটা আর উপলব্ধ থাকবে না।", + "afterPurchase": "ক্রয়ের পরে, আমরা 24 ঘন্টার মধ্যে আপনার ইমেলে লাইসেন্স কী পাঠাব। প্রিমিয়াম সংস্করণ আনুষ্ঠানিকভাবে প্রকাশিত হলে আপনি এটি ব্যবহার করতে পারেন।", + "enterMailForLicenseKey": "লাইসেন্স কী পেতে আপনার মেইল ​​ঠিকানা লিখুন।", + "upcomingFeatures": "আসন্ন বৈশিষ্ট্য", + "treeTabs": "ট্রি ট্যাবস", + "tabHistory": "ট্যাব ইতিহাস", + "cloudSync": "ক্লাউড সিঙ্ক", + "advancedPictureInPicture": "উন্নত পিকচার-ইন-পিকচার", + "APIAccess": "API অ্যাক্সেস", + "customizeMenu": "মেনু কাস্টমাইজ করুন", + "Automation": "স্বয়ংক্রিয়করণ" } \ No newline at end of file diff --git a/build/_locales/bo/error.json b/build/_locales/bo/error.json index f1191ec..ab13453 100644 --- a/build/_locales/bo/error.json +++ b/build/_locales/bo/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "བརྒྱུད་ཚུགས་སྲུང་བཞག་ཡོད་པ་རྣམས་བཟོ་བཅོས་མ་བྱེད་བཞིན་ཡོད།", + "Saved groups are not editable.": "བརྒྱུད་ཚུགས་སྲུང་བཞག་ཡོད་པ་རྣམས་བཟོ་བཅོས་མ་བྱེད་བཞིན་ཡོད།", "ungroupingError": "ཐོག་མར་བརྒྱུད་ཚུགས་རྣམས་སྤོ་བཤུད་བྱེད་མི་ཐུབ་པ: {{error}}" } \ No newline at end of file diff --git a/build/_locales/bo/options.json b/build/_locales/bo/options.json index 18ada60..48eba4f 100644 --- a/build/_locales/bo/options.json +++ b/build/_locales/bo/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "ལག་ཆས་སྟོན་སྒྲིག་བཀོད་གཅིག་ཏུ་འགྲོ།" } }, + "tabNav": { + "label": "ཁ་ཕྱེ་སྟོན་སྒྲིག་བཀོད།", + "description": "ལག་ལེན་འཐབ་ན་ཁ་ཕྱེ་སྟོན་སྒྲིག་བཀོད་སྟོན།", + "configure": "སྒྲིག་སྟངས།", + "configureTabNav": "ཁ་ཕྱེ་སྟོན་སྒྲིག་བཀོད།", + "enabledNavs": "ལག་ལེན་འཐབ་ཡོད་པའི་འགྲུལ་སྟོན།", + "disabledNavs": "ལག་ལེན་འཐབ་མི་ཚུགས་པའི་འགྲུལ་སྟོན། (མིང་བཏགས་ཡོད་པ།)", + "showLabel": "མཚོན་མདོག་སྟོན།", + "showCount": "གྲངས་སྟོན།", + "days": "ཉིན།", + "close": "ཁ་རྒྱག", + "save": "སྲུངས།", + "settings": "སྒྲིག་སྟངས།", + "OpenTabs": "ཁ་ཕྱེ་ཡོད་པ།", + "RecentlyTabs": "ཁ་ཕྱེ་གསར་པ་གཏན་འཁེལ་བ།", + "bookmarks": "དཀར་ཆག", + "history": "ལོ་རྒྱུས།", + "readingList": "དཔེ་ཆ་ཐོ།", + "quickAccess": "མྱུར་འཛུལ།", + "pinToToolbarReminder": "ཁྱོད་ཀྱི་ལག་ཆས་སྟོན་སྒྲིག་བཀོད་སྒྲིག་བཀོད་སྔོན་ལ་སྒྲིག་བཀོད་འགྲུལ་སྟོན་འདི་བཏོན་གཏང་དགོས།" + }, "bottomNav": { "label": "མར་སྟོན་འགྲུལ་སྟོན།", "description": "མར་སྟོན་འགྲུལ་སྟོན་སྒྲིག་བཀོད།", diff --git a/build/_locales/bo/translation.json b/build/_locales/bo/translation.json index a5f752d..9c44e2a 100644 --- a/build/_locales/bo/translation.json +++ b/build/_locales/bo/translation.json @@ -151,5 +151,63 @@ "cancel": "མེད།", "fullscreen": "ལྷོད་ལྷོད་བཟོ།", "exitFullscreen": "ལྷོད་ལྷོད་བཟོ་ནས་ཕྱིར་འབུད།", - "zoom": "བརྒྱུད་སྤྱོད།" + "zoom": "བརྒྱུད་སྤྱོད།", + "undo": "ལོག་བརྐྱབ།", + "addTabToGroup": "ཐོག་སྒེའུ་ཁུང་ཚོགས་ནང་ཁ་སྤྱོད།", + "newGroup": "ཁུང་ཚོགས་གསར་བརྐྱབ།", + "nameThisGroup": "ཁུང་ཚོགས་འདི་མིང་བརྐྱབ།", + "addBookmark": "དཔེ་ཆ་སྒྲིག་སྤྱོད་ཁ་སྤྱོད།", + "editBookmark": "དཔེ་ཆ་སྒྲིག་སྤྱོད་བསྐྱར་བརྐྱབ།", + "deleteBookmark": "དཔེ་ཆ་སྒྲིག་སྤྱོད་བཏོན།", + "duplicateBookmarks": "དཔེ་ཆ་སྒྲིག་སྤྱོད་གཉིས་བརྐྱབ།", + "folderName": "ཡིག་སྣོད་མིང་།", + "selectParentFolder": "ཡིག་སྣོད་གཉེར་མི་བདག་སྤྱོད།", + "addFolder": "ཡིག་སྣོད་ཁ་སྤྱོད།", + "editFolder": "ཡིག་སྣོད་བསྐྱར་བརྐྱབ།", + "deleteFolder": "ཡིག་སྣོད་བཏོན།", + "deleteFolderConfirmation": "ཡིག་སྣོད་འདི་བཏོན་དགོས་ཡིན་ནམ། ཡིག་སྣོད་འདི་ནང་གི་དཔེ་ཆ་སྒྲིག་སྤྱོད་ཚུ་ཡང་བཏོན་དགོས་ཡིན།", + "containsCountURLs": "{{count}} འབྲེལ་ལམ་ཚུ་ཡོད།", + "openAll": "ཚང་མ་ཁ་སྤྱོད། ({{count}})", + "openAllInNewWindow": "ཚང་མ་ཁ་སྤྱོད། ({{count}}) སྒེའུ་ཁུང་གསར་བརྐྱབ།", + "openAllInIncognitoWindow": "ཚང་མ་ཁ་སྤྱོད། ({{count}}) སྒེའུ་ཁུང་གསར་བརྐྱབ།", + "checkBookmarks": "དཔེ་ཆ་སྒྲིག་སྤྱོད་ཞིབ་དཔྱད།", + "hideEmptyFolders": "ཡིག་སྣོད་སྟོང་བ་སྦས།", + "displayTreeConnectorLines": "ཡིག་སྣོད་སྒྲིག་སྤྱོད་སྟེང་སྒྲིག་སྤྱོད།", + "showBookmarkUrl": "དཔེ་ཆ་སྒྲིག་སྤྱོད་འབྲེལ་ལམ་བརྐྱབ།", + "bookmarkManager": "དཔེ་ཆ་སྒྲིག་སྤྱོད་བརྐྱབ།", + "default": "རིམ་སྤྱོད།", + "title": "མིང་།", + "url": "འབྲེལ་ལམ།", + "recentlyUsed": "ད་ལྟོ་སྤྱོད་ཡོད།", + "recentlyAdded": "ད་ལྟོ་ཁ་སྤྱོད་ཡོད།", + "switchToListView": "ཐོ་བཀོད་སྤྱོད་བརྐྱབ།", + "switchToTreeView": "ཡིག་སྣོད་སྒྲིག་སྤྱོད་བརྐྱབ།", + "premiumFeatureOnly": "གནད་དོན་འདི་སྤྱོད་དགོས་ཡིན།", + "premiumFreeTrialDesc": "གནད་དོན་འདི་སྤྱོད་དགོས་ཡིན། ད་ལྟོ་སྤྱོད་རོགས།", + "freeTrial": "རང་སྤྱོད།", + "learnMore": "རང་སྤྱོད།", + "limited": "ཚད་དོན།", + "premiumEdition": "གནད་དོན་སྤྱོད།", + "PreOrderPremiumNow": "གནད་དོན་སྤྱོད་ད་ལྟོ་ཁ་སྤྱོད།", + "getPremiumEditionNow": "གནད་དོན་སྤྱོད་ད་ལྟོ་ཁ་སྤྱོད།", + "alreadyHavePremiumLicenseKey": "གནད་དོན་སྤྱོད་རིམ་སྤྱོད་ཡོད།", + "licenseKey": "རིམ་སྤྱོད།", + "activatePremium": "གནད་དོན་སྤྱོད་བརྐྱབ།", + "couldNotActivatePremium": "གནད་དོན་སྤྱོད་བརྐྱབ་མ་འགྲུབ། རིམ་སྤྱོད་བརྐྱབ།", + "premiumActivatedSuccessfully": "གནད་དོན་སྤྱོད་བརྐྱབ་འགྲུབ་སོང་།", + "premiumAccessFeatures": "གནད་དོན་སྤྱོད་བརྐྱབ།", + "premiumFeaturesPreOrderDescription": "གནད་དོན་སྤྱོད་བརྐྱབ།", + "premiumFeaturesDescription": "གནད་དོན་སྤྱོད་བརྐྱབ།", + "earlyBirdTicket": "གསར་འགོད་སྤྱོད།", + "earlyBirdTicketDesc": "གསར་འགོད་སྤྱོད།", + "afterPurchase": "གསར་འགོད་སྤྱོད།", + "enterMailForLicenseKey": "གསར་འགོད་སྤྱོད།", + "upcomingFeatures": "གསར་འགོད་སྤྱོད།", + "treeTabs": "གསར་འགོད་སྤྱོད།", + "tabHistory": "གསར་འགོད་སྤྱོད།", + "cloudSync": "གསར་འགོད་སྤྱོད།", + "advancedPictureInPicture": "གསར་འགོད་སྤྱོད།", + "APIAccess": "གསར་འགོད་སྤྱོད།", + "customizeMenu": "གསར་འགོད་སྤྱོད།", + "Automation": "གསར་འགོད་སྤྱོད།" } \ No newline at end of file diff --git a/build/_locales/ca/error.json b/build/_locales/ca/error.json index 2a70614..e2e2d90 100644 --- a/build/_locales/ca/error.json +++ b/build/_locales/ca/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Els grups desats no es poden editar", + "Saved groups are not editable.": "Els grups desats no es poden editar", "ungroupingError": "No s'ha pogut desagrupar totes les pestanyes: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ca/options.json b/build/_locales/ca/options.json index 4437b71..4d1d643 100644 --- a/build/_locales/ca/options.json +++ b/build/_locales/ca/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Desplaça't a la pestanya activa" } }, + "tabNav": { + "label": "Mostra la barra de navegació de pestanyes", + "description": "Quan està habilitat, es mostra la barra de navegació de pestanyes", + "configure": "configura", + "configureTabNav": "Configura la navegació de pestanyes", + "enabledNavs": "Navegacions habilitades", + "disabledNavs": "Navegacions deshabilitades (disponibles)", + "showLabel": "Mostra l'etiqueta", + "showCount": "Mostra el recompte", + "days": "Dies", + "close": "Tanca", + "save": "Desa", + "settings": "Configuració", + "OpenTabs": "Pestanyes obertes", + "RecentlyTabs": "Pestanyes tancades recentment", + "bookmarks": "Adreces d'interès", + "history": "Historial", + "readingList": "Llista de lectura", + "quickAccess": "Accés ràpid", + "pinToToolbarReminder": "Si us plau, fixa l'extensió a la barra d'eines abans d'eliminar aquesta navegació." + }, "bottomNav": { "label": "Mostra la barra de navegació inferior", "description": "Quan està habilitat, es mostra la barra de navegació inferior", diff --git a/build/_locales/ca/translation.json b/build/_locales/ca/translation.json index 1ff90b3..6b082af 100644 --- a/build/_locales/ca/translation.json +++ b/build/_locales/ca/translation.json @@ -151,5 +151,63 @@ "cancel": "Cancel·la", "fullscreen": "Pantalla completa", "exitFullscreen": "Surt de la pantalla completa", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Desfés", + "addTabToGroup": "Afegeix pestanya al grup", + "newGroup": "Nou grup", + "nameThisGroup": "Anomena aquest grup", + "addBookmark": "Afegeix adreça d'interès", + "editBookmark": "Edita adreça d'interès", + "deleteBookmark": "Suprimeix adreça d'interès", + "duplicateBookmarks": "Duplica adreces d'interès", + "folderName": "Nom de la carpeta", + "selectParentFolder": "Selecciona la carpeta pare", + "addFolder": "Afegeix carpeta", + "editFolder": "Edita carpeta", + "deleteFolder": "Suprimeix carpeta", + "deleteFolderConfirmation": "Realment vols suprimir aquesta carpeta? Totes les adreces d'interès en aquesta carpeta (incloent-hi les adreces d'interès en subcarpetes) també seran suprimides.", + "containsCountURLs": "Conté {{count}} URLs", + "openAll": "Obre tot ({{count}})", + "openAllInNewWindow": "Obre tot ({{count}}) en una nova finestra", + "openAllInIncognitoWindow": "Obre tot ({{count}}) en una finestra d'incògnit", + "checkBookmarks": "Comprova adreces d'interès", + "hideEmptyFolders": "Amaga carpetes buides", + "displayTreeConnectorLines": "Mostra línies de connexió de l'arbre", + "showBookmarkUrl": "Mostra URL de l'adreça d'interès", + "bookmarkManager": "Gestor d'adreces d'interès", + "default": "Per defecte", + "title": "Títol", + "url": "URL", + "recentlyUsed": "Usat recentment", + "recentlyAdded": "Afegit recentment", + "switchToListView": "Canvia a vista de llista", + "switchToTreeView": "Canvia a vista d'arbre", + "premiumFeatureOnly": "Aquesta funció només està disponible amb l'Edició Premium.", + "premiumFreeTrialDesc": "Aquesta funció és exclusiva de l'Edició Premium, i ara la pots provar gratuïtament.", + "freeTrial": "Prova gratuïta", + "learnMore": "Més informació", + "limited": "limitada", + "premiumEdition": "Edició Premium", + "PreOrderPremiumNow": "Precomanda l'Edició Premium ara", + "getPremiumEditionNow": "Obté l'Edició Premium ara", + "alreadyHavePremiumLicenseKey": "Ja tinc una clau de llicència de l'Edició Premium", + "licenseKey": "Clau de llicència", + "activatePremium": "Activa l'Edició Premium", + "couldNotActivatePremium": "No s'ha pogut activar l'Edició Premium. Si us plau, introdueix una clau de llicència vàlida.", + "premiumActivatedSuccessfully": "Edició Premium activada amb èxit.", + "premiumAccessFeatures": "Amb l'Edició Premium, tindràs accés a funcions addicionals", + "premiumFeaturesPreOrderDescription": "Totes les funcions clau de l'extensió són gratuïtes i seguiran sent accessibles sense requerir accés Premium. L'Edició Premium, que inclou funcions avançades dissenyades per a ús professional, encara està en desenvolupament. Precomanant ara, pots donar suport al desenvolupament d'aquestes capacitats premium i obtenir-la a un preu excel·lent abans que es llanci.", + "premiumFeaturesDescription": "Totes les funcions clau de l'extensió són gratuïtes i seguiran sent accessibles sense requerir accés Premium. Oferim funcions addicionals per proporcionar capacitats avançades per a ús professional, que estaran disponibles a l'Edició Premium per una tarifa.", + "earlyBirdTicket": "Entrada anticipada", + "earlyBirdTicketDesc": "Estem a punt de llançar les funcions de l'Edició Premium, i ara pots aprofitar una oferta especial anticipada per donar suport al desenvolupament d'aquestes millores. Comprant ara, rebràs accés de per vida a totes les funcions de l'Edició Premium. Un cop es llanci l'Edició Premium, l'oferta anticipada es discontinuarà, i les compres de per vida ja no estaran disponibles.", + "afterPurchase": "Després de la compra, enviarem la clau de llicència al teu correu electrònic en un termini de 24 hores. La podràs utilitzar un cop l'Edició Premium es llanci oficialment.", + "enterMailForLicenseKey": "Si us plau, introdueix la teva adreça de correu electrònic per rebre la clau de llicència.", + "upcomingFeatures": "Funcions properes", + "treeTabs": "Pestanyes en arbre", + "tabHistory": "Historial de pestanyes", + "cloudSync": "Sincronització al núvol", + "advancedPictureInPicture": "Imatge en imatge avançada", + "APIAccess": "Accés a l'API", + "customizeMenu": "Personalitza el menú", + "Automation": "Automatització" } \ No newline at end of file diff --git a/build/_locales/cs/error.json b/build/_locales/cs/error.json index 8f6cb6e..e470a69 100644 --- a/build/_locales/cs/error.json +++ b/build/_locales/cs/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Uložené skupiny nelze upravovat", + "Saved groups are not editable.": "Uložené skupiny nelze upravovat", "ungroupingError": "Nepodařilo se zrušit seskupení všech karet: {{error}}" } \ No newline at end of file diff --git a/build/_locales/cs/options.json b/build/_locales/cs/options.json index 4f7a6ae..f3672d5 100644 --- a/build/_locales/cs/options.json +++ b/build/_locales/cs/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Přejít na aktivní kartu" } }, + "tabNav": { + "label": "Zobrazit panel navigace karet", + "description": "Když je povoleno, zobrazí se panel navigace karet", + "configure": "nastavit", + "configureTabNav": "Nastavit navigaci karet", + "enabledNavs": "Povolené navigace", + "disabledNavs": "Zakázané navigace (dostupné)", + "showLabel": "Zobrazit popisek", + "showCount": "Zobrazit počet", + "days": "Dny", + "close": "Zavřít", + "save": "Uložit", + "settings": "Nastavení", + "OpenTabs": "Otevřené karty", + "RecentlyTabs": "Nedávno zavřené karty", + "bookmarks": "Záložky", + "history": "Historie", + "readingList": "Seznam četby", + "quickAccess": "Rychlý přístup", + "pinToToolbarReminder": "Připněte prosím rozšíření na panel nástrojů, než odstraníte tuto navigaci." + }, "bottomNav": { "label": "Zobrazit spodní navigační panel", "description": "Když je povoleno, zobrazí se spodní navigační panel", diff --git a/build/_locales/cs/translation.json b/build/_locales/cs/translation.json index 6d2c5a9..7e28a23 100644 --- a/build/_locales/cs/translation.json +++ b/build/_locales/cs/translation.json @@ -164,5 +164,63 @@ "cancel": "Zrušit", "fullscreen": "Celá obrazovka", "exitFullscreen": "Ukončit celou obrazovku", - "zoom": "Přiblížit" + "zoom": "Přiblížit", + "undo": "Zpět", + "addTabToGroup": "Přidat kartu do skupiny", + "newGroup": "Nová skupina", + "nameThisGroup": "Pojmenujte tuto skupinu", + "addBookmark": "Přidat záložku", + "editBookmark": "Upravit záložku", + "deleteBookmark": "Smazat záložku", + "duplicateBookmarks": "Duplikovat záložky", + "folderName": "Název složky", + "selectParentFolder": "Vyberte nadřazenou složku", + "addFolder": "Přidat složku", + "editFolder": "Upravit složku", + "deleteFolder": "Smazat složku", + "deleteFolderConfirmation": "Opravdu chcete tuto složku smazat? Všechny záložky v této složce (včetně záložek v podsložkách) budou také smazány.", + "containsCountURLs": "Obsahuje {{count}} URL", + "openAll": "Otevřít vše ({{count}})", + "openAllInNewWindow": "Otevřít vše ({{count}}) v novém okně", + "openAllInIncognitoWindow": "Otevřít vše ({{count}}) v anonymním okně", + "checkBookmarks": "Zkontrolovat záložky", + "hideEmptyFolders": "Skrýt prázdné složky", + "displayTreeConnectorLines": "Zobrazit spojovací čáry stromu", + "showBookmarkUrl": "Zobrazit URL záložky", + "bookmarkManager": "Správce záložek", + "default": "Výchozí", + "title": "Název", + "url": "URL", + "recentlyUsed": "Nedávno použité", + "recentlyAdded": "Nedávno přidané", + "switchToListView": "Přepnout na zobrazení seznamu", + "switchToTreeView": "Přepnout na zobrazení stromu", + "premiumFeatureOnly": "Tato funkce je dostupná pouze s Premium Edition.", + "premiumFreeTrialDesc": "Tato funkce je exkluzivní pro Premium Edition a nyní ji můžete vyzkoušet zdarma.", + "freeTrial": "Zkušební verze zdarma", + "learnMore": "Zjistit více", + "limited": "omezené", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Předobjednejte si Premium Edition nyní", + "getPremiumEditionNow": "Získejte Premium Edition nyní", + "alreadyHavePremiumLicenseKey": "Již mám licenční klíč pro Premium Edition", + "licenseKey": "Licenční klíč", + "activatePremium": "Aktivovat Premium Edition", + "couldNotActivatePremium": "Nepodařilo se aktivovat Premium Edition. Zadejte prosím platný licenční klíč.", + "premiumActivatedSuccessfully": "Premium Edition úspěšně aktivována.", + "premiumAccessFeatures": "S Premium Edition získáte přístup k dalším funkcím", + "premiumFeaturesPreOrderDescription": "Všechny klíčové funkce rozšíření jsou zdarma k použití a zůstanou přístupné bez nutnosti Premium přístupu. Premium Edition, která zahrnuje pokročilé funkce určené pro profesionální použití, je stále ve vývoji. Předobjednáním nyní můžete podpořit vývoj těchto prémiových funkcí a získat je za skvělou cenu před jejich spuštěním.", + "premiumFeaturesDescription": "Všechny klíčové funkce rozšíření jsou zdarma k použití a zůstanou přístupné bez nutnosti Premium přístupu. Nabízíme další funkce, které poskytují pokročilé možnosti pro profesionální použití, které budou dostupné v Premium Edition za poplatek.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "Chystáme se spustit funkce Premium Edition a nyní můžete využít speciální nabídku Early Bird na podporu vývoje těchto vylepšení. Zakoupením nyní získáte doživotní přístup ke všem funkcím Premium Edition. Jakmile bude Premium Edition vydána, nabídka Early Bird bude ukončena a doživotní nákupy již nebudou dostupné.", + "afterPurchase": "Po zakoupení vám do 24 hodin zašleme licenční klíč na váš e-mail. Můžete jej použít, jakmile bude Premium Edition oficiálně vydána.", + "enterMailForLicenseKey": "Zadejte prosím svou e-mailovou adresu pro získání licenčního klíče.", + "upcomingFeatures": "Připravované funkce", + "treeTabs": "Stromové karty", + "tabHistory": "Historie karet", + "cloudSync": "Synchronizace s cloudem", + "advancedPictureInPicture": "Pokročilý režim obraz v obraze", + "APIAccess": "Přístup k API", + "customizeMenu": "Přizpůsobit menu", + "Automation": "Automatizace" } \ No newline at end of file diff --git a/build/_locales/cy/error.json b/build/_locales/cy/error.json index 479e5a1..f26e723 100644 --- a/build/_locales/cy/error.json +++ b/build/_locales/cy/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Ni ellir golygu grwpiau wedi'u cadw", + "Saved groups are not editable.": "Ni ellir golygu grwpiau wedi'u cadw", "ungroupingError": "Methwyd dadgrwpio pob tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/cy/options.json b/build/_locales/cy/options.json index 7e72239..24a03b5 100644 --- a/build/_locales/cy/options.json +++ b/build/_locales/cy/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Sgroliwch i'r Tab Gweithredol" } }, + "tabNav": { + "label": "Dangos bar llywio Tab", + "description": "Pan fydd wedi'i alluogi, mae'r bar llywio Tab yn cael ei ddangos", + "configure": "cyflunio", + "configureTabNav": "Cyflunio Llywio Tab", + "enabledNavs": "Llywio wedi'u Galluogi", + "disabledNavs": "Llywio wedi'u Analluogi (Ar Gael)", + "showLabel": "Dangos Label", + "showCount": "Dangos Cyfrif", + "days": "Dyddiau", + "close": "Cau", + "save": "Cadw", + "settings": "Gosodiadau", + "OpenTabs": "Tabiau Agored", + "RecentlyTabs": "Tabiau a Gaewyd yn Ddiweddar", + "bookmarks": "Nodau Tudalen", + "history": "Hanes", + "readingList": "Rhestr Ddarllen", + "quickAccess": "Mynediad Cyflym", + "pinToToolbarReminder": "Rhowch y estyniad ar eich bar offer cyn tynnu'r llywio hwn." + }, "bottomNav": { "label": "Dangos y bar llywio gwaelod", "description": "Pan fydd hwn wedi'i alluogi, bydd y bar llywio gwaelod yn cael ei dangos", diff --git a/build/_locales/cy/translation.json b/build/_locales/cy/translation.json index 1d8d320..dbdea98 100644 --- a/build/_locales/cy/translation.json +++ b/build/_locales/cy/translation.json @@ -151,5 +151,63 @@ "cancel": "Canslo", "fullscreen": "Sgrin Llawn", "exitFullscreen": "Gadael Sgrin Llawn", - "zoom": "Chwyddo" + "zoom": "Chwyddo", + "undo": "Dadwneud", + "addTabToGroup": "Ychwanegu tab i'r grŵp", + "newGroup": "Grŵp newydd", + "nameThisGroup": "Enwi'r grŵp hwn", + "addBookmark": "Ychwanegu nod tudalen", + "editBookmark": "Golygu nod tudalen", + "deleteBookmark": "Dileu nod tudalen", + "duplicateBookmarks": "Dyblygu nodau tudalen", + "folderName": "Enw'r ffolder", + "selectParentFolder": "Dewiswch ffolder rhiant", + "addFolder": "Ychwanegu ffolder", + "editFolder": "Golygu ffolder", + "deleteFolder": "Dileu ffolder", + "deleteFolderConfirmation": "Ydych chi wir eisiau dileu'r ffolder hwn? Bydd pob nod tudalen yn y ffolder hwn (gan gynnwys nodau tudalen mewn is-ffolderi) hefyd yn cael eu dileu.", + "containsCountURLs": "Yn cynnwys {{count}} URLs", + "openAll": "Agor popeth ({{count}})", + "openAllInNewWindow": "Agor popeth ({{count}}) mewn ffenestr newydd", + "openAllInIncognitoWindow": "Agor popeth ({{count}}) mewn ffenestr incognito", + "checkBookmarks": "Gwirio nodau tudalen", + "hideEmptyFolders": "Cuddio ffolderi gwag", + "displayTreeConnectorLines": "Dangos llinellau cysylltu coeden", + "showBookmarkUrl": "Dangos URL nod tudalen", + "bookmarkManager": "Rheolwr nodau tudalen", + "default": "Diofyn", + "title": "Teitl", + "url": "URL", + "recentlyUsed": "Defnyddiwyd yn ddiweddar", + "recentlyAdded": "Ychwanegwyd yn ddiweddar", + "switchToListView": "Newid i'r golwg rhestr", + "switchToTreeView": "Newid i'r golwg coeden", + "premiumFeatureOnly": "Mae'r nodwedd hon ar gael yn unig gyda'r Fersiwn Premiwm.", + "premiumFreeTrialDesc": "Mae'r nodwedd hon yn unigryw i'r Fersiwn Premiwm, a gallwch ei phrofi am ddim nawr.", + "freeTrial": "Treial Am Ddim", + "learnMore": "Dysgu Mwy", + "limited": "cyfyngedig", + "premiumEdition": "Fersiwn Premiwm", + "PreOrderPremiumNow": "Archebu'r Fersiwn Premiwm nawr", + "getPremiumEditionNow": "Cael y Fersiwn Premiwm nawr", + "alreadyHavePremiumLicenseKey": "Mae gennyf allwedd trwydded Fersiwn Premiwm eisoes", + "licenseKey": "Allwedd Trwydded", + "activatePremium": "Activate Premium Edition", + "couldNotActivatePremium": "Methu actifadu'r Fersiwn Premiwm. Rhowch allwedd trwydded ddilys.", + "premiumActivatedSuccessfully": "Fersiwn Premiwm wedi'i actifadu'n llwyddiannus.", + "premiumAccessFeatures": "Gyda'r Fersiwn Premiwm, byddwch yn cael mynediad i nodweddion ychwanegol", + "premiumFeaturesPreOrderDescription": "Mae'r holl nodweddion allweddol o'r estyniad yn rhad ac am ddim i'w defnyddio ac yn parhau i fod yn hygyrch heb ofyn am fynediad Premiwm. Mae'r Fersiwn Premiwm, sy'n cynnwys nodweddion uwch wedi'u cynllunio ar gyfer defnydd proffesiynol, yn dal i fod yn datblygu. Trwy archebu nawr, gallwch gefnogi datblygiad y galluoedd premiwm hyn a chael pris gwych cyn iddynt gael eu lansio.", + "premiumFeaturesDescription": "Mae'r holl nodweddion allweddol o'r estyniad yn rhad ac am ddim i'w defnyddio ac yn parhau i fod yn hygyrch heb ofyn am fynediad Premiwm. Rydym yn cynnig nodweddion ychwanegol i ddarparu galluoedd uwch ar gyfer defnydd proffesiynol, a fydd ar gael yn y Fersiwn Premiwm am ffi.", + "earlyBirdTicket": "Tocyn Cynnar", + "earlyBirdTicketDesc": "Rydym ar fin lansio nodweddion Fersiwn Premiwm, a gallwch fanteisio ar gynnig arbennig cynnar i gefnogi datblygiad y gwelliannau hyn. Trwy brynu nawr, byddwch yn derbyn mynediad gydol oes i'r holl nodweddion Fersiwn Premiwm. Unwaith y bydd y Fersiwn Premiwm yn cael ei ryddhau, bydd y cynnig cynnar yn dod i ben, ac ni fydd pryniannau gydol oes ar gael mwyach.", + "afterPurchase": "Ar ôl prynu, byddwn yn anfon yr Allwedd Trwydded i'ch e-bost o fewn 24 awr. Gallwch ei ddefnyddio unwaith y bydd y Fersiwn Premiwm yn cael ei ryddhau'n swyddogol.", + "enterMailForLicenseKey": "Rhowch eich cyfeiriad e-bost i dderbyn yr allwedd trwydded.", + "upcomingFeatures": "Nodweddion sydd i ddod", + "treeTabs": "Tabiau Coeden", + "tabHistory": "Hanes Tab", + "cloudSync": "Cydamseru Cwmwl", + "advancedPictureInPicture": "Delwedd Uwch mewn Delwedd", + "APIAccess": "Mynediad API", + "customizeMenu": "Addasu'r Dewislen", + "Automation": "Awtomeiddio" } \ No newline at end of file diff --git a/build/_locales/da/error.json b/build/_locales/da/error.json index e4b4da2..c223204 100644 --- a/build/_locales/da/error.json +++ b/build/_locales/da/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gemte grupper kan ikke redigeres", + "Saved groups are not editable.": "Gemte grupper kan ikke redigeres", "ungroupingError": "Kunne ikke fjerne grupperingen af alle faner: {{error}}" } \ No newline at end of file diff --git a/build/_locales/da/options.json b/build/_locales/da/options.json index 8f4b2ff..79e576e 100644 --- a/build/_locales/da/options.json +++ b/build/_locales/da/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rul til aktiv fane" } }, + "tabNav": { + "label": "Vis fanenavigationslinje", + "description": "Når aktiveret, vises fanenavigationslinjen", + "configure": "konfigurer", + "configureTabNav": "Konfigurer fanenavigation", + "enabledNavs": "Aktiverede navigationer", + "disabledNavs": "Deaktiverede navigationer (tilgængelige)", + "showLabel": "Vis etiket", + "showCount": "Vis antal", + "days": "Dage", + "close": "Luk", + "save": "Gem", + "settings": "Indstillinger", + "OpenTabs": "Åbne faner", + "RecentlyTabs": "Senest lukkede faner", + "bookmarks": "Bogmærker", + "history": "Historik", + "readingList": "Læseliste", + "quickAccess": "Hurtig adgang", + "pinToToolbarReminder": "Husk at fastgøre udvidelsen til din værktøjslinje, før du fjerner denne navigation." + }, "bottomNav": { "label": "Vis bundnavigationslinje", "description": "Når aktiveret, vises bundnavigationslinjen", diff --git a/build/_locales/da/translation.json b/build/_locales/da/translation.json index 1f7f741..95dd326 100644 --- a/build/_locales/da/translation.json +++ b/build/_locales/da/translation.json @@ -164,5 +164,63 @@ "cancel": "Annuller", "fullscreen": "Fuld skærm", "exitFullscreen": "Afslut fuld skærm", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Fortryd", + "addTabToGroup": "Tilføj fane til gruppe", + "newGroup": "Ny gruppe", + "nameThisGroup": "Navngiv denne gruppe", + "addBookmark": "Tilføj bogmærke", + "editBookmark": "Rediger bogmærke", + "deleteBookmark": "Slet bogmærke", + "duplicateBookmarks": "Dupliker bogmærker", + "folderName": "Mappenavn", + "selectParentFolder": "Vælg overordnet mappe", + "addFolder": "Tilføj mappe", + "editFolder": "Rediger mappe", + "deleteFolder": "Slet mappe", + "deleteFolderConfirmation": "Vil du virkelig slette denne mappe? Alle bogmærker i denne mappe (inklusive bogmærker i undermapper) vil også blive slettet.", + "containsCountURLs": "Indeholder {{count}} URL'er", + "openAll": "Åbn alle ({{count}})", + "openAllInNewWindow": "Åbn alle ({{count}}) i nyt vindue", + "openAllInIncognitoWindow": "Åbn alle ({{count}}) i inkognitovindue", + "checkBookmarks": "Tjek bogmærker", + "hideEmptyFolders": "Skjul tomme mapper", + "displayTreeConnectorLines": "Vis træforbindelseslinjer", + "showBookmarkUrl": "Vis bogmærke-URL", + "bookmarkManager": "Bogmærkeadministrator", + "default": "Standard", + "title": "Titel", + "url": "URL", + "recentlyUsed": "For nylig brugt", + "recentlyAdded": "For nylig tilføjet", + "switchToListView": "Skift til listevisning", + "switchToTreeView": "Skift til trævisning", + "premiumFeatureOnly": "Denne funktion er kun tilgængelig med Premium Edition.", + "premiumFreeTrialDesc": "Denne funktion er eksklusiv for Premium Edition, og du kan prøve den gratis nu.", + "freeTrial": "Gratis prøveperiode", + "learnMore": "Lær mere", + "limited": "begrænset", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Forudbestil Premium Edition nu", + "getPremiumEditionNow": "Få Premium Edition nu", + "alreadyHavePremiumLicenseKey": "Jeg har allerede en Premium Edition-licensnøgle", + "licenseKey": "Licensnøgle", + "activatePremium": "Aktiver Premium Edition", + "couldNotActivatePremium": "Kunne ikke aktivere Premium Edition. Indtast venligst en gyldig licensnøgle.", + "premiumActivatedSuccessfully": "Premium Edition aktiveret med succes.", + "premiumAccessFeatures": "Med Premium Edition får du adgang til yderligere funktioner", + "premiumFeaturesPreOrderDescription": "Alle nøglefunktioner i udvidelsen er gratis at bruge og vil forblive tilgængelige uden at kræve Premium-adgang. Premium Edition, som inkluderer avancerede funktioner designet til professionel brug, er stadig under udvikling. Ved at forudbestille nu kan du støtte udviklingen af disse premiumfunktioner og få det til en god pris, før de lanceres.", + "premiumFeaturesDescription": "Alle nøglefunktioner i udvidelsen er gratis at bruge og vil forblive tilgængelige uden at kræve Premium-adgang. Vi tilbyder yderligere funktioner for at give avancerede muligheder for professionel brug, som vil være tilgængelige i Premium Edition mod et gebyr.", + "earlyBirdTicket": "Early Bird-billet", + "earlyBirdTicketDesc": "Vi er ved at lancere Premium Edition-funktioner, og du kan nu drage fordel af et særligt early-bird-tilbud for at støtte udviklingen af disse forbedringer. Ved at købe nu vil du modtage livstidsadgang til alle Premium Edition-funktioner. Når Premium Edition er udgivet, vil early-bird-tilbuddet blive afbrudt, og livstidskøb vil ikke længere være tilgængelige.", + "afterPurchase": "Efter køb sender vi licensnøglen til din e-mail inden for 24 timer. Du kan bruge den, når Premium Edition officielt er udgivet.", + "enterMailForLicenseKey": "Indtast venligst din e-mailadresse for at modtage licensnøglen.", + "upcomingFeatures": "Kommende funktioner", + "treeTabs": "Træfaner", + "tabHistory": "Fanebladshistorik", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Avanceret billede-i-billede", + "APIAccess": "API-adgang", + "customizeMenu": "Tilpas menu", + "Automation": "Automatisering" } \ No newline at end of file diff --git a/build/_locales/de/error.json b/build/_locales/de/error.json index 889d29a..5332896 100644 --- a/build/_locales/de/error.json +++ b/build/_locales/de/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gespeicherte Gruppen sind nicht bearbeitbar", + "Saved groups are not editable.": "Gespeicherte Gruppen sind nicht bearbeitbar", "ungroupingError": "Fehler beim Aufheben der Gruppierung aller Tabs: {{error}}" } \ No newline at end of file diff --git a/build/_locales/de/options.json b/build/_locales/de/options.json index 9fb0ef8..7044784 100644 --- a/build/_locales/de/options.json +++ b/build/_locales/de/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Zum aktiven Tab scrollen" } }, + "tabNav": { + "label": "Tab-Navigationsleiste anzeigen", + "description": "Wenn aktiviert, wird die Tab-Navigationsleiste angezeigt", + "configure": "konfigurieren", + "configureTabNav": "Tab-Navigation konfigurieren", + "enabledNavs": "Aktivierte Navigationen", + "disabledNavs": "Deaktivierte Navigationen (Verfügbar)", + "showLabel": "Label anzeigen", + "showCount": "Anzahl anzeigen", + "days": "Tage", + "close": "Schließen", + "save": "Speichern", + "settings": "Einstellungen", + "OpenTabs": "Offene Tabs", + "RecentlyTabs": "Kürzlich geschlossene Tabs", + "bookmarks": "Lesezeichen", + "history": "Verlauf", + "readingList": "Leseliste", + "quickAccess": "Schnellzugriff", + "pinToToolbarReminder": "Bitte heften Sie die Erweiterung an Ihre Symbolleiste, bevor Sie diese Navigation entfernen." + }, "bottomNav": { "label": "Untere Navigationsleiste anzeigen", "description": "Wenn aktiviert, wird die untere Navigationsleiste eingeblendet", diff --git a/build/_locales/de/translation.json b/build/_locales/de/translation.json index 67c8a5a..6a0ee3e 100644 --- a/build/_locales/de/translation.json +++ b/build/_locales/de/translation.json @@ -164,5 +164,63 @@ "cancel": "Abbrechen", "fullscreen": "Vollbild", "exitFullscreen": "Vollbildmodus beenden", - "zoom": "Vergrößern" + "zoom": "Vergrößern", + "undo": "Rückgängig machen", + "addTabToGroup": "Tab zur Gruppe hinzufügen", + "newGroup": "Neue Gruppe", + "nameThisGroup": "Diese Gruppe benennen", + "addBookmark": "Lesezeichen hinzufügen", + "editBookmark": "Lesezeichen bearbeiten", + "deleteBookmark": "Lesezeichen löschen", + "duplicateBookmarks": "Lesezeichen duplizieren", + "folderName": "Ordnername", + "selectParentFolder": "Übergeordneten Ordner auswählen", + "addFolder": "Ordner hinzufügen", + "editFolder": "Ordner bearbeiten", + "deleteFolder": "Ordner löschen", + "deleteFolderConfirmation": "Möchten Sie diesen Ordner wirklich löschen? Alle Lesezeichen in diesem Ordner (einschließlich Lesezeichen in Unterordnern) werden ebenfalls gelöscht.", + "containsCountURLs": "Enthält {{count}} URLs", + "openAll": "Alle öffnen ({{count}})", + "openAllInNewWindow": "Alle in neuem Fenster öffnen ({{count}})", + "openAllInIncognitoWindow": "Alle im Inkognito-Fenster öffnen ({{count}})", + "checkBookmarks": "Lesezeichen überprüfen", + "hideEmptyFolders": "Leere Ordner ausblenden", + "displayTreeConnectorLines": "Baumverbindungslinien anzeigen", + "showBookmarkUrl": "Lesezeichen-URL anzeigen", + "bookmarkManager": "Lesezeichen-Manager", + "default": "Standard", + "title": "Titel", + "url": "URL", + "recentlyUsed": "Kürzlich verwendet", + "recentlyAdded": "Kürzlich hinzugefügt", + "switchToListView": "Zur Listenansicht wechseln", + "switchToTreeView": "Zur Baumansicht wechseln", + "premiumFeatureOnly": "Diese Funktion ist nur mit der Premium Edition verfügbar.", + "premiumFreeTrialDesc": "Diese Funktion ist exklusiv für die Premium Edition und Sie können sie jetzt kostenlos ausprobieren.", + "freeTrial": "Kostenlose Testversion", + "learnMore": "Mehr erfahren", + "limited": "begrenzt", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Premium Edition jetzt vorbestellen", + "getPremiumEditionNow": "Premium Edition jetzt erhalten", + "alreadyHavePremiumLicenseKey": "Ich habe bereits einen Lizenzschlüssel für die Premium Edition", + "licenseKey": "Lizenzschlüssel", + "activatePremium": "Premium Edition aktivieren", + "couldNotActivatePremium": "Premium Edition konnte nicht aktiviert werden. Bitte geben Sie einen gültigen Lizenzschlüssel ein.", + "premiumActivatedSuccessfully": "Premium Edition erfolgreich aktiviert.", + "premiumAccessFeatures": "Mit der Premium Edition erhalten Sie Zugriff auf zusätzliche Funktionen", + "premiumFeaturesPreOrderDescription": "Alle wichtigen Funktionen der Erweiterung sind kostenlos nutzbar und bleiben ohne Premium-Zugang zugänglich. Die Premium Edition, die erweiterte Funktionen für den professionellen Einsatz umfasst, befindet sich noch in der Entwicklung. Durch eine Vorbestellung können Sie die Entwicklung dieser Premium-Funktionen unterstützen und sie zu einem günstigen Preis erhalten, bevor sie veröffentlicht werden.", + "premiumFeaturesDescription": "Alle wichtigen Funktionen der Erweiterung sind kostenlos nutzbar und bleiben ohne Premium-Zugang zugänglich. Wir bieten zusätzliche Funktionen, um erweiterte Möglichkeiten für den professionellen Einsatz bereitzustellen, die in der Premium Edition gegen eine Gebühr verfügbar sein werden.", + "earlyBirdTicket": "Frühbucher-Ticket", + "earlyBirdTicketDesc": "Wir stehen kurz vor der Einführung der Premium Edition-Funktionen und Sie können jetzt von einem speziellen Frühbucherangebot profitieren, um die Entwicklung dieser Verbesserungen zu unterstützen. Durch den Kauf jetzt erhalten Sie lebenslangen Zugang zu allen Funktionen der Premium Edition. Sobald die Premium Edition veröffentlicht ist, wird das Frühbucherangebot eingestellt und lebenslange Käufe sind nicht mehr verfügbar.", + "afterPurchase": "Nach dem Kauf senden wir Ihnen den Lizenzschlüssel innerhalb von 24 Stunden per E-Mail zu. Sie können ihn verwenden, sobald die Premium Edition offiziell veröffentlicht ist.", + "enterMailForLicenseKey": "Bitte geben Sie Ihre E-Mail-Adresse ein, um den Lizenzschlüssel zu erhalten.", + "upcomingFeatures": "Kommende Funktionen", + "treeTabs": "Baum-Tabs", + "tabHistory": "Tab-Verlauf", + "cloudSync": "Cloud-Synchronisierung", + "advancedPictureInPicture": "Erweitertes Bild-in-Bild", + "APIAccess": "API-Zugang", + "customizeMenu": "Menü anpassen", + "Automation": "Automatisierung" } \ No newline at end of file diff --git a/build/_locales/el/error.json b/build/_locales/el/error.json index 19d3503..959f0ad 100644 --- a/build/_locales/el/error.json +++ b/build/_locales/el/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Οι αποθηκευμένες ομάδες δεν είναι επεξεργάσιμες", + "Saved groups are not editable.": "Οι αποθηκευμένες ομάδες δεν είναι επεξεργάσιμες", "ungroupingError": "Αποτυχία κατάργησης ομαδοποίησης όλων των καρτελών: {{error}}" } \ No newline at end of file diff --git a/build/_locales/el/options.json b/build/_locales/el/options.json index e241543..98982ff 100644 --- a/build/_locales/el/options.json +++ b/build/_locales/el/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Κύλιση στην ενεργή καρτέλα" } }, + "tabNav": { + "label": "Εμφάνιση γραμμής πλοήγησης καρτελών", + "description": "Όταν είναι ενεργοποιημένο, η γραμμή πλοήγησης καρτελών εμφανίζεται", + "configure": "διαμόρφωση", + "configureTabNav": "Διαμόρφωση Πλοήγησης Καρτελών", + "enabledNavs": "Ενεργοποιημένες Πλοηγήσεις", + "disabledNavs": "Απενεργοποιημένες Πλοηγήσεις (Διαθέσιμες)", + "showLabel": "Εμφάνιση Ετικέτας", + "showCount": "Εμφάνιση Αριθμού", + "days": "Ημέρες", + "close": "Κλείσιμο", + "save": "Αποθήκευση", + "settings": "Ρυθμίσεις", + "OpenTabs": "Ανοιχτές Καρτέλες", + "RecentlyTabs": "Πρόσφατα Κλεισμένες Καρτέλες", + "bookmarks": "Σελιδοδείκτες", + "history": "Ιστορικό", + "readingList": "Λίστα Ανάγνωσης", + "quickAccess": "Γρήγορη Πρόσβαση", + "pinToToolbarReminder": "Προσαρτήστε την επέκταση στη γραμμή εργαλείων σας πριν αφαιρέσετε αυτήν την πλοήγηση." + }, "bottomNav": { "label": "Εμφάνιση κάτω γραμμής πλοήγησης", "description": "Όταν είναι ενεργοποιημένο, η κάτω γραμμή πλοήγησης εμφανίζεται", diff --git a/build/_locales/el/translation.json b/build/_locales/el/translation.json index 41a3095..3d716a4 100644 --- a/build/_locales/el/translation.json +++ b/build/_locales/el/translation.json @@ -164,5 +164,63 @@ "cancel": "Ακύρωση", "fullscreen": "Πλήρης Οθόνη", "exitFullscreen": "Έξοδος από Πλήρη Οθόνη", - "zoom": "Μεγέθυνση" + "zoom": "Μεγέθυνση", + "undo": "Αναίρεση", + "addTabToGroup": "Προσθήκη καρτέλας στην ομάδα", + "newGroup": "Νέα ομάδα", + "nameThisGroup": "Ονομάστε αυτήν την ομάδα", + "addBookmark": "Προσθήκη σελιδοδείκτη", + "editBookmark": "Επεξεργασία σελιδοδείκτη", + "deleteBookmark": "Διαγραφή σελιδοδείκτη", + "duplicateBookmarks": "Διπλασιασμός σελιδοδεικτών", + "folderName": "Όνομα φακέλου", + "selectParentFolder": "Επιλέξτε γονικό φάκελο", + "addFolder": "Προσθήκη φακέλου", + "editFolder": "Επεξεργασία φακέλου", + "deleteFolder": "Διαγραφή φακέλου", + "deleteFolderConfirmation": "Θέλετε πραγματικά να διαγράψετε αυτόν τον φάκελο; Όλοι οι σελιδοδείκτες σε αυτόν τον φάκελο (συμπεριλαμβανομένων των σελιδοδεικτών σε υποφακέλους) θα διαγραφούν επίσης.", + "containsCountURLs": "Περιέχει {{count}} URLs", + "openAll": "Άνοιγμα όλων ({{count}})", + "openAllInNewWindow": "Άνοιγμα όλων ({{count}}) σε νέο παράθυρο", + "openAllInIncognitoWindow": "Άνοιγμα όλων ({{count}}) σε παράθυρο ανώνυμης περιήγησης", + "checkBookmarks": "Έλεγχος σελιδοδεικτών", + "hideEmptyFolders": "Απόκρυψη κενών φακέλων", + "displayTreeConnectorLines": "Εμφάνιση γραμμών σύνδεσης δέντρου", + "showBookmarkUrl": "Εμφάνιση URL σελιδοδείκτη", + "bookmarkManager": "Διαχειριστής σελιδοδεικτών", + "default": "Προεπιλογή", + "title": "Τίτλος", + "url": "URL", + "recentlyUsed": "Πρόσφατα χρησιμοποιημένα", + "recentlyAdded": "Πρόσφατα προστέθηκαν", + "switchToListView": "Μετάβαση σε προβολή λίστας", + "switchToTreeView": "Μετάβαση σε προβολή δέντρου", + "premiumFeatureOnly": "Αυτή η λειτουργία είναι διαθέσιμη μόνο με την Premium Edition.", + "premiumFreeTrialDesc": "Αυτή η λειτουργία είναι αποκλειστική για την Premium Edition και μπορείτε να τη δοκιμάσετε δωρεάν τώρα.", + "freeTrial": "Δωρεάν δοκιμή", + "learnMore": "Μάθετε περισσότερα", + "limited": "περιορισμένο", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Προπαραγγείλετε την Premium Edition τώρα", + "getPremiumEditionNow": "Αποκτήστε την Premium Edition τώρα", + "alreadyHavePremiumLicenseKey": "Έχω ήδη κλειδί άδειας χρήσης για την Premium Edition", + "licenseKey": "Κλειδί άδειας χρήσης", + "activatePremium": "Ενεργοποίηση Premium Edition", + "couldNotActivatePremium": "Δεν ήταν δυνατή η ενεργοποίηση της Premium Edition. Παρακαλώ εισάγετε ένα έγκυρο κλειδί άδειας χρήσης.", + "premiumActivatedSuccessfully": "Η Premium Edition ενεργοποιήθηκε με επιτυχία.", + "premiumAccessFeatures": "Με την Premium Edition, θα έχετε πρόσβαση σε επιπλέον λειτουργίες", + "premiumFeaturesPreOrderDescription": "Όλες οι βασικές λειτουργίες της επέκτασης είναι δωρεάν για χρήση και θα παραμείνουν προσβάσιμες χωρίς να απαιτείται πρόσβαση Premium. Η Premium Edition, η οποία περιλαμβάνει προηγμένες λειτουργίες σχεδιασμένες για επαγγελματική χρήση, είναι ακόμα σε ανάπτυξη. Με την προπαραγγελία τώρα, μπορείτε να υποστηρίξετε την ανάπτυξη αυτών των premium δυνατοτήτων και να την αποκτήσετε σε εξαιρετική τιμή πριν κυκλοφορήσουν.", + "premiumFeaturesDescription": "Όλες οι βασικές λειτουργίες της επέκτασης είναι δωρεάν για χρήση και θα παραμείνουν προσβάσιμες χωρίς να απαιτείται πρόσβαση Premium. Προσφέρουμε επιπλέον λειτουργίες για να παρέχουμε προηγμένες δυνατότητες για επαγγελματική χρήση, οι οποίες θα είναι διαθέσιμες στην Premium Edition με χρέωση.", + "earlyBirdTicket": "Εισιτήριο Early Bird", + "earlyBirdTicketDesc": "Πρόκειται να κυκλοφορήσουμε τις λειτουργίες της Premium Edition και τώρα μπορείτε να επωφεληθείτε από μια ειδική προσφορά early-bird για να υποστηρίξετε την ανάπτυξη αυτών των βελτιώσεων. Με την αγορά τώρα, θα λάβετε δια βίου πρόσβαση σε όλες τις λειτουργίες της Premium Edition. Μόλις κυκλοφορήσει η Premium Edition, η προσφορά early-bird θα διακοπεί και οι δια βίου αγορές δεν θα είναι πλέον διαθέσιμες.", + "afterPurchase": "Μετά την αγορά, θα σας στείλουμε το κλειδί άδειας χρήσης στο email σας εντός 24 ωρών. Μπορείτε να το χρησιμοποιήσετε μόλις κυκλοφορήσει επίσημα η Premium Edition.", + "enterMailForLicenseKey": "Παρακαλώ εισάγετε τη διεύθυνση email σας για να λάβετε το κλειδί άδειας χρήσης.", + "upcomingFeatures": "Επερχόμενες λειτουργίες", + "treeTabs": "Καρτέλες δέντρου", + "tabHistory": "Ιστορικό καρτελών", + "cloudSync": "Συγχρονισμός cloud", + "advancedPictureInPicture": "Προηγμένο Picture-in-Picture", + "APIAccess": "Πρόσβαση API", + "customizeMenu": "Προσαρμογή μενού", + "Automation": "Αυτοματοποίηση" } \ No newline at end of file diff --git a/build/_locales/en US/error.json b/build/_locales/en US/error.json index 90686e5..d9662d6 100644 --- a/build/_locales/en US/error.json +++ b/build/_locales/en US/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Saved groups are not editable", + "Saved groups are not editable.": "Saved groups are not editable", "ungroupingError": "Failed to ungroup all tabs: {{error}}" } \ No newline at end of file diff --git a/build/_locales/en US/options.json b/build/_locales/en US/options.json index 7577023..e0846db 100644 --- a/build/_locales/en US/options.json +++ b/build/_locales/en US/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scroll to Active Tab" } }, + "tabNav": { + "label": "Show Tab navigation bar", + "description": "When enabled, the Tab navigation bar is displayed", + "configure": "configure", + "configureTabNav": "Configure Tab Navigation", + "enabledNavs": "Enabled Navigations", + "disabledNavs": "Disabled Navigations (Available)", + "showLabel": "Show Label", + "showCount": "Show Count", + "days": "Days", + "close": "Close", + "save": "Save", + "settings": "Settings", + "OpenTabs": "Open Tabs", + "RecentlyTabs": "Recently Closed Tabs", + "bookmarks": "Bookmarks", + "history": "History", + "readingList": "Reading List", + "quickAccess": "Quick Access", + "pinToToolbarReminder": "Please pin the extension to your toolbar before removing this navigation." + }, "bottomNav": { "label": "Show bottom navigation bar", "description": "When enabled, the bottom navigation bar is displayed", diff --git a/build/_locales/en US/translation.json b/build/_locales/en US/translation.json index f976043..6803157 100644 --- a/build/_locales/en US/translation.json +++ b/build/_locales/en US/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancel", "fullscreen": "Fullscreen", "exitFullscreen": "Exit Fullscreen", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Undo", + "addTabToGroup": "Add tab to group", + "newGroup": "New group", + "nameThisGroup": "Name this group", + "addBookmark": "Add bookmark", + "editBookmark": "Edit bookmark", + "deleteBookmark": "Delete bookmark", + "duplicateBookmarks": "Duplicate bookmarks", + "folderName": "Folder name ", + "selectParentFolder": "Select parent folder", + "addFolder": "Add folder", + "editFolder": "Edit folder", + "deleteFolder": "Delete folder", + "deleteFolderConfirmation": "Do you really want to delete this folder? All bookmarks in this folder (including bookmarks in subfolders) will also be deleted.", + "containsCountURLs": "Contains {{count}} URLs", + "openAll": "Open all ({{count}})", + "openAllInNewWindow": "Open all ({{count}}) in new window", + "openAllInIncognitoWindow": "Open all ({{count}}) in incognito window", + "checkBookmarks": "Check Bookmarks", + "hideEmptyFolders": "Hide empty folders", + "displayTreeConnectorLines": "Display tree connector lines", + "showBookmarkUrl": "Display Bookmark Url", + "bookmarkManager": "Bookmark Manager", + "default": "Default", + "title": "Title", + "url": "URL", + "recentlyUsed": "Recently used", + "recentlyAdded": "Recently added", + "switchToListView": "Switch to list view", + "switchToTreeView": "Switch to tree view", + "premiumFeatureOnly": "This feature is only available with the Premium Edition.", + "premiumFreeTrialDesc": "This feature is exclusive to the Premium Edition, and you can try it for free now.", + "freeTrial": "Free Trial", + "learnMore": "Learn More", + "limited": "limited", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Pre-order the Premium Edition now", + "getPremiumEditionNow": "Get the Premium Edition now", + "alreadyHavePremiumLicenseKey": "I already have a Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "Activate Premium Edition", + "couldNotActivatePremium": "Could not activate Premium Edition. Please enter a valid license key.", + "premiumActivatedSuccessfully": "Premium Edition activated successfully.", + "premiumAccessFeatures": "With the Premium Edition, you will get access to additional features", + "premiumFeaturesPreOrderDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. The Premium Edition, which includes advanced features designed for professional use, is still in development. By pre-ordering now, you can support the development of these premium capabilities and Get it at a great price before they launch.", + "premiumFeaturesDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. We offer additional features to provide advanced capabilities for professional use, which will be available in the Premium Edition for a fee.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "We are about to launch Premium Edition features, and you can now take advantage of a special early-bird offer to support the development of these enhancements. By purchasing now, you will receive lifetime access to all Premium Edition features. Once the Premium Edition is released, the early-bird offer will be discontinued, and lifetime purchases will no longer be available.", + "afterPurchase": "After purchase, we will send the License Key to your email within 24 hours. You can use it once the Premium Edition is officially released.", + "enterMailForLicenseKey": "Please enter your mail address to receive the licence key.", + "upcomingFeatures": "Upcoming Features", + "treeTabs": "Tree Tabs", + "tabHistory": "Tab History", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "Customize Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/en/error.json b/build/_locales/en/error.json index 90686e5..d9662d6 100644 --- a/build/_locales/en/error.json +++ b/build/_locales/en/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Saved groups are not editable", + "Saved groups are not editable.": "Saved groups are not editable", "ungroupingError": "Failed to ungroup all tabs: {{error}}" } \ No newline at end of file diff --git a/build/_locales/en/options.json b/build/_locales/en/options.json index e9c7038..e9a030b 100644 --- a/build/_locales/en/options.json +++ b/build/_locales/en/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scroll to Active Tab" } }, + "tabNav": { + "label": "Show Tab navigation bar", + "description": "When enabled, the Tab navigation bar is displayed", + "configure": "configure", + "configureTabNav": "Configure Tab Navigation", + "enabledNavs": "Enabled Navigations", + "disabledNavs": "Disabled Navigations (Available)", + "showLabel": "Show Label", + "showCount": "Show Count", + "days": "Days", + "close": "Close", + "save": "Save", + "settings": "Settings", + "OpenTabs": "Open Tabs", + "RecentlyTabs": "Recently Closed Tabs", + "bookmarks": "Bookmarks", + "history": "History", + "readingList": "Reading List", + "quickAccess": "Quick Access", + "pinToToolbarReminder": "Please pin the extension to your toolbar before removing this navigation." + }, "bottomNav": { "label": "Show bottom navigation bar", "description": "When enabled, the bottom navigation bar is displayed", diff --git a/build/_locales/en/translation.json b/build/_locales/en/translation.json index f976043..6803157 100644 --- a/build/_locales/en/translation.json +++ b/build/_locales/en/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancel", "fullscreen": "Fullscreen", "exitFullscreen": "Exit Fullscreen", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Undo", + "addTabToGroup": "Add tab to group", + "newGroup": "New group", + "nameThisGroup": "Name this group", + "addBookmark": "Add bookmark", + "editBookmark": "Edit bookmark", + "deleteBookmark": "Delete bookmark", + "duplicateBookmarks": "Duplicate bookmarks", + "folderName": "Folder name ", + "selectParentFolder": "Select parent folder", + "addFolder": "Add folder", + "editFolder": "Edit folder", + "deleteFolder": "Delete folder", + "deleteFolderConfirmation": "Do you really want to delete this folder? All bookmarks in this folder (including bookmarks in subfolders) will also be deleted.", + "containsCountURLs": "Contains {{count}} URLs", + "openAll": "Open all ({{count}})", + "openAllInNewWindow": "Open all ({{count}}) in new window", + "openAllInIncognitoWindow": "Open all ({{count}}) in incognito window", + "checkBookmarks": "Check Bookmarks", + "hideEmptyFolders": "Hide empty folders", + "displayTreeConnectorLines": "Display tree connector lines", + "showBookmarkUrl": "Display Bookmark Url", + "bookmarkManager": "Bookmark Manager", + "default": "Default", + "title": "Title", + "url": "URL", + "recentlyUsed": "Recently used", + "recentlyAdded": "Recently added", + "switchToListView": "Switch to list view", + "switchToTreeView": "Switch to tree view", + "premiumFeatureOnly": "This feature is only available with the Premium Edition.", + "premiumFreeTrialDesc": "This feature is exclusive to the Premium Edition, and you can try it for free now.", + "freeTrial": "Free Trial", + "learnMore": "Learn More", + "limited": "limited", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Pre-order the Premium Edition now", + "getPremiumEditionNow": "Get the Premium Edition now", + "alreadyHavePremiumLicenseKey": "I already have a Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "Activate Premium Edition", + "couldNotActivatePremium": "Could not activate Premium Edition. Please enter a valid license key.", + "premiumActivatedSuccessfully": "Premium Edition activated successfully.", + "premiumAccessFeatures": "With the Premium Edition, you will get access to additional features", + "premiumFeaturesPreOrderDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. The Premium Edition, which includes advanced features designed for professional use, is still in development. By pre-ordering now, you can support the development of these premium capabilities and Get it at a great price before they launch.", + "premiumFeaturesDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. We offer additional features to provide advanced capabilities for professional use, which will be available in the Premium Edition for a fee.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "We are about to launch Premium Edition features, and you can now take advantage of a special early-bird offer to support the development of these enhancements. By purchasing now, you will receive lifetime access to all Premium Edition features. Once the Premium Edition is released, the early-bird offer will be discontinued, and lifetime purchases will no longer be available.", + "afterPurchase": "After purchase, we will send the License Key to your email within 24 hours. You can use it once the Premium Edition is officially released.", + "enterMailForLicenseKey": "Please enter your mail address to receive the licence key.", + "upcomingFeatures": "Upcoming Features", + "treeTabs": "Tree Tabs", + "tabHistory": "Tab History", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "Customize Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/en_AU/error.json b/build/_locales/en_AU/error.json index 90686e5..d9662d6 100644 --- a/build/_locales/en_AU/error.json +++ b/build/_locales/en_AU/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Saved groups are not editable", + "Saved groups are not editable.": "Saved groups are not editable", "ungroupingError": "Failed to ungroup all tabs: {{error}}" } \ No newline at end of file diff --git a/build/_locales/en_AU/options.json b/build/_locales/en_AU/options.json index f04cd6a..073ed1e 100644 --- a/build/_locales/en_AU/options.json +++ b/build/_locales/en_AU/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scroll to Active Tab" } }, + "tabNav": { + "label": "Show Tab navigation bar", + "description": "When enabled, the Tab navigation bar is displayed", + "configure": "configure", + "configureTabNav": "Configure Tab Navigation", + "enabledNavs": "Enabled Navigations", + "disabledNavs": "Disabled Navigations (Available)", + "showLabel": "Show Label", + "showCount": "Show Count", + "days": "Days", + "close": "Close", + "save": "Save", + "settings": "Settings", + "OpenTabs": "Open Tabs", + "RecentlyTabs": "Recently Closed Tabs", + "bookmarks": "Bookmarks", + "history": "History", + "readingList": "Reading List", + "quickAccess": "Quick Access", + "pinToToolbarReminder": "Please pin the extension to your toolbar before removing this navigation." + }, "bottomNav": { "label": "Show bottom navigation bar", "description": "When enabled, the bottom navigation bar is displayed", diff --git a/build/_locales/en_AU/translation.json b/build/_locales/en_AU/translation.json index f976043..6803157 100644 --- a/build/_locales/en_AU/translation.json +++ b/build/_locales/en_AU/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancel", "fullscreen": "Fullscreen", "exitFullscreen": "Exit Fullscreen", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Undo", + "addTabToGroup": "Add tab to group", + "newGroup": "New group", + "nameThisGroup": "Name this group", + "addBookmark": "Add bookmark", + "editBookmark": "Edit bookmark", + "deleteBookmark": "Delete bookmark", + "duplicateBookmarks": "Duplicate bookmarks", + "folderName": "Folder name ", + "selectParentFolder": "Select parent folder", + "addFolder": "Add folder", + "editFolder": "Edit folder", + "deleteFolder": "Delete folder", + "deleteFolderConfirmation": "Do you really want to delete this folder? All bookmarks in this folder (including bookmarks in subfolders) will also be deleted.", + "containsCountURLs": "Contains {{count}} URLs", + "openAll": "Open all ({{count}})", + "openAllInNewWindow": "Open all ({{count}}) in new window", + "openAllInIncognitoWindow": "Open all ({{count}}) in incognito window", + "checkBookmarks": "Check Bookmarks", + "hideEmptyFolders": "Hide empty folders", + "displayTreeConnectorLines": "Display tree connector lines", + "showBookmarkUrl": "Display Bookmark Url", + "bookmarkManager": "Bookmark Manager", + "default": "Default", + "title": "Title", + "url": "URL", + "recentlyUsed": "Recently used", + "recentlyAdded": "Recently added", + "switchToListView": "Switch to list view", + "switchToTreeView": "Switch to tree view", + "premiumFeatureOnly": "This feature is only available with the Premium Edition.", + "premiumFreeTrialDesc": "This feature is exclusive to the Premium Edition, and you can try it for free now.", + "freeTrial": "Free Trial", + "learnMore": "Learn More", + "limited": "limited", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Pre-order the Premium Edition now", + "getPremiumEditionNow": "Get the Premium Edition now", + "alreadyHavePremiumLicenseKey": "I already have a Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "Activate Premium Edition", + "couldNotActivatePremium": "Could not activate Premium Edition. Please enter a valid license key.", + "premiumActivatedSuccessfully": "Premium Edition activated successfully.", + "premiumAccessFeatures": "With the Premium Edition, you will get access to additional features", + "premiumFeaturesPreOrderDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. The Premium Edition, which includes advanced features designed for professional use, is still in development. By pre-ordering now, you can support the development of these premium capabilities and Get it at a great price before they launch.", + "premiumFeaturesDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. We offer additional features to provide advanced capabilities for professional use, which will be available in the Premium Edition for a fee.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "We are about to launch Premium Edition features, and you can now take advantage of a special early-bird offer to support the development of these enhancements. By purchasing now, you will receive lifetime access to all Premium Edition features. Once the Premium Edition is released, the early-bird offer will be discontinued, and lifetime purchases will no longer be available.", + "afterPurchase": "After purchase, we will send the License Key to your email within 24 hours. You can use it once the Premium Edition is officially released.", + "enterMailForLicenseKey": "Please enter your mail address to receive the licence key.", + "upcomingFeatures": "Upcoming Features", + "treeTabs": "Tree Tabs", + "tabHistory": "Tab History", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "Customize Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/en_GB/error.json b/build/_locales/en_GB/error.json index 90686e5..d9662d6 100644 --- a/build/_locales/en_GB/error.json +++ b/build/_locales/en_GB/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Saved groups are not editable", + "Saved groups are not editable.": "Saved groups are not editable", "ungroupingError": "Failed to ungroup all tabs: {{error}}" } \ No newline at end of file diff --git a/build/_locales/en_GB/options.json b/build/_locales/en_GB/options.json index eb5b3a3..87f30e2 100644 --- a/build/_locales/en_GB/options.json +++ b/build/_locales/en_GB/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scroll to Active Tab" } }, + "tabNav": { + "label": "Show Tab navigation bar", + "description": "When enabled, the Tab navigation bar is displayed", + "configure": "configure", + "configureTabNav": "Configure Tab Navigation", + "enabledNavs": "Enabled Navigations", + "disabledNavs": "Disabled Navigations (Available)", + "showLabel": "Show Label", + "showCount": "Show Count", + "days": "Days", + "close": "Close", + "save": "Save", + "settings": "Settings", + "OpenTabs": "Open Tabs", + "RecentlyTabs": "Recently Closed Tabs", + "bookmarks": "Bookmarks", + "history": "History", + "readingList": "Reading List", + "quickAccess": "Quick Access", + "pinToToolbarReminder": "Please pin the extension to your toolbar before removing this navigation." + }, "bottomNav": { "label": "Show bottom navigation bar", "description": "When enabled, the bottom navigation bar is displayed", diff --git a/build/_locales/en_GB/translation.json b/build/_locales/en_GB/translation.json index b3ed02e..5fce0d3 100644 --- a/build/_locales/en_GB/translation.json +++ b/build/_locales/en_GB/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancel", "fullscreen": "Fullscreen", "exitFullscreen": "Exit Fullscreen", - "zoom": "Zoom" + "zoom": "Zoom", + "undo": "Undo", + "addTabToGroup": "Add tab to group", + "newGroup": "New group", + "nameThisGroup": "Name this group", + "addBookmark": "Add bookmark", + "editBookmark": "Edit bookmark", + "deleteBookmark": "Delete bookmark", + "duplicateBookmarks": "Duplicate bookmarks", + "folderName": "Folder name ", + "selectParentFolder": "Select parent folder", + "addFolder": "Add folder", + "editFolder": "Edit folder", + "deleteFolder": "Delete folder", + "deleteFolderConfirmation": "Do you really want to delete this folder? All bookmarks in this folder (including bookmarks in subfolders) will also be deleted.", + "containsCountURLs": "Contains {{count}} URLs", + "openAll": "Open all ({{count}})", + "openAllInNewWindow": "Open all ({{count}}) in new window", + "openAllInIncognitoWindow": "Open all ({{count}}) in incognito window", + "checkBookmarks": "Check Bookmarks", + "hideEmptyFolders": "Hide empty folders", + "displayTreeConnectorLines": "Display tree connector lines", + "showBookmarkUrl": "Display Bookmark Url", + "bookmarkManager": "Bookmark Manager", + "default": "Default", + "title": "Title", + "url": "URL", + "recentlyUsed": "Recently used", + "recentlyAdded": "Recently added", + "switchToListView": "Switch to list view", + "switchToTreeView": "Switch to tree view", + "premiumFeatureOnly": "This feature is only available with the Premium Edition.", + "premiumFreeTrialDesc": "This feature is exclusive to the Premium Edition, and you can try it for free now.", + "freeTrial": "Free Trial", + "learnMore": "Learn More", + "limited": "limited", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Pre-order the Premium Edition now", + "getPremiumEditionNow": "Get the Premium Edition now", + "alreadyHavePremiumLicenseKey": "I already have a Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "Activate Premium Edition", + "couldNotActivatePremium": "Could not activate Premium Edition. Please enter a valid license key.", + "premiumActivatedSuccessfully": "Premium Edition activated successfully.", + "premiumAccessFeatures": "With the Premium Edition, you will get access to additional features", + "premiumFeaturesPreOrderDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. The Premium Edition, which includes advanced features designed for professional use, is still in development. By pre-ordering now, you can support the development of these premium capabilities and Get it at a great price before they launch.", + "premiumFeaturesDescription": "All key features of the extension are free to use and will remain accessible without requiring Premium access. We offer additional features to provide advanced capabilities for professional use, which will be available in the Premium Edition for a fee.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "We are about to launch Premium Edition features, and you can now take advantage of a special early-bird offer to support the development of these enhancements. By purchasing now, you will receive lifetime access to all Premium Edition features. Once the Premium Edition is released, the early-bird offer will be discontinued, and lifetime purchases will no longer be available.", + "afterPurchase": "After purchase, we will send the License Key to your email within 24 hours. You can use it once the Premium Edition is officially released.", + "enterMailForLicenseKey": "Please enter your mail address to receive the licence key.", + "upcomingFeatures": "Upcoming Features", + "treeTabs": "Tree Tabs", + "tabHistory": "Tab History", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "Customize Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/eo/error.json b/build/_locales/eo/error.json index 1e5c4e2..7ba35d5 100644 --- a/build/_locales/eo/error.json +++ b/build/_locales/eo/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Konservitaj grupoj ne estas redakteblaj", + "Saved groups are not editable.": "Konservitaj grupoj ne estas redakteblaj", "ungroupingError": "Malsukcesis malgrupigi ĉiujn langetojn: {{error}}" } \ No newline at end of file diff --git a/build/_locales/eo/options.json b/build/_locales/eo/options.json index b5ec35e..ce693dd 100644 --- a/build/_locales/eo/options.json +++ b/build/_locales/eo/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rulumi al Aktiva Langeto" } }, + "tabNav": { + "label": "Montri langetan navigadobreton", + "description": "Kiam aktivigita, la langeta navigadobreto montriĝas", + "configure": "Agordi", + "configureTabNav": "Agordi Langetan Navigadon", + "enabledNavs": "Aktivigitaj Navigadoj", + "disabledNavs": "Malaktivigitaj Navigadoj (Disponeblaj)", + "showLabel": "Montri Etikedon", + "showCount": "Montri Kalkulon", + "days": "Tagoj", + "close": "Fermi", + "save": "Konservi", + "settings": "Agordoj", + "OpenTabs": "Malfermitaj Langetoj", + "RecentlyTabs": "Lastatempe Fermitaj Langetoj", + "bookmarks": "Legosignoj", + "history": "Historio", + "readingList": "Legolisto", + "quickAccess": "Rapida Alirado", + "pinToToolbarReminder": "Bonvolu alfiksi la etendaĵon al via ilobreto antaŭ ol forigi ĉi tiun navigadon." + }, "bottomNav": { "label": "Montri malsupran navigadobreton", "description": "Kiam aktivigita, la malsupra navigadobreto aperas", diff --git a/build/_locales/eo/translation.json b/build/_locales/eo/translation.json index 584f2e7..5911954 100644 --- a/build/_locales/eo/translation.json +++ b/build/_locales/eo/translation.json @@ -151,5 +151,63 @@ "cancel": "Nuligi", "fullscreen": "Plenekrano", "exitFullscreen": "Eliri Plenekranon", - "zoom": "Zomi" + "zoom": "Zomi", + "undo": "Malfari", + "addTabToGroup": "Aldoni langeton al grupo", + "newGroup": "Nova grupo", + "nameThisGroup": "Nomu ĉi tiun grupon", + "addBookmark": "Aldoni legosignon", + "editBookmark": "Redakti legosignon", + "deleteBookmark": "Forigi legosignon", + "duplicateBookmarks": "Duobligi legosignojn", + "folderName": "Dosierujo nomo", + "selectParentFolder": "Elekti gepatran dosierujon", + "addFolder": "Aldoni dosierujon", + "editFolder": "Redakti dosierujon", + "deleteFolder": "Forigi dosierujon", + "deleteFolderConfirmation": "Ĉu vi vere volas forigi ĉi tiun dosierujon? Ĉiuj legosignoj en ĉi tiu dosierujo (inkluzive de legosignoj en subdosierujoj) ankaŭ estos forigitaj.", + "containsCountURLs": "Enhavas {{count}} URL-ojn", + "openAll": "Malfermi ĉiujn ({{count}})", + "openAllInNewWindow": "Malfermi ĉiujn ({{count}}) en nova fenestro", + "openAllInIncognitoWindow": "Malfermi ĉiujn ({{count}}) en inkognita fenestro", + "checkBookmarks": "Kontroli legosignojn", + "hideEmptyFolders": "Kaŝi malplenajn dosierujojn", + "displayTreeConnectorLines": "Montri arbo-konektajn liniojn", + "showBookmarkUrl": "Montri legosignon URL", + "bookmarkManager": "Legosigna Administrilo", + "default": "Defaŭlta", + "title": "Titolo", + "url": "URL", + "recentlyUsed": "Lastatempe uzita", + "recentlyAdded": "Lastatempe aldonita", + "switchToListView": "Ŝanĝi al lista vido", + "switchToTreeView": "Ŝanĝi al arbo vido", + "premiumFeatureOnly": "Ĉi tiu funkcio estas disponebla nur kun la Premium Eldono.", + "premiumFreeTrialDesc": "Ĉi tiu funkcio estas ekskluziva por la Premium Eldono, kaj vi povas provi ĝin senpage nun.", + "freeTrial": "Senpaga Provo", + "learnMore": "Lerni Pli", + "limited": "limigita", + "premiumEdition": "Premium Eldono", + "PreOrderPremiumNow": "Antaŭmendi la Premium Eldonon nun", + "getPremiumEditionNow": "Akiri la Premium Eldonon nun", + "alreadyHavePremiumLicenseKey": "Mi jam havas Premium Eldona licenckodon", + "licenseKey": "Licenckodo", + "activatePremium": "Aktivigi Premium Eldonon", + "couldNotActivatePremium": "Ne povis aktivigi Premium Eldonon. Bonvolu enigi validan licenckodon.", + "premiumActivatedSuccessfully": "Premium Eldono sukcese aktivigita.", + "premiumAccessFeatures": "Kun la Premium Eldono, vi havos aliron al aldonaj funkcioj", + "premiumFeaturesPreOrderDescription": "Ĉiuj ĉefaj funkcioj de la etendo estas senpage uzeblaj kaj restos alireblaj sen postuli Premium aliron. La Premium Eldono, kiu inkluzivas altnivelajn funkciojn desegnitajn por profesia uzo, ankoraŭ estas en evoluo. Antaŭmendante nun, vi povas subteni la evoluon de ĉi tiuj premium kapabloj kaj akiri ĝin je bonega prezo antaŭ ol ili lanĉos.", + "premiumFeaturesDescription": "Ĉiuj ĉefaj funkcioj de la etendo estas senpage uzeblaj kaj restos alireblaj sen postuli Premium aliron. Ni ofertas aldonajn funkciojn por provizi altnivelajn kapablojn por profesia uzo, kiuj estos disponeblaj en la Premium Eldono kontraŭ pago.", + "earlyBirdTicket": "Frua Birdo Bileto", + "earlyBirdTicketDesc": "Ni estas proksimaj al lanĉo de Premium Eldonaj funkcioj, kaj vi nun povas profiti de speciala frua-birdo oferto por subteni la evoluon de ĉi tiuj plibonigoj. Aĉetante nun, vi ricevos dumvivan aliron al ĉiuj Premium Eldonaj funkcioj. Post kiam la Premium Eldono estos liberigita, la frua-birdo oferto estos nuligita, kaj dumvivaj aĉetoj ne plu estos disponeblaj.", + "afterPurchase": "Post aĉeto, ni sendos la Licenckodon al via retpoŝto ene de 24 horoj. Vi povas uzi ĝin post kiam la Premium Eldono estos oficiale liberigita.", + "enterMailForLicenseKey": "Bonvolu enigi vian retpoŝtadreson por ricevi la licenckodon.", + "upcomingFeatures": "Venontaj Funkcioj", + "treeTabs": "Arbo Langetoj", + "tabHistory": "Langeta Historio", + "cloudSync": "Nuba Sinkronigo", + "advancedPictureInPicture": "Altnivela Bildo-en-Bildo", + "APIAccess": "API Aliro", + "customizeMenu": "Agordi Menuon", + "Automation": "Aŭtomatigo" } \ No newline at end of file diff --git a/build/_locales/es/error.json b/build/_locales/es/error.json index 6e9ea3b..182fee6 100644 --- a/build/_locales/es/error.json +++ b/build/_locales/es/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Los grupos guardados no son editables", + "Saved groups are not editable.": "Los grupos guardados no son editables", "ungroupingError": "Error al desagrupar todas las pestañas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/es/options.json b/build/_locales/es/options.json index 51260c9..fe3a478 100644 --- a/build/_locales/es/options.json +++ b/build/_locales/es/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Desplazarse a la pestaña activa" } }, + "tabNav": { + "label": "Mostrar barra de navegación de pestañas", + "description": "Cuando está habilitado, se muestra la barra de navegación de pestañas", + "configure": "configurar", + "configureTabNav": "Configurar navegación de pestañas", + "enabledNavs": "Navegaciones habilitadas", + "disabledNavs": "Navegaciones deshabilitadas (disponibles)", + "showLabel": "Mostrar etiqueta", + "showCount": "Mostrar conteo", + "days": "Días", + "close": "Cerrar", + "save": "Guardar", + "settings": "Configuraciones", + "OpenTabs": "Pestañas abiertas", + "RecentlyTabs": "Pestañas cerradas recientemente", + "bookmarks": "Marcadores", + "history": "Historial", + "readingList": "Lista de lectura", + "quickAccess": "Acceso rápido", + "pinToToolbarReminder": "Por favor, fija la extensión en tu barra de herramientas antes de eliminar esta navegación." + }, "bottomNav": { "label": "Mostrar barra de navegación inferior", "description": "Cuando está habilitado, se muestra la barra de navegación inferior", diff --git a/build/_locales/es/translation.json b/build/_locales/es/translation.json index f315984..27739b7 100644 --- a/build/_locales/es/translation.json +++ b/build/_locales/es/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancelar", "fullscreen": "Pantalla Completa", "exitFullscreen": "Salir de Pantalla Completa", - "zoom": "Ampliar" + "zoom": "Ampliar", + "undo": "Deshacer", + "addTabToGroup": "Agregar pestaña al grupo", + "newGroup": "Nuevo grupo", + "nameThisGroup": "Nombrar este grupo", + "addBookmark": "Agregar marcador", + "editBookmark": "Editar marcador", + "deleteBookmark": "Eliminar marcador", + "duplicateBookmarks": "Duplicar marcadores", + "folderName": "Nombre de la carpeta", + "selectParentFolder": "Seleccionar carpeta principal", + "addFolder": "Agregar carpeta", + "editFolder": "Editar carpeta", + "deleteFolder": "Eliminar carpeta", + "deleteFolderConfirmation": "¿Realmente quieres eliminar esta carpeta? Todos los marcadores en esta carpeta (incluidos los marcadores en subcarpetas) también se eliminarán.", + "containsCountURLs": "Contiene {{count}} URLs", + "openAll": "Abrir todo ({{count}})", + "openAllInNewWindow": "Abrir todo ({{count}}) en nueva ventana", + "openAllInIncognitoWindow": "Abrir todo ({{count}}) en ventana de incógnito", + "checkBookmarks": "Verificar marcadores", + "hideEmptyFolders": "Ocultar carpetas vacías", + "displayTreeConnectorLines": "Mostrar líneas de conexión del árbol", + "showBookmarkUrl": "Mostrar URL del marcador", + "bookmarkManager": "Administrador de marcadores", + "default": "Predeterminado", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recientemente", + "recentlyAdded": "Agregado recientemente", + "switchToListView": "Cambiar a vista de lista", + "switchToTreeView": "Cambiar a vista de árbol", + "premiumFeatureOnly": "Esta función solo está disponible con la Edición Premium.", + "premiumFreeTrialDesc": "Esta función es exclusiva de la Edición Premium, y puedes probarla gratis ahora.", + "freeTrial": "Prueba gratuita", + "learnMore": "Aprender más", + "limited": "limitado", + "premiumEdition": "Edición Premium", + "PreOrderPremiumNow": "Pre-ordenar la Edición Premium ahora", + "getPremiumEditionNow": "Obtener la Edición Premium ahora", + "alreadyHavePremiumLicenseKey": "Ya tengo una clave de licencia de la Edición Premium", + "licenseKey": "Clave de licencia", + "activatePremium": "Activar Edición Premium", + "couldNotActivatePremium": "No se pudo activar la Edición Premium. Por favor, ingresa una clave de licencia válida.", + "premiumActivatedSuccessfully": "Edición Premium activada con éxito.", + "premiumAccessFeatures": "Con la Edición Premium, tendrás acceso a funciones adicionales", + "premiumFeaturesPreOrderDescription": "Todas las funciones clave de la extensión son de uso gratuito y seguirán siendo accesibles sin requerir acceso Premium. La Edición Premium, que incluye funciones avanzadas diseñadas para uso profesional, aún está en desarrollo. Al pre-ordenar ahora, puedes apoyar el desarrollo de estas capacidades premium y obtenerla a un gran precio antes de que se lancen.", + "premiumFeaturesDescription": "Todas las funciones clave de la extensión son de uso gratuito y seguirán siendo accesibles sin requerir acceso Premium. Ofrecemos funciones adicionales para proporcionar capacidades avanzadas para uso profesional, que estarán disponibles en la Edición Premium por una tarifa.", + "earlyBirdTicket": "Boleto de Madrugador", + "earlyBirdTicketDesc": "Estamos a punto de lanzar las funciones de la Edición Premium, y ahora puedes aprovechar una oferta especial de madrugador para apoyar el desarrollo de estas mejoras. Al comprar ahora, recibirás acceso de por vida a todas las funciones de la Edición Premium. Una vez que se lance la Edición Premium, la oferta de madrugador se descontinuará, y las compras de por vida ya no estarán disponibles.", + "afterPurchase": "Después de la compra, enviaremos la clave de licencia a tu correo electrónico dentro de las 24 horas. Puedes usarla una vez que la Edición Premium se lance oficialmente.", + "enterMailForLicenseKey": "Por favor, ingresa tu dirección de correo electrónico para recibir la clave de licencia.", + "upcomingFeatures": "Próximas funciones", + "treeTabs": "Pestañas de árbol", + "tabHistory": "Historial de pestañas", + "cloudSync": "Sincronización en la nube", + "advancedPictureInPicture": "Imagen en imagen avanzada", + "APIAccess": "Acceso API", + "customizeMenu": "Personalizar menú", + "Automation": "Automatización" } \ No newline at end of file diff --git a/build/_locales/es_419/error.json b/build/_locales/es_419/error.json index b2fdbdd..d3c9bdf 100644 --- a/build/_locales/es_419/error.json +++ b/build/_locales/es_419/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Los grupos guardados no se pueden editar", + "Saved groups are not editable.": "Los grupos guardados no se pueden editar", "ungroupingError": "No se pudo desagrupar todas las pestañas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/es_419/options.json b/build/_locales/es_419/options.json index 1a276ff..dcb70f8 100644 --- a/build/_locales/es_419/options.json +++ b/build/_locales/es_419/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Desplazarse a la pestaña activa" } }, + "tabNav": { + "label": "Mostrar barra de navegación de pestañas", + "description": "Cuando está habilitado, se muestra la barra de navegación de pestañas", + "configure": "configurar", + "configureTabNav": "Configurar navegación de pestañas", + "enabledNavs": "Navegaciones habilitadas", + "disabledNavs": "Navegaciones deshabilitadas (disponibles)", + "showLabel": "Mostrar etiqueta", + "showCount": "Mostrar conteo", + "days": "Días", + "close": "Cerrar", + "save": "Guardar", + "settings": "Configuraciones", + "OpenTabs": "Pestañas abiertas", + "RecentlyTabs": "Pestañas cerradas recientemente", + "bookmarks": "Marcadores", + "history": "Historial", + "readingList": "Lista de lectura", + "quickAccess": "Acceso rápido", + "pinToToolbarReminder": "Por favor, fija la extensión en tu barra de herramientas antes de eliminar esta navegación." + }, "bottomNav": { "label": "Mostrar barra de navegación inferior", "description": "Cuando está habilitado, se muestra la barra de navegación inferior", diff --git a/build/_locales/es_419/translation.json b/build/_locales/es_419/translation.json index 46718c0..d85a6d3 100644 --- a/build/_locales/es_419/translation.json +++ b/build/_locales/es_419/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancelar", "fullscreen": "Pantalla Completa", "exitFullscreen": "Salir de Pantalla Completa", - "zoom": "Ampliar" + "zoom": "Ampliar", + "undo": "Deshacer", + "addTabToGroup": "Agregar pestaña al grupo", + "newGroup": "Nuevo grupo", + "nameThisGroup": "Nombrar este grupo", + "addBookmark": "Agregar marcador", + "editBookmark": "Editar marcador", + "deleteBookmark": "Eliminar marcador", + "duplicateBookmarks": "Duplicar marcadores", + "folderName": "Nombre de la carpeta", + "selectParentFolder": "Seleccionar carpeta principal", + "addFolder": "Agregar carpeta", + "editFolder": "Editar carpeta", + "deleteFolder": "Eliminar carpeta", + "deleteFolderConfirmation": "¿Realmente quieres eliminar esta carpeta? Todos los marcadores en esta carpeta (incluidos los marcadores en subcarpetas) también se eliminarán.", + "containsCountURLs": "Contiene {{count}} URLs", + "openAll": "Abrir todo ({{count}})", + "openAllInNewWindow": "Abrir todo ({{count}}) en nueva ventana", + "openAllInIncognitoWindow": "Abrir todo ({{count}}) en ventana de incógnito", + "checkBookmarks": "Verificar marcadores", + "hideEmptyFolders": "Ocultar carpetas vacías", + "displayTreeConnectorLines": "Mostrar líneas de conexión del árbol", + "showBookmarkUrl": "Mostrar URL del marcador", + "bookmarkManager": "Administrador de marcadores", + "default": "Predeterminado", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recientemente", + "recentlyAdded": "Agregado recientemente", + "switchToListView": "Cambiar a vista de lista", + "switchToTreeView": "Cambiar a vista de árbol", + "premiumFeatureOnly": "Esta función solo está disponible con la Edición Premium.", + "premiumFreeTrialDesc": "Esta función es exclusiva de la Edición Premium, y puedes probarla gratis ahora.", + "freeTrial": "Prueba gratuita", + "learnMore": "Aprender más", + "limited": "limitado", + "premiumEdition": "Edición Premium", + "PreOrderPremiumNow": "Pre-ordenar la Edición Premium ahora", + "getPremiumEditionNow": "Obtener la Edición Premium ahora", + "alreadyHavePremiumLicenseKey": "Ya tengo una clave de licencia de la Edición Premium", + "licenseKey": "Clave de licencia", + "activatePremium": "Activar Edición Premium", + "couldNotActivatePremium": "No se pudo activar la Edición Premium. Por favor, ingresa una clave de licencia válida.", + "premiumActivatedSuccessfully": "Edición Premium activada con éxito.", + "premiumAccessFeatures": "Con la Edición Premium, tendrás acceso a funciones adicionales", + "premiumFeaturesPreOrderDescription": "Todas las funciones clave de la extensión son de uso gratuito y seguirán siendo accesibles sin requerir acceso Premium. La Edición Premium, que incluye funciones avanzadas diseñadas para uso profesional, aún está en desarrollo. Al pre-ordenar ahora, puedes apoyar el desarrollo de estas capacidades premium y obtenerla a un gran precio antes de que se lancen.", + "premiumFeaturesDescription": "Todas las funciones clave de la extensión son de uso gratuito y seguirán siendo accesibles sin requerir acceso Premium. Ofrecemos funciones adicionales para proporcionar capacidades avanzadas para uso profesional, que estarán disponibles en la Edición Premium por una tarifa.", + "earlyBirdTicket": "Boleto de Madrugador", + "earlyBirdTicketDesc": "Estamos a punto de lanzar las funciones de la Edición Premium, y ahora puedes aprovechar una oferta especial de madrugador para apoyar el desarrollo de estas mejoras. Al comprar ahora, recibirás acceso de por vida a todas las funciones de la Edición Premium. Una vez que se lance la Edición Premium, la oferta de madrugador se descontinuará, y las compras de por vida ya no estarán disponibles.", + "afterPurchase": "Después de la compra, enviaremos la clave de licencia a tu correo electrónico dentro de las 24 horas. Puedes usarla una vez que la Edición Premium se lance oficialmente.", + "enterMailForLicenseKey": "Por favor, ingresa tu dirección de correo electrónico para recibir la clave de licencia.", + "upcomingFeatures": "Próximas funciones", + "treeTabs": "Pestañas de árbol", + "tabHistory": "Historial de pestañas", + "cloudSync": "Sincronización en la nube", + "advancedPictureInPicture": "Imagen en imagen avanzada", + "APIAccess": "Acceso API", + "customizeMenu": "Personalizar menú", + "Automation": "Automatización" } \ No newline at end of file diff --git a/build/_locales/et/error.json b/build/_locales/et/error.json index 9756c24..b6d27b3 100644 --- a/build/_locales/et/error.json +++ b/build/_locales/et/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Salvestatud gruppe ei saa redigeerida", + "Saved groups are not editable.": "Salvestatud gruppe ei saa redigeerida", "ungroupingError": "Kõigi vahekaartide rühmitamine ebaõnnestus: {{error}}" } \ No newline at end of file diff --git a/build/_locales/et/options.json b/build/_locales/et/options.json index a9714d9..3691e05 100644 --- a/build/_locales/et/options.json +++ b/build/_locales/et/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Kerige aktiivsele vahekaardile" } }, + "tabNav": { + "label": "Kuva vahekaartide navigeerimisriba", + "description": "Kui lubatud, kuvatakse vahekaartide navigeerimisriba", + "configure": "seadista", + "configureTabNav": "Seadista vahekaartide navigeerimine", + "enabledNavs": "Lubatud navigeerimised", + "disabledNavs": "Keelatud navigeerimised (Saadaval)", + "showLabel": "Kuva silt", + "showCount": "Kuva arv", + "days": "Päevad", + "close": "Sulge", + "save": "Salvesta", + "settings": "Seaded", + "OpenTabs": "Avatud vahekaardid", + "RecentlyTabs": "Hiljuti suletud vahekaardid", + "bookmarks": "Järjehoidjad", + "history": "Ajalugu", + "readingList": "Lugemisnimekiri", + "quickAccess": "Kiirjuurdepääs", + "pinToToolbarReminder": "Enne selle navigeerimise eemaldamist kinnitage laiendus oma tööriistaribale." + }, "bottomNav": { "label": "Kuva alumine navigeerimisriba", "description": "Kui lubatud, kuvatakse alumine navigeerimisriba", diff --git a/build/_locales/et/translation.json b/build/_locales/et/translation.json index 35108a5..ce30861 100644 --- a/build/_locales/et/translation.json +++ b/build/_locales/et/translation.json @@ -164,5 +164,63 @@ "cancel": "Tühista", "fullscreen": "Täisekraan", "exitFullscreen": "Välju täisekraanist", - "zoom": "Suumi" + "zoom": "Suumi", + "undo": "Võta tagasi", + "addTabToGroup": "Lisa vahekaart gruppi", + "newGroup": "Uus grupp", + "nameThisGroup": "Nimeta see grupp", + "addBookmark": "Lisa järjehoidja", + "editBookmark": "Muuda järjehoidjat", + "deleteBookmark": "Kustuta järjehoidja", + "duplicateBookmarks": "Dubleeri järjehoidjad", + "folderName": "Kausta nimi", + "selectParentFolder": "Vali ülemkaust", + "addFolder": "Lisa kaust", + "editFolder": "Muuda kausta", + "deleteFolder": "Kustuta kaust", + "deleteFolderConfirmation": "Kas tõesti soovid selle kausta kustutada? Kõik selle kausta järjehoidjad (kaasa arvatud alamkaustade järjehoidjad) kustutatakse samuti.", + "containsCountURLs": "Sisaldab {{count}} URL-i", + "openAll": "Ava kõik ({{count}})", + "openAllInNewWindow": "Ava kõik ({{count}}) uues aknas", + "openAllInIncognitoWindow": "Ava kõik ({{count}}) inkognito aknas", + "checkBookmarks": "Kontrolli järjehoidjaid", + "hideEmptyFolders": "Peida tühjad kaustad", + "displayTreeConnectorLines": "Kuva puuühendusjooned", + "showBookmarkUrl": "Kuva järjehoidja URL", + "bookmarkManager": "Järjehoidjate haldur", + "default": "Vaikimisi", + "title": "Pealkiri", + "url": "URL", + "recentlyUsed": "Hiljuti kasutatud", + "recentlyAdded": "Hiljuti lisatud", + "switchToListView": "Vaheta loendivaatesse", + "switchToTreeView": "Vaheta puuvaatesse", + "premiumFeatureOnly": "See funktsioon on saadaval ainult Premium versioonis.", + "premiumFreeTrialDesc": "See funktsioon on eksklusiivne Premium versioonile ja saate seda nüüd tasuta proovida.", + "freeTrial": "Tasuta prooviperiood", + "learnMore": "Lisateave", + "limited": "piiratud", + "premiumEdition": "Premium versioon", + "PreOrderPremiumNow": "Eeltelli Premium versioon nüüd", + "getPremiumEditionNow": "Hangi Premium versioon nüüd", + "alreadyHavePremiumLicenseKey": "Mul on juba Premium versiooni litsentsivõti", + "licenseKey": "Litsentsivõti", + "activatePremium": "Aktiveeri Premium versioon", + "couldNotActivatePremium": "Premium versiooni ei õnnestunud aktiveerida. Palun sisestage kehtiv litsentsivõti.", + "premiumActivatedSuccessfully": "Premium versioon edukalt aktiveeritud.", + "premiumAccessFeatures": "Premium versiooniga saate juurdepääsu täiendavatele funktsioonidele", + "premiumFeaturesPreOrderDescription": "Kõik laienduse põhifunktsioonid on tasuta kasutamiseks ja jäävad kättesaadavaks ilma Premium juurdepääsuta. Premium versioon, mis sisaldab professionaalseks kasutamiseks mõeldud täiustatud funktsioone, on veel arendamisel. Eeltellides nüüd, saate toetada nende premium-võimaluste arendamist ja hankida need suurepärase hinnaga enne nende käivitamist.", + "premiumFeaturesDescription": "Kõik laienduse põhifunktsioonid on tasuta kasutamiseks ja jäävad kättesaadavaks ilma Premium juurdepääsuta. Pakume täiendavaid funktsioone, et pakkuda professionaalseks kasutamiseks täiustatud võimalusi, mis on saadaval Premium versioonis tasu eest.", + "earlyBirdTicket": "Varajase tellija pilet", + "earlyBirdTicketDesc": "Oleme peagi käivitamas Premium versiooni funktsioone ja nüüd saate kasutada spetsiaalset varajase tellija pakkumist, et toetada nende täiustuste arendamist. Ostes nüüd, saate eluaegse juurdepääsu kõigile Premium versiooni funktsioonidele. Kui Premium versioon on välja antud, lõpetatakse varajase tellija pakkumine ja eluaegsed ostud ei ole enam saadaval.", + "afterPurchase": "Pärast ostu saadame litsentsivõtme teie e-posti aadressile 24 tunni jooksul. Saate seda kasutada, kui Premium versioon on ametlikult välja antud.", + "enterMailForLicenseKey": "Palun sisestage oma e-posti aadress, et saada litsentsivõti.", + "upcomingFeatures": "Tulevased funktsioonid", + "treeTabs": "Puu vahekaardid", + "tabHistory": "Vahekaartide ajalugu", + "cloudSync": "Pilvesünkroonimine", + "advancedPictureInPicture": "Täiustatud pilt-pildis", + "APIAccess": "API juurdepääs", + "customizeMenu": "Kohanda menüüd", + "Automation": "Automatiseerimine" } \ No newline at end of file diff --git a/build/_locales/eu/error.json b/build/_locales/eu/error.json index a3d52b8..ec34ecb 100644 --- a/build/_locales/eu/error.json +++ b/build/_locales/eu/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gordetako taldeak ezin dira editatu", + "Saved groups are not editable.": "Gordetako taldeak ezin dira editatu", "ungroupingError": "Ezin izan dira fitxa guztiak desegin: {{error}}" } \ No newline at end of file diff --git a/build/_locales/eu/options.json b/build/_locales/eu/options.json index 707e1aa..90f5321 100644 --- a/build/_locales/eu/options.json +++ b/build/_locales/eu/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Joan aktibo dagoen fitxara" } }, + "tabNav": { + "label": "Erakutsi fitxa nabigazio-barra", + "description": "Gaituta dagoenean, fitxa nabigazio-barra bistaratzen da", + "configure": "konfiguratu", + "configureTabNav": "Konfiguratu fitxa nabigazioa", + "enabledNavs": "Gaitutako nabigazioak", + "disabledNavs": "Desgaitutako nabigazioak (Eskuragarri)", + "showLabel": "Erakutsi etiketa", + "showCount": "Erakutsi zenbakia", + "days": "Egunak", + "close": "Itxi", + "save": "Gorde", + "settings": "Ezarpenak", + "OpenTabs": "Irekitako fitxak", + "RecentlyTabs": "Berriki itxitako fitxak", + "bookmarks": "Laster-markak", + "history": "Historia", + "readingList": "Irakurketa zerrenda", + "quickAccess": "Sarbide azkarra", + "pinToToolbarReminder": "Kendu aurretik, gehitu luzapena tresna-barran." + }, "bottomNav": { "label": "Erakutsi beheko nabigazio-barra", "description": "Aktibatuta dagoenean, beheko nabigazio-barra ikusgai egongo da", diff --git a/build/_locales/eu/translation.json b/build/_locales/eu/translation.json index 4f37c81..0e1209a 100644 --- a/build/_locales/eu/translation.json +++ b/build/_locales/eu/translation.json @@ -151,5 +151,63 @@ "cancel": "Utzi", "fullscreen": "Pantaila Osoa", "exitFullscreen": "Irten Pantaila Osotik", - "zoom": "Handitu" + "zoom": "Handitu", + "undo": "Desegin", + "addTabToGroup": "Gehitu fitxa taldeari", + "newGroup": "Talde berria", + "nameThisGroup": "Izendatu talde hau", + "addBookmark": "Gehitu laster-marka", + "editBookmark": "Editatu laster-marka", + "deleteBookmark": "Ezabatu laster-marka", + "duplicateBookmarks": "Bikoiztu laster-markak", + "folderName": "Karpetaren izena", + "selectParentFolder": "Hautatu guraso karpeta", + "addFolder": "Gehitu karpeta", + "editFolder": "Editatu karpeta", + "deleteFolder": "Ezabatu karpeta", + "deleteFolderConfirmation": "Benetan ezabatu nahi duzu karpeta hau? Karpeta honetan dauden laster-markak (azpikarpetetan dauden laster-markak barne) ere ezabatuko dira.", + "containsCountURLs": "{{count}} URLa dauzka", + "openAll": "Ireki guztiak ({{count}})", + "openAllInNewWindow": "Ireki guztiak ({{count}}) leiho berrian", + "openAllInIncognitoWindow": "Ireki guztiak ({{count}}) inkognito leihoan", + "checkBookmarks": "Egiaztatu laster-markak", + "hideEmptyFolders": "Ezkutatu hutsik dauden karpetak", + "displayTreeConnectorLines": "Erakutsi zuhaitz konektore lerroak", + "showBookmarkUrl": "Erakutsi laster-markaren URLa", + "bookmarkManager": "Laster-marken kudeatzailea", + "default": "Lehenetsia", + "title": "Izenburua", + "url": "URLa", + "recentlyUsed": "Berriki erabilia", + "recentlyAdded": "Berriki gehitua", + "switchToListView": "Aldatu zerrenda ikuspegira", + "switchToTreeView": "Aldatu zuhaitz ikuspegira", + "premiumFeatureOnly": "Ezaugarri hau Premium Edizioarekin bakarrik dago eskuragarri.", + "premiumFreeTrialDesc": "Ezaugarri hau Premium Edizioari dagokio, eta orain doan probatu dezakezu.", + "freeTrial": "Doako Proba", + "learnMore": "Ikasi Gehiago", + "limited": "mugatua", + "premiumEdition": "Premium Edizioa", + "PreOrderPremiumNow": "Eskatu Premium Edizioa orain", + "getPremiumEditionNow": "Eskuratu Premium Edizioa orain", + "alreadyHavePremiumLicenseKey": "Premium Edizioaren lizentzia gakoa badut", + "licenseKey": "Lizentzia Gakoa", + "activatePremium": "Aktibatu Premium Edizioa", + "couldNotActivatePremium": "Ezin izan da Premium Edizioa aktibatu. Mesedez, sartu baliozko lizentzia gako bat.", + "premiumActivatedSuccessfully": "Premium Edizioa arrakastaz aktibatuta.", + "premiumAccessFeatures": "Premium Edizioarekin, ezaugarri gehigarrietara sarbidea izango duzu", + "premiumFeaturesPreOrderDescription": "Luzapenaren funtsezko ezaugarri guztiak doan erabiltzekoak dira eta Premium sarbidea behar izan gabe eskuragarri egongo dira. Premium Edizioa, erabilera profesionalerako diseinatutako ezaugarri aurreratuak barne hartzen dituena, garapenean dago oraindik. Orain aurre-eskaera eginez, ezaugarri premium hauen garapena babestu dezakezu eta abiarazi aurretik prezio bikaina lortu.", + "premiumFeaturesDescription": "Luzapenaren funtsezko ezaugarri guztiak doan erabiltzekoak dira eta Premium sarbidea behar izan gabe eskuragarri egongo dira. Ezaugarri gehigarriak eskaintzen ditugu erabilera profesionalerako gaitasun aurreratuak eskaintzeko, eta Premium Edizioan eskuragarri egongo dira ordainpeko zerbitzu gisa.", + "earlyBirdTicket": "Early Bird Sarrera", + "earlyBirdTicketDesc": "Premium Edizioaren ezaugarriak abiarazteko zorian gaude, eta orain eskaintza berezi bat aprobetxatu dezakezu hobekuntza hauen garapena babesteko. Orain erostean, Premium Edizioaren ezaugarri guztietarako bizitza osorako sarbidea jasoko duzu. Premium Edizioa kaleratu ondoren, early-bird eskaintza bertan behera geratuko da, eta bizitza osorako erosketak ez dira eskuragarri egongo.", + "afterPurchase": "Erosketa egin ondoren, Lizentzia Gakoa zure posta elektronikora bidaliko dugu 24 orduko epean. Premium Edizioa ofizialki kaleratzen denean erabili ahal izango duzu.", + "enterMailForLicenseKey": "Mesedez, sartu zure posta helbidea lizentzia gakoa jasotzeko.", + "upcomingFeatures": "Datozen Ezaugarriak", + "treeTabs": "Zuhaitz Fitxak", + "tabHistory": "Fitxa Historia", + "cloudSync": "Hodei Sinkronizazioa", + "advancedPictureInPicture": "Irudi-irudi Aurreratua", + "APIAccess": "API Sarbidea", + "customizeMenu": "Menua Pertsonalizatu", + "Automation": "Automatizazioa" } \ No newline at end of file diff --git a/build/_locales/fa/error.json b/build/_locales/fa/error.json index ea5f73b..deb59ab 100644 --- a/build/_locales/fa/error.json +++ b/build/_locales/fa/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "گروه‌های ذخیره شده قابل ویرایش نیستند", + "Saved groups are not editable.": "گروه‌های ذخیره شده قابل ویرایش نیستند", "ungroupingError": "شکست در لغو گروه‌بندی همه برگه‌ها: {{error}}" } \ No newline at end of file diff --git a/build/_locales/fa/options.json b/build/_locales/fa/options.json index 5f0c057..0135bed 100644 --- a/build/_locales/fa/options.json +++ b/build/_locales/fa/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "اسکرول به زبانه فعال" } }, + "tabNav": { + "label": "نمایش نوار ناوبری زبانه", + "description": "هنگامی که فعال شود، نوار ناوبری زبانه نمایش داده می‌شود", + "configure": "پیکربندی", + "configureTabNav": "پیکربندی ناوبری زبانه", + "enabledNavs": "ناوبری‌های فعال", + "disabledNavs": "ناوبری‌های غیرفعال (در دسترس)", + "showLabel": "نمایش برچسب", + "showCount": "نمایش تعداد", + "days": "روزها", + "close": "بستن", + "save": "ذخیره", + "settings": "تنظیمات", + "OpenTabs": "زبانه‌های باز", + "RecentlyTabs": "زبانه‌های اخیراً بسته شده", + "bookmarks": "نشانک‌ها", + "history": "تاریخچه", + "readingList": "لیست خواندن", + "quickAccess": "دسترسی سریع", + "pinToToolbarReminder": "لطفاً قبل از حذف این ناوبری، افزونه را به نوار ابزار خود سنجاق کنید." + }, "bottomNav": { "label": "نمایش نوار ناوبری پایین", "description": "با فعال کردن این گزینه، نوار ناوبری پایین نمایش داده می‌شود", diff --git a/build/_locales/fa/translation.json b/build/_locales/fa/translation.json index a757deb..73ea6c6 100644 --- a/build/_locales/fa/translation.json +++ b/build/_locales/fa/translation.json @@ -164,5 +164,63 @@ "cancel": "لغو", "fullscreen": "تمام صفحه", "exitFullscreen": "خروج از تمام صفحه", - "zoom": "بزرگنمایی" + "zoom": "بزرگنمایی", + "undo": "واگرد", + "addTabToGroup": "افزودن زبانه به گروه", + "newGroup": "گروه جدید", + "nameThisGroup": "نام‌گذاری این گروه", + "addBookmark": "افزودن نشانک", + "editBookmark": "ویرایش نشانک", + "deleteBookmark": "حذف نشانک", + "duplicateBookmarks": "تکرار نشانک‌ها", + "folderName": "نام پوشه", + "selectParentFolder": "انتخاب پوشه والد", + "addFolder": "افزودن پوشه", + "editFolder": "ویرایش پوشه", + "deleteFolder": "حذف پوشه", + "deleteFolderConfirmation": "آیا واقعاً می‌خواهید این پوشه را حذف کنید؟ تمام نشانک‌های این پوشه (شامل نشانک‌های زیرپوشه‌ها) نیز حذف خواهند شد.", + "containsCountURLs": "شامل {{count}} آدرس", + "openAll": "باز کردن همه ({{count}})", + "openAllInNewWindow": "باز کردن همه ({{count}}) در پنجره جدید", + "openAllInIncognitoWindow": "باز کردن همه ({{count}}) در پنجره ناشناس", + "checkBookmarks": "بررسی نشانک‌ها", + "hideEmptyFolders": "پنهان کردن پوشه‌های خالی", + "displayTreeConnectorLines": "نمایش خطوط اتصال درختی", + "showBookmarkUrl": "نمایش آدرس نشانک", + "bookmarkManager": "مدیر نشانک‌ها", + "default": "پیش‌فرض", + "title": "عنوان", + "url": "آدرس", + "recentlyUsed": "اخیراً استفاده شده", + "recentlyAdded": "اخیراً اضافه شده", + "switchToListView": "تغییر به نمای لیست", + "switchToTreeView": "تغییر به نمای درختی", + "premiumFeatureOnly": "این ویژگی فقط با نسخه پریمیوم در دسترس است.", + "premiumFreeTrialDesc": "این ویژگی مخصوص نسخه پریمیوم است و اکنون می‌توانید آن را رایگان امتحان کنید.", + "freeTrial": "آزمایش رایگان", + "learnMore": "بیشتر بدانید", + "limited": "محدود", + "premiumEdition": "نسخه پریمیوم", + "PreOrderPremiumNow": "پیش‌خرید نسخه پریمیوم اکنون", + "getPremiumEditionNow": "دریافت نسخه پریمیوم اکنون", + "alreadyHavePremiumLicenseKey": "من قبلاً کلید مجوز نسخه پریمیوم را دارم", + "licenseKey": "کلید مجوز", + "activatePremium": "فعال‌سازی نسخه پریمیوم", + "couldNotActivatePremium": "نتوانستیم نسخه پریمیوم را فعال کنیم. لطفاً یک کلید مجوز معتبر وارد کنید.", + "premiumActivatedSuccessfully": "نسخه پریمیوم با موفقیت فعال شد.", + "premiumAccessFeatures": "با نسخه پریمیوم، به ویژگی‌های اضافی دسترسی خواهید داشت", + "premiumFeaturesPreOrderDescription": "تمام ویژگی‌های کلیدی افزونه رایگان برای استفاده هستند و بدون نیاز به دسترسی پریمیوم در دسترس خواهند بود. نسخه پریمیوم، که شامل ویژگی‌های پیشرفته‌ای است که برای استفاده حرفه‌ای طراحی شده‌اند، هنوز در حال توسعه است. با پیش‌خرید اکنون، می‌توانید از توسعه این قابلیت‌های پریمیوم حمایت کنید و آن را با قیمت عالی قبل از راه‌اندازی دریافت کنید.", + "premiumFeaturesDescription": "تمام ویژگی‌های کلیدی افزونه رایگان برای استفاده هستند و بدون نیاز به دسترسی پریمیوم در دسترس خواهند بود. ما ویژگی‌های اضافی را برای ارائه قابلیت‌های پیشرفته برای استفاده حرفه‌ای ارائه می‌دهیم که در نسخه پریمیوم با هزینه در دسترس خواهند بود.", + "earlyBirdTicket": "بلیط پیش‌خرید", + "earlyBirdTicketDesc": "ما در شرف راه‌اندازی ویژگی‌های نسخه پریمیوم هستیم و اکنون می‌توانید از یک پیشنهاد ویژه پیش‌خرید برای حمایت از توسعه این بهبودها استفاده کنید. با خرید اکنون، دسترسی مادام‌العمر به تمام ویژگی‌های نسخه پریمیوم دریافت خواهید کرد. پس از انتشار نسخه پریمیوم، پیشنهاد پیش‌خرید متوقف خواهد شد و خریدهای مادام‌العمر دیگر در دسترس نخواهند بود.", + "afterPurchase": "پس از خرید، کلید مجوز را ظرف 24 ساعت به ایمیل شما ارسال خواهیم کرد. می‌توانید از آن استفاده کنید زمانی که نسخه پریمیوم به طور رسمی منتشر شود.", + "enterMailForLicenseKey": "لطفاً آدرس ایمیل خود را برای دریافت کلید مجوز وارد کنید.", + "upcomingFeatures": "ویژگی‌های آینده", + "treeTabs": "زبانه‌های درختی", + "tabHistory": "تاریخچه زبانه", + "cloudSync": "همگام‌سازی ابری", + "advancedPictureInPicture": "تصویر در تصویر پیشرفته", + "APIAccess": "دسترسی API", + "customizeMenu": "سفارشی‌سازی منو", + "Automation": "اتوماسیون" } \ No newline at end of file diff --git a/build/_locales/fi/error.json b/build/_locales/fi/error.json index 5e587b4..8cb8f3c 100644 --- a/build/_locales/fi/error.json +++ b/build/_locales/fi/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Tallennettuja ryhmiä ei voi muokata", + "Saved groups are not editable.": "Tallennettuja ryhmiä ei voi muokata", "ungroupingError": "Kaikkien välilehtien ryhmittelyn purkaminen epäonnistui: {{error}}" } \ No newline at end of file diff --git a/build/_locales/fi/options.json b/build/_locales/fi/options.json index 8715a7d..7951c59 100644 --- a/build/_locales/fi/options.json +++ b/build/_locales/fi/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Vieritä aktiiviselle välilehdelle" } }, + "tabNav": { + "label": "Näytä välilehtien navigointipalkki", + "description": "Kun käytössä, välilehtien navigointipalkki näytetään", + "configure": "määritä", + "configureTabNav": "Määritä välilehtien navigointi", + "enabledNavs": "Käytössä olevat navigoinnit", + "disabledNavs": "Poistetut navigoinnit (Saatavilla)", + "showLabel": "Näytä nimi", + "showCount": "Näytä määrä", + "days": "Päivät", + "close": "Sulje", + "save": "Tallenna", + "settings": "Asetukset", + "OpenTabs": "Avoimet välilehdet", + "RecentlyTabs": "Äskettäin suljetut välilehdet", + "bookmarks": "Kirjanmerkit", + "history": "Historia", + "readingList": "Lukulista", + "quickAccess": "Pikakäyttö", + "pinToToolbarReminder": "Kiinnitä laajennus työkalupalkkiin ennen tämän navigoinnin poistamista." + }, "bottomNav": { "label": "Näytä alavalikkopalkki", "description": "Kun tämä asetus on käytössä, alavalikkopalkki tulee näkyviin", diff --git a/build/_locales/fi/translation.json b/build/_locales/fi/translation.json index 7832774..d284a3a 100644 --- a/build/_locales/fi/translation.json +++ b/build/_locales/fi/translation.json @@ -164,5 +164,63 @@ "cancel": "Peruuta", "fullscreen": "Koko näyttö", "exitFullscreen": "Poistu koko näytöstä", - "zoom": "Zoomaa" + "zoom": "Zoomaa", + "undo": "Kumoa", + "addTabToGroup": "Lisää välilehti ryhmään", + "newGroup": "Uusi ryhmä", + "nameThisGroup": "Nimeä tämä ryhmä", + "addBookmark": "Lisää kirjanmerkki", + "editBookmark": "Muokkaa kirjanmerkkiä", + "deleteBookmark": "Poista kirjanmerkki", + "duplicateBookmarks": "Kaksoiskappale kirjanmerkit", + "folderName": "Kansion nimi", + "selectParentFolder": "Valitse pääkansio", + "addFolder": "Lisää kansio", + "editFolder": "Muokkaa kansiota", + "deleteFolder": "Poista kansio", + "deleteFolderConfirmation": "Haluatko todella poistaa tämän kansion? Kaikki tämän kansion kirjanmerkit (mukaan lukien alikansioiden kirjanmerkit) poistetaan myös.", + "containsCountURLs": "Sisältää {{count}} URL-osoitetta", + "openAll": "Avaa kaikki ({{count}})", + "openAllInNewWindow": "Avaa kaikki ({{count}}) uudessa ikkunassa", + "openAllInIncognitoWindow": "Avaa kaikki ({{count}}) incognito-ikkunassa", + "checkBookmarks": "Tarkista kirjanmerkit", + "hideEmptyFolders": "Piilota tyhjät kansiot", + "displayTreeConnectorLines": "Näytä puun yhdysviivat", + "showBookmarkUrl": "Näytä kirjanmerkin URL", + "bookmarkManager": "Kirjanmerkkien hallinta", + "default": "Oletus", + "title": "Otsikko", + "url": "URL", + "recentlyUsed": "Äskettäin käytetty", + "recentlyAdded": "Äskettäin lisätty", + "switchToListView": "Vaihda luettelonäkymään", + "switchToTreeView": "Vaihda puunäkymään", + "premiumFeatureOnly": "Tämä ominaisuus on saatavilla vain Premium-versiossa.", + "premiumFreeTrialDesc": "Tämä ominaisuus on yksinomaan Premium-versiossa, ja voit kokeilla sitä ilmaiseksi nyt.", + "freeTrial": "Ilmainen kokeilu", + "learnMore": "Lue lisää", + "limited": "rajoitettu", + "premiumEdition": "Premium-versio", + "PreOrderPremiumNow": "Ennakkotilaa Premium-versio nyt", + "getPremiumEditionNow": "Hanki Premium-versio nyt", + "alreadyHavePremiumLicenseKey": "Minulla on jo Premium-version lisenssiavain", + "licenseKey": "Lisenssiavain", + "activatePremium": "Aktivoi Premium-versio", + "couldNotActivatePremium": "Premium-versiota ei voitu aktivoida. Anna kelvollinen lisenssiavain.", + "premiumActivatedSuccessfully": "Premium-versio aktivoitu onnistuneesti.", + "premiumAccessFeatures": "Premium-versiolla saat käyttöösi lisäominaisuuksia", + "premiumFeaturesPreOrderDescription": "Kaikki laajennuksen keskeiset ominaisuudet ovat ilmaisia ja pysyvät käytettävissä ilman Premium-käyttöoikeutta. Premium-versio, joka sisältää edistyneitä ominaisuuksia ammattikäyttöön, on vielä kehitteillä. Ennakkotilaamalla nyt voit tukea näiden premium-ominaisuuksien kehitystä ja saada sen edulliseen hintaan ennen julkaisua.", + "premiumFeaturesDescription": "Kaikki laajennuksen keskeiset ominaisuudet ovat ilmaisia ja pysyvät käytettävissä ilman Premium-käyttöoikeutta. Tarjoamme lisäominaisuuksia, jotka tarjoavat edistyneitä ominaisuuksia ammattikäyttöön, ja ne ovat saatavilla Premium-versiossa maksua vastaan.", + "earlyBirdTicket": "Early Bird -lippu", + "earlyBirdTicketDesc": "Olemme julkaisemassa Premium-version ominaisuuksia, ja voit nyt hyödyntää erityistä early-bird-tarjousta tukeaksesi näiden parannusten kehitystä. Ostamalla nyt saat elinikäisen pääsyn kaikkiin Premium-version ominaisuuksiin. Kun Premium-versio julkaistaan, early-bird-tarjous lopetetaan, eikä elinikäisiä ostoksia ole enää saatavilla.", + "afterPurchase": "Oston jälkeen lähetämme lisenssiavaimen sähköpostiisi 24 tunnin kuluessa. Voit käyttää sitä, kun Premium-versio on virallisesti julkaistu.", + "enterMailForLicenseKey": "Anna sähköpostiosoitteesi saadaksesi lisenssiavaimen.", + "upcomingFeatures": "Tulevat ominaisuudet", + "treeTabs": "Puu-välilehdet", + "tabHistory": "Välilehtihistoria", + "cloudSync": "Pilvisynkronointi", + "advancedPictureInPicture": "Edistynyt kuva kuvassa", + "APIAccess": "API-käyttö", + "customizeMenu": "Mukauta valikko", + "Automation": "Automaatio" } \ No newline at end of file diff --git a/build/_locales/fil/error.json b/build/_locales/fil/error.json index 27d633e..3ed05b9 100644 --- a/build/_locales/fil/error.json +++ b/build/_locales/fil/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Ang mga na-save na grupo ay hindi nababago", + "Saved groups are not editable.": "Ang mga na-save na grupo ay hindi nababago", "ungroupingError": "Nabigong i-ungroup ang lahat ng mga tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/fil/options.json b/build/_locales/fil/options.json index 5d2635d..747bd22 100644 --- a/build/_locales/fil/options.json +++ b/build/_locales/fil/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Mag-scroll sa Aktibong Tab" } }, + "tabNav": { + "label": "Ipakita ang navigation bar ng Tab", + "description": "Kapag pinagana, makikita ang navigation bar ng Tab", + "configure": "i-configure", + "configureTabNav": "I-configure ang Navigation ng Tab", + "enabledNavs": "Mga Aktibong Navigation", + "disabledNavs": "Mga Hindi Aktibong Navigation (Available)", + "showLabel": "Ipakita ang Label", + "showCount": "Ipakita ang Bilang", + "days": "Mga Araw", + "close": "Isara", + "save": "I-save", + "settings": "Mga Setting", + "OpenTabs": "Mga Bukas na Tab", + "RecentlyTabs": "Kamakailang Isinara na Mga Tab", + "bookmarks": "Mga Bookmark", + "history": "Kasaysayan", + "readingList": "Listahan ng Babasahin", + "quickAccess": "Mabilis na Pag-access", + "pinToToolbarReminder": "Pakipin ang extension sa iyong toolbar bago alisin ang navigation na ito." + }, "bottomNav": { "label": "Ipakita ang navigation bar sa ibaba", "description": "Kapag naka-enable, makikita ang navigation bar sa ibaba", diff --git a/build/_locales/fil/translation.json b/build/_locales/fil/translation.json index ce328c5..b5e703a 100644 --- a/build/_locales/fil/translation.json +++ b/build/_locales/fil/translation.json @@ -164,5 +164,63 @@ "cancel": "Kanselahin", "fullscreen": "Buong Screen", "exitFullscreen": "Lumabas sa Buong Screen", - "zoom": "Mag-zoom" + "zoom": "Mag-zoom", + "undo": "I-undo", + "addTabToGroup": "Idagdag ang tab sa grupo", + "newGroup": "Bagong grupo", + "nameThisGroup": "Pangalanan ang grupong ito", + "addBookmark": "Idagdag ang bookmark", + "editBookmark": "I-edit ang bookmark", + "deleteBookmark": "Tanggalin ang bookmark", + "duplicateBookmarks": "I-duplicate ang mga bookmark", + "folderName": "Pangalan ng folder", + "selectParentFolder": "Piliin ang parent folder", + "addFolder": "Idagdag ang folder", + "editFolder": "I-edit ang folder", + "deleteFolder": "Tanggalin ang folder", + "deleteFolderConfirmation": "Talaga bang nais mong tanggalin ang folder na ito? Ang lahat ng mga bookmark sa folder na ito (kasama ang mga bookmark sa mga subfolder) ay matatanggal din.", + "containsCountURLs": "Naglalaman ng {{count}} URLs", + "openAll": "Buksan lahat ({{count}})", + "openAllInNewWindow": "Buksan lahat ({{count}}) sa bagong window", + "openAllInIncognitoWindow": "Buksan lahat ({{count}}) sa incognito window", + "checkBookmarks": "Suriin ang mga Bookmark", + "hideEmptyFolders": "Itago ang mga walang laman na folder", + "displayTreeConnectorLines": "Ipakita ang mga linya ng konektor ng puno", + "showBookmarkUrl": "Ipakita ang Bookmark Url", + "bookmarkManager": "Tagapamahala ng Bookmark", + "default": "Default", + "title": "Pamagat", + "url": "URL", + "recentlyUsed": "Kamakailang ginamit", + "recentlyAdded": "Kamakailang idinagdag", + "switchToListView": "Lumipat sa list view", + "switchToTreeView": "Lumipat sa tree view", + "premiumFeatureOnly": "Ang tampok na ito ay magagamit lamang sa Premium Edition.", + "premiumFreeTrialDesc": "Ang tampok na ito ay eksklusibo sa Premium Edition, at maaari mo itong subukan nang libre ngayon.", + "freeTrial": "Libreng Pagsubok", + "learnMore": "Matuto Nang Higit Pa", + "limited": "limitado", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Mag-pre-order ng Premium Edition ngayon", + "getPremiumEditionNow": "Kunin ang Premium Edition ngayon", + "alreadyHavePremiumLicenseKey": "Mayroon na akong Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "I-activate ang Premium Edition", + "couldNotActivatePremium": "Hindi ma-activate ang Premium Edition. Mangyaring maglagay ng wastong license key.", + "premiumActivatedSuccessfully": "Matagumpay na na-activate ang Premium Edition.", + "premiumAccessFeatures": "Sa Premium Edition, magkakaroon ka ng access sa mga karagdagang tampok", + "premiumFeaturesPreOrderDescription": "Ang lahat ng pangunahing tampok ng extension ay libre gamitin at mananatiling naa-access nang hindi nangangailangan ng Premium access. Ang Premium Edition, na kinabibilangan ng mga advanced na tampok na idinisenyo para sa propesyonal na paggamit, ay kasalukuyang nasa pag-unlad. Sa pamamagitan ng pag-pre-order ngayon, maaari mong suportahan ang pag-unlad ng mga premium na kakayahan at makuha ito sa isang mahusay na presyo bago ito ilunsad.", + "premiumFeaturesDescription": "Ang lahat ng pangunahing tampok ng extension ay libre gamitin at mananatiling naa-access nang hindi nangangailangan ng Premium access. Nag-aalok kami ng mga karagdagang tampok upang magbigay ng mga advanced na kakayahan para sa propesyonal na paggamit, na magagamit sa Premium Edition para sa isang bayad.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "Malapit na naming ilunsad ang mga tampok ng Premium Edition, at maaari ka na ngayong mag-avail ng isang espesyal na early-bird offer upang suportahan ang pag-unlad ng mga pagpapahusay na ito. Sa pamamagitan ng pagbili ngayon, makakakuha ka ng panghabang-buhay na access sa lahat ng mga tampok ng Premium Edition. Kapag inilabas na ang Premium Edition, ang early-bird offer ay hindi na magagamit, at ang mga panghabang-buhay na pagbili ay hindi na magagamit.", + "afterPurchase": "Pagkatapos ng pagbili, ipapadala namin ang License Key sa iyong email sa loob ng 24 na oras. Maaari mo itong gamitin kapag opisyal nang inilabas ang Premium Edition.", + "enterMailForLicenseKey": "Mangyaring ilagay ang iyong email address upang matanggap ang license key.", + "upcomingFeatures": "Mga Paparating na Tampok", + "treeTabs": "Tree Tabs", + "tabHistory": "Kasaysayan ng Tab", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced na Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "I-customize ang Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/fr/error.json b/build/_locales/fr/error.json index f157cfc..101a4cf 100644 --- a/build/_locales/fr/error.json +++ b/build/_locales/fr/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Les groupes enregistrés ne sont pas modifiables", + "Saved groups are not editable.": "Les groupes enregistrés ne sont pas modifiables", "ungroupingError": "Échec du désassemblage de tous les onglets : {{error}}" } \ No newline at end of file diff --git a/build/_locales/fr/options.json b/build/_locales/fr/options.json index 52b5831..7c251bd 100644 --- a/build/_locales/fr/options.json +++ b/build/_locales/fr/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Faire défiler jusqu'à l'onglet actif" } }, + "tabNav": { + "label": "Afficher la barre de navigation des onglets", + "description": "Lorsque cette option est activée, la barre de navigation des onglets est affichée", + "configure": "Configurer", + "configureTabNav": "Configurer la navigation des onglets", + "enabledNavs": "Navigations activées", + "disabledNavs": "Navigations désactivées (disponibles)", + "showLabel": "Afficher l'étiquette", + "showCount": "Afficher le nombre", + "days": "Jours", + "close": "Fermer", + "save": "Enregistrer", + "settings": "Paramètres", + "OpenTabs": "Onglets ouverts", + "RecentlyTabs": "Onglets récemment fermés", + "bookmarks": "Favoris", + "history": "Historique", + "readingList": "Liste de lecture", + "quickAccess": "Accès rapide", + "pinToToolbarReminder": "Veuillez épingler l'extension à votre barre d'outils avant de supprimer cette navigation." + }, "bottomNav": { "label": "Afficher la barre de navigation inférieure", "description": "Lorsque cette option est activée, la barre de navigation inférieure s'affiche", diff --git a/build/_locales/fr/translation.json b/build/_locales/fr/translation.json index b22c9d0..7151929 100644 --- a/build/_locales/fr/translation.json +++ b/build/_locales/fr/translation.json @@ -164,5 +164,63 @@ "cancel": "Annuler", "fullscreen": "Plein écran", "exitFullscreen": "Quitter le plein écran", - "zoom": "Zoom" + "zoom": "Agrandir", + "undo": "Annuler", + "addTabToGroup": "Ajouter un onglet au groupe", + "newGroup": "Nouveau groupe", + "nameThisGroup": "Nommer ce groupe", + "addBookmark": "Ajouter un favori", + "editBookmark": "Modifier le favori", + "deleteBookmark": "Supprimer le favori", + "duplicateBookmarks": "Dupliquer les favoris", + "folderName": "Nom du dossier", + "selectParentFolder": "Sélectionner le dossier parent", + "addFolder": "Ajouter un dossier", + "editFolder": "Modifier le dossier", + "deleteFolder": "Supprimer le dossier", + "deleteFolderConfirmation": "Voulez-vous vraiment supprimer ce dossier ? Tous les favoris dans ce dossier (y compris les favoris dans les sous-dossiers) seront également supprimés.", + "containsCountURLs": "Contient {{count}} URL", + "openAll": "Tout ouvrir ({{count}})", + "openAllInNewWindow": "Tout ouvrir ({{count}}) dans une nouvelle fenêtre", + "openAllInIncognitoWindow": "Tout ouvrir ({{count}}) dans une fenêtre de navigation privée", + "checkBookmarks": "Vérifier les favoris", + "hideEmptyFolders": "Masquer les dossiers vides", + "displayTreeConnectorLines": "Afficher les lignes de connexion de l'arborescence", + "showBookmarkUrl": "Afficher l'URL du favori", + "bookmarkManager": "Gestionnaire de favoris", + "default": "Par défaut", + "title": "Titre", + "url": "URL", + "recentlyUsed": "Récemment utilisé", + "recentlyAdded": "Récemment ajouté", + "switchToListView": "Passer à la vue en liste", + "switchToTreeView": "Passer à la vue en arborescence", + "premiumFeatureOnly": "Cette fonctionnalité est uniquement disponible avec l'édition Premium.", + "premiumFreeTrialDesc": "Cette fonctionnalité est exclusive à l'édition Premium, et vous pouvez l'essayer gratuitement maintenant.", + "freeTrial": "Essai gratuit", + "learnMore": "En savoir plus", + "limited": "limité", + "premiumEdition": "Édition Premium", + "PreOrderPremiumNow": "Précommandez l'édition Premium maintenant", + "getPremiumEditionNow": "Obtenez l'édition Premium maintenant", + "alreadyHavePremiumLicenseKey": "J'ai déjà une clé de licence pour l'édition Premium", + "licenseKey": "Clé de licence", + "activatePremium": "Activer l'édition Premium", + "couldNotActivatePremium": "Impossible d'activer l'édition Premium. Veuillez entrer une clé de licence valide.", + "premiumActivatedSuccessfully": "Édition Premium activée avec succès.", + "premiumAccessFeatures": "Avec l'édition Premium, vous aurez accès à des fonctionnalités supplémentaires", + "premiumFeaturesPreOrderDescription": "Toutes les fonctionnalités clés de l'extension sont gratuites à utiliser et resteront accessibles sans nécessiter d'accès Premium. L'édition Premium, qui comprend des fonctionnalités avancées conçues pour une utilisation professionnelle, est encore en développement. En précommandant maintenant, vous pouvez soutenir le développement de ces capacités premium et l'obtenir à un prix avantageux avant leur lancement.", + "premiumFeaturesDescription": "Toutes les fonctionnalités clés de l'extension sont gratuites à utiliser et resteront accessibles sans nécessiter d'accès Premium. Nous offrons des fonctionnalités supplémentaires pour fournir des capacités avancées pour une utilisation professionnelle, qui seront disponibles dans l'édition Premium moyennant des frais.", + "earlyBirdTicket": "Billet lève-tôt", + "earlyBirdTicketDesc": "Nous sommes sur le point de lancer les fonctionnalités de l'édition Premium, et vous pouvez maintenant profiter d'une offre spéciale lève-tôt pour soutenir le développement de ces améliorations. En achetant maintenant, vous recevrez un accès à vie à toutes les fonctionnalités de l'édition Premium. Une fois l'édition Premium lancée, l'offre lève-tôt sera interrompue, et les achats à vie ne seront plus disponibles.", + "afterPurchase": "Après l'achat, nous enverrons la clé de licence à votre adresse e-mail dans les 24 heures. Vous pourrez l'utiliser une fois l'édition Premium officiellement lancée.", + "enterMailForLicenseKey": "Veuillez entrer votre adresse e-mail pour recevoir la clé de licence.", + "upcomingFeatures": "Fonctionnalités à venir", + "treeTabs": "Onglets en arborescence", + "tabHistory": "Historique des onglets", + "cloudSync": "Synchronisation cloud", + "advancedPictureInPicture": "Image dans l'image avancée", + "APIAccess": "Accès API", + "customizeMenu": "Personnaliser le menu", + "Automation": "Automatisation" } \ No newline at end of file diff --git a/build/_locales/ga/error.json b/build/_locales/ga/error.json index c56be4b..6479b4f 100644 --- a/build/_locales/ga/error.json +++ b/build/_locales/ga/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Ní féidir grúpaí sábháilte a chur in eagar", + "Saved groups are not editable.": "Ní féidir grúpaí sábháilte a chur in eagar", "ungroupingError": "Theip ar na cluaisíní go léir a dhíghrúpáil: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ga/options.json b/build/_locales/ga/options.json index 8d54686..04f5f6b 100644 --- a/build/_locales/ga/options.json +++ b/build/_locales/ga/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scrollaigh go dtí an Cluaisín Gníomhach" } }, + "tabNav": { + "label": "Taispeáin barra nascleanúna cluaisíní", + "description": "Nuair a chumasfar é, taispeánfar an barra nascleanúna cluaisíní", + "configure": "cumraigh", + "configureTabNav": "Cumraigh Nascleanúint Cluaisíní", + "enabledNavs": "Nascleanúna Cumasaigh", + "disabledNavs": "Nascleanúna Díchumasaithe (Ar Fáil)", + "showLabel": "Taispeáin Lipéad", + "showCount": "Taispeáin Líon", + "days": "Laethanta", + "close": "Dún", + "save": "Sábháil", + "settings": "Socruithe", + "OpenTabs": "Cluaisíní Oscailte", + "RecentlyTabs": "Cluaisíní Dúnta le Déanaí", + "bookmarks": "Leabharmharcanna", + "history": "Stair", + "readingList": "Liosta Léitheoireachta", + "quickAccess": "Rochtain Thapa", + "pinToToolbarReminder": "Déan an síneadh a phionáil ar do bharra uirlisí sula mbainfidh tú an nascleanúint seo." + }, "bottomNav": { "label": "Taispeáin an barra náváil bun", "description": "Nuair a chumasfar é, taispeánfar an barra nascleanúna bun", diff --git a/build/_locales/ga/translation.json b/build/_locales/ga/translation.json index ac137bf..63128ee 100644 --- a/build/_locales/ga/translation.json +++ b/build/_locales/ga/translation.json @@ -151,5 +151,63 @@ "cancel": "Cealaigh", "fullscreen": "Lánscáileán", "exitFullscreen": "Scoir Lánscáileáin", - "zoom": "Zúmáil" + "zoom": "Zúmáil", + "undo": "Cealaigh", + "addTabToGroup": "Cuir cluaisín le grúpa", + "newGroup": "Grúpa nua", + "nameThisGroup": "Ainmnigh an grúpa seo", + "addBookmark": "Cuir leabharmharc leis", + "editBookmark": "Cuir leabharmharc in eagar", + "deleteBookmark": "Scrios leabharmharc", + "duplicateBookmarks": "Dúbláil leabharmharcanna", + "folderName": "Ainm fillteáin", + "selectParentFolder": "Roghnaigh fillteán tuismitheora", + "addFolder": "Cuir fillteán leis", + "editFolder": "Cuir fillteán in eagar", + "deleteFolder": "Scrios fillteán", + "deleteFolderConfirmation": "An bhfuil tú cinnte gur mhaith leat an fillteán seo a scriosadh? Scriosfar gach leabharmharc sa fillteán seo (lena n-áirítear leabharmharcanna i bhfo-fhillteáin) freisin.", + "containsCountURLs": "Tá {{count}} URLanna ann", + "openAll": "Oscail gach rud ({{count}})", + "openAllInNewWindow": "Oscail gach rud ({{count}}) i bhfuinneog nua", + "openAllInIncognitoWindow": "Oscail gach rud ({{count}}) i bhfuinneog incognito", + "checkBookmarks": "Seiceáil leabharmharcanna", + "hideEmptyFolders": "Folaigh fillteáin fholmha", + "displayTreeConnectorLines": "Taispeáin línte ceangail crainn", + "showBookmarkUrl": "Taispeáin URL leabharmharc", + "bookmarkManager": "Bainisteoir leabharmharcanna", + "default": "Réamhshocrú", + "title": "Teideal", + "url": "URL", + "recentlyUsed": "Le déanaí in úsáid", + "recentlyAdded": "Le déanaí curtha leis", + "switchToListView": "Athraigh go radharc liosta", + "switchToTreeView": "Athraigh go radharc crainn", + "premiumFeatureOnly": "Tá an ghné seo ar fáil ach amháin leis an Eagrán Préimhe.", + "premiumFreeTrialDesc": "Tá an ghné seo eisiach don Eagrán Préimhe, agus is féidir leat triail saor in aisce a fháil anois.", + "freeTrial": "Triail Saor in Aisce", + "learnMore": "Foghlaim Níos Mó", + "limited": "teoranta", + "premiumEdition": "Eagrán Préimhe", + "PreOrderPremiumNow": "Réamhordú an Eagrán Préimhe anois", + "getPremiumEditionNow": "Faigh an Eagrán Préimhe anois", + "alreadyHavePremiumLicenseKey": "Tá eochair ceadúnais Eagrán Préimhe agam cheana féin", + "licenseKey": "Eochair Ceadúnais", + "activatePremium": "Gníomhachtaigh Eagrán Préimhe", + "couldNotActivatePremium": "Níorbh fhéidir Eagrán Préimhe a ghníomhachtú. Cuir isteach eochair ceadúnais bailí le do thoil.", + "premiumActivatedSuccessfully": "Gníomhachtaíodh Eagrán Préimhe go rathúil.", + "premiumAccessFeatures": "Leis an Eagrán Préimhe, gheobhaidh tú rochtain ar ghnéithe breise", + "premiumFeaturesPreOrderDescription": "Tá gach gné eochair den síneadh saor in aisce le húsáid agus fanfaidh siad inrochtana gan rochtain Préimhe a bheith ag teastáil. Tá an Eagrán Préimhe, a chuimsíonn gnéithe ardleibhéil atá deartha le haghaidh úsáide gairmiúla, fós á fhorbairt. Trí réamhordú a dhéanamh anois, is féidir leat tacú le forbairt na gcumas préimhe seo agus é a fháil ar phraghas iontach sula seoltar iad.", + "premiumFeaturesDescription": "Tá gach gné eochair den síneadh saor in aisce le húsáid agus fanfaidh siad inrochtana gan rochtain Préimhe a bheith ag teastáil. Cuirimid gnéithe breise ar fáil chun cumais ardleibhéil a sholáthar le haghaidh úsáide gairmiúla, a bheidh ar fáil san Eagrán Préimhe ar tháille.", + "earlyBirdTicket": "Ticéad Luath-Éan", + "earlyBirdTicketDesc": "Táimid ar tí gnéithe Eagrán Préimhe a sheoladh, agus is féidir leat leas a bhaint as tairiscint speisialta luath-éan chun tacú le forbairt na bhfeabhsuithe seo. Trí cheannach anois, gheobhaidh tú rochtain ar feadh an tsaoil ar gach gné den Eagrán Préimhe. Nuair a scaoilfear an Eagrán Préimhe, cuirfear deireadh leis an tairiscint luath-éan, agus ní bheidh ceannacháin ar feadh an tsaoil ar fáil a thuilleadh.", + "afterPurchase": "Tar éis an cheannaigh, seolfaimid an Eochair Ceadúnais chuig do r-phost laistigh de 24 uair an chloig. Is féidir leat é a úsáid nuair a scaoiltear an Eagrán Préimhe go hoifigiúil.", + "enterMailForLicenseKey": "Cuir isteach do sheoladh ríomhphoist chun an eochair ceadúnais a fháil.", + "upcomingFeatures": "Gnéithe atá le teacht", + "treeTabs": "Cluaisíní Crainn", + "tabHistory": "Stair Cluaisíní", + "cloudSync": "Sioncronú Scamall", + "advancedPictureInPicture": "Pictiúr i bPictiúr Ardleibhéil", + "APIAccess": "Rochtain API", + "customizeMenu": "Saincheap Roghchlár", + "Automation": "Uathoibriú" } \ No newline at end of file diff --git a/build/_locales/gd/error.json b/build/_locales/gd/error.json index 1aa35c1..6205fdf 100644 --- a/build/_locales/gd/error.json +++ b/build/_locales/gd/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Cha ghabh buidhnean a chaidh an sàbhaladh atharrachadh", + "Saved groups are not editable.": "Cha ghabh buidhnean a chaidh an sàbhaladh atharrachadh", "ungroupingError": "Dh'fhàillig leis a h-uile taba a dhì-sheòrsachadh: {{error}}" } \ No newline at end of file diff --git a/build/_locales/gd/options.json b/build/_locales/gd/options.json index 5693eb1..7e7ea05 100644 --- a/build/_locales/gd/options.json +++ b/build/_locales/gd/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Sgrolaich gu Tab Gnìomhach" } }, + "tabNav": { + "label": "Seall bàr seòlaidh Tab", + "description": "Nuair a tha e air a chomasachadh, bidh am bàr seòlaidh Tab air a thaisbeanadh", + "configure": "rèitich", + "configureTabNav": "Rèitich Seòladh Tab", + "enabledNavs": "Seòlaidhean Comasach", + "disabledNavs": "Seòlaidhean Neo-chomasach (Ri fhaighinn)", + "showLabel": "Seall Bileag", + "showCount": "Seall Cunntas", + "days": "Làithean", + "close": "Dùin", + "save": "Sàbhail", + "settings": "Roghainnean", + "OpenTabs": "Tabs Fosgailte", + "RecentlyTabs": "Tabs Dùinte o Chionn Ghoirid", + "bookmarks": "Comharran-leabhair", + "history": "Eachdraidh", + "readingList": "Liosta Leughaidh", + "quickAccess": "Ruigsinneachd Luath", + "pinToToolbarReminder": "Cuir am plugan ris a' bhàr-inneal agad mus cuir thu às an t-seòladh seo." + }, "bottomNav": { "label": "Seall an t-siostam-innse ìosal", "description": "Nuair a tha e air a chomasachadh, bidh am bàr seòlaidh ìosal air a thaisbeanadh", diff --git a/build/_locales/gd/translation.json b/build/_locales/gd/translation.json index 579af46..1519666 100644 --- a/build/_locales/gd/translation.json +++ b/build/_locales/gd/translation.json @@ -151,5 +151,63 @@ "cancel": "Sguir dheth", "fullscreen": "Làn-sgrìn", "exitFullscreen": "Fàg Làn-sgrìn", - "zoom": "Sùm" + "zoom": "Sùm", + "undo": "Neo-dhèan", + "addTabToGroup": "Cuir cluais ris a' bhuidheann", + "newGroup": "Buidheann ùr", + "nameThisGroup": "Ainmich a' bhuidheann seo", + "addBookmark": "Cuir comharradh-leabhair ris", + "editBookmark": "Deasaich comharradh-leabhair", + "deleteBookmark": "Sguab às comharradh-leabhair", + "duplicateBookmarks": "Dùblaich comharran-leabhair", + "folderName": "Ainm am pasgan", + "selectParentFolder": "Tagh am pasgan pàrant", + "addFolder": "Cuir pasgan ris", + "editFolder": "Deasaich am pasgan", + "deleteFolder": "Sguab às am pasgan", + "deleteFolderConfirmation": "A bheil thu cinnteach gu bheil thu airson am pasgan seo a sguabadh às? Thèid a h-uile comharradh-leabhair sa phasgan seo (a' gabhail a-steach comharran-leabhair ann am fo-phasganan) a sguabadh às cuideachd.", + "containsCountURLs": "Tha {{count}} URLs ann", + "openAll": "Fosgail na h-uile ({{count}})", + "openAllInNewWindow": "Fosgail na h-uile ({{count}}) ann an uinneag ùr", + "openAllInIncognitoWindow": "Fosgail na h-uile ({{count}}) ann an uinneag incognito", + "checkBookmarks": "Thoir sùil air comharran-leabhair", + "hideEmptyFolders": "Falaich pasganan falamh", + "displayTreeConnectorLines": "Seall loidhnichean ceangail craoibhe", + "showBookmarkUrl": "Seall URL a' chomharradh-leabhair", + "bookmarkManager": "Manaidsear Comharradh-leabhair", + "default": "Bunaiteach", + "title": "Tiotal", + "url": "URL", + "recentlyUsed": "Air a chleachdadh o chionn ghoirid", + "recentlyAdded": "Air a chur ris o chionn ghoirid", + "switchToListView": "Atharraich gu sealladh liosta", + "switchToTreeView": "Atharraich gu sealladh craoibhe", + "premiumFeatureOnly": "Chan eil am feart seo ri fhaighinn ach leis an Deasachadh Premium.", + "premiumFreeTrialDesc": "Tha am feart seo sònraichte don Deasachadh Premium, agus faodaidh tu fheuchainn an-asgaidh a-nis.", + "freeTrial": "Deuchainn an-asgaidh", + "learnMore": "Ionnsaich barrachd", + "limited": "cuibhrichte", + "premiumEdition": "Deasachadh Premium", + "PreOrderPremiumNow": "Ro-òrdaich an Deasachadh Premium a-nis", + "getPremiumEditionNow": "Faigh an Deasachadh Premium a-nis", + "alreadyHavePremiumLicenseKey": "Tha iuchair cead Deasachadh Premium agam mu thràth", + "licenseKey": "Iuchair Cead", + "activatePremium": "Gnìomhachadh Deasachadh Premium", + "couldNotActivatePremium": "Cha b' urrainn dhuinn an Deasachadh Premium a ghnìomhachadh. Feuch an cuir thu a-steach iuchair cead dligheach.", + "premiumActivatedSuccessfully": "Deasachadh Premium air a ghnìomhachadh gu soirbheachail.", + "premiumAccessFeatures": "Leis an Deasachadh Premium, gheibh thu cothrom air feartan a bharrachd", + "premiumFeaturesPreOrderDescription": "Tha a h-uile prìomh fheart den leudachadh an-asgaidh ri chleachdadh agus fuirichidh iad ruigsinneach gun fheum air cothrom Premium. Tha an Deasachadh Premium, a tha a' gabhail a-steach feartan adhartach air an dealbhadh airson cleachdadh proifeiseanta, fhathast fo leasachadh. Le bhith a' ro-òrdugh a-nis, faodaidh tu taic a thoirt do leasachadh nan comasan àrd-ìre seo agus faigh e aig prìs mhath mus tèid iad air bhog.", + "premiumFeaturesDescription": "Tha a h-uile prìomh fheart den leudachadh an-asgaidh ri chleachdadh agus fuirichidh iad ruigsinneach gun fheum air cothrom Premium. Bidh sinn a' tabhann feartan a bharrachd gus comasan adhartach a thoirt seachad airson cleachdadh proifeiseanta, a bhios ri fhaighinn anns an Deasachadh Premium airson cìs.", + "earlyBirdTicket": "Tiogaid Early Bird", + "earlyBirdTicketDesc": "Tha sinn gu bhith a' cur feartan Deasachadh Premium air bhog, agus faodaidh tu a-nis brath a ghabhail air tairgse sònraichte early-bird gus taic a thoirt do leasachadh nan leasachaidhean seo. Le bhith a' ceannach a-nis, gheibh thu cothrom fad-beatha air a h-uile feart Deasachadh Premium. Aon uair 's gu bheil an Deasachadh Premium air a leigeil ma sgaoil, thèid an tairgse early-bird a thoirt air falbh, agus cha bhi ceannach fad-beatha ri fhaighinn tuilleadh.", + "afterPurchase": "Às dèidh ceannach, cuiridh sinn an Iuchair Cead chun do phost-d taobh a-staigh 24 uairean. Faodaidh tu a chleachdadh aon uair 's gu bheil an Deasachadh Premium air a leigeil ma sgaoil gu h-oifigeil.", + "enterMailForLicenseKey": "Feuch an cuir thu a-steach do sheòladh puist-d gus an iuchair cead fhaighinn.", + "upcomingFeatures": "Feartan ri thighinn", + "treeTabs": "Cluaisichean Craoibhe", + "tabHistory": "Eachdraidh Cluais", + "cloudSync": "Sync Cloud", + "advancedPictureInPicture": "Dealbh ann an Dealbh Adhartach", + "APIAccess": "Cothrom API", + "customizeMenu": "Gnàthaich Clàr-taice", + "Automation": "Fèin-ghluasad" } \ No newline at end of file diff --git a/build/_locales/gl/error.json b/build/_locales/gl/error.json index 6b3b408..698c1d2 100644 --- a/build/_locales/gl/error.json +++ b/build/_locales/gl/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Os grupos gardados non se poden editar", + "Saved groups are not editable.": "Os grupos gardados non se poden editar", "ungroupingError": "Non se puideron desagrupar todas as pestanas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/gl/options.json b/build/_locales/gl/options.json index a64e8d8..53a3fdf 100644 --- a/build/_locales/gl/options.json +++ b/build/_locales/gl/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Desprazarse á lapela activa" } }, + "tabNav": { + "label": "Amosar a barra de navegación de lapelas", + "description": "Cando está habilitado, móstrase a barra de navegación de lapelas", + "configure": "configurar", + "configureTabNav": "Configurar navegación de lapelas", + "enabledNavs": "Navegacións habilitadas", + "disabledNavs": "Navegacións deshabilitadas (dispoñibles)", + "showLabel": "Mostrar etiqueta", + "showCount": "Mostrar conta", + "days": "Días", + "close": "Pechar", + "save": "Gardar", + "settings": "Configuración", + "OpenTabs": "Lapelas abertas", + "RecentlyTabs": "Lapelas pechadas recentemente", + "bookmarks": "Marcadores", + "history": "Historial", + "readingList": "Lista de lectura", + "quickAccess": "Acceso rápido", + "pinToToolbarReminder": "Lembra fixar a extensión na barra de ferramentas antes de eliminar esta navegación." + }, "bottomNav": { "label": "Amosar a barra de navegación inferior", "description": "Cando está activada, móstrase a barra de navegación inferior", diff --git a/build/_locales/gl/translation.json b/build/_locales/gl/translation.json index 43a2dc4..1f64ccc 100644 --- a/build/_locales/gl/translation.json +++ b/build/_locales/gl/translation.json @@ -151,5 +151,63 @@ "cancel": "Cancelar", "fullscreen": "Pantalla Completa", "exitFullscreen": "Saír de Pantalla Completa", - "zoom": "Ampliar" + "zoom": "Ampliar", + "undo": "Desfacer", + "addTabToGroup": "Engadir lapela ao grupo", + "newGroup": "Novo grupo", + "nameThisGroup": "Nomear este grupo", + "addBookmark": "Engadir marcador", + "editBookmark": "Editar marcador", + "deleteBookmark": "Eliminar marcador", + "duplicateBookmarks": "Duplicar marcadores", + "folderName": "Nome do cartafol", + "selectParentFolder": "Seleccionar cartafol pai", + "addFolder": "Engadir cartafol", + "editFolder": "Editar cartafol", + "deleteFolder": "Eliminar cartafol", + "deleteFolderConfirmation": "Realmente queres eliminar este cartafol? Todos os marcadores neste cartafol (incluíndo marcadores en subcartafoles) tamén serán eliminados.", + "containsCountURLs": "Contén {{count}} URLs", + "openAll": "Abrir todo ({{count}})", + "openAllInNewWindow": "Abrir todo ({{count}}) nunha nova xanela", + "openAllInIncognitoWindow": "Abrir todo ({{count}}) nunha xanela de incógnito", + "checkBookmarks": "Comprobar marcadores", + "hideEmptyFolders": "Ocultar cartafoles baleiros", + "displayTreeConnectorLines": "Mostrar liñas de conexión da árbore", + "showBookmarkUrl": "Mostrar URL do marcador", + "bookmarkManager": "Xestor de marcadores", + "default": "Predeterminado", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recentemente", + "recentlyAdded": "Engadido recentemente", + "switchToListView": "Cambiar a vista de lista", + "switchToTreeView": "Cambiar a vista de árbore", + "premiumFeatureOnly": "Esta función só está dispoñible coa Edición Premium.", + "premiumFreeTrialDesc": "Esta función é exclusiva da Edición Premium, e podes probala de balde agora.", + "freeTrial": "Proba de balde", + "learnMore": "Aprender máis", + "limited": "limitado", + "premiumEdition": "Edición Premium", + "PreOrderPremiumNow": "Pre-ordena a Edición Premium agora", + "getPremiumEditionNow": "Obter a Edición Premium agora", + "alreadyHavePremiumLicenseKey": "Xa teño unha chave de licenza da Edición Premium", + "licenseKey": "Chave de licenza", + "activatePremium": "Activar Edición Premium", + "couldNotActivatePremium": "Non se puido activar a Edición Premium. Por favor, introduce unha chave de licenza válida.", + "premiumActivatedSuccessfully": "Edición Premium activada con éxito.", + "premiumAccessFeatures": "Coa Edición Premium, terás acceso a funcións adicionais", + "premiumFeaturesPreOrderDescription": "Todas as funcións clave da extensión son de balde e seguirán sendo accesibles sen requirir acceso Premium. A Edición Premium, que inclúe funcións avanzadas deseñadas para uso profesional, aínda está en desenvolvemento. Ao pre-ordenar agora, podes apoiar o desenvolvemento destas capacidades premium e obtelo a un prezo excelente antes de que se lancen.", + "premiumFeaturesDescription": "Todas as funcións clave da extensión son de balde e seguirán sendo accesibles sen requirir acceso Premium. Ofrecemos funcións adicionais para proporcionar capacidades avanzadas para uso profesional, que estarán dispoñibles na Edición Premium por unha tarifa.", + "earlyBirdTicket": "Billete Early Bird", + "earlyBirdTicketDesc": "Estamos a piques de lanzar as funcións da Edición Premium, e agora podes aproveitar unha oferta especial early-bird para apoiar o desenvolvemento destas melloras. Ao comprar agora, recibirás acceso de por vida a todas as funcións da Edición Premium. Unha vez que se lance a Edición Premium, a oferta early-bird será descontinuada, e as compras de por vida xa non estarán dispoñibles.", + "afterPurchase": "Despois da compra, enviarémosche a Chave de Licenza ao teu correo electrónico dentro de 24 horas. Podes usala unha vez que a Edición Premium sexa oficialmente lanzada.", + "enterMailForLicenseKey": "Por favor, introduce o teu enderezo de correo para recibir a chave de licenza.", + "upcomingFeatures": "Funcións próximas", + "treeTabs": "Lapelas en árbore", + "tabHistory": "Historial de lapelas", + "cloudSync": "Sincronización na nube", + "advancedPictureInPicture": "Imaxe en Imaxe avanzada", + "APIAccess": "Acceso API", + "customizeMenu": "Personalizar menú", + "Automation": "Automatización" } \ No newline at end of file diff --git a/build/_locales/gu/error.json b/build/_locales/gu/error.json index 7bd35b3..186adb0 100644 --- a/build/_locales/gu/error.json +++ b/build/_locales/gu/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "સાચવેલ જૂથો સંપાદિત કરી શકાતા નથી", + "Saved groups are not editable.": "સાચવેલ જૂથો સંપાદિત કરી શકાતા નથી", "ungroupingError": "બધા ટૅબને અનગ્રુપ કરવામાં નિષ્ફળ: {{error}}" } \ No newline at end of file diff --git a/build/_locales/gu/options.json b/build/_locales/gu/options.json index b47982a..5cfc569 100644 --- a/build/_locales/gu/options.json +++ b/build/_locales/gu/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "સક્રિય ટેબ પર સ્ક્રોલ કરો" } }, + "tabNav": { + "label": "ટેબ નૅવિગેશન બાર બતાવો", + "description": "જ્યારે સક્રિય કરવામાં આવે છે, ટેબ નૅવિગેશન બાર પ્રદર્શિત થાય છે", + "configure": "ગોઠવો", + "configureTabNav": "ટેબ નૅવિગેશન ગોઠવો", + "enabledNavs": "સક્રિય નૅવિગેશન્સ", + "disabledNavs": "અક્ષમ નૅવિગેશન્સ (ઉપલબ્ધ)", + "showLabel": "લેબલ બતાવો", + "showCount": "ગણતરી બતાવો", + "days": "દિવસ", + "close": "બંધ", + "save": "સાચવો", + "settings": "સેટિંગ્સ", + "OpenTabs": "ખુલ્લા ટેબ્સ", + "RecentlyTabs": "હાલમાં બંધ થયેલા ટેબ્સ", + "bookmarks": "બુકમાર્ક્સ", + "history": "ઇતિહાસ", + "readingList": "વાંચન યાદી", + "quickAccess": "ઝડપી ઍક્સેસ", + "pinToToolbarReminder": "કૃપા કરીને આ નૅવિગેશનને દૂર કરતા પહેલા એક્સ્ટેન્શનને તમારા ટૂલબારમાં પિન કરો." + }, "bottomNav": { "label": "તળિયે નૅવિગેશન બાર બતાવો", "description": "જ્યારે સક્રિય કરવામાં આવે છે, તળિયે નૅવિગેશન બાર પ્રદર્શિત થાય છે", diff --git a/build/_locales/gu/translation.json b/build/_locales/gu/translation.json index 2f79b95..ae835d6 100644 --- a/build/_locales/gu/translation.json +++ b/build/_locales/gu/translation.json @@ -164,5 +164,63 @@ "cancel": "રદ કરો", "fullscreen": "પૂર્ણ સ્ક્રીન", "exitFullscreen": "પૂર્ણ સ્ક્રીનમાંથી બહાર નીકળો", - "zoom": "ઝૂમ" + "zoom": "ઝૂમ", + "undo": "અનડુ", + "addTabToGroup": "ટેબને જૂથમાં ઉમેરો", + "newGroup": "નવો જૂથ", + "nameThisGroup": "આ જૂથને નામ આપો", + "addBookmark": "બુકમાર્ક ઉમેરો", + "editBookmark": "બુકમાર્ક સંપાદિત કરો", + "deleteBookmark": "બુકમાર્ક કાઢી નાખો", + "duplicateBookmarks": "બુકમાર્ક્સ નકલ કરો", + "folderName": "ફોલ્ડર નામ", + "selectParentFolder": "પેરન્ટ ફોલ્ડર પસંદ કરો", + "addFolder": "ફોલ્ડર ઉમેરો", + "editFolder": "ફોલ્ડર સંપાદિત કરો", + "deleteFolder": "ફોલ્ડર કાઢી નાખો", + "deleteFolderConfirmation": "શું તમે ખરેખર આ ફોલ્ડર કાઢી નાખવા માંગો છો? આ ફોલ્ડરમાંના બધા બુકમાર્ક્સ (સબફોલ્ડર્સમાંના બુકમાર્ક્સ સહિત) પણ કાઢી નાખવામાં આવશે.", + "containsCountURLs": "{{count}} URLs ધરાવે છે", + "openAll": "બધા ખોલો ({{count}})", + "openAllInNewWindow": "બધા ખોલો ({{count}}) નવી વિન્ડોમાં", + "openAllInIncognitoWindow": "બધા ખોલો ({{count}}) ઇન્કોગ્નિટો વિન્ડોમાં", + "checkBookmarks": "બુકમાર્ક્સ તપાસો", + "hideEmptyFolders": "ખાલી ફોલ્ડર્સ છુપાવો", + "displayTreeConnectorLines": "ટ્રી કનેક્ટર લાઇન્સ બતાવો", + "showBookmarkUrl": "બુકમાર્ક URL બતાવો", + "bookmarkManager": "બુકમાર્ક મેનેજર", + "default": "મૂળભૂત", + "title": "શીર્ષક", + "url": "URL", + "recentlyUsed": "હાલમાં ઉપયોગમાં લીધેલું", + "recentlyAdded": "હાલમાં ઉમેરાયેલ", + "switchToListView": "લિસ્ટ વ્યૂ પર સ્વિચ કરો", + "switchToTreeView": "ટ્રી વ્યૂ પર સ્વિચ કરો", + "premiumFeatureOnly": "આ ફીચર ફક્ત પ્રીમિયમ એડિશન સાથે ઉપલબ્ધ છે.", + "premiumFreeTrialDesc": "આ ફીચર પ્રીમિયમ એડિશન માટે વિશિષ્ટ છે, અને તમે હવે મફત ટ્રાય કરી શકો છો.", + "freeTrial": "મફત ટ્રાયલ", + "learnMore": "વધુ શીખો", + "limited": "મર્યાદિત", + "premiumEdition": "પ્રીમિયમ એડિશન", + "PreOrderPremiumNow": "હવે પ્રીમિયમ એડિશન પ્રી-ઓર્ડર કરો", + "getPremiumEditionNow": "હવે પ્રીમિયમ એડિશન મેળવો", + "alreadyHavePremiumLicenseKey": "મારી પાસે પહેલેથી જ પ્રીમિયમ એડિશન લાઇસન્સ કી છે", + "licenseKey": "લાઇસન્સ કી", + "activatePremium": "પ્રીમિયમ એડિશન સક્રિય કરો", + "couldNotActivatePremium": "પ્રીમિયમ એડિશન સક્રિય કરી શક્યા નથી. કૃપા કરીને માન્ય લાઇસન્સ કી દાખલ કરો.", + "premiumActivatedSuccessfully": "પ્રીમિયમ એડિશન સફળતાપૂર્વક સક્રિય થયું.", + "premiumAccessFeatures": "પ્રીમિયમ એડિશન સાથે, તમને વધારાના ફીચર્સનો ઍક્સેસ મળશે", + "premiumFeaturesPreOrderDescription": "એક્સ્ટેન્શનના બધા મુખ્ય ફીચર્સ મફત છે અને પ્રીમિયમ ઍક્સેસની જરૂરિયાત વિના ઍક્સેસિબલ રહેશે. પ્રીમિયમ એડિશન, જેમાં વ્યાવસાયિક ઉપયોગ માટે ડિઝાઇન કરેલા અદ્યતન ફીચર્સનો સમાવેશ થાય છે, હજી વિકાસ હેઠળ છે. હવે પ્રી-ઓર્ડર કરીને, તમે આ પ્રીમિયમ ક્ષમતાઓના વિકાસને સપોર્ટ કરી શકો છો અને તેઓ લોન્ચ થાય તે પહેલાં તેને મહાન કિંમતે મેળવી શકો છો.", + "premiumFeaturesDescription": "એક્સ્ટેન્શનના બધા મુખ્ય ફીચર્સ મફત છે અને પ્રીમિયમ ઍક્સેસની જરૂરિયાત વિના ઍક્સેસિબલ રહેશે. અમે વ્યાવસાયિક ઉપયોગ માટે અદ્યતન ક્ષમતાઓ પ્રદાન કરવા માટે વધારાના ફીચર્સ ઓફર કરીએ છીએ, જે પ્રીમિયમ એડિશન માટે ફી માટે ઉપલબ્ધ હશે.", + "earlyBirdTicket": "અર્લી બર્ડ ટિકિટ", + "earlyBirdTicketDesc": "અમે પ્રીમિયમ એડિશન ફીચર્સ લોન્ચ કરવા જઈ રહ્યા છીએ, અને તમે હવે આ સુધારાઓના વિકાસને સપોર્ટ કરવા માટે વિશિષ્ટ અર્લી-બર્ડ ઓફરનો લાભ લઈ શકો છો. હવે ખરીદી કરીને, તમને પ્રીમિયમ એડિશનના બધા ફીચર્સ માટે લાઇફટાઇમ ઍક્સેસ મળશે. એકવાર પ્રીમિયમ એડિશન રિલીઝ થઈ જાય, પછી અર્લી-બર્ડ ઓફર બંધ કરવામાં આવશે, અને લાઇફટાઇમ ખરીદી ઉપલબ્ધ રહેશે નહીં.", + "afterPurchase": "ખરીદી પછી, અમે 24 કલાકની અંદર તમારી ઇમેઇલ પર લાઇસન્સ કી મોકલીશું. તમે તેને એકવાર પ્રીમિયમ એડિશનને સત્તાવાર રીતે રિલીઝ કર્યા પછી ઉપયોગ કરી શકો છો.", + "enterMailForLicenseKey": "લાઇસન્સ કી મેળવવા માટે કૃપા કરીને તમારું મેલ સરનામું દાખલ કરો.", + "upcomingFeatures": "આવનારા ફીચર્સ", + "treeTabs": "ટ્રી ટેબ્સ", + "tabHistory": "ટેબ ઇતિહાસ", + "cloudSync": "ક્લાઉડ સિંક", + "advancedPictureInPicture": "અદ્યતન પિક્ચર-ઇન-પિક્ચર", + "APIAccess": "API ઍક્સેસ", + "customizeMenu": "મેનુ કસ્ટમાઇઝ કરો", + "Automation": "ઓટોમેશન" } \ No newline at end of file diff --git a/build/_locales/he/error.json b/build/_locales/he/error.json index 7c75b76..5c7a281 100644 --- a/build/_locales/he/error.json +++ b/build/_locales/he/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "קבוצות שמורות אינן ניתנות לעריכה", + "Saved groups are not editable.": "קבוצות שמורות אינן ניתנות לעריכה", "ungroupingError": "נכשל בניסיון לבטל קיבוץ כל הכרטיסיות: {{error}}" } \ No newline at end of file diff --git a/build/_locales/he/options.json b/build/_locales/he/options.json index 6fe0178..e0144fe 100644 --- a/build/_locales/he/options.json +++ b/build/_locales/he/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "גלול לכרטיסייה הפעילה" } }, + "tabNav": { + "label": "הצג סרגל ניווט כרטיסיות", + "description": "כאשר האפשרות מופעלת, סרגל הניווט של הכרטיסיות יוצג", + "configure": "הגדר", + "configureTabNav": "הגדר סרגל ניווט כרטיסיות", + "enabledNavs": "ניווטים מופעלים", + "disabledNavs": "ניווטים מושבתים (זמינים)", + "showLabel": "הצג תווית", + "showCount": "הצג ספירה", + "days": "ימים", + "close": "סגור", + "save": "שמור", + "settings": "הגדרות", + "OpenTabs": "כרטיסיות פתוחות", + "RecentlyTabs": "כרטיסיות שנסגרו לאחרונה", + "bookmarks": "סימניות", + "history": "היסטוריה", + "readingList": "רשימת קריאה", + "quickAccess": "גישה מהירה", + "pinToToolbarReminder": "אנא הצמד את התוסף לסרגל הכלים לפני הסרת הניווט הזה." + }, "bottomNav": { "label": "הצג סרגל ניווט תחתון", "description": "כאשר האפשרות מופעלת, סרגל הניווט התחתון יוצג", diff --git a/build/_locales/he/translation.json b/build/_locales/he/translation.json index e61dbe7..db3827b 100644 --- a/build/_locales/he/translation.json +++ b/build/_locales/he/translation.json @@ -164,5 +164,63 @@ "cancel": "בטל", "fullscreen": "מסך מלא", "exitFullscreen": "צא ממסך מלא", - "zoom": "התקרב" + "zoom": "התקרב", + "undo": "בטל", + "addTabToGroup": "הוסף כרטיסייה לקבוצה", + "newGroup": "קבוצה חדשה", + "nameThisGroup": "תן שם לקבוצה זו", + "addBookmark": "הוסף סימניה", + "editBookmark": "ערוך סימניה", + "deleteBookmark": "מחק סימניה", + "duplicateBookmarks": "שכפל סימניות", + "folderName": "שם תיקייה", + "selectParentFolder": "בחר תיקיית אב", + "addFolder": "הוסף תיקייה", + "editFolder": "ערוך תיקייה", + "deleteFolder": "מחק תיקייה", + "deleteFolderConfirmation": "האם אתה באמת רוצה למחוק תיקייה זו? כל הסימניות בתיקייה זו (כולל סימניות בתיקיות משנה) יימחקו גם כן.", + "containsCountURLs": "מכיל {{count}} כתובות URL", + "openAll": "פתח הכל ({{count}})", + "openAllInNewWindow": "פתח הכל ({{count}}) בחלון חדש", + "openAllInIncognitoWindow": "פתח הכל ({{count}}) בחלון גלישה בסתר", + "checkBookmarks": "בדוק סימניות", + "hideEmptyFolders": "הסתר תיקיות ריקות", + "displayTreeConnectorLines": "הצג קווי חיבור בעץ", + "showBookmarkUrl": "הצג כתובת סימניה", + "bookmarkManager": "מנהל סימניות", + "default": "ברירת מחדל", + "title": "כותרת", + "url": "כתובת URL", + "recentlyUsed": "שומש לאחרונה", + "recentlyAdded": "נוסף לאחרונה", + "switchToListView": "החלף לתצוגת רשימה", + "switchToTreeView": "החלף לתצוגת עץ", + "premiumFeatureOnly": "תכונה זו זמינה רק במהדורת הפרימיום.", + "premiumFreeTrialDesc": "תכונה זו בלעדית למהדורת הפרימיום, ואתה יכול לנסות אותה בחינם עכשיו.", + "freeTrial": "ניסיון חינם", + "learnMore": "למד עוד", + "limited": "מוגבל", + "premiumEdition": "מהדורת פרימיום", + "PreOrderPremiumNow": "הזמן מראש את מהדורת הפרימיום עכשיו", + "getPremiumEditionNow": "קבל את מהדורת הפרימיום עכשיו", + "alreadyHavePremiumLicenseKey": "כבר יש לי מפתח רישיון למהדורת הפרימיום", + "licenseKey": "מפתח רישיון", + "activatePremium": "הפעל מהדורת פרימיום", + "couldNotActivatePremium": "לא ניתן להפעיל את מהדורת הפרימיום. אנא הזן מפתח רישיון תקף.", + "premiumActivatedSuccessfully": "מהדורת הפרימיום הופעלה בהצלחה.", + "premiumAccessFeatures": "עם מהדורת הפרימיום, תקבל גישה לתכונות נוספות", + "premiumFeaturesPreOrderDescription": "כל התכונות המרכזיות של התוסף חופשיות לשימוש ויישארו נגישות ללא צורך בגישה לפרימיום. מהדורת הפרימיום, הכוללת תכונות מתקדמות המיועדות לשימוש מקצועי, עדיין בפיתוח. על ידי הזמנה מראש עכשיו, תוכל לתמוך בפיתוח יכולות הפרימיום הללו ולקבל אותן במחיר מצוין לפני ההשקה.", + "premiumFeaturesDescription": "כל התכונות המרכזיות של התוסף חופשיות לשימוש ויישארו נגישות ללא צורך בגישה לפרימיום. אנו מציעים תכונות נוספות כדי לספק יכולות מתקדמות לשימוש מקצועי, שיהיו זמינות במהדורת הפרימיום בתשלום.", + "earlyBirdTicket": "כרטיס מוקדם", + "earlyBirdTicketDesc": "אנו עומדים להשיק תכונות מהדורת פרימיום, ועכשיו תוכל לנצל הצעה מיוחדת למוקדמים כדי לתמוך בפיתוח השיפורים הללו. על ידי רכישה עכשיו, תקבל גישה לכל תכונות מהדורת הפרימיום לכל החיים. לאחר השקת מהדורת הפרימיום, ההצעה המוקדמת תופסק, ורכישות לכל החיים לא יהיו זמינות יותר.", + "afterPurchase": "לאחר הרכישה, נשלח את מפתח הרישיון לדוא\"ל שלך תוך 24 שעות. תוכל להשתמש בו ברגע שמהדורת הפרימיום תושק רשמית.", + "enterMailForLicenseKey": "אנא הזן את כתובת הדוא\"ל שלך כדי לקבל את מפתח הרישיון.", + "upcomingFeatures": "תכונות קרובות", + "treeTabs": "כרטיסיות עץ", + "tabHistory": "היסטוריית כרטיסיות", + "cloudSync": "סנכרון ענן", + "advancedPictureInPicture": "תמונה בתוך תמונה מתקדמת", + "APIAccess": "גישה ל-API", + "customizeMenu": "התאם תפריט", + "Automation": "אוטומציה" } \ No newline at end of file diff --git a/build/_locales/hi/error.json b/build/_locales/hi/error.json index ca3b661..f9f7596 100644 --- a/build/_locales/hi/error.json +++ b/build/_locales/hi/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "सहेजे गए समूह संपादन योग्य नहीं हैं", + "Saved groups are not editable.": "सहेजे गए समूह संपादन योग्य नहीं हैं", "ungroupingError": "सभी टैब को अनग्रुप करने में विफल: {{error}}" } \ No newline at end of file diff --git a/build/_locales/hi/options.json b/build/_locales/hi/options.json index 696c2b8..fd8b41a 100644 --- a/build/_locales/hi/options.json +++ b/build/_locales/hi/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "सक्रिय टैब पर स्क्रॉल करें" } }, + "tabNav": { + "label": "टैब नेविगेशन बार दिखाएं", + "description": "सक्षम होने पर, टैब नेविगेशन बार प्रदर्शित होता है", + "configure": "कॉन्फ़िगर करें", + "configureTabNav": "टैब नेविगेशन को कॉन्फ़िगर करें", + "enabledNavs": "सक्रिय नेविगेशन", + "disabledNavs": "निष्क्रिय नेविगेशन (उपलब्ध)", + "showLabel": "लेबल दिखाएं", + "showCount": "गिनती दिखाएं", + "days": "दिन", + "close": "बंद करें", + "save": "सहेजें", + "settings": "सेटिंग्स", + "OpenTabs": "खुले टैब", + "RecentlyTabs": "हाल ही में बंद टैब", + "bookmarks": "बुकमार्क्स", + "history": "इतिहास", + "readingList": "पढ़ने की सूची", + "quickAccess": "त्वरित पहुँच", + "pinToToolbarReminder": "इस नेविगेशन को हटाने से पहले कृपया एक्सटेंशन को अपने टूलबार में पिन करें।" + }, "bottomNav": { "label": "नीचे नेविगेशन बार दिखाएं", "description": "सक्षम होने पर, नीचे नेविगेशन बार दिखाई देगा", diff --git a/build/_locales/hi/translation.json b/build/_locales/hi/translation.json index e4e4493..3185a8c 100644 --- a/build/_locales/hi/translation.json +++ b/build/_locales/hi/translation.json @@ -164,5 +164,63 @@ "cancel": "रद्द करें", "fullscreen": "पूर्ण स्क्रीन", "exitFullscreen": "पूर्ण स्क्रीन से बाहर निकलें", - "zoom": "ज़ूम" + "zoom": "ज़ूम", + "undo": "पूर्ववत करें", + "addTabToGroup": "समूह में टैब जोड़ें", + "newGroup": "नया समूह", + "nameThisGroup": "इस समूह का नाम रखें", + "addBookmark": "बुकमार्क जोड़ें", + "editBookmark": "बुकमार्क संपादित करें", + "deleteBookmark": "बुकमार्क हटाएं", + "duplicateBookmarks": "डुप्लिकेट बुकमार्क्स", + "folderName": "फ़ोल्डर का नाम", + "selectParentFolder": "मूल फ़ोल्डर चुनें", + "addFolder": "फ़ोल्डर जोड़ें", + "editFolder": "फ़ोल्डर संपादित करें", + "deleteFolder": "फ़ोल्डर हटाएं", + "deleteFolderConfirmation": "क्या आप वाकई इस फ़ोल्डर को हटाना चाहते हैं? इस फ़ोल्डर में सभी बुकमार्क्स (उपफ़ोल्डर्स में बुकमार्क्स सहित) भी हटा दिए जाएंगे।", + "containsCountURLs": "{{count}} URLs शामिल हैं", + "openAll": "सभी खोलें ({{count}})", + "openAllInNewWindow": "सभी खोलें ({{count}}) नई विंडो में", + "openAllInIncognitoWindow": "सभी खोलें ({{count}}) गुप्त विंडो में", + "checkBookmarks": "बुकमार्क्स जांचें", + "hideEmptyFolders": "खाली फ़ोल्डर्स छिपाएं", + "displayTreeConnectorLines": "ट्री कनेक्टर लाइन्स दिखाएं", + "showBookmarkUrl": "बुकमार्क URL दिखाएं", + "bookmarkManager": "बुकमार्क प्रबंधक", + "default": "डिफ़ॉल्ट", + "title": "शीर्षक", + "url": "URL", + "recentlyUsed": "हाल ही में उपयोग किया गया", + "recentlyAdded": "हाल ही में जोड़ा गया", + "switchToListView": "सूची दृश्य पर स्विच करें", + "switchToTreeView": "ट्री दृश्य पर स्विच करें", + "premiumFeatureOnly": "यह सुविधा केवल प्रीमियम संस्करण के साथ उपलब्ध है।", + "premiumFreeTrialDesc": "यह सुविधा प्रीमियम संस्करण के लिए विशेष है, और आप इसे अभी मुफ्त में आज़मा सकते हैं।", + "freeTrial": "मुफ्त परीक्षण", + "learnMore": "और जानें", + "limited": "सीमित", + "premiumEdition": "प्रीमियम संस्करण", + "PreOrderPremiumNow": "अभी प्रीमियम संस्करण का प्री-ऑर्डर करें", + "getPremiumEditionNow": "अभी प्रीमियम संस्करण प्राप्त करें", + "alreadyHavePremiumLicenseKey": "मेरे पास पहले से ही प्रीमियम संस्करण लाइसेंस कुंजी है", + "licenseKey": "लाइसेंस कुंजी", + "activatePremium": "प्रीमियम संस्करण सक्रिय करें", + "couldNotActivatePremium": "प्रीमियम संस्करण सक्रिय नहीं कर सके। कृपया एक मान्य लाइसेंस कुंजी दर्ज करें।", + "premiumActivatedSuccessfully": "प्रीमियम संस्करण सफलतापूर्वक सक्रिय किया गया।", + "premiumAccessFeatures": "प्रीमियम संस्करण के साथ, आपको अतिरिक्त सुविधाओं तक पहुंच प्राप्त होगी", + "premiumFeaturesPreOrderDescription": "एक्सटेंशन की सभी प्रमुख सुविधाएँ उपयोग करने के लिए मुफ्त हैं और प्रीमियम एक्सेस की आवश्यकता के बिना सुलभ रहेंगी। प्रीमियम संस्करण, जिसमें पेशेवर उपयोग के लिए डिज़ाइन की गई उन्नत सुविधाएँ शामिल हैं, अभी भी विकास में है। अभी प्री-ऑर्डर करके, आप इन प्रीमियम क्षमताओं के विकास का समर्थन कर सकते हैं और लॉन्च से पहले इसे एक शानदार कीमत पर प्राप्त कर सकते हैं।", + "premiumFeaturesDescription": "एक्सटेंशन की सभी प्रमुख सुविधाएँ उपयोग करने के लिए मुफ्त हैं और प्रीमियम एक्सेस की आवश्यकता के बिना सुलभ रहेंगी। हम पेशेवर उपयोग के लिए उन्नत क्षमताएं प्रदान करने के लिए अतिरिक्त सुविधाएँ प्रदान करते हैं, जो शुल्क के लिए प्रीमियम संस्करण में उपलब्ध होंगी।", + "earlyBirdTicket": "अर्ली बर्ड टिकट", + "earlyBirdTicketDesc": "हम प्रीमियम संस्करण सुविधाओं को लॉन्च करने वाले हैं, और आप अब इन संवर्द्धनों के विकास का समर्थन करने के लिए एक विशेष अर्ली-बर्ड ऑफर का लाभ उठा सकते हैं। अभी खरीदारी करके, आपको सभी प्रीमियम संस्करण सुविधाओं तक आजीवन पहुंच प्राप्त होगी। एक बार प्रीमियम संस्करण जारी होने के बाद, अर्ली-बर्ड ऑफर बंद कर दिया जाएगा, और आजीवन खरीदारी अब उपलब्ध नहीं होगी।", + "afterPurchase": "खरीद के बाद, हम 24 घंटों के भीतर लाइसेंस कुंजी को आपके ईमेल पर भेज देंगे। आप इसे प्रीमियम संस्करण के आधिकारिक रूप से जारी होने के बाद उपयोग कर सकते हैं।", + "enterMailForLicenseKey": "लाइसेंस कुंजी प्राप्त करने के लिए कृपया अपना मेल पता दर्ज करें।", + "upcomingFeatures": "आगामी सुविधाएँ", + "treeTabs": "ट्री टैब्स", + "tabHistory": "टैब इतिहास", + "cloudSync": "क्लाउड सिंक", + "advancedPictureInPicture": "उन्नत पिक्चर-इन-पिक्चर", + "APIAccess": "API एक्सेस", + "customizeMenu": "मेनू अनुकूलित करें", + "Automation": "स्वचालन" } \ No newline at end of file diff --git a/build/_locales/hr/error.json b/build/_locales/hr/error.json index cbbb80e..0c33586 100644 --- a/build/_locales/hr/error.json +++ b/build/_locales/hr/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Spremljene grupe nisu uređive", + "Saved groups are not editable.": "Spremljene grupe nisu uređive", "ungroupingError": "Neuspjelo razgrupiranje svih kartica: {{error}}" } \ No newline at end of file diff --git a/build/_locales/hr/options.json b/build/_locales/hr/options.json index 0905354..b419c65 100644 --- a/build/_locales/hr/options.json +++ b/build/_locales/hr/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Pomakni se do aktivne kartice" } }, + "tabNav": { + "label": "Prikaži traku za navigaciju karticama", + "description": "Kada je omogućeno, traka za navigaciju karticama je prikazana", + "configure": "postavke", + "configureTabNav": "Postavke navigacije karticama", + "enabledNavs": "Omogućene navigacije", + "disabledNavs": "Onemogućene navigacije (dostupne)", + "showLabel": "Prikaži oznaku", + "showCount": "Prikaži broj", + "days": "Dani", + "close": "Zatvori", + "save": "Spremi", + "settings": "Postavke", + "OpenTabs": "Otvorene kartice", + "RecentlyTabs": "Nedavno zatvorene kartice", + "bookmarks": "Knjižne oznake", + "history": "Povijest", + "readingList": "Popis za čitanje", + "quickAccess": "Brzi pristup", + "pinToToolbarReminder": "Prikvačite proširenje na alatnu traku prije nego što uklonite ovu navigaciju." + }, "bottomNav": { "label": "Prikaži donju navigacijsku traku", "description": "Kada je omogućeno, donja navigacijska traka će biti vidljiva", diff --git a/build/_locales/hr/translation.json b/build/_locales/hr/translation.json index e829a8d..52d00d3 100644 --- a/build/_locales/hr/translation.json +++ b/build/_locales/hr/translation.json @@ -164,5 +164,63 @@ "cancel": "Otkaži", "fullscreen": "Puni zaslon", "exitFullscreen": "Izađi iz punog zaslona", - "zoom": "Povećaj" + "zoom": "Povećaj", + "undo": "Poništi", + "addTabToGroup": "Dodaj karticu u grupu", + "newGroup": "Nova grupa", + "nameThisGroup": "Imenuj ovu grupu", + "addBookmark": "Dodaj oznaku", + "editBookmark": "Uredi oznaku", + "deleteBookmark": "Izbriši oznaku", + "duplicateBookmarks": "Dupliciraj oznake", + "folderName": "Naziv mape", + "selectParentFolder": "Odaberi nadređenu mapu", + "addFolder": "Dodaj mapu", + "editFolder": "Uredi mapu", + "deleteFolder": "Izbriši mapu", + "deleteFolderConfirmation": "Želite li zaista izbrisati ovu mapu? Sve oznake u ovoj mapi (uključujući oznake u podmapama) također će biti izbrisane.", + "containsCountURLs": "Sadrži {{count}} URL-ova", + "openAll": "Otvori sve ({{count}})", + "openAllInNewWindow": "Otvori sve ({{count}}) u novom prozoru", + "openAllInIncognitoWindow": "Otvori sve ({{count}}) u anonimnom prozoru", + "checkBookmarks": "Provjeri oznake", + "hideEmptyFolders": "Sakrij prazne mape", + "displayTreeConnectorLines": "Prikaži linije poveznica stabla", + "showBookmarkUrl": "Prikaži URL oznake", + "bookmarkManager": "Upravitelj oznaka", + "default": "Zadano", + "title": "Naslov", + "url": "URL", + "recentlyUsed": "Nedavno korišteno", + "recentlyAdded": "Nedavno dodano", + "switchToListView": "Prebaci na prikaz popisa", + "switchToTreeView": "Prebaci na prikaz stabla", + "premiumFeatureOnly": "Ova značajka dostupna je samo u Premium izdanju.", + "premiumFreeTrialDesc": "Ova značajka je ekskluzivna za Premium izdanje, a sada je možete besplatno isprobati.", + "freeTrial": "Besplatno probno razdoblje", + "learnMore": "Saznajte više", + "limited": "ograničeno", + "premiumEdition": "Premium izdanje", + "PreOrderPremiumNow": "Prednaručite Premium izdanje sada", + "getPremiumEditionNow": "Nabavite Premium izdanje sada", + "alreadyHavePremiumLicenseKey": "Već imam licencni ključ za Premium izdanje", + "licenseKey": "Licencni ključ", + "activatePremium": "Aktiviraj Premium izdanje", + "couldNotActivatePremium": "Nije moguće aktivirati Premium izdanje. Molimo unesite važeći licencni ključ.", + "premiumActivatedSuccessfully": "Premium izdanje uspješno aktivirano.", + "premiumAccessFeatures": "S Premium izdanjem dobit ćete pristup dodatnim značajkama", + "premiumFeaturesPreOrderDescription": "Sve ključne značajke proširenja su besplatne za korištenje i ostat će dostupne bez potrebe za Premium pristupom. Premium izdanje, koje uključuje napredne značajke dizajnirane za profesionalnu upotrebu, još je u razvoju. Prednaručivanjem sada možete podržati razvoj ovih premium mogućnosti i dobiti ih po povoljnoj cijeni prije nego što budu lansirane.", + "premiumFeaturesDescription": "Sve ključne značajke proširenja su besplatne za korištenje i ostat će dostupne bez potrebe za Premium pristupom. Nudimo dodatne značajke za pružanje naprednih mogućnosti za profesionalnu upotrebu, koje će biti dostupne u Premium izdanju uz naknadu.", + "earlyBirdTicket": "Early Bird ulaznica", + "earlyBirdTicketDesc": "Uskoro ćemo lansirati značajke Premium izdanja, a sada možete iskoristiti posebnu ponudu za rane korisnike kako biste podržali razvoj ovih poboljšanja. Kupnjom sada dobit ćete doživotni pristup svim značajkama Premium izdanja. Nakon što Premium izdanje bude objavljeno, ponuda za rane korisnike bit će ukinuta, a doživotne kupnje više neće biti dostupne.", + "afterPurchase": "Nakon kupnje, poslat ćemo licencni ključ na vašu e-poštu u roku od 24 sata. Možete ga koristiti nakon što Premium izdanje bude službeno objavljeno.", + "enterMailForLicenseKey": "Unesite svoju e-mail adresu za primanje licencnog ključa.", + "upcomingFeatures": "Nadolazeće značajke", + "treeTabs": "Kartice u stablu", + "tabHistory": "Povijest kartica", + "cloudSync": "Sinkronizacija u oblaku", + "advancedPictureInPicture": "Napredna slika u slici", + "APIAccess": "API pristup", + "customizeMenu": "Prilagodi izbornik", + "Automation": "Automatizacija" } \ No newline at end of file diff --git a/build/_locales/ht/error.json b/build/_locales/ht/error.json index fef4240..1c9611c 100644 --- a/build/_locales/ht/error.json +++ b/build/_locales/ht/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gwoup sove yo pa editab", + "Saved groups are not editable.": "Gwoup sove yo pa editab", "ungroupingError": "Echwe pou deziye tout onglè yo: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ht/options.json b/build/_locales/ht/options.json index d6c35aa..a9fa4fd 100644 --- a/build/_locales/ht/options.json +++ b/build/_locales/ht/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Defile nan Tab Aktif la" } }, + "tabNav": { + "label": "Montre ba navigasyon Tab", + "description": "Lè aktive, ba navigasyon Tab la ap parèt", + "configure": "konfigire", + "configureTabNav": "Konfigire Navigasyon Tab", + "enabledNavs": "Navigasyon Aktive", + "disabledNavs": "Navigasyon Dezaktive (Disponib)", + "showLabel": "Montre Etikèt", + "showCount": "Montre Kantite", + "days": "Jou", + "close": "Fèmen", + "save": "Sove", + "settings": "Anviwònman", + "OpenTabs": "Tab Ouvè", + "RecentlyTabs": "Tab Fèmen Resamman", + "bookmarks": "Makè", + "history": "Istwa", + "readingList": "Lis Lekti", + "quickAccess": "Aksè Rapid", + "pinToToolbarReminder": "Tanpri fikse ekstansyon an nan ba zouti ou anvan ou retire navigasyon sa a." + }, "bottomNav": { "label": "Montre baryè navigasyon anba", "description": "Lè aktive, ba navigasyon anba a ap parèt", diff --git a/build/_locales/ht/translation.json b/build/_locales/ht/translation.json index 10ce5ec..1a6751c 100644 --- a/build/_locales/ht/translation.json +++ b/build/_locales/ht/translation.json @@ -151,5 +151,63 @@ "cancel": "Anile", "fullscreen": "Plen ekran", "exitFullscreen": "Sòti Plen Ekran", - "zoom": "Zoum" + "zoom": "Zoum", + "undo": "Anile", + "addTabToGroup": "Ajoute tab nan gwoup", + "newGroup": "Nouvo gwoup", + "nameThisGroup": "Nonmen gwoup sa a", + "addBookmark": "Ajoute makè", + "editBookmark": "Modifye makè", + "deleteBookmark": "Efase makè", + "duplicateBookmarks": "Kopi makè", + "folderName": "Non katab", + "selectParentFolder": "Chwazi katab paran", + "addFolder": "Ajoute katab", + "editFolder": "Modifye katab", + "deleteFolder": "Efase katab", + "deleteFolderConfirmation": "Èske ou vrèman vle efase katab sa a? Tout makè nan katab sa a (ki gen ladan makè nan sou-katab) ap efase tou.", + "containsCountURLs": "Gen {{count}} URL", + "openAll": "Louvri tout ({{count}})", + "openAllInNewWindow": "Louvri tout ({{count}}) nan nouvo fenèt", + "openAllInIncognitoWindow": "Louvri tout ({{count}}) nan fenèt enkoyito", + "checkBookmarks": "Tcheke makè", + "hideEmptyFolders": "Kache katab vid", + "displayTreeConnectorLines": "Montre liy konektè pyebwa", + "showBookmarkUrl": "Montre URL makè", + "bookmarkManager": "Manadjè makè", + "default": "Defo", + "title": "Tit", + "url": "URL", + "recentlyUsed": "Dènyèman itilize", + "recentlyAdded": "Dènyèman ajoute", + "switchToListView": "Chanje nan gade lis", + "switchToTreeView": "Chanje nan gade pyebwa", + "premiumFeatureOnly": "Fonksyon sa a disponib sèlman ak edisyon Premium lan.", + "premiumFreeTrialDesc": "Fonksyon sa a eksklizif pou edisyon Premium lan, epi ou ka eseye li gratis kounye a.", + "freeTrial": "Eseye gratis", + "learnMore": "Aprann plis", + "limited": "limite", + "premiumEdition": "Edisyon Premium", + "PreOrderPremiumNow": "Pre-kòmande edisyon Premium kounye a", + "getPremiumEditionNow": "Jwenn edisyon Premium kounye a", + "alreadyHavePremiumLicenseKey": "Mwen deja gen yon kle lisans edisyon Premium", + "licenseKey": "Kle lisans", + "activatePremium": "Aktive edisyon Premium", + "couldNotActivatePremium": "Pa t kapab aktive edisyon Premium. Tanpri antre yon kle lisans valab.", + "premiumActivatedSuccessfully": "Edisyon Premium aktive avèk siksè.", + "premiumAccessFeatures": "Avèk edisyon Premium lan, ou pral jwenn aksè nan fonksyon adisyonèl", + "premiumFeaturesPreOrderDescription": "Tout fonksyon kle ekstansyon an gratis pou itilize epi yo pral rete aksesib san yo pa mande aksè Premium. Edisyon Premium lan, ki gen ladan fonksyon avanse ki fèt pou itilizasyon pwofesyonèl, toujou ap devlope. Lè ou pre-kòmande kounye a, ou ka sipòte devlopman kapasite sa yo epi jwenn li nan yon pri ekselan anvan yo lanse.", + "premiumFeaturesDescription": "Tout fonksyon kle ekstansyon an gratis pou itilize epi yo pral rete aksesib san yo pa mande aksè Premium. Nou ofri fonksyon adisyonèl pou bay kapasite avanse pou itilizasyon pwofesyonèl, ki pral disponib nan edisyon Premium lan pou yon frè.", + "earlyBirdTicket": "Tikè Early Bird", + "earlyBirdTicketDesc": "Nou prèt pou lanse fonksyon edisyon Premium yo, epi ou ka kounye a pran avantaj de yon òf espesyal early-bird pou sipòte devlopman amelyorasyon sa yo. Lè ou achte kounye a, ou pral resevwa aksè pou tout lavi nan tout fonksyon edisyon Premium yo. Yon fwa edisyon Premium lan lage, òf early-bird la ap sispann, epi acha pou tout lavi pa pral disponib ankò.", + "afterPurchase": "Apre acha, nou pral voye kle lisans lan nan imel ou nan lespas 24 èdtan. Ou ka itilize li yon fwa edisyon Premium lan ofisyèlman lage.", + "enterMailForLicenseKey": "Tanpri antre adrès imel ou pou resevwa kle lisans lan.", + "upcomingFeatures": "Fonksyon kap vini yo", + "treeTabs": "Tab pyebwa", + "tabHistory": "Istwa tab", + "cloudSync": "Senkrone nwaj", + "advancedPictureInPicture": "Avanse PIP", + "APIAccess": "Aksè API", + "customizeMenu": "Pèsonalize meni", + "Automation": "Otomatizasyon" } \ No newline at end of file diff --git a/build/_locales/hu/error.json b/build/_locales/hu/error.json index d24b18e..0b2484a 100644 --- a/build/_locales/hu/error.json +++ b/build/_locales/hu/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "A mentett csoportok nem szerkeszthetők", + "Saved groups are not editable.": "A mentett csoportok nem szerkeszthetők", "ungroupingError": "Nem sikerült az összes lapot csoportbontani: {{error}}" } \ No newline at end of file diff --git a/build/_locales/hu/options.json b/build/_locales/hu/options.json index 670db2e..81e4b34 100644 --- a/build/_locales/hu/options.json +++ b/build/_locales/hu/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Görgetés az aktív laphoz" } }, + "tabNav": { + "label": "Fül navigációs sáv megjelenítése", + "description": "Ha engedélyezve van, a fül navigációs sáv megjelenik", + "configure": "beállítás", + "configureTabNav": "Fül navigáció beállítása", + "enabledNavs": "Engedélyezett navigációk", + "disabledNavs": "Letiltott navigációk (Elérhető)", + "showLabel": "Címke megjelenítése", + "showCount": "Szám megjelenítése", + "days": "Napok", + "close": "Bezárás", + "save": "Mentés", + "settings": "Beállítások", + "OpenTabs": "Megnyitott fülek", + "RecentlyTabs": "Nemrég bezárt fülek", + "bookmarks": "Könyvjelzők", + "history": "Előzmények", + "readingList": "Olvasási lista", + "quickAccess": "Gyors elérés", + "pinToToolbarReminder": "Kérjük, rögzítse a bővítményt az eszköztárhoz, mielőtt eltávolítaná ezt a navigációt." + }, "bottomNav": { "label": "Alsó navigációs sáv megjelenítése", "description": "Az alsó navigációs sáv megjelenítése, ha engedélyezve van", diff --git a/build/_locales/hu/translation.json b/build/_locales/hu/translation.json index 0f2c05c..18df3b8 100644 --- a/build/_locales/hu/translation.json +++ b/build/_locales/hu/translation.json @@ -164,5 +164,63 @@ "cancel": "Mégse", "fullscreen": "Teljes képernyő", "exitFullscreen": "Kilépés a teljes képernyőből", - "zoom": "Nagyítás" + "zoom": "Nagyítás", + "undo": "Visszavonás", + "addTabToGroup": "Lap hozzáadása a csoporthoz", + "newGroup": "Új csoport", + "nameThisGroup": "Nevezze el ezt a csoportot", + "addBookmark": "Könyvjelző hozzáadása", + "editBookmark": "Könyvjelző szerkesztése", + "deleteBookmark": "Könyvjelző törlése", + "duplicateBookmarks": "Könyvjelzők másolása", + "folderName": "Mappa neve", + "selectParentFolder": "Szülőmappa kiválasztása", + "addFolder": "Mappa hozzáadása", + "editFolder": "Mappa szerkesztése", + "deleteFolder": "Mappa törlése", + "deleteFolderConfirmation": "Valóban törölni szeretné ezt a mappát? Az összes könyvjelző ebben a mappában (beleértve az almappák könyvjelzőit is) szintén törlődik.", + "containsCountURLs": "{{count}} URL-eket tartalmaz", + "openAll": "Összes megnyitása ({{count}})", + "openAllInNewWindow": "Összes megnyitása új ablakban ({{count}})", + "openAllInIncognitoWindow": "Összes megnyitása inkognitó ablakban ({{count}})", + "checkBookmarks": "Könyvjelzők ellenőrzése", + "hideEmptyFolders": "Üres mappák elrejtése", + "displayTreeConnectorLines": "Fa csatlakozóvonalak megjelenítése", + "showBookmarkUrl": "Könyvjelző URL megjelenítése", + "bookmarkManager": "Könyvjelzőkezelő", + "default": "Alapértelmezett", + "title": "Cím", + "url": "URL", + "recentlyUsed": "Nemrég használt", + "recentlyAdded": "Nemrég hozzáadott", + "switchToListView": "Váltás lista nézetre", + "switchToTreeView": "Váltás fa nézetre", + "premiumFeatureOnly": "Ez a funkció csak a Premium Edition-ben érhető el.", + "premiumFreeTrialDesc": "Ez a funkció kizárólag a Premium Edition-ben érhető el, és most ingyen kipróbálhatja.", + "freeTrial": "Ingyenes próbaidőszak", + "learnMore": "Tudj meg többet", + "limited": "korlátozott", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Rendelje elő a Premium Edition-t most", + "getPremiumEditionNow": "Szerezze be a Premium Edition-t most", + "alreadyHavePremiumLicenseKey": "Már van Premium Edition licenckulcsom", + "licenseKey": "Licenckulcs", + "activatePremium": "Premium Edition aktiválása", + "couldNotActivatePremium": "Nem sikerült aktiválni a Premium Edition-t. Kérjük, adjon meg érvényes licenckulcsot.", + "premiumActivatedSuccessfully": "Premium Edition sikeresen aktiválva.", + "premiumAccessFeatures": "A Premium Edition-nel hozzáférhet további funkciókhoz", + "premiumFeaturesPreOrderDescription": "A bővítmény összes kulcsfontosságú funkciója ingyenesen használható és továbbra is elérhető marad Premium hozzáférés nélkül. A Premium Edition, amely fejlett funkciókat tartalmaz professzionális használatra, még fejlesztés alatt áll. Ha most előrendeli, támogathatja ezeknek a prémium képességeknek a fejlesztését, és nagyszerű áron szerezheti be őket, mielőtt elindulnak.", + "premiumFeaturesDescription": "A bővítmény összes kulcsfontosságú funkciója ingyenesen használható és továbbra is elérhető marad Premium hozzáférés nélkül. További funkciókat kínálunk, hogy fejlett képességeket biztosítsunk professzionális használatra, amelyek a Premium Edition-ben lesznek elérhetők díj ellenében.", + "earlyBirdTicket": "Early Bird Jegy", + "earlyBirdTicketDesc": "Hamarosan elindítjuk a Premium Edition funkciókat, és most kihasználhatja a különleges early-bird ajánlatot, hogy támogassa ezeknek a fejlesztéseknek a fejlesztését. Ha most vásárol, élethosszig tartó hozzáférést kap az összes Premium Edition funkcióhoz. Amint a Premium Edition megjelenik, az early-bird ajánlat megszűnik, és az élethosszig tartó vásárlások már nem lesznek elérhetők.", + "afterPurchase": "A vásárlás után 24 órán belül elküldjük a licenckulcsot az e-mail címére. Használhatja, amint a Premium Edition hivatalosan megjelenik.", + "enterMailForLicenseKey": "Kérjük, adja meg e-mail címét a licenckulcs fogadásához.", + "upcomingFeatures": "Közelgő funkciók", + "treeTabs": "Fa lapok", + "tabHistory": "Lap előzmények", + "cloudSync": "Felhő szinkronizálás", + "advancedPictureInPicture": "Fejlett kép a képben", + "APIAccess": "API hozzáférés", + "customizeMenu": "Menü testreszabása", + "Automation": "Automatizálás" } \ No newline at end of file diff --git a/build/_locales/hy/error.json b/build/_locales/hy/error.json index ec6396f..62e4b03 100644 --- a/build/_locales/hy/error.json +++ b/build/_locales/hy/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Պահված խմբերը խմբագրելի չեն", + "Saved groups are not editable.": "Պահված խմբերը խմբագրելի չեն", "ungroupingError": "Բոլոր ներդիրները խմբավորելը ձախողվեց: {{error}}" } \ No newline at end of file diff --git a/build/_locales/hy/options.json b/build/_locales/hy/options.json index 0686d61..acf9308 100644 --- a/build/_locales/hy/options.json +++ b/build/_locales/hy/options.json @@ -81,6 +81,27 @@ "toolbar_scrollToActiveTab": "Ոլորել դեպի ակտիվ ներդիր" } }, + "tabNav": { + "label": "Ցուցադրել ներդիրների նավիգացիոն տողը", + "description": "Եթե միացված է, ներդիրների նավիգացիոն տողը կցուցադրվի", + "configure": "կարգավորել", + "configureTabNav": "Կարգավորել ներդիրների նավիգացիան", + "enabledNavs": "Միացված նավիգացիաներ", + "disabledNavs": "Անջատված նավիգացիաներ (Հասանելի)", + "showLabel": "Ցուցադրել պիտակը", + "showCount": "Ցուցադրել քանակը", + "days": "Օրեր", + "close": "Փակել", + "save": "Պահպանել", + "settings": "Կարգավորումներ", + "OpenTabs": "Բացված ներդիրներ", + "RecentlyTabs": "Վերջերս փակված ներդիրներ", + "bookmarks": "Էջանիշեր", + "history": "Պատմություն", + "readingList": "Ընթերցման ցուցակ", + "quickAccess": "Արագ մուտք", + "pinToToolbarReminder": "Խնդրում ենք ամրացնել ընդլայնումը ձեր գործիքագոտուն նախքան այս նավիգացիան հեռացնելը։" + }, "bottomNav": { "label": "Ցուցադրել ստորակետ նավարկած տողը", "description": "Եթե միացված է, ստորին նավիգացիոն տողը կցուցադրվի", diff --git a/build/_locales/hy/translation.json b/build/_locales/hy/translation.json index 904d077..ea2b090 100644 --- a/build/_locales/hy/translation.json +++ b/build/_locales/hy/translation.json @@ -151,5 +151,63 @@ "cancel": "Չեղարկել", "fullscreen": "Լրիվ էկրան", "exitFullscreen": "Դուրս գալ լրիվ էկրանից", - "zoom": "Խոշորացում" + "zoom": "Խոշորացում", + "undo": "Հետ շրջել", + "addTabToGroup": "Ավելացնել ներդիրը խմբին", + "newGroup": "Նոր խումբ", + "nameThisGroup": "Անվանել այս խումբը", + "addBookmark": "Ավելացնել էջանիշ", + "editBookmark": "Խմբագրել էջանիշը", + "deleteBookmark": "Ջնջել էջանիշը", + "duplicateBookmarks": "Կրկնօրինակված էջանիշեր", + "folderName": "Թղթապանակի անուն", + "selectParentFolder": "Ընտրել հիմնական թղթապանակը", + "addFolder": "Ավելացնել թղթապանակ", + "editFolder": "Խմբագրել թղթապանակը", + "deleteFolder": "Ջնջել թղթապանակը", + "deleteFolderConfirmation": "Դուք իսկապես ցանկանում եք ջնջել այս թղթապանակը? Այս թղթապանակի բոլոր էջանիշերը (ներառյալ ենթաթղթապանակների էջանիշերը) նույնպես կջնջվեն:", + "containsCountURLs": "Պարունակում է {{count}} URL-ներ", + "openAll": "Բացել բոլորը ({{count}})", + "openAllInNewWindow": "Բացել բոլորը ({{count}}) նոր պատուհանում", + "openAllInIncognitoWindow": "Բացել բոլորը ({{count}}) գաղտնի պատուհանում", + "checkBookmarks": "Ստուգել էջանիշերը", + "hideEmptyFolders": "Թաքցնել դատարկ թղթապանակները", + "displayTreeConnectorLines": "Ցուցադրել ծառի միացնող գծերը", + "showBookmarkUrl": "Ցուցադրել էջանիշի URL-ը", + "bookmarkManager": "Էջանիշերի կառավարիչ", + "default": "Լռելյայն", + "title": "Վերնագիր", + "url": "URL", + "recentlyUsed": "Վերջերս օգտագործված", + "recentlyAdded": "Վերջերս ավելացված", + "switchToListView": "Փոխել ցուցակի դիտման ռեժիմին", + "switchToTreeView": "Փոխել ծառի դիտման ռեժիմին", + "premiumFeatureOnly": "Այս ֆունկցիան հասանելի է միայն Premium Edition-ով:", + "premiumFreeTrialDesc": "Այս ֆունկցիան բացառիկ է Premium Edition-ի համար, և դուք կարող եք փորձել այն անվճար հիմա:", + "freeTrial": "Անվճար փորձարկում", + "learnMore": "Իմացեք ավելին", + "limited": "սահմանափակ", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Նախապատվիրեք Premium Edition-ը հիմա", + "getPremiumEditionNow": "Ստացեք Premium Edition-ը հիմա", + "alreadyHavePremiumLicenseKey": "Ես արդեն ունեմ Premium Edition-ի լիցենզիա բանալի", + "licenseKey": "Լիցենզիա բանալի", + "activatePremium": "Ակտիվացնել Premium Edition-ը", + "couldNotActivatePremium": "Չհաջողվեց ակտիվացնել Premium Edition-ը: Խնդրում ենք մուտքագրել վավեր լիցենզիա բանալի:", + "premiumActivatedSuccessfully": "Premium Edition-ը հաջողությամբ ակտիվացվեց:", + "premiumAccessFeatures": "Premium Edition-ով դուք կստանաք լրացուցիչ ֆունկցիաների հասանելիություն", + "premiumFeaturesPreOrderDescription": "Հավելվածի բոլոր հիմնական ֆունկցիաները անվճար են օգտագործման համար և կմնան հասանելի առանց Premium մուտքի պահանջի: Premium Edition-ը, որը ներառում է պրոֆեսիոնալ օգտագործման համար նախատեսված առաջադեմ ֆունկցիաներ, դեռ մշակման փուլում է: Նախապատվիրելով հիմա, դուք կարող եք աջակցել այս պրեմիում հնարավորությունների զարգացմանը և ստանալ այն հիանալի գնով մինչև դրանց թողարկումը:", + "premiumFeaturesDescription": "Հավելվածի բոլոր հիմնական ֆունկցիաները անվճար են օգտագործման համար և կմնան հասանելի առանց Premium մուտքի պահանջի: Մենք առաջարկում ենք լրացուցիչ ֆունկցիաներ՝ պրոֆեսիոնալ օգտագործման համար առաջադեմ հնարավորություններ ապահովելու համար, որոնք հասանելի կլինեն Premium Edition-ում վճարովի:", + "earlyBirdTicket": "Early Bird տոմս", + "earlyBirdTicketDesc": "Մենք պատրաստվում ենք թողարկել Premium Edition-ի ֆունկցիաները, և դուք այժմ կարող եք օգտվել հատուկ early-bird առաջարկից՝ աջակցելու այս բարելավումների զարգացմանը: Գնելով հիմա, դուք կստանաք բոլոր Premium Edition-ի ֆունկցիաների ցմահ հասանելիություն: Երբ Premium Edition-ը թողարկվի, early-bird առաջարկը կդադարեցվի, և ցմահ գնումները այլևս հասանելի չեն լինի:", + "afterPurchase": "Գնումից հետո մենք կուղարկենք լիցենզիա բանալին ձեր էլ. փոստին 24 ժամվա ընթացքում: Դուք կարող եք օգտագործել այն, երբ Premium Edition-ը պաշտոնապես թողարկվի:", + "enterMailForLicenseKey": "Խնդրում ենք մուտքագրել ձեր էլ. փոստի հասցեն՝ լիցենզիա բանալին ստանալու համար:", + "upcomingFeatures": "Առաջիկա ֆունկցիաներ", + "treeTabs": "Ծառի ներդիրներ", + "tabHistory": "Ներդիրների պատմություն", + "cloudSync": "Ամպային համաժամացում", + "advancedPictureInPicture": "Առաջադեմ պատկեր պատկերի մեջ", + "APIAccess": "API մուտք", + "customizeMenu": "Անհատականացնել մենյուն", + "Automation": "Ավտոմատացում" } \ No newline at end of file diff --git a/build/_locales/id/error.json b/build/_locales/id/error.json index e34e8dc..bffa95a 100644 --- a/build/_locales/id/error.json +++ b/build/_locales/id/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grup yang disimpan tidak dapat diedit", + "Saved groups are not editable.": "Grup yang disimpan tidak dapat diedit", "ungroupingError": "Gagal untuk melepaskan semua tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/id/options.json b/build/_locales/id/options.json index ac79da2..c43ddaa 100644 --- a/build/_locales/id/options.json +++ b/build/_locales/id/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Gulir ke Tab Aktif" } }, + "tabNav": { + "label": "Tampilkan bilah navigasi Tab", + "description": "Jika diaktifkan, bilah navigasi Tab akan ditampilkan", + "configure": "konfigurasi", + "configureTabNav": "Konfigurasi Navigasi Tab", + "enabledNavs": "Navigasi yang Diaktifkan", + "disabledNavs": "Navigasi yang Dinonaktifkan (Tersedia)", + "showLabel": "Tampilkan Label", + "showCount": "Tampilkan Jumlah", + "days": "Hari", + "close": "Tutup", + "save": "Simpan", + "settings": "Pengaturan", + "OpenTabs": "Tab Terbuka", + "RecentlyTabs": "Tab yang Baru Ditutup", + "bookmarks": "Bookmark", + "history": "Riwayat", + "readingList": "Daftar Bacaan", + "quickAccess": "Akses Cepat", + "pinToToolbarReminder": "Harap sematkan ekstensi ke toolbar Anda sebelum menghapus navigasi ini." + }, "bottomNav": { "label": "Tampilkan bilah navigasi bawah", "description": "Jika diaktifkan, bilah navigasi bawah akan muncul", diff --git a/build/_locales/id/translation.json b/build/_locales/id/translation.json index e755a72..635395e 100644 --- a/build/_locales/id/translation.json +++ b/build/_locales/id/translation.json @@ -164,5 +164,63 @@ "cancel": "Batal", "fullscreen": "Layar Penuh", "exitFullscreen": "Keluar Layar Penuh", - "zoom": "Perbesar" + "zoom": "Perbesar", + "undo": "Batalkan", + "addTabToGroup": "Tambahkan tab ke grup", + "newGroup": "Grup baru", + "nameThisGroup": "Nama grup ini", + "addBookmark": "Tambahkan penanda", + "editBookmark": "Edit penanda", + "deleteBookmark": "Hapus penanda", + "duplicateBookmarks": "Duplikat penanda", + "folderName": "Nama folder", + "selectParentFolder": "Pilih folder induk", + "addFolder": "Tambahkan folder", + "editFolder": "Edit folder", + "deleteFolder": "Hapus folder", + "deleteFolderConfirmation": "Apakah Anda benar-benar ingin menghapus folder ini? Semua penanda di folder ini (termasuk penanda di subfolder) juga akan dihapus.", + "containsCountURLs": "Berisi {{count}} URL", + "openAll": "Buka semua ({{count}})", + "openAllInNewWindow": "Buka semua ({{count}}) di jendela baru", + "openAllInIncognitoWindow": "Buka semua ({{count}}) di jendela penyamaran", + "checkBookmarks": "Periksa penanda", + "hideEmptyFolders": "Sembunyikan folder kosong", + "displayTreeConnectorLines": "Tampilkan garis penghubung pohon", + "showBookmarkUrl": "Tampilkan URL penanda", + "bookmarkManager": "Pengelola penanda", + "default": "Default", + "title": "Judul", + "url": "URL", + "recentlyUsed": "Baru saja digunakan", + "recentlyAdded": "Baru saja ditambahkan", + "switchToListView": "Beralih ke tampilan daftar", + "switchToTreeView": "Beralih ke tampilan pohon", + "premiumFeatureOnly": "Fitur ini hanya tersedia dengan Edisi Premium.", + "premiumFreeTrialDesc": "Fitur ini eksklusif untuk Edisi Premium, dan Anda dapat mencobanya secara gratis sekarang.", + "freeTrial": "Uji Coba Gratis", + "learnMore": "Pelajari Lebih Lanjut", + "limited": "terbatas", + "premiumEdition": "Edisi Premium", + "PreOrderPremiumNow": "Pesan Edisi Premium sekarang", + "getPremiumEditionNow": "Dapatkan Edisi Premium sekarang", + "alreadyHavePremiumLicenseKey": "Saya sudah memiliki kunci lisensi Edisi Premium", + "licenseKey": "Kunci Lisensi", + "activatePremium": "Aktifkan Edisi Premium", + "couldNotActivatePremium": "Tidak dapat mengaktifkan Edisi Premium. Harap masukkan kunci lisensi yang valid.", + "premiumActivatedSuccessfully": "Edisi Premium berhasil diaktifkan.", + "premiumAccessFeatures": "Dengan Edisi Premium, Anda akan mendapatkan akses ke fitur tambahan", + "premiumFeaturesPreOrderDescription": "Semua fitur utama ekstensi ini gratis untuk digunakan dan akan tetap dapat diakses tanpa memerlukan akses Premium. Edisi Premium, yang mencakup fitur-fitur canggih yang dirancang untuk penggunaan profesional, masih dalam pengembangan. Dengan memesan sekarang, Anda dapat mendukung pengembangan kemampuan premium ini dan mendapatkannya dengan harga yang bagus sebelum diluncurkan.", + "premiumFeaturesDescription": "Semua fitur utama ekstensi ini gratis untuk digunakan dan akan tetap dapat diakses tanpa memerlukan akses Premium. Kami menawarkan fitur tambahan untuk menyediakan kemampuan canggih untuk penggunaan profesional, yang akan tersedia di Edisi Premium dengan biaya.", + "earlyBirdTicket": "Tiket Early Bird", + "earlyBirdTicketDesc": "Kami akan segera meluncurkan fitur Edisi Premium, dan Anda sekarang dapat memanfaatkan penawaran early-bird khusus untuk mendukung pengembangan peningkatan ini. Dengan membeli sekarang, Anda akan menerima akses seumur hidup ke semua fitur Edisi Premium. Setelah Edisi Premium dirilis, penawaran early-bird akan dihentikan, dan pembelian seumur hidup tidak akan lagi tersedia.", + "afterPurchase": "Setelah pembelian, kami akan mengirimkan Kunci Lisensi ke email Anda dalam waktu 24 jam. Anda dapat menggunakannya setelah Edisi Premium resmi dirilis.", + "enterMailForLicenseKey": "Harap masukkan alamat email Anda untuk menerima kunci lisensi.", + "upcomingFeatures": "Fitur Mendatang", + "treeTabs": "Tab Pohon", + "tabHistory": "Riwayat Tab", + "cloudSync": "Sinkronisasi Cloud", + "advancedPictureInPicture": "Gambar-dalam-Gambar Lanjutan", + "APIAccess": "Akses API", + "customizeMenu": "Sesuaikan Menu", + "Automation": "Otomatisasi" } \ No newline at end of file diff --git a/build/_locales/is/error.json b/build/_locales/is/error.json index 8124bbc..3c749df 100644 --- a/build/_locales/is/error.json +++ b/build/_locales/is/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Vistaðir hópar eru ekki breytanlegir", + "Saved groups are not editable.": "Vistaðir hópar eru ekki breytanlegir", "ungroupingError": "Mistókst að afhópa alla flipa: {{error}}" } \ No newline at end of file diff --git a/build/_locales/is/options.json b/build/_locales/is/options.json index 506097c..f453ede 100644 --- a/build/_locales/is/options.json +++ b/build/_locales/is/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Flettu að virkum flipa" } }, + "tabNav": { + "label": "Sýna flipa siglingarstiku", + "description": "Þegar þetta er virkjað, birtist flipa siglingarstikan", + "configure": "stilla", + "configureTabNav": "Stilla flipa siglingu", + "enabledNavs": "Virkjar siglingar", + "disabledNavs": "Óvirkar siglingar (í boði)", + "showLabel": "Sýna merki", + "showCount": "Sýna fjölda", + "days": "Dagar", + "close": "Loka", + "save": "Vista", + "settings": "Stillingar", + "OpenTabs": "Opið flipar", + "RecentlyTabs": "Nýlega lokaðir flipar", + "bookmarks": "Bókamerki", + "history": "Saga", + "readingList": "Leslisti", + "quickAccess": "Flýtiaðgangur", + "pinToToolbarReminder": "Vinsamlegast festu viðbótina á tækjastikuna áður en þú fjarlægir þessa siglingu." + }, "bottomNav": { "label": "Sýna neðri siglingarstiku", "description": "Þegar þetta er virkjað, birtist neðri siglingarstikan", diff --git a/build/_locales/is/translation.json b/build/_locales/is/translation.json index f15fe42..020b049 100644 --- a/build/_locales/is/translation.json +++ b/build/_locales/is/translation.json @@ -151,5 +151,63 @@ "cancel": "Hætta við", "fullscreen": "Fylla skjá", "exitFullscreen": "Hætta við fyllingu skjás", - "zoom": "Aðdráttur" + "zoom": "Aðdráttur", + "undo": "Afturkalla", + "addTabToGroup": "Bæta flipa við hóp", + "newGroup": "Nýr hópur", + "nameThisGroup": "Nefna þennan hóp", + "addBookmark": "Bæta við bókamerki", + "editBookmark": "Breyta bókamerki", + "deleteBookmark": "Eyða bókamerki", + "duplicateBookmarks": "Afrita bókamerki", + "folderName": "Heiti möppu", + "selectParentFolder": "Velja yfirmöppu", + "addFolder": "Bæta við möppu", + "editFolder": "Breyta möppu", + "deleteFolder": "Eyða möppu", + "deleteFolderConfirmation": "Viltu virkilega eyða þessari möppu? Öllum bókamerkjum í þessari möppu (þar með talið bókamerkjum í undirmöppum) verður einnig eytt.", + "containsCountURLs": "Inniheldur {{count}} vefslóðir", + "openAll": "Opna allt ({{count}})", + "openAllInNewWindow": "Opna allt ({{count}}) í nýjum glugga", + "openAllInIncognitoWindow": "Opna allt ({{count}}) í nafnlausum glugga", + "checkBookmarks": "Athuga bókamerki", + "hideEmptyFolders": "Fela tómar möppur", + "displayTreeConnectorLines": "Birta tengilínur trés", + "showBookmarkUrl": "Birta vefslóð bókamerkis", + "bookmarkManager": "Bókamerkjastjóri", + "default": "Sjálfgefið", + "title": "Titill", + "url": "Vefslóð", + "recentlyUsed": "Nýlega notað", + "recentlyAdded": "Nýlega bætt við", + "switchToListView": "Skipta yfir í listaútsýni", + "switchToTreeView": "Skipta yfir í trjáútsýni", + "premiumFeatureOnly": "Þessi eiginleiki er aðeins í boði með Premium útgáfu.", + "premiumFreeTrialDesc": "Þessi eiginleiki er eingöngu í boði með Premium útgáfu, og þú getur prófað hann ókeypis núna.", + "freeTrial": "Ókeypis prufuáskrift", + "learnMore": "Læra meira", + "limited": "takmarkað", + "premiumEdition": "Premium útgáfa", + "PreOrderPremiumNow": "Pantaðu Premium útgáfu núna", + "getPremiumEditionNow": "Fáðu Premium útgáfu núna", + "alreadyHavePremiumLicenseKey": "Ég er nú þegar með Premium útgáfu leyfislykil", + "licenseKey": "Leyfislykill", + "activatePremium": "Virkja Premium útgáfu", + "couldNotActivatePremium": "Gat ekki virkjað Premium útgáfu. Vinsamlegast sláðu inn gildan leyfislykil.", + "premiumActivatedSuccessfully": "Premium útgáfa virkjuð með góðum árangri.", + "premiumAccessFeatures": "Með Premium útgáfu færðu aðgang að viðbótareiginleikum", + "premiumFeaturesPreOrderDescription": "Allir lykileiginleikar viðbótarinnar eru ókeypis til notkunar og verða áfram aðgengilegir án þess að þurfa Premium aðgang. Premium útgáfan, sem inniheldur háþróaða eiginleika hannaða fyrir faglega notkun, er enn í þróun. Með því að panta núna geturðu stutt þróun þessara háþróuðu eiginleika og fengið hana á frábæru verði áður en þeir koma á markað.", + "premiumFeaturesDescription": "Allir lykileiginleikar viðbótarinnar eru ókeypis til notkunar og verða áfram aðgengilegir án þess að þurfa Premium aðgang. Við bjóðum upp á viðbótareiginleika til að veita háþróaða eiginleika fyrir faglega notkun, sem verða í boði í Premium útgáfu gegn gjaldi.", + "earlyBirdTicket": "Fyrirfram miði", + "earlyBirdTicketDesc": "Við erum að fara að setja á markað Premium útgáfu eiginleika, og þú getur nú nýtt þér sérstakt tilboð fyrirfram til að styðja við þróun þessara endurbóta. Með því að kaupa núna færðu ævilangan aðgang að öllum Premium útgáfu eiginleikum. Þegar Premium útgáfan er gefin út verður tilboðið fyrirfram hætt og ævilangar kaup verða ekki lengur í boði.", + "afterPurchase": "Eftir kaup sendum við leyfislykilinn á netfangið þitt innan 24 klukkustunda. Þú getur notað hann þegar Premium útgáfan er formlega gefin út.", + "enterMailForLicenseKey": "Vinsamlegast sláðu inn netfangið þitt til að fá leyfislykilinn.", + "upcomingFeatures": "Komandi eiginleikar", + "treeTabs": "Tré flipar", + "tabHistory": "Flipasaga", + "cloudSync": "Skýjasykronun", + "advancedPictureInPicture": "Háþróað mynd í mynd", + "APIAccess": "API aðgangur", + "customizeMenu": "Sérsníða valmynd", + "Automation": "Sjálfvirkni" } \ No newline at end of file diff --git a/build/_locales/it/error.json b/build/_locales/it/error.json index 92fb6a1..78ee871 100644 --- a/build/_locales/it/error.json +++ b/build/_locales/it/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "I gruppi salvati non sono modificabili", + "Saved groups are not editable.": "I gruppi salvati non sono modificabili", "ungroupingError": "Impossibile separare tutte le schede: {{error}}" } \ No newline at end of file diff --git a/build/_locales/it/options.json b/build/_locales/it/options.json index 2712821..dbb70b1 100644 --- a/build/_locales/it/options.json +++ b/build/_locales/it/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scorri alla scheda attiva" } }, + "tabNav": { + "label": "Mostra barra di navigazione delle schede", + "description": "Quando abilitata, la barra di navigazione delle schede viene visualizzata", + "configure": "configura", + "configureTabNav": "Configura Navigazione Schede", + "enabledNavs": "Navigazioni Abilitate", + "disabledNavs": "Navigazioni Disabilitate (Disponibili)", + "showLabel": "Mostra Etichetta", + "showCount": "Mostra Conteggio", + "days": "Giorni", + "close": "Chiudi", + "save": "Salva", + "settings": "Impostazioni", + "OpenTabs": "Schede Aperte", + "RecentlyTabs": "Schede Chiuse di Recente", + "bookmarks": "Segnalibri", + "history": "Cronologia", + "readingList": "Elenco di Lettura", + "quickAccess": "Accesso Rapido", + "pinToToolbarReminder": "Per favore, aggiungi l'estensione alla barra degli strumenti prima di rimuovere questa navigazione." + }, "bottomNav": { "label": "Mostra barra di navigazione inferiore", "description": "Quando attivata, la barra di navigazione inferiore sarà visibile", diff --git a/build/_locales/it/translation.json b/build/_locales/it/translation.json index b2c1e2b..d75e889 100644 --- a/build/_locales/it/translation.json +++ b/build/_locales/it/translation.json @@ -164,5 +164,63 @@ "cancel": "Annulla", "fullscreen": "Schermo intero", "exitFullscreen": "Esci da schermo intero", - "zoom": "Ingrandisci" + "zoom": "Ingrandisci", + "undo": "Annulla", + "addTabToGroup": "Aggiungi scheda al gruppo", + "newGroup": "Nuovo gruppo", + "nameThisGroup": "Dai un nome a questo gruppo", + "addBookmark": "Aggiungi segnalibro", + "editBookmark": "Modifica segnalibro", + "deleteBookmark": "Elimina segnalibro", + "duplicateBookmarks": "Duplica segnalibri", + "folderName": "Nome cartella", + "selectParentFolder": "Seleziona cartella principale", + "addFolder": "Aggiungi cartella", + "editFolder": "Modifica cartella", + "deleteFolder": "Elimina cartella", + "deleteFolderConfirmation": "Vuoi davvero eliminare questa cartella? Tutti i segnalibri in questa cartella (inclusi i segnalibri nelle sottocartelle) verranno eliminati.", + "containsCountURLs": "Contiene {{count}} URL", + "openAll": "Apri tutto ({{count}})", + "openAllInNewWindow": "Apri tutto ({{count}}) in una nuova finestra", + "openAllInIncognitoWindow": "Apri tutto ({{count}}) in una finestra in incognito", + "checkBookmarks": "Controlla segnalibri", + "hideEmptyFolders": "Nascondi cartelle vuote", + "displayTreeConnectorLines": "Mostra linee di collegamento ad albero", + "showBookmarkUrl": "Mostra URL segnalibro", + "bookmarkManager": "Gestore segnalibri", + "default": "Predefinito", + "title": "Titolo", + "url": "URL", + "recentlyUsed": "Usato di recente", + "recentlyAdded": "Aggiunto di recente", + "switchToListView": "Passa alla visualizzazione elenco", + "switchToTreeView": "Passa alla visualizzazione ad albero", + "premiumFeatureOnly": "Questa funzione è disponibile solo con l'edizione Premium.", + "premiumFreeTrialDesc": "Questa funzione è esclusiva dell'edizione Premium, e puoi provarla gratuitamente ora.", + "freeTrial": "Prova gratuita", + "learnMore": "Scopri di più", + "limited": "limitato", + "premiumEdition": "Edizione Premium", + "PreOrderPremiumNow": "Preordina ora l'edizione Premium", + "getPremiumEditionNow": "Ottieni ora l'edizione Premium", + "alreadyHavePremiumLicenseKey": "Ho già una chiave di licenza per l'edizione Premium", + "licenseKey": "Chiave di licenza", + "activatePremium": "Attiva edizione Premium", + "couldNotActivatePremium": "Impossibile attivare l'edizione Premium. Inserisci una chiave di licenza valida.", + "premiumActivatedSuccessfully": "Edizione Premium attivata con successo.", + "premiumAccessFeatures": "Con l'edizione Premium, avrai accesso a funzionalità aggiuntive", + "premiumFeaturesPreOrderDescription": "Tutte le funzionalità principali dell'estensione sono gratuite e rimarranno accessibili senza richiedere l'accesso Premium. L'edizione Premium, che include funzionalità avanzate progettate per uso professionale, è ancora in fase di sviluppo. Preordinando ora, puoi supportare lo sviluppo di queste capacità premium e ottenerle a un ottimo prezzo prima del lancio.", + "premiumFeaturesDescription": "Tutte le funzionalità principali dell'estensione sono gratuite e rimarranno accessibili senza richiedere l'accesso Premium. Offriamo funzionalità aggiuntive per fornire capacità avanzate per uso professionale, che saranno disponibili nell'edizione Premium a pagamento.", + "earlyBirdTicket": "Biglietto Early Bird", + "earlyBirdTicketDesc": "Stiamo per lanciare le funzionalità dell'edizione Premium, e ora puoi approfittare di un'offerta speciale early-bird per supportare lo sviluppo di questi miglioramenti. Acquistando ora, riceverai l'accesso a vita a tutte le funzionalità dell'edizione Premium. Una volta rilasciata l'edizione Premium, l'offerta early-bird sarà interrotta e gli acquisti a vita non saranno più disponibili.", + "afterPurchase": "Dopo l'acquisto, invieremo la chiave di licenza alla tua email entro 24 ore. Potrai usarla una volta che l'edizione Premium sarà ufficialmente rilasciata.", + "enterMailForLicenseKey": "Inserisci il tuo indirizzo email per ricevere la chiave di licenza.", + "upcomingFeatures": "Funzionalità in arrivo", + "treeTabs": "Schede ad albero", + "tabHistory": "Cronologia schede", + "cloudSync": "Sincronizzazione cloud", + "advancedPictureInPicture": "Picture-in-Picture avanzato", + "APIAccess": "Accesso API", + "customizeMenu": "Personalizza menu", + "Automation": "Automazione" } \ No newline at end of file diff --git a/build/_locales/ja/error.json b/build/_locales/ja/error.json index 45d35bc..f18e65f 100644 --- a/build/_locales/ja/error.json +++ b/build/_locales/ja/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "保存されたグループは編集できません", + "Saved groups are not editable.": "保存されたグループは編集できません", "ungroupingError": "すべてのタブのグループ解除に失敗しました: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ja/options.json b/build/_locales/ja/options.json index 9d86cd6..a09bb16 100644 --- a/build/_locales/ja/options.json +++ b/build/_locales/ja/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "アクティブなタブにスクロール" } }, + "tabNav": { + "label": "タブナビゲーションバーを表示", + "description": "有効にすると、タブナビゲーションバーが表示されます", + "configure": "設定", + "configureTabNav": "タブナビゲーションの設定", + "enabledNavs": "有効なナビゲーション", + "disabledNavs": "無効なナビゲーション(利用可能)", + "showLabel": "ラベルを表示", + "showCount": "カウントを表示", + "days": "日", + "close": "閉じる", + "save": "保存", + "settings": "設定", + "OpenTabs": "開いているタブ", + "RecentlyTabs": "最近閉じたタブ", + "bookmarks": "ブックマーク", + "history": "履歴", + "readingList": "リーディングリスト", + "quickAccess": "クイックアクセス", + "pinToToolbarReminder": "このナビゲーションを削除する前に、拡張機能をツールバーにピン留めしてください。" + }, "bottomNav": { "label": "下部ナビゲーションバーを表示", "description": "有効にすると、下部ナビゲーションバーが表示されます", diff --git a/build/_locales/ja/translation.json b/build/_locales/ja/translation.json index d51cdf6..15e68d5 100644 --- a/build/_locales/ja/translation.json +++ b/build/_locales/ja/translation.json @@ -164,5 +164,63 @@ "cancel": "キャンセル", "fullscreen": "全画面表示", "exitFullscreen": "全画面表示を終了", - "zoom": "ズーム" + "zoom": "ズーム", + "undo": "元に戻す", + "addTabToGroup": "タブをグループに追加", + "newGroup": "新しいグループ", + "nameThisGroup": "このグループに名前を付ける", + "addBookmark": "ブックマークを追加", + "editBookmark": "ブックマークを編集", + "deleteBookmark": "ブックマークを削除", + "duplicateBookmarks": "ブックマークを複製", + "folderName": "フォルダ名", + "selectParentFolder": "親フォルダを選択", + "addFolder": "フォルダを追加", + "editFolder": "フォルダを編集", + "deleteFolder": "フォルダを削除", + "deleteFolderConfirmation": "本当にこのフォルダを削除しますか?このフォルダ内のすべてのブックマーク(サブフォルダ内のブックマークも含む)も削除されます。", + "containsCountURLs": "{{count}} 個のURLを含む", + "openAll": "すべて開く ({{count}})", + "openAllInNewWindow": "新しいウィンドウですべて開く ({{count}})", + "openAllInIncognitoWindow": "シークレットウィンドウですべて開く ({{count}})", + "checkBookmarks": "ブックマークをチェック", + "hideEmptyFolders": "空のフォルダを隠す", + "displayTreeConnectorLines": "ツリー接続線を表示", + "showBookmarkUrl": "ブックマークURLを表示", + "bookmarkManager": "ブックマークマネージャー", + "default": "デフォルト", + "title": "タイトル", + "url": "URL", + "recentlyUsed": "最近使用", + "recentlyAdded": "最近追加", + "switchToListView": "リストビューに切り替え", + "switchToTreeView": "ツリービューに切り替え", + "premiumFeatureOnly": "この機能はプレミアムエディションでのみ利用可能です。", + "premiumFreeTrialDesc": "この機能はプレミアムエディション専用で、今すぐ無料でお試しいただけます。", + "freeTrial": "無料トライアル", + "learnMore": "詳細を確認", + "limited": "限定", + "premiumEdition": "プレミアムエディション", + "PreOrderPremiumNow": "今すぐプレミアムエディションを予約注文", + "getPremiumEditionNow": "今すぐプレミアムエディションを入手", + "alreadyHavePremiumLicenseKey": "すでにプレミアムエディションのライセンスキーを持っています", + "licenseKey": "ライセンスキー", + "activatePremium": "プレミアムエディションを有効化", + "couldNotActivatePremium": "プレミアムエディションを有効化できませんでした。有効なライセンスキーを入力してください。", + "premiumActivatedSuccessfully": "プレミアムエディションが正常に有効化されました。", + "premiumAccessFeatures": "プレミアムエディションでは、追加機能にアクセスできます", + "premiumFeaturesPreOrderDescription": "拡張機能のすべての主要機能は無料で使用でき、プレミアムアクセスを必要とせずにアクセス可能なままです。プレミアムエディションには、プロフェッショナルな使用のために設計された高度な機能が含まれており、現在開発中です。今すぐ予約注文することで、これらのプレミアム機能の開発をサポートし、リリース前にお得な価格で入手できます。", + "premiumFeaturesDescription": "拡張機能のすべての主要機能は無料で使用でき、プレミアムアクセスを必要とせずにアクセス可能なままです。プロフェッショナルな使用のために高度な機能を提供する追加機能を提供しており、これらはプレミアムエディションで有料で利用可能になります。", + "earlyBirdTicket": "早期割引チケット", + "earlyBirdTicketDesc": "プレミアムエディションの機能をまもなくリリースします。今すぐ特別な早期割引オファーを利用して、これらの機能の開発をサポートできます。今すぐ購入することで、プレミアムエディションのすべての機能に生涯アクセスできます。プレミアムエディションがリリースされると、早期割引オファーは終了し、生涯購入は利用できなくなります。", + "afterPurchase": "購入後、24時間以内にライセンスキーをメールで送信します。プレミアムエディションが正式にリリースされたら使用できます。", + "enterMailForLicenseKey": "ライセンスキーを受け取るためにメールアドレスを入力してください。", + "upcomingFeatures": "今後の機能", + "treeTabs": "ツリータブ", + "tabHistory": "タブ履歴", + "cloudSync": "クラウド同期", + "advancedPictureInPicture": "高度なピクチャーインピクチャー", + "APIAccess": "APIアクセス", + "customizeMenu": "メニューをカスタマイズ", + "Automation": "自動化" } \ No newline at end of file diff --git a/build/_locales/kn/error.json b/build/_locales/kn/error.json index a0dea7f..97a0c73 100644 --- a/build/_locales/kn/error.json +++ b/build/_locales/kn/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "ಸೇವ್ ಮಾಡಿದ ಗುಂಪುಗಳನ್ನು ಸಂಪಾದಿಸಲು ಸಾಧ್ಯವಿಲ್ಲ", + "Saved groups are not editable.": "ಸೇವ್ ಮಾಡಿದ ಗುಂಪುಗಳನ್ನು ಸಂಪಾದಿಸಲು ಸಾಧ್ಯವಿಲ್ಲ", "ungroupingError": "ಎಲ್ಲಾ ಟ್ಯಾಬ್‌ಗಳನ್ನು ಗುಂಪು ಬಿಡಿಸಲು ವಿಫಲವಾಗಿದೆ: {{error}}" } \ No newline at end of file diff --git a/build/_locales/kn/options.json b/build/_locales/kn/options.json index 59186f4..2dc5bac 100644 --- a/build/_locales/kn/options.json +++ b/build/_locales/kn/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "ಸಕ್ರಿಯ ಟ್ಯಾಬ್‌ಗೆ ಸ್ಕ್ರೋಲ್ ಮಾಡಿ" } }, + "tabNav": { + "label": "ಟ್ಯಾಬ್ ನಾವಿಗೇಶನ್ ಬಾರ್ ತೋರಿಸಿ", + "description": "ಸಕ್ರಿಯಗೊಳಿಸಿದಾಗ, ಟ್ಯಾಬ್ ನಾವಿಗೇಶನ್ ಬಾರ್ ತೋರಿಸಲಾಗುತ್ತದೆ", + "configure": "ಹೊಂದಿಸಿ", + "configureTabNav": "ಟ್ಯಾಬ್ ನಾವಿಗೇಶನ್ ಅನ್ನು ಹೊಂದಿಸಿ", + "enabledNavs": "ಸಕ್ರಿಯಗೊಳಿಸಿದ ನಾವಿಗೇಶನ್‌ಗಳು", + "disabledNavs": "ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿದ ನಾವಿಗೇಶನ್‌ಗಳು (ಲಭ್ಯವಿದೆ)", + "showLabel": "ಲೇಬಲ್ ತೋರಿಸಿ", + "showCount": "ಎಣಿಕೆ ತೋರಿಸಿ", + "days": "ದಿನಗಳು", + "close": "ಮುಚ್ಚಿ", + "save": "ಉಳಿಸಿ", + "settings": "ಸೆಟ್ಟಿಂಗ್ಗಳು", + "OpenTabs": "ತೆರೆದ ಟ್ಯಾಬ್‌ಗಳು", + "RecentlyTabs": "ಇತ್ತೀಚೆಗೆ ಮುಚ್ಚಿದ ಟ್ಯಾಬ್‌ಗಳು", + "bookmarks": "ಬುಕ್‌ಮಾರ್ಕ್‌ಗಳು", + "history": "ಇತಿಹಾಸ", + "readingList": "ಓದುತ್ತಿರುವ ಪಟ್ಟಿ", + "quickAccess": "ತ್ವರಿತ ಪ್ರವೇಶ", + "pinToToolbarReminder": "ಈ ನಾವಿಗೇಶನ್ ಅನ್ನು ತೆಗೆದುಹಾಕುವ ಮೊದಲು ದಯವಿಟ್ಟು ವಿಸ್ತರಣೆಯನ್ನು ನಿಮ್ಮ ಟೂಲ್‌ಬಾರ್‌ಗೆ ಪಿನ್ ಮಾಡಿ." + }, "bottomNav": { "label": "ಕೆಳಗಿನ ನಾವಿಗೇಶನ್ ಬಾರ್ ತೋರಿಸಿ", "description": "ಸಕ್ರಿಯಗೊಳಿಸಿದಾಗ, ಕೆಳಗಿನ ನಾವಿಗೇಶನ್ ಬಾರ್ ತೋರಿಸಲಾಗುತ್ತದೆ", diff --git a/build/_locales/kn/translation.json b/build/_locales/kn/translation.json index 4a60f34..c60aaec 100644 --- a/build/_locales/kn/translation.json +++ b/build/_locales/kn/translation.json @@ -164,5 +164,63 @@ "cancel": "ರದ್ದುಮಾಡಿ", "fullscreen": "ಪೂರ್ಣ ಪರದೆ", "exitFullscreen": "ಪೂರ್ಣ ಪರದೆ ನಿಲ್ಲಿಸಿ", - "zoom": "ಜೂಮ್" + "zoom": "ಜೂಮ್", + "undo": "ರದ್ದುಮಾಡಿ", + "addTabToGroup": "ಗುಂಪಿಗೆ ಟ್ಯಾಬ್ ಸೇರಿಸಿ", + "newGroup": "ಹೊಸ ಗುಂಪು", + "nameThisGroup": "ಈ ಗುಂಪಿಗೆ ಹೆಸರು ನೀಡಿ", + "addBookmark": "ಬುಕ್‌ಮಾರ್ಕ್ ಸೇರಿಸಿ", + "editBookmark": "ಬುಕ್‌ಮಾರ್ಕ್ ತಿದ್ದು", + "deleteBookmark": "ಬುಕ್‌ಮಾರ್ಕ್ ಅಳಿಸಿ", + "duplicateBookmarks": "ನಕಲು ಬುಕ್‌ಮಾರ್ಕ್‌ಗಳು", + "folderName": "ಕೋಶದ ಹೆಸರು", + "selectParentFolder": "ಪೋಷಕ ಕೋಶವನ್ನು ಆಯ್ಕೆಮಾಡಿ", + "addFolder": "ಕೋಶ ಸೇರಿಸಿ", + "editFolder": "ಕೋಶ ತಿದ್ದು", + "deleteFolder": "ಕೋಶ ಅಳಿಸಿ", + "deleteFolderConfirmation": "ನೀವು ಈ ಕೋಶವನ್ನು ನಿಜವಾಗಿಯೂ ಅಳಿಸಲು ಬಯಸುವಿರಾ? ಈ ಕೋಶದಲ್ಲಿರುವ ಎಲ್ಲಾ ಬುಕ್‌ಮಾರ್ಕ್‌ಗಳು (ಉಪಕೋಶಗಳಲ್ಲಿ ಇರುವ ಬುಕ್‌ಮಾರ್ಕ್‌ಗಳನ್ನು ಒಳಗೊಂಡಂತೆ) ಕೂಡ ಅಳಿಸಲಾಗುತ್ತದೆ.", + "containsCountURLs": "{{count}} URLಗಳನ್ನು ಒಳಗೊಂಡಿದೆ", + "openAll": "ಎಲ್ಲಾ ತೆರೆಯಿರಿ ({{count}})", + "openAllInNewWindow": "ಎಲ್ಲಾ ({{count}}) ಹೊಸ ಕಿಟಕಿಯಲ್ಲಿ ತೆರೆಯಿರಿ", + "openAllInIncognitoWindow": "ಎಲ್ಲಾ ({{count}}) ಇನ್‌ಕಾಗ್ನಿಟೊ ಕಿಟಕಿಯಲ್ಲಿ ತೆರೆಯಿರಿ", + "checkBookmarks": "ಬುಕ್‌ಮಾರ್ಕ್‌ಗಳನ್ನು ಪರಿಶೀಲಿಸಿ", + "hideEmptyFolders": "ಖಾಲಿ ಕೋಶಗಳನ್ನು ಮರೆಮಾಡಿ", + "displayTreeConnectorLines": "ಮರ ಸಂಪರ್ಕ ರೇಖೆಗಳನ್ನು ತೋರಿಸಿ", + "showBookmarkUrl": "ಬುಕ್‌ಮಾರ್ಕ್ URL ತೋರಿಸಿ", + "bookmarkManager": "ಬುಕ್‌ಮಾರ್ಕ್ ನಿರ್ವಾಹಕ", + "default": "ಡೀಫಾಲ್ಟ್", + "title": "ಶೀರ್ಷಿಕೆ", + "url": "URL", + "recentlyUsed": "ಇತ್ತೀಚೆಗೆ ಬಳಸಿದ", + "recentlyAdded": "ಇತ್ತೀಚೆಗೆ ಸೇರಿಸಲಾಗಿದೆ", + "switchToListView": "ಪಟ್ಟಿ ವೀಕ್ಷಣೆಗೆ ಬದಲಾಯಿಸಿ", + "switchToTreeView": "ಮರ ವೀಕ್ಷಣೆಗೆ ಬದಲಾಯಿಸಿ", + "premiumFeatureOnly": "ಈ ವೈಶಿಷ್ಟ್ಯವು ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯೊಂದಿಗೆ ಮಾತ್ರ ಲಭ್ಯವಿದೆ.", + "premiumFreeTrialDesc": "ಈ ವೈಶಿಷ್ಟ್ಯವು ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಗೆ ವಿಶೇಷವಾಗಿದೆ, ಮತ್ತು ನೀವು ಈಗ ಉಚಿತವಾಗಿ ಪ್ರಯತ್ನಿಸಬಹುದು.", + "freeTrial": "ಉಚಿತ ಪ್ರಯೋಗ", + "learnMore": "ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ", + "limited": "ಮಿತ", + "premiumEdition": "ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ", + "PreOrderPremiumNow": "ಈಗ ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯನ್ನು ಮುಂಗಡವಾಗಿ ಆರ್ಡರ್ ಮಾಡಿ", + "getPremiumEditionNow": "ಈಗ ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯನ್ನು ಪಡೆಯಿರಿ", + "alreadyHavePremiumLicenseKey": "ನನಗೆ ಈಗಾಗಲೇ ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯ ಪರವಾನಗಿ ಕೀ ಇದೆ", + "licenseKey": "ಪರವಾನಗಿ ಕೀ", + "activatePremium": "ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ", + "couldNotActivatePremium": "ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ. ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ ಪರವಾನಗಿ ಕೀ ನಮೂದಿಸಿ.", + "premiumActivatedSuccessfully": "ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ ಯಶಸ್ವಿಯಾಗಿ ಸಕ್ರಿಯಗೊಂಡಿದೆ.", + "premiumAccessFeatures": "ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯೊಂದಿಗೆ, ನೀವು ಹೆಚ್ಚುವರಿ ವೈಶಿಷ್ಟ್ಯಗಳಿಗೆ ಪ್ರವೇಶ ಪಡೆಯುತ್ತೀರಿ", + "premiumFeaturesPreOrderDescription": "ವಿಸ್ತರಣೆಯ ಎಲ್ಲಾ ಪ್ರಮುಖ ವೈಶಿಷ್ಟ್ಯಗಳನ್ನು ಉಚಿತವಾಗಿ ಬಳಸಬಹುದು ಮತ್ತು ಪ್ರೀಮಿಯಂ ಪ್ರವೇಶವನ್ನು ಅಗತ್ಯವಿಲ್ಲದೆ ಲಭ್ಯವಿರುತ್ತದೆ. ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ, ವೃತ್ತಿಪರ ಬಳಕೆಗೆ ವಿನ್ಯಾಸಗೊಳಿಸಲಾದ ಉನ್ನತ ವೈಶಿಷ್ಟ್ಯಗಳನ್ನು ಒಳಗೊಂಡಿದೆ, ಇನ್ನೂ ಅಭಿವೃದ್ಧಿಯಲ್ಲಿದೆ. ಈಗ ಮುಂಗಡವಾಗಿ ಆರ್ಡರ್ ಮಾಡುವ ಮೂಲಕ, ನೀವು ಈ ಪ್ರೀಮಿಯಂ ಸಾಮರ್ಥ್ಯಗಳ ಅಭಿವೃದ್ಧಿಯನ್ನು ಬೆಂಬಲಿಸಬಹುದು ಮತ್ತು ಅವು ಪ್ರಾರಂಭವಾಗುವ ಮೊದಲು ಅದನ್ನು ಉತ್ತಮ ಬೆಲೆಗೆ ಪಡೆಯಬಹುದು.", + "premiumFeaturesDescription": "ವಿಸ್ತರಣೆಯ ಎಲ್ಲಾ ಪ್ರಮುಖ ವೈಶಿಷ್ಟ್ಯಗಳನ್ನು ಉಚಿತವಾಗಿ ಬಳಸಬಹುದು ಮತ್ತು ಪ್ರೀಮಿಯಂ ಪ್ರವೇಶವನ್ನು ಅಗತ್ಯವಿಲ್ಲದೆ ಲಭ್ಯವಿರುತ್ತದೆ. ನಾವು ವೃತ್ತಿಪರ ಬಳಕೆಗೆ ಉನ್ನತ ಸಾಮರ್ಥ್ಯಗಳನ್ನು ಒದಗಿಸಲು ಹೆಚ್ಚುವರಿ ವೈಶಿಷ್ಟ್ಯಗಳನ್ನು ನೀಡುತ್ತೇವೆ, ಅವು ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿಯಲ್ಲಿ ಶುಲ್ಕಕ್ಕಾಗಿ ಲಭ್ಯವಿರುತ್ತದೆ.", + "earlyBirdTicket": "ಅಗತ್ಯವಿರುವ ಟಿಕೆಟ್", + "earlyBirdTicketDesc": "ನಾವು ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ ವೈಶಿಷ್ಟ್ಯಗಳನ್ನು ಪ್ರಾರಂಭಿಸಲು ಸಿದ್ಧವಾಗಿದ್ದೇವೆ, ಮತ್ತು ನೀವು ಈಗ ಈ ಸುಧಾರಣೆಗಳ ಅಭಿವೃದ್ಧಿಯನ್ನು ಬೆಂಬಲಿಸಲು ವಿಶೇಷ ಅಗತ್ಯವಿರುವ ಆಫರ್ ಅನ್ನು ಬಳಸಬಹುದು. ಈಗ ಖರೀದಿಸುವ ಮೂಲಕ, ನೀವು ಎಲ್ಲಾ ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ ವೈಶಿಷ್ಟ್ಯಗಳಿಗೆ ಜೀವನಕಾಲದ ಪ್ರವೇಶವನ್ನು ಪಡೆಯುತ್ತೀರಿ. ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ ಬಿಡುಗಡೆಗೊಂಡ ನಂತರ, ಅಗತ್ಯವಿರುವ ಆಫರ್ ಸ್ಥಗಿತಗೊಳ್ಳುತ್ತದೆ, ಮತ್ತು ಜೀವನಕಾಲದ ಖರೀದಿಗಳು ಲಭ್ಯವಿರುವುದಿಲ್ಲ.", + "afterPurchase": "ಖರೀದಿಯ ನಂತರ, ನಾವು 24 ಗಂಟೆಗಳ ಒಳಗೆ ನಿಮ್ಮ ಇಮೇಲ್‌ಗೆ ಪರವಾನಗಿ ಕೀ ಅನ್ನು ಕಳುಹಿಸುತ್ತೇವೆ. ಪ್ರೀಮಿಯಂ ಆವೃತ್ತಿ ಅಧಿಕೃತವಾಗಿ ಬಿಡುಗಡೆಗೊಂಡ ನಂತರ ನೀವು ಅದನ್ನು ಬಳಸಬಹುದು.", + "enterMailForLicenseKey": "ಪರವಾನಗಿ ಕೀ ಸ್ವೀಕರಿಸಲು ದಯವಿಟ್ಟು ನಿಮ್ಮ ಇಮೇಲ್ ವಿಳಾಸವನ್ನು ನಮೂದಿಸಿ.", + "upcomingFeatures": "ಮುಂಬರುವ ವೈಶಿಷ್ಟ್ಯಗಳು", + "treeTabs": "ಮರ ಟ್ಯಾಬ್‌ಗಳು", + "tabHistory": "ಟ್ಯಾಬ್ ಇತಿಹಾಸ", + "cloudSync": "ಮೇಘ ಸಮನ್ವಯ", + "advancedPictureInPicture": "ಅಧಿಕೃತ ಚಿತ್ರ-ಇನ್-ಚಿತ್ರ", + "APIAccess": "API ಪ್ರವೇಶ", + "customizeMenu": "ಮೆನು ಕಸ್ಟಮೈಸ್ ಮಾಡಿ", + "Automation": "ಸ್ವಯಂಚಾಲಿತ" } \ No newline at end of file diff --git a/build/_locales/ko/error.json b/build/_locales/ko/error.json index bc2d7bb..d12f529 100644 --- a/build/_locales/ko/error.json +++ b/build/_locales/ko/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "저장된 그룹은 편집할 수 없습니다", + "Saved groups are not editable.": "저장된 그룹은 편집할 수 없습니다", "ungroupingError": "모든 탭의 그룹 해제에 실패했습니다: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ko/options.json b/build/_locales/ko/options.json index e5edb98..a32463d 100644 --- a/build/_locales/ko/options.json +++ b/build/_locales/ko/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "활성 탭으로 스크롤" } }, + "tabNav": { + "label": "탭 탐색 표시줄 표시", + "description": "활성화되면 탭 탐색 표시줄이 나타납니다", + "configure": "설정", + "configureTabNav": "탭 탐색 설정", + "enabledNavs": "활성화된 탐색", + "disabledNavs": "비활성화된 탐색 (사용 가능)", + "showLabel": "레이블 표시", + "showCount": "개수 표시", + "days": "일", + "close": "닫기", + "save": "저장", + "settings": "설정", + "OpenTabs": "열린 탭", + "RecentlyTabs": "최근 닫은 탭", + "bookmarks": "북마크", + "history": "기록", + "readingList": "읽기 목록", + "quickAccess": "빠른 접근", + "pinToToolbarReminder": "이 탐색을 제거하기 전에 확장 프로그램을 도구 모음에 고정하세요." + }, "bottomNav": { "label": "하단 탐색 표시줄 표시", "description": "활성화되면 하단 탐색 표시줄이 나타납니다", diff --git a/build/_locales/ko/translation.json b/build/_locales/ko/translation.json index 09f2bd6..ea34a8e 100644 --- a/build/_locales/ko/translation.json +++ b/build/_locales/ko/translation.json @@ -154,5 +154,63 @@ "cancel": "취소", "fullscreen": "전체 화면", "exitFullscreen": "전체 화면 종료", - "zoom": "확대" + "zoom": "확대", + "undo": "실행 취소", + "addTabToGroup": "탭을 그룹에 추가", + "newGroup": "새 그룹", + "nameThisGroup": "이 그룹 이름 지정", + "addBookmark": "북마크 추가", + "editBookmark": "북마크 편집", + "deleteBookmark": "북마크 삭제", + "duplicateBookmarks": "중복 북마크", + "folderName": "폴더 이름", + "selectParentFolder": "상위 폴더 선택", + "addFolder": "폴더 추가", + "editFolder": "폴더 편집", + "deleteFolder": "폴더 삭제", + "deleteFolderConfirmation": "이 폴더를 정말로 삭제하시겠습니까? 이 폴더의 모든 북마크(하위 폴더의 북마크 포함)도 삭제됩니다.", + "containsCountURLs": "{{count}}개의 URL 포함", + "openAll": "모두 열기 ({{count}})", + "openAllInNewWindow": "새 창에서 모두 열기 ({{count}})", + "openAllInIncognitoWindow": "시크릿 창에서 모두 열기 ({{count}})", + "checkBookmarks": "북마크 확인", + "hideEmptyFolders": "빈 폴더 숨기기", + "displayTreeConnectorLines": "트리 연결선 표시", + "showBookmarkUrl": "북마크 URL 표시", + "bookmarkManager": "북마크 관리자", + "default": "기본값", + "title": "제목", + "url": "URL", + "recentlyUsed": "최근 사용", + "recentlyAdded": "최근 추가", + "switchToListView": "목록 보기로 전환", + "switchToTreeView": "트리 보기로 전환", + "premiumFeatureOnly": "이 기능은 프리미엄 에디션에서만 사용할 수 있습니다.", + "premiumFreeTrialDesc": "이 기능은 프리미엄 에디션 전용이며, 지금 무료로 체험할 수 있습니다.", + "freeTrial": "무료 체험", + "learnMore": "자세히 알아보기", + "limited": "제한됨", + "premiumEdition": "프리미엄 에디션", + "PreOrderPremiumNow": "지금 프리미엄 에디션 예약 주문", + "getPremiumEditionNow": "지금 프리미엄 에디션 받기", + "alreadyHavePremiumLicenseKey": "이미 프리미엄 에디션 라이선스 키가 있습니다", + "licenseKey": "라이선스 키", + "activatePremium": "프리미엄 에디션 활성화", + "couldNotActivatePremium": "프리미엄 에디션을 활성화할 수 없습니다. 유효한 라이선스 키를 입력하세요.", + "premiumActivatedSuccessfully": "프리미엄 에디션이 성공적으로 활성화되었습니다.", + "premiumAccessFeatures": "프리미엄 에디션으로 추가 기능에 액세스할 수 있습니다", + "premiumFeaturesPreOrderDescription": "확장 기능의 모든 주요 기능은 무료로 사용할 수 있으며 프리미엄 액세스 없이도 계속 액세스할 수 있습니다. 프리미엄 에디션에는 전문적인 사용을 위해 설계된 고급 기능이 포함되어 있으며, 현재 개발 중입니다. 지금 예약 주문하면 이러한 프리미엄 기능의 개발을 지원하고 출시 전에 저렴한 가격에 얻을 수 있습니다.", + "premiumFeaturesDescription": "확장 기능의 모든 주요 기능은 무료로 사용할 수 있으며 프리미엄 액세스 없이도 계속 액세스할 수 있습니다. 우리는 전문적인 사용을 위해 고급 기능을 제공하기 위해 추가 기능을 제공하며, 이는 유료 프리미엄 에디션에서 사용할 수 있습니다.", + "earlyBirdTicket": "얼리버드 티켓", + "earlyBirdTicketDesc": "프리미엄 에디션 기능을 곧 출시할 예정이며, 지금 특별 얼리버드 오퍼를 통해 이러한 개선 사항의 개발을 지원할 수 있습니다. 지금 구매하면 프리미엄 에디션의 모든 기능에 평생 액세스할 수 있습니다. 프리미엄 에디션이 출시되면 얼리버드 오퍼는 중단되며 평생 구매는 더 이상 제공되지 않습니다.", + "afterPurchase": "구매 후 24시간 이내에 라이선스 키를 이메일로 보내드립니다. 프리미엄 에디션이 공식적으로 출시되면 사용할 수 있습니다.", + "enterMailForLicenseKey": "라이선스 키를 받으려면 이메일 주소를 입력하세요.", + "upcomingFeatures": "다가오는 기능", + "treeTabs": "트리 탭", + "tabHistory": "탭 기록", + "cloudSync": "클라우드 동기화", + "advancedPictureInPicture": "고급 화면 속 화면", + "APIAccess": "API 액세스", + "customizeMenu": "메뉴 사용자 정의", + "Automation": "자동화" } \ No newline at end of file diff --git a/build/_locales/la/error.json b/build/_locales/la/error.json index 52d6bbc..d0c2baf 100644 --- a/build/_locales/la/error.json +++ b/build/_locales/la/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Servatae catervae non sunt emendabiles", + "Saved groups are not editable.": "Servatae catervae non sunt emendabiles", "ungroupingError": "Defecit ut omnes schedas separaret: {{error}}" } \ No newline at end of file diff --git a/build/_locales/la/options.json b/build/_locales/la/options.json index 7232932..4432c48 100644 --- a/build/_locales/la/options.json +++ b/build/_locales/la/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Volvunt ad Activam Tabulam" } }, + "tabNav": { + "label": "Monstra tabulam navigationis", + "description": "Cum activa, tabula navigationis ostenditur", + "configure": "configura", + "configureTabNav": "Configura Tabulam Navigationis", + "enabledNavs": "Navigationes Activae", + "disabledNavs": "Navigationes Inactivae (Disponibiles)", + "showLabel": "Monstra Titulum", + "showCount": "Monstra Numerum", + "days": "Dies", + "close": "Claude", + "save": "Salva", + "settings": "Occasus", + "OpenTabs": "Tabulae Apertae", + "RecentlyTabs": "Tabulae Nuper Clausae", + "bookmarks": "Notae", + "history": "Historia", + "readingList": "Index Legendus", + "quickAccess": "Accessus Velox", + "pinToToolbarReminder": "Quaeso extensionem ad toolbar affige antequam hanc navigationem removes." + }, "bottomNav": { "label": "Monstra infima navigationis talea", "description": "Cum activa, infima navigatio ostenditur", diff --git a/build/_locales/la/translation.json b/build/_locales/la/translation.json index d6b9917..7192aee 100644 --- a/build/_locales/la/translation.json +++ b/build/_locales/la/translation.json @@ -151,5 +151,63 @@ "cancel": "Annulla", "fullscreen": "Schermo Intero", "exitFullscreen": "Esci da Schermo Intero", - "zoom": "Ingrandisci" + "zoom": "Ingrandisci", + "undo": "Annulla", + "addTabToGroup": "Aggiungi scheda al gruppo", + "newGroup": "Nuovo gruppo", + "nameThisGroup": "Dai un nome a questo gruppo", + "addBookmark": "Aggiungi segnalibro", + "editBookmark": "Modifica segnalibro", + "deleteBookmark": "Elimina segnalibro", + "duplicateBookmarks": "Duplica segnalibri", + "folderName": "Nome cartella", + "selectParentFolder": "Seleziona cartella principale", + "addFolder": "Aggiungi cartella", + "editFolder": "Modifica cartella", + "deleteFolder": "Elimina cartella", + "deleteFolderConfirmation": "Vuoi davvero eliminare questa cartella? Tutti i segnalibri in questa cartella (inclusi i segnalibri nelle sottocartelle) verranno eliminati.", + "containsCountURLs": "Contiene {{count}} URL", + "openAll": "Apri tutto ({{count}})", + "openAllInNewWindow": "Apri tutto ({{count}}) in una nuova finestra", + "openAllInIncognitoWindow": "Apri tutto ({{count}}) in una finestra in incognito", + "checkBookmarks": "Controlla segnalibri", + "hideEmptyFolders": "Nascondi cartelle vuote", + "displayTreeConnectorLines": "Mostra linee di connessione dell'albero", + "showBookmarkUrl": "Mostra URL del segnalibro", + "bookmarkManager": "Gestore segnalibri", + "default": "Predefinito", + "title": "Titolo", + "url": "URL", + "recentlyUsed": "Usato di recente", + "recentlyAdded": "Aggiunto di recente", + "switchToListView": "Passa alla visualizzazione elenco", + "switchToTreeView": "Passa alla visualizzazione ad albero", + "premiumFeatureOnly": "Questa funzione è disponibile solo con l'edizione Premium.", + "premiumFreeTrialDesc": "Questa funzione è esclusiva dell'edizione Premium, e puoi provarla gratuitamente ora.", + "freeTrial": "Prova gratuita", + "learnMore": "Scopri di più", + "limited": "limitato", + "premiumEdition": "Edizione Premium", + "PreOrderPremiumNow": "Preordina l'edizione Premium ora", + "getPremiumEditionNow": "Ottieni l'edizione Premium ora", + "alreadyHavePremiumLicenseKey": "Ho già una chiave di licenza per l'edizione Premium", + "licenseKey": "Chiave di licenza", + "activatePremium": "Attiva edizione Premium", + "couldNotActivatePremium": "Impossibile attivare l'edizione Premium. Inserisci una chiave di licenza valida.", + "premiumActivatedSuccessfully": "Edizione Premium attivata con successo.", + "premiumAccessFeatures": "Con l'edizione Premium, avrai accesso a funzionalità aggiuntive", + "premiumFeaturesPreOrderDescription": "Tutte le funzionalità principali dell'estensione sono gratuite e rimarranno accessibili senza richiedere l'accesso Premium. L'edizione Premium, che include funzionalità avanzate progettate per uso professionale, è ancora in fase di sviluppo. Preordinando ora, puoi supportare lo sviluppo di queste capacità premium e ottenerle a un ottimo prezzo prima del lancio.", + "premiumFeaturesDescription": "Tutte le funzionalità principali dell'estensione sono gratuite e rimarranno accessibili senza richiedere l'accesso Premium. Offriamo funzionalità aggiuntive per fornire capacità avanzate per uso professionale, che saranno disponibili nell'edizione Premium a pagamento.", + "earlyBirdTicket": "Biglietto Early Bird", + "earlyBirdTicketDesc": "Stiamo per lanciare le funzionalità dell'edizione Premium, e ora puoi approfittare di un'offerta speciale early-bird per supportare lo sviluppo di questi miglioramenti. Acquistando ora, riceverai l'accesso a vita a tutte le funzionalità dell'edizione Premium. Una volta rilasciata l'edizione Premium, l'offerta early-bird sarà interrotta e gli acquisti a vita non saranno più disponibili.", + "afterPurchase": "Dopo l'acquisto, invieremo la chiave di licenza alla tua email entro 24 ore. Potrai usarla una volta che l'edizione Premium sarà ufficialmente rilasciata.", + "enterMailForLicenseKey": "Inserisci il tuo indirizzo email per ricevere la chiave di licenza.", + "upcomingFeatures": "Funzionalità in arrivo", + "treeTabs": "Schede ad albero", + "tabHistory": "Cronologia schede", + "cloudSync": "Sincronizzazione cloud", + "advancedPictureInPicture": "Picture-in-Picture avanzato", + "APIAccess": "Accesso API", + "customizeMenu": "Personalizza menu", + "Automation": "Automazione" } \ No newline at end of file diff --git a/build/_locales/lt/error.json b/build/_locales/lt/error.json index 73fd403..edc2bbb 100644 --- a/build/_locales/lt/error.json +++ b/build/_locales/lt/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Išsaugotos grupės negali būti redaguojamos", + "Saved groups are not editable.": "Išsaugotos grupės negali būti redaguojamos", "ungroupingError": "Nepavyko atgrupuoti visų skirtukų: {{error}}" } \ No newline at end of file diff --git a/build/_locales/lt/options.json b/build/_locales/lt/options.json index d42e910..5e9fdbf 100644 --- a/build/_locales/lt/options.json +++ b/build/_locales/lt/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Slinkti iki aktyvaus skirtuko" } }, + "tabNav": { + "label": "Rodyti skirtukų naršymo juostą", + "description": "Kai įjungta, rodoma skirtukų naršymo juosta", + "configure": "konfigūruoti", + "configureTabNav": "Konfigūruoti skirtukų naršymą", + "enabledNavs": "Įjungtos navigacijos", + "disabledNavs": "Išjungtos navigacijos (Galimos)", + "showLabel": "Rodyti etiketę", + "showCount": "Rodyti skaičių", + "days": "Dienos", + "close": "Uždaryti", + "save": "Išsaugoti", + "settings": "Nustatymai", + "OpenTabs": "Atidaryti skirtukai", + "RecentlyTabs": "Neseniai uždaryti skirtukai", + "bookmarks": "Žymės", + "history": "Istorija", + "readingList": "Skaitymo sąrašas", + "quickAccess": "Greita prieiga", + "pinToToolbarReminder": "Prisekite plėtinį prie įrankių juostos prieš pašalindami šią navigaciją." + }, "bottomNav": { "label": "Rodyti apatinę naršymo juostą", "description": "Kai įjungta, rodoma apatinė naršymo juosta", diff --git a/build/_locales/lt/translation.json b/build/_locales/lt/translation.json index 1f6e529..eed0631 100644 --- a/build/_locales/lt/translation.json +++ b/build/_locales/lt/translation.json @@ -164,5 +164,63 @@ "cancel": "Atšaukti", "fullscreen": "Visas ekranas", "exitFullscreen": "Išeiti iš viso ekrano", - "zoom": "Priartinti" + "zoom": "Priartinti", + "undo": "Anuliuoti", + "addTabToGroup": "Pridėti skirtuką į grupę", + "newGroup": "Nauja grupė", + "nameThisGroup": "Pavadinkite šią grupę", + "addBookmark": "Pridėti žymę", + "editBookmark": "Redaguoti žymę", + "deleteBookmark": "Ištrinti žymę", + "duplicateBookmarks": "Dubliuoti žymes", + "folderName": "Aplanko pavadinimas", + "selectParentFolder": "Pasirinkite pagrindinį aplanką", + "addFolder": "Pridėti aplanką", + "editFolder": "Redaguoti aplanką", + "deleteFolder": "Ištrinti aplanką", + "deleteFolderConfirmation": "Ar tikrai norite ištrinti šį aplanką? Visi žymės šiame aplanke (įskaitant žymes poaplankiuose) taip pat bus ištrinti.", + "containsCountURLs": "Yra {{count}} URL", + "openAll": "Atidaryti visus ({{count}})", + "openAllInNewWindow": "Atidaryti visus ({{count}}) naujame lange", + "openAllInIncognitoWindow": "Atidaryti visus ({{count}}) inkognito lange", + "checkBookmarks": "Patikrinti žymes", + "hideEmptyFolders": "Slėpti tuščius aplankus", + "displayTreeConnectorLines": "Rodyti medžio jungiamąsias linijas", + "showBookmarkUrl": "Rodyti žymės URL", + "bookmarkManager": "Žymių tvarkyklė", + "default": "Numatytasis", + "title": "Pavadinimas", + "url": "URL", + "recentlyUsed": "Neseniai naudota", + "recentlyAdded": "Neseniai pridėta", + "switchToListView": "Perjungti į sąrašo peržiūrą", + "switchToTreeView": "Perjungti į medžio peržiūrą", + "premiumFeatureOnly": "Ši funkcija prieinama tik su Premium leidimu.", + "premiumFreeTrialDesc": "Ši funkcija yra išskirtinė Premium leidimui, ir dabar galite ją išbandyti nemokamai.", + "freeTrial": "Nemokamas bandomasis laikotarpis", + "learnMore": "Sužinokite daugiau", + "limited": "Ribotas", + "premiumEdition": "Premium leidimas", + "PreOrderPremiumNow": "Užsisakykite Premium leidimą dabar", + "getPremiumEditionNow": "Gaukite Premium leidimą dabar", + "alreadyHavePremiumLicenseKey": "Jau turiu Premium leidimo licencijos raktą", + "licenseKey": "Licencijos raktas", + "activatePremium": "Aktyvuoti Premium leidimą", + "couldNotActivatePremium": "Nepavyko aktyvuoti Premium leidimo. Prašome įvesti galiojantį licencijos raktą.", + "premiumActivatedSuccessfully": "Premium leidimas sėkmingai aktyvuotas.", + "premiumAccessFeatures": "Su Premium leidimu gausite prieigą prie papildomų funkcijų", + "premiumFeaturesPreOrderDescription": "Visos pagrindinės plėtinio funkcijos yra nemokamos ir liks prieinamos be Premium prieigos. Premium leidimas, kuris apima pažangias funkcijas, skirtas profesionaliam naudojimui, vis dar kuriamas. Užsisakydami dabar, galite paremti šių premium galimybių kūrimą ir gauti jas už puikią kainą prieš jų paleidimą.", + "premiumFeaturesDescription": "Visos pagrindinės plėtinio funkcijos yra nemokamos ir liks prieinamos be Premium prieigos. Mes siūlome papildomas funkcijas, kad suteiktume pažangias galimybes profesionaliam naudojimui, kurios bus prieinamos Premium leidime už mokestį.", + "earlyBirdTicket": "Ankstyvojo paukščio bilietas", + "earlyBirdTicketDesc": "Mes netrukus paleisime Premium leidimo funkcijas, ir dabar galite pasinaudoti specialiu ankstyvojo paukščio pasiūlymu, kad paremtumėte šių patobulinimų kūrimą. Pirkdami dabar, gausite visų Premium leidimo funkcijų viso gyvenimo prieigą. Kai Premium leidimas bus išleistas, ankstyvojo paukščio pasiūlymas bus nutrauktas, ir viso gyvenimo pirkimai nebebus prieinami.", + "afterPurchase": "Po pirkimo, mes atsiųsime licencijos raktą į jūsų el. paštą per 24 valandas. Galėsite jį naudoti, kai Premium leidimas bus oficialiai išleistas.", + "enterMailForLicenseKey": "Prašome įvesti savo el. pašto adresą, kad gautumėte licencijos raktą.", + "upcomingFeatures": "Artėjančios funkcijos", + "treeTabs": "Medžio skirtukai", + "tabHistory": "Skirtukų istorija", + "cloudSync": "Debesų sinchronizacija", + "advancedPictureInPicture": "Pažangus vaizdas vaizde", + "APIAccess": "API prieiga", + "customizeMenu": "Tinkinti meniu", + "Automation": "Automatizavimas" } \ No newline at end of file diff --git a/build/_locales/lv/error.json b/build/_locales/lv/error.json index 60a6035..6b35488 100644 --- a/build/_locales/lv/error.json +++ b/build/_locales/lv/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Saglabātās grupas nav rediģējamas", + "Saved groups are not editable.": "Saglabātās grupas nav rediģējamas", "ungroupingError": "Neizdevās atgrupēt visas cilnes: {{error}}" } \ No newline at end of file diff --git a/build/_locales/lv/options.json b/build/_locales/lv/options.json index 68799a8..b1f2196 100644 --- a/build/_locales/lv/options.json +++ b/build/_locales/lv/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Ritināt uz aktīvo cilni" } }, + "tabNav": { + "label": "Rādīt cilnes navigācijas joslu", + "description": "Kad iespējots, tiek rādīta cilnes navigācijas josla", + "configure": "konfigurēt", + "configureTabNav": "Konfigurēt cilnes navigāciju", + "enabledNavs": "Aktivizētās navigācijas", + "disabledNavs": "Deaktivizētās navigācijas (pieejamas)", + "showLabel": "Rādīt etiķeti", + "showCount": "Rādīt skaitu", + "days": "Dienas", + "close": "Aizvērt", + "save": "Saglabāt", + "settings": "Iestatījumi", + "OpenTabs": "Atvērtās cilnes", + "RecentlyTabs": "Nesen aizvērtās cilnes", + "bookmarks": "Grāmatzīmes", + "history": "Vēsture", + "readingList": "Lasīšanas saraksts", + "quickAccess": "Ātrā piekļuve", + "pinToToolbarReminder": "Lūdzu, piespraudiet paplašinājumu rīkjoslai, pirms noņemat šo navigāciju." + }, "bottomNav": { "label": "Rādīt apakšējo navigācijas joslu", "description": "Kad šī opcija ir aktivizēta, apakšējā navigācijas josla būs redzama", diff --git a/build/_locales/lv/translation.json b/build/_locales/lv/translation.json index 2e9717e..249832b 100644 --- a/build/_locales/lv/translation.json +++ b/build/_locales/lv/translation.json @@ -164,5 +164,63 @@ "cancel": "Atcelt", "fullscreen": "Pilnekrāna režīms", "exitFullscreen": "Iziet no pilnekrāna režīma", - "zoom": "Tālummaiņa" + "zoom": "Tālummaiņa", + "undo": "Atsaukt", + "addTabToGroup": "Pievienot cilni grupai", + "newGroup": "Jauna grupa", + "nameThisGroup": "Nosauciet šo grupu", + "addBookmark": "Pievienot grāmatzīmi", + "editBookmark": "Rediģēt grāmatzīmi", + "deleteBookmark": "Dzēst grāmatzīmi", + "duplicateBookmarks": "Dublēt grāmatzīmes", + "folderName": "Mapes nosaukums", + "selectParentFolder": "Izvēlieties vecāku mapi", + "addFolder": "Pievienot mapi", + "editFolder": "Rediģēt mapi", + "deleteFolder": "Dzēst mapi", + "deleteFolderConfirmation": "Vai tiešām vēlaties dzēst šo mapi? Visas grāmatzīmes šajā mapē (ieskaitot grāmatzīmes apakšmapēs) tiks dzēstas.", + "containsCountURLs": "Satur {{count}} URL", + "openAll": "Atvērt visus ({{count}})", + "openAllInNewWindow": "Atvērt visus ({{count}}) jaunā logā", + "openAllInIncognitoWindow": "Atvērt visus ({{count}}) inkognito logā", + "checkBookmarks": "Pārbaudīt grāmatzīmes", + "hideEmptyFolders": "Slēpt tukšas mapes", + "displayTreeConnectorLines": "Rādīt koka savienojuma līnijas", + "showBookmarkUrl": "Rādīt grāmatzīmes URL", + "bookmarkManager": "Grāmatzīmju pārvaldnieks", + "default": "Noklusējums", + "title": "Nosaukums", + "url": "URL", + "recentlyUsed": "Nesen izmantots", + "recentlyAdded": "Nesen pievienots", + "switchToListView": "Pārslēgties uz saraksta skatu", + "switchToTreeView": "Pārslēgties uz koka skatu", + "premiumFeatureOnly": "Šī funkcija ir pieejama tikai ar Premium izdevumu.", + "premiumFreeTrialDesc": "Šī funkcija ir ekskluzīva Premium izdevumam, un jūs to varat izmēģināt bez maksas.", + "freeTrial": "Bezmaksas izmēģinājums", + "learnMore": "Uzzināt vairāk", + "limited": "ierobežots", + "premiumEdition": "Premium izdevums", + "PreOrderPremiumNow": "Pasūtiet Premium izdevumu tagad", + "getPremiumEditionNow": "Iegūstiet Premium izdevumu tagad", + "alreadyHavePremiumLicenseKey": "Man jau ir Premium izdevuma licences atslēga", + "licenseKey": "Licences atslēga", + "activatePremium": "Aktivizēt Premium izdevumu", + "couldNotActivatePremium": "Neizdevās aktivizēt Premium izdevumu. Lūdzu, ievadiet derīgu licences atslēgu.", + "premiumActivatedSuccessfully": "Premium izdevums veiksmīgi aktivizēts.", + "premiumAccessFeatures": "Ar Premium izdevumu jūs iegūsiet piekļuvi papildu funkcijām", + "premiumFeaturesPreOrderDescription": "Visas galvenās paplašinājuma funkcijas ir bezmaksas un paliks pieejamas bez Premium piekļuves. Premium izdevums, kas ietver uzlabotas funkcijas profesionālai lietošanai, joprojām tiek izstrādāts. Pasūtot tagad, jūs varat atbalstīt šo premium iespēju izstrādi un iegūt tās par lielisku cenu pirms to palaišanas.", + "premiumFeaturesDescription": "Visas galvenās paplašinājuma funkcijas ir bezmaksas un paliks pieejamas bez Premium piekļuves. Mēs piedāvājam papildu funkcijas, lai nodrošinātu uzlabotas iespējas profesionālai lietošanai, kas būs pieejamas Premium izdevumā par maksu.", + "earlyBirdTicket": "Agrā putna biļete", + "earlyBirdTicketDesc": "Mēs drīz laidīsim klajā Premium izdevuma funkcijas, un tagad jūs varat izmantot īpašu agrā putna piedāvājumu, lai atbalstītu šo uzlabojumu izstrādi. Pērkot tagad, jūs saņemsiet mūža piekļuvi visām Premium izdevuma funkcijām. Kad Premium izdevums tiks izlaists, agrā putna piedāvājums tiks pārtraukts, un mūža pirkumi vairs nebūs pieejami.", + "afterPurchase": "Pēc pirkuma mēs nosūtīsim licences atslēgu uz jūsu e-pastu 24 stundu laikā. Jūs to varēsiet izmantot, kad Premium izdevums tiks oficiāli izlaists.", + "enterMailForLicenseKey": "Lūdzu, ievadiet savu e-pasta adresi, lai saņemtu licences atslēgu.", + "upcomingFeatures": "Gaidāmās funkcijas", + "treeTabs": "Koka cilnes", + "tabHistory": "Cilņu vēsture", + "cloudSync": "Mākoņa sinhronizācija", + "advancedPictureInPicture": "Uzlabots attēls attēlā", + "APIAccess": "API piekļuve", + "customizeMenu": "Pielāgot izvēlni", + "Automation": "Automatizācija" } \ No newline at end of file diff --git a/build/_locales/mk/error.json b/build/_locales/mk/error.json index bb41766..346d6d8 100644 --- a/build/_locales/mk/error.json +++ b/build/_locales/mk/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Зачуваните групи не можат да се уредуваат", + "Saved groups are not editable.": "Зачуваните групи не можат да се уредуваат", "ungroupingError": "Не успеа да ги раздружи сите јазичиња: {{error}}" } \ No newline at end of file diff --git a/build/_locales/mk/options.json b/build/_locales/mk/options.json index eb073e2..39edb6b 100644 --- a/build/_locales/mk/options.json +++ b/build/_locales/mk/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Лизгај до активното јазиче" } }, + "tabNav": { + "label": "Прикажи лента за навигација на јазичиња", + "description": "Кога е овозможено, лентата за навигација на јазичиња ќе се прикажува", + "configure": "конфигурирај", + "configureTabNav": "Конфигурирај навигација на јазичиња", + "enabledNavs": "Овозможени навигации", + "disabledNavs": "Оневозможени навигации (достапни)", + "showLabel": "Прикажи етикета", + "showCount": "Прикажи број", + "days": "Денови", + "close": "Затвори", + "save": "Зачувај", + "settings": "Поставки", + "OpenTabs": "Отворени јазичиња", + "RecentlyTabs": "Неодамна затворени јазичиња", + "bookmarks": "Обележувачи", + "history": "Историја", + "readingList": "Листа за читање", + "quickAccess": "Брз пристап", + "pinToToolbarReminder": "За да ја отстраните оваа навигација, прво закачете го проширувањето на вашата алатник." + }, "bottomNav": { "label": "Прикажи долна навигациска лента", "description": "Кога е овозможено, долната навигациска лента ќе се прикажува", diff --git a/build/_locales/mk/translation.json b/build/_locales/mk/translation.json index ae23e51..2413b82 100644 --- a/build/_locales/mk/translation.json +++ b/build/_locales/mk/translation.json @@ -151,5 +151,63 @@ "cancel": "Откажи", "fullscreen": "Цел Екран", "exitFullscreen": "Исклучи Цел Екран", - "zoom": "Зумирај" + "zoom": "Зумирај", + "undo": "Врати", + "addTabToGroup": "Додај картичка во група", + "newGroup": "Нова група", + "nameThisGroup": "Именувај ја оваа група", + "addBookmark": "Додај обележувач", + "editBookmark": "Уреди обележувач", + "deleteBookmark": "Избриши обележувач", + "duplicateBookmarks": "Дуплирај обележувачи", + "folderName": "Име на папка", + "selectParentFolder": "Избери родителска папка", + "addFolder": "Додај папка", + "editFolder": "Уреди папка", + "deleteFolder": "Избриши папка", + "deleteFolderConfirmation": "Дали навистина сакате да ја избришете оваа папка? Сите обележувачи во оваа папка (вклучувајќи ги и обележувачите во под-папките) ќе бидат исто така избришани.", + "containsCountURLs": "Содржи {{count}} URL-ови", + "openAll": "Отвори ги сите ({{count}})", + "openAllInNewWindow": "Отвори ги сите ({{count}}) во нов прозорец", + "openAllInIncognitoWindow": "Отвори ги сите ({{count}}) во инкогнито прозорец", + "checkBookmarks": "Провери обележувачи", + "hideEmptyFolders": "Сокриј празни папки", + "displayTreeConnectorLines": "Прикажи линии за поврзување на дрвото", + "showBookmarkUrl": "Прикажи URL на обележувач", + "bookmarkManager": "Менаџер на обележувачи", + "default": "Стандардно", + "title": "Наслов", + "url": "URL", + "recentlyUsed": "Неодамна користени", + "recentlyAdded": "Неодамна додадени", + "switchToListView": "Промени на преглед на листа", + "switchToTreeView": "Промени на преглед на дрво", + "premiumFeatureOnly": "Оваа функција е достапна само со Премиум издание.", + "premiumFreeTrialDesc": "Оваа функција е ексклузивна за Премиум изданието, и можете да ја пробате бесплатно сега.", + "freeTrial": "Бесплатна проба", + "learnMore": "Дознај повеќе", + "limited": "ограничено", + "premiumEdition": "Премиум издание", + "PreOrderPremiumNow": "Пред-нарачај го Премиум изданието сега", + "getPremiumEditionNow": "Добиј го Премиум изданието сега", + "alreadyHavePremiumLicenseKey": "Веќе имам лиценца за Премиум издание", + "licenseKey": "Лиценца", + "activatePremium": "Активирај Премиум издание", + "couldNotActivatePremium": "Не можеше да се активира Премиум изданието. Ве молиме внесете валидна лиценца.", + "premiumActivatedSuccessfully": "Премиум изданието е успешно активирано.", + "premiumAccessFeatures": "Со Премиум изданието, ќе добиете пристап до дополнителни функции", + "premiumFeaturesPreOrderDescription": "Сите клучни функции на екстензијата се бесплатни за користење и ќе останат достапни без потреба од Премиум пристап. Премиум изданието, кое вклучува напредни функции дизајнирани за професионална употреба, сè уште е во развој. Со пред-нарачка сега, можете да го поддржите развојот на овие премиум способности и да го добиете по одлична цена пред да бидат лансирани.", + "premiumFeaturesDescription": "Сите клучни функции на екстензијата се бесплатни за користење и ќе останат достапни без потреба од Премиум пристап. Нудиме дополнителни функции за да обезбедиме напредни способности за професионална употреба, кои ќе бидат достапни во Премиум изданието за надомест.", + "earlyBirdTicket": "Рана птица билет", + "earlyBirdTicketDesc": "Ние сме на прагот да ги лансираме функциите на Премиум изданието, и сега можете да искористите специјална понуда за рана поддршка за развојот на овие подобрувања. Со купување сега, ќе добиете доживотен пристап до сите функции на Премиум изданието. Откако Премиум изданието ќе биде лансирано, понудата за рана поддршка ќе биде прекината, и доживотните купувања повеќе нема да бидат достапни.", + "afterPurchase": "По купувањето, ќе ја испратиме лиценцата на вашата е-пошта во рок од 24 часа. Можете да ја користите откако Премиум изданието ќе биде официјално лансирано.", + "enterMailForLicenseKey": "Ве молиме внесете ја вашата е-пошта за да ја добиете лиценцата.", + "upcomingFeatures": "Надојдни функции", + "treeTabs": "Дрво картички", + "tabHistory": "Историја на картички", + "cloudSync": "Синхронизација со облак", + "advancedPictureInPicture": "Напредна слика во слика", + "APIAccess": "Пристап до API", + "customizeMenu": "Прилагоди мени", + "Automation": "Автоматизација" } \ No newline at end of file diff --git a/build/_locales/ml/error.json b/build/_locales/ml/error.json index 4f02107..31c30ad 100644 --- a/build/_locales/ml/error.json +++ b/build/_locales/ml/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "സംരക്ഷിച്ച ഗ്രൂപ്പുകൾ തിരുത്താനാവില്ല", + "Saved groups are not editable.": "സംരക്ഷിച്ച ഗ്രൂപ്പുകൾ തിരുത്താനാവില്ല", "ungroupingError": "എല്ലാ ടാബുകളും ഗ്രൂപ്പുചെയ്യുന്നതിൽ പരാജയപ്പെട്ടു: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ml/options.json b/build/_locales/ml/options.json index cb74909..3d2d3ae 100644 --- a/build/_locales/ml/options.json +++ b/build/_locales/ml/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "സജീവമായ ടാബിലേക്ക് സ്ക്രോൾ ചെയ്യുക" } }, + "tabNav": { + "label": "ടാബ് നാവിഗേഷൻ ബാർ പ്രദർശിപ്പിക്കുക", + "description": "സജീവമാക്കിയാൽ, ടാബ് നാവിഗേഷൻ ബാർ പ്രദർശിപ്പിക്കും", + "configure": "ക്രമീകരിക്കുക", + "configureTabNav": "ടാബ് നാവിഗേഷൻ ക്രമീകരിക്കുക", + "enabledNavs": "സജീവമായ നാവിഗേഷനുകൾ", + "disabledNavs": "നിഷ്ക്രിയമായ നാവിഗേഷനുകൾ (ലഭ്യമാണ്)", + "showLabel": "ലേബൽ കാണിക്കുക", + "showCount": "എണ്ണം കാണിക്കുക", + "days": "ദിവസങ്ങൾ", + "close": "അടയ്ക്കുക", + "save": "സംരക്ഷിക്കുക", + "settings": "ക്രമീകരണങ്ങൾ", + "OpenTabs": "തുറന്ന ടാബുകൾ", + "RecentlyTabs": "ഇപ്പോൾ അടച്ച ടാബുകൾ", + "bookmarks": "ബുക്ക്മാർക്കുകൾ", + "history": "ചരിത്രം", + "readingList": "വായനാ പട്ടിക", + "quickAccess": "വേഗത്തിലുള്ള ആക്സസ്", + "pinToToolbarReminder": "ഈ നാവിഗേഷൻ നീക്കം ചെയ്യുന്നതിന് മുമ്പ് ദയവായി എക്സ്റ്റൻഷൻ നിങ്ങളുടെ ടൂൾബാറിൽ പിന് ചെയ്യുക." + }, "bottomNav": { "label": "താഴത്തെ നാവിഗേഷൻ ബാർ പ്രദർശിപ്പിക്കുക", "description": "സജീവമാക്കിയാൽ, താഴത്തെ നാവിഗേഷൻ ബാർ കാണിക്കും", diff --git a/build/_locales/ml/translation.json b/build/_locales/ml/translation.json index 107ab3c..ba01b00 100644 --- a/build/_locales/ml/translation.json +++ b/build/_locales/ml/translation.json @@ -151,5 +151,63 @@ "cancel": "റദ്ദാക്കുക", "fullscreen": "പൂർണ്ണസ്ക്രീൻ", "exitFullscreen": "പൂർണ്ണസ്ക്രീൻ നിന്ന് പുറത്ത് വരിക", - "zoom": "സൂം" + "zoom": "സൂം", + "undo": "അൺഡു", + "addTabToGroup": "ടാബ് ഗ്രൂപ്പിലേക്ക് ചേർക്കുക", + "newGroup": "പുതിയ ഗ്രൂപ്പ്", + "nameThisGroup": "ഈ ഗ്രൂപ്പിന് പേര് നൽകുക", + "addBookmark": "ബുക്ക്മാർക്ക് ചേർക്കുക", + "editBookmark": "ബുക്ക്മാർക്ക് തിരുത്തുക", + "deleteBookmark": "ബുക്ക്മാർക്ക് നീക്കം ചെയ്യുക", + "duplicateBookmarks": "ബുക്ക്മാർക്കുകൾ പകർത്തുക", + "folderName": "ഫോൾഡറിന്റെ പേര്", + "selectParentFolder": "മൂല ഫോൾഡർ തിരഞ്ഞെടുക്കുക", + "addFolder": "ഫോൾഡർ ചേർക്കുക", + "editFolder": "ഫോൾഡർ തിരുത്തുക", + "deleteFolder": "ഫോൾഡർ നീക്കം ചെയ്യുക", + "deleteFolderConfirmation": "ഈ ഫോൾഡർ നീക്കം ചെയ്യണോ? ഈ ഫോൾഡറിലെ എല്ലാ ബുക്ക്മാർക്കുകളും (ഉപഫോൾഡറുകളിലെ ബുക്ക്മാർക്കുകൾ ഉൾപ്പെടെ) നീക്കം ചെയ്യപ്പെടും.", + "containsCountURLs": "{{count}} URL-കൾ അടങ്ങിയിരിക്കുന്നു", + "openAll": "എല്ലാം തുറക്കുക ({{count}})", + "openAllInNewWindow": "എല്ലാം പുതിയ വിൻഡോയിൽ തുറക്കുക ({{count}})", + "openAllInIncognitoWindow": "എല്ലാം ഇൻകോഗ്നിറ്റോ വിൻഡോയിൽ തുറക്കുക ({{count}})", + "checkBookmarks": "ബുക്ക്മാർക്കുകൾ പരിശോധിക്കുക", + "hideEmptyFolders": "ശൂന്യമായ ഫോൾഡറുകൾ മറയ്ക്കുക", + "displayTreeConnectorLines": "ട്രീ കണക്റ്റർ ലൈനുകൾ പ്രദർശിപ്പിക്കുക", + "showBookmarkUrl": "ബുക്ക്മാർക്ക് URL പ്രദർശിപ്പിക്കുക", + "bookmarkManager": "ബുക്ക്മാർക്ക് മാനേജർ", + "default": "ഡിഫോൾട്ട്", + "title": "ശീർഷകം", + "url": "URL", + "recentlyUsed": "സമീപകാലത്ത് ഉപയോഗിച്ചത്", + "recentlyAdded": "സമീപകാലത്ത് ചേർത്തത്", + "switchToListView": "ലിസ്റ്റ് കാഴ്ചയിലേക്ക് മാറ്റുക", + "switchToTreeView": "ട്രീ കാഴ്ചയിലേക്ക് മാറ്റുക", + "premiumFeatureOnly": "ഈ സവിശേഷത പ്രീമിയം എഡിഷനിൽ മാത്രമേ ലഭ്യമാകൂ.", + "premiumFreeTrialDesc": "ഈ സവിശേഷത പ്രീമിയം എഡിഷനിൽ മാത്രമേ ലഭ്യമാകൂ, ഇപ്പോൾ നിങ്ങൾക്ക് ഇത് സൗജന്യമായി പരീക്ഷിക്കാം.", + "freeTrial": "സൗജന്യ പരീക്ഷണം", + "learnMore": "കൂടുതൽ അറിയുക", + "limited": "പരിമിതമായ", + "premiumEdition": "പ്രീമിയം എഡിഷൻ", + "PreOrderPremiumNow": "ഇപ്പോൾ പ്രീമിയം എഡിഷൻ മുൻകൂട്ടി ഓർഡർ ചെയ്യുക", + "getPremiumEditionNow": "ഇപ്പോൾ പ്രീമിയം എഡിഷൻ നേടുക", + "alreadyHavePremiumLicenseKey": "എനിക്ക് ഇതിനകം പ്രീമിയം എഡിഷൻ ലൈസൻസ് കീ ഉണ്ട്", + "licenseKey": "ലൈസൻസ് കീ", + "activatePremium": "പ്രീമിയം എഡിഷൻ സജീവമാക്കുക", + "couldNotActivatePremium": "പ്രീമിയം എഡിഷൻ സജീവമാക്കാൻ കഴിഞ്ഞില്ല. ദയവായി സാധുവായ ലൈസൻസ് കീ നൽകുക.", + "premiumActivatedSuccessfully": "പ്രീമിയം എഡിഷൻ വിജയകരമായി സജീവമാക്കി.", + "premiumAccessFeatures": "പ്രീമിയം എഡിഷനിൽ, നിങ്ങൾക്ക് അധിക സവിശേഷതകൾ ലഭിക്കും", + "premiumFeaturesPreOrderDescription": "എക്സ്റ്റൻഷന്റെ എല്ലാ പ്രധാന സവിശേഷതകളും ഉപയോഗിക്കാൻ സൗജന്യമാണ്, പ്രീമിയം ആക്സസ് ആവശ്യമില്ലാതെ ലഭ്യമായിരിക്കും. പ്രൊഫഷണൽ ഉപയോഗത്തിനായി രൂപകൽപ്പന ചെയ്ത ആധുനിക സവിശേഷതകൾ ഉൾക്കൊള്ളുന്ന പ്രീമിയം എഡിഷൻ ഇപ്പോഴും വികസനത്തിലാണ്. ഇപ്പോൾ മുൻകൂട്ടി ഓർഡർ ചെയ്യുന്നതിലൂടെ, നിങ്ങൾക്ക് ഈ പ്രീമിയം കഴിവുകളുടെ വികസനത്തെ പിന്തുണയ്ക്കാനും അവ ലോഞ്ച് ചെയ്യുന്നതിന് മുമ്പ് മികച്ച വിലയിൽ നേടാനും കഴിയും.", + "premiumFeaturesDescription": "എക്സ്റ്റൻഷന്റെ എല്ലാ പ്രധാന സവിശേഷതകളും ഉപയോഗിക്കാൻ സൗജന്യമാണ്, പ്രീമിയം ആക്സസ് ആവശ്യമില്ലാതെ ലഭ്യമായിരിക്കും. പ്രൊഫഷണൽ ഉപയോഗത്തിനായി ആധുനിക കഴിവുകൾ നൽകാൻ ഞങ്ങൾ അധിക സവിശേഷതകൾ വാഗ്ദാനം ചെയ്യുന്നു, അവ പ്രീമിയം എഡിഷനിൽ ഫീസിന് ലഭ്യമായിരിക്കും.", + "earlyBirdTicket": "ആദ്യകാല ടിക്കറ്റ്", + "earlyBirdTicketDesc": "ഞങ്ങൾ പ്രീമിയം എഡിഷൻ സവിശേഷതകൾ ലോഞ്ച് ചെയ്യാൻ പോകുകയാണ്, ഇപ്പോൾ നിങ്ങൾക്ക് ഈ മെച്ചപ്പെടുത്തലുകളുടെ വികസനത്തെ പിന്തുണയ്ക്കാൻ പ്രത്യേക ആദ്യകാല ഓഫർ പ്രയോജനപ്പെടുത്താം. ഇപ്പോൾ വാങ്ങുന്നതിലൂടെ, നിങ്ങൾക്ക് എല്ലാ പ്രീമിയം എഡിഷൻ സവിശേഷതകളിലേക്കും ആയുഷ്കാല ആക്സസ് ലഭിക്കും. പ്രീമിയം എഡിഷൻ പുറത്തിറങ്ങിയ ശേഷം, ആദ്യകാല ഓഫർ അവസാനിപ്പിക്കപ്പെടും, ആയുഷ്കാല വാങ്ങലുകൾ ഇനി ലഭ്യമാകില്ല.", + "afterPurchase": "വാങ്ങലിന് ശേഷം, 24 മണിക്കൂറിനുള്ളിൽ ഞങ്ങൾ നിങ്ങളുടെ ഇമെയിലിലേക്ക് ലൈസൻസ് കീ അയയ്ക്കും. പ്രീമിയം എഡിഷൻ ഔദ്യോഗികമായി പുറത്തിറങ്ങിയ ശേഷം നിങ്ങൾക്ക് ഇത് ഉപയോഗിക്കാം.", + "enterMailForLicenseKey": "ലൈസൻസ് കീ ലഭിക്കാൻ ദയവായി നിങ്ങളുടെ മെയിൽ വിലാസം നൽകുക.", + "upcomingFeatures": "വരാനിരിക്കുന്ന സവിശേഷതകൾ", + "treeTabs": "ട്രീ ടാബുകൾ", + "tabHistory": "ടാബ് ചരിത്രം", + "cloudSync": "ക്ലൗഡ് സിങ്ക്", + "advancedPictureInPicture": "ആധുനിക പിക്ചർ-ഇൻ-പിക്ചർ", + "APIAccess": "API ആക്സസ്", + "customizeMenu": "മെനു ഇഷ്ടാനുസൃതമാക്കുക", + "Automation": "ഓട്ടോമേഷൻ" } \ No newline at end of file diff --git a/build/_locales/mn/error.json b/build/_locales/mn/error.json index 3ddcb7d..4024d93 100644 --- a/build/_locales/mn/error.json +++ b/build/_locales/mn/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Хадгалсан бүлгүүдийг засах боломжгүй", + "Saved groups are not editable.": "Хадгалсан бүлгүүдийг засах боломжгүй", "ungroupingError": "Бүх табуудыг бүлгээс гаргах амжилтгүй боллоо: {{error}}" } \ No newline at end of file diff --git a/build/_locales/mn/options.json b/build/_locales/mn/options.json index b5b2194..61e1132 100644 --- a/build/_locales/mn/options.json +++ b/build/_locales/mn/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Идэвхтэй таб руу гүйлгэх" } }, + "tabNav": { + "label": "Таб навигацийн самбарыг харуулах", + "description": "Идэвхжүүлсэн үед Таб навигацийн самбар харагдана", + "configure": "Тохируулах", + "configureTabNav": "Таб навигацийн самбарыг тохируулах", + "enabledNavs": "Идэвхжүүлсэн навигаци", + "disabledNavs": "Идэвхгүй навигаци (Боломжтой)", + "showLabel": "Шошгыг харуулах", + "showCount": "Тоо харуулах", + "days": "Өдрүүд", + "close": "Хаах", + "save": "Хадгалах", + "settings": "Тохиргоо", + "OpenTabs": "Нээлттэй табууд", + "RecentlyTabs": "Саяхан хаагдсан табууд", + "bookmarks": "Хавчуургууд", + "history": "Түүх", + "readingList": "Унших жагсаалт", + "quickAccess": "Түргэн хандалт", + "pinToToolbarReminder": "Энэ навигацийг устгахаас өмнө өргөтгөлөө хэрэгслийн самбартаа зүүж байрлуулна уу." + }, "bottomNav": { "label": "Доод навигацийн самбарыг харуулах", "description": "Доод навигацийн самбарыг идэвхжүүлснээр харагдана", diff --git a/build/_locales/mn/translation.json b/build/_locales/mn/translation.json index 9a3d894..9c44b58 100644 --- a/build/_locales/mn/translation.json +++ b/build/_locales/mn/translation.json @@ -151,5 +151,63 @@ "cancel": "Цуцлах", "fullscreen": "Бүтэн дэлгэц", "exitFullscreen": "Бүтэн дэлгэцээс гарах", - "zoom": "Томруулах" + "zoom": "Томруулах", + "undo": "Буцаах", + "addTabToGroup": "Табыг бүлэгт нэмэх", + "newGroup": "Шинэ бүлэг", + "nameThisGroup": "Энэ бүлгийг нэрлэх", + "addBookmark": "Хавчуурга нэмэх", + "editBookmark": "Хавчуургыг засах", + "deleteBookmark": "Хавчуургыг устгах", + "duplicateBookmarks": "Хавчуургуудыг давхардуулах", + "folderName": "Хавтасны нэр", + "selectParentFolder": "Эцэг хавтсыг сонгох", + "addFolder": "Хавтас нэмэх", + "editFolder": "Хавтсыг засах", + "deleteFolder": "Хавтсыг устгах", + "deleteFolderConfirmation": "Та энэ хавтсыг үнэхээр устгахыг хүсэж байна уу? Энэ хавтсанд байгаа бүх хавчуургууд (дэд хавтас дахь хавчуургуудыг оролцуулан) мөн устгагдана.", + "containsCountURLs": "{{count}} URL агуулсан", + "openAll": "Бүгдийг нээх ({{count}})", + "openAllInNewWindow": "Бүгдийг нээх ({{count}}) шинэ цонхонд", + "openAllInIncognitoWindow": "Бүгдийг нээх ({{count}}) нууцлалтай цонхонд", + "checkBookmarks": "Хавчуургуудыг шалгах", + "hideEmptyFolders": "Хоосон хавтаснуудыг нуух", + "displayTreeConnectorLines": "Модны холбогч шугамуудыг харуулах", + "showBookmarkUrl": "Хавчуурганы URL харуулах", + "bookmarkManager": "Хавчуурга удирдагч", + "default": "Анхдагч", + "title": "Гарчиг", + "url": "URL", + "recentlyUsed": "Саяхан ашигласан", + "recentlyAdded": "Саяхан нэмэгдсэн", + "switchToListView": "Жагсаалтын харагдац руу шилжих", + "switchToTreeView": "Модны харагдац руу шилжих", + "premiumFeatureOnly": "Энэ функц зөвхөн Premium Edition-д боломжтой.", + "premiumFreeTrialDesc": "Энэ функц нь зөвхөн Premium Edition-д боломжтой бөгөөд та одоо үнэгүй туршиж үзэх боломжтой.", + "freeTrial": "Үнэгүй туршилт", + "learnMore": "Дэлгэрэнгүй үзэх", + "limited": "хязгаарлагдмал", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Premium Edition-г урьдчилан захиалах", + "getPremiumEditionNow": "Premium Edition-г одоо авах", + "alreadyHavePremiumLicenseKey": "Би аль хэдийн Premium Edition лицензийн түлхүүртэй", + "licenseKey": "Лицензийн түлхүүр", + "activatePremium": "Premium Edition-г идэвхжүүлэх", + "couldNotActivatePremium": "Premium Edition-г идэвхжүүлж чадсангүй. Зөв лицензийн түлхүүр оруулна уу.", + "premiumActivatedSuccessfully": "Premium Edition амжилттай идэвхжсэн.", + "premiumAccessFeatures": "Premium Edition-тэй бол та нэмэлт функцүүдэд хандах боломжтой болно", + "premiumFeaturesPreOrderDescription": "Өргөтгөлийн бүх гол функцуудыг үнэгүй ашиглах боломжтой бөгөөд Premium хандалт шаардалгүйгээр ашиглах боломжтой хэвээр байх болно. Мэргэжлийн хэрэглээнд зориулсан дэвшилтэт функцуудыг багтаасан Premium Edition нь одоогоор хөгжүүлэлтийн шатанд байна. Одоо урьдчилан захиалснаар та эдгээр дэвшилтэт боломжуудыг хөгжүүлэхэд дэмжлэг үзүүлж, тэдгээрийг нэвтрүүлэхээс өмнө хямд үнээр авах боломжтой.", + "premiumFeaturesDescription": "Өргөтгөлийн бүх гол функцуудыг үнэгүй ашиглах боломжтой бөгөөд Premium хандалт шаардалгүйгээр ашиглах боломжтой хэвээр байх болно. Бид мэргэжлийн хэрэглээнд зориулсан дэвшилтэт боломжуудыг санал болгож байгаа бөгөөд эдгээр нь Premium Edition-д төлбөртэйгээр ашиглах боломжтой болно.", + "earlyBirdTicket": "Эрт захиалагчийн тасалбар", + "earlyBirdTicketDesc": "Бид Premium Edition функцуудыг нэвтрүүлэх гэж байгаа бөгөөд та эдгээр сайжруулалтуудыг хөгжүүлэхэд дэмжлэг үзүүлэх тусгай эрт захиалагчийн саналаас одоо ашиглах боломжтой. Одоо худалдан авснаар та Premium Edition-ийн бүх функцүүдэд насан туршдаа хандах эрхтэй болно. Premium Edition-г нэвтрүүлсний дараа эрт захиалагчийн санал зогсох бөгөөд насан туршийн худалдан авалт боломжгүй болно.", + "afterPurchase": "Худалдан авсны дараа бид лицензийн түлхүүрийг таны имэйл хаяг руу 24 цагийн дотор илгээх болно. Та үүнийг Premium Edition-г албан ёсоор нэвтрүүлсний дараа ашиглах боломжтой.", + "enterMailForLicenseKey": "Лицензийн түлхүүр хүлээн авахын тулд имэйл хаягаа оруулна уу.", + "upcomingFeatures": "Ирэх функцууд", + "treeTabs": "Модны табууд", + "tabHistory": "Табын түүх", + "cloudSync": "Үүлэн синк", + "advancedPictureInPicture": "Дэвшилтэт зураг доторх зураг", + "APIAccess": "API хандалт", + "customizeMenu": "Цэсийг өөрчлөх", + "Automation": "Автоматжуулалт" } \ No newline at end of file diff --git a/build/_locales/mr/error.json b/build/_locales/mr/error.json index dc13155..73bf3a2 100644 --- a/build/_locales/mr/error.json +++ b/build/_locales/mr/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "जतन केलेल्या गटांचे संपादन करता येणार नाही", + "Saved groups are not editable.": "जतन केलेल्या गटांचे संपादन करता येणार नाही", "ungroupingError": "सर्व टॅब अनग्रुप करण्यात अयशस्वी: {{error}}" } \ No newline at end of file diff --git a/build/_locales/mr/options.json b/build/_locales/mr/options.json index 9953c2f..4a76a1b 100644 --- a/build/_locales/mr/options.json +++ b/build/_locales/mr/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "सक्रिय टॅबवर स्क्रोल करा" } }, + "tabNav": { + "label": "टॅब नेव्हिगेशन बार दर्शवा", + "description": "सक्षम केल्यावर, टॅब नेव्हिगेशन बार प्रदर्शित होईल", + "configure": "कॉन्फिगर", + "configureTabNav": "टॅब नेव्हिगेशन कॉन्फिगर करा", + "enabledNavs": "सक्षम नेव्हिगेशन्स", + "disabledNavs": "अक्षम नेव्हिगेशन्स (उपलब्ध)", + "showLabel": "लेबल दाखवा", + "showCount": "संख्या दाखवा", + "days": "दिवस", + "close": "बंद करा", + "save": "जतन करा", + "settings": "सेटिंग्ज", + "OpenTabs": "उघडे टॅब्स", + "RecentlyTabs": "अलीकडे बंद केलेले टॅब्स", + "bookmarks": "बुकमार्क्स", + "history": "इतिहास", + "readingList": "वाचन सूची", + "quickAccess": "त्वरित प्रवेश", + "pinToToolbarReminder": "कृपया हे नेव्हिगेशन काढण्यापूर्वी विस्तार आपल्या टूलबारवर पिन करा." + }, "bottomNav": { "label": "तळाशी नेव्हिगेशन बार दर्शवा", "description": "सक्षम केल्यावर, खालचा नेव्हिगेशन बार दिसेल", diff --git a/build/_locales/mr/translation.json b/build/_locales/mr/translation.json index 2318cf8..0181cdc 100644 --- a/build/_locales/mr/translation.json +++ b/build/_locales/mr/translation.json @@ -151,5 +151,63 @@ "cancel": "रद्द करा", "fullscreen": "पूर्ण स्क्रीन", "exitFullscreen": "पूर्ण स्क्रीनमधून बाहेर पडा", - "zoom": "झूम" + "zoom": "झूम", + "undo": "पूर्ववत करा", + "addTabToGroup": "गटात टॅब जोडा", + "newGroup": "नवीन गट", + "nameThisGroup": "या गटाचे नाव ठेवा", + "addBookmark": "बुकमार्क जोडा", + "editBookmark": "बुकमार्क संपादित करा", + "deleteBookmark": "बुकमार्क हटवा", + "duplicateBookmarks": "बुकमार्क डुप्लिकेट करा", + "folderName": "फोल्डरचे नाव", + "selectParentFolder": "पालक फोल्डर निवडा", + "addFolder": "फोल्डर जोडा", + "editFolder": "फोल्डर संपादित करा", + "deleteFolder": "फोल्डर हटवा", + "deleteFolderConfirmation": "आपण खरोखर हा फोल्डर हटवू इच्छिता? या फोल्डरमधील सर्व बुकमार्क (उपफोल्डरमधील बुकमार्कसह) देखील हटवले जातील.", + "containsCountURLs": "{{count}} URLs समाविष्ट आहेत", + "openAll": "सर्व उघडा ({{count}})", + "openAllInNewWindow": "सर्व उघडा ({{count}}) नवीन विंडोमध्ये", + "openAllInIncognitoWindow": "सर्व उघडा ({{count}}) गुप्त विंडोमध्ये", + "checkBookmarks": "बुकमार्क तपासा", + "hideEmptyFolders": "रिकामे फोल्डर लपवा", + "displayTreeConnectorLines": "झाडाच्या कनेक्टर रेषा प्रदर्शित करा", + "showBookmarkUrl": "बुकमार्क URL प्रदर्शित करा", + "bookmarkManager": "बुकमार्क व्यवस्थापक", + "default": "मूलभूत", + "title": "शीर्षक", + "url": "URL", + "recentlyUsed": "अलीकडे वापरलेले", + "recentlyAdded": "अलीकडे जोडलेले", + "switchToListView": "यादी दृश्यावर स्विच करा", + "switchToTreeView": "झाडाच्या दृश्यावर स्विच करा", + "premiumFeatureOnly": "हे वैशिष्ट्य फक्त प्रीमियम एडिशनसह उपलब्ध आहे.", + "premiumFreeTrialDesc": "हे वैशिष्ट्य प्रीमियम एडिशनसाठी विशेष आहे, आणि आपण ते आता विनामूल्य वापरून पाहू शकता.", + "freeTrial": "विनामूल्य चाचणी", + "learnMore": "अधिक जाणून घ्या", + "limited": "मर्यादित", + "premiumEdition": "प्रीमियम एडिशन", + "PreOrderPremiumNow": "प्रीमियम एडिशनची पूर्व-ऑर्डर करा", + "getPremiumEditionNow": "आता प्रीमियम एडिशन मिळवा", + "alreadyHavePremiumLicenseKey": "माझ्याकडे आधीच प्रीमियम एडिशन परवाना की आहे", + "licenseKey": "परवाना की", + "activatePremium": "प्रीमियम एडिशन सक्रिय करा", + "couldNotActivatePremium": "प्रीमियम एडिशन सक्रिय करू शकलो नाही. कृपया वैध परवाना की प्रविष्ट करा.", + "premiumActivatedSuccessfully": "प्रीमियम एडिशन यशस्वीरित्या सक्रिय केले.", + "premiumAccessFeatures": "प्रीमियम एडिशनसह, आपल्याला अतिरिक्त वैशिष्ट्यांचा प्रवेश मिळेल", + "premiumFeaturesPreOrderDescription": "विस्ताराची सर्व प्रमुख वैशिष्ट्ये वापरण्यासाठी विनामूल्य आहेत आणि प्रीमियम प्रवेशाची आवश्यकता न ठेवता प्रवेशयोग्य राहतील. प्रीमियम एडिशन, ज्यामध्ये व्यावसायिक वापरासाठी डिझाइन केलेली प्रगत वैशिष्ट्ये समाविष्ट आहेत, अद्याप विकासात आहे. आता पूर्व-ऑर्डर करून, आपण या प्रीमियम क्षमतांच्या विकासास समर्थन देऊ शकता आणि त्यांना लॉन्च होण्यापूर्वी उत्कृष्ट किमतीत मिळवू शकता.", + "premiumFeaturesDescription": "विस्ताराची सर्व प्रमुख वैशिष्ट्ये वापरण्यासाठी विनामूल्य आहेत आणि प्रीमियम प्रवेशाची आवश्यकता न ठेवता प्रवेशयोग्य राहतील. आम्ही व्यावसायिक वापरासाठी प्रगत क्षमतांचा पुरवठा करण्यासाठी अतिरिक्त वैशिष्ट्ये ऑफर करतो, जी प्रीमियम एडिशनमध्ये शुल्कासाठी उपलब्ध असतील.", + "earlyBirdTicket": "अर्ली बर्ड तिकीट", + "earlyBirdTicketDesc": "आम्ही प्रीमियम एडिशन वैशिष्ट्ये लॉन्च करण्याच्या मार्गावर आहोत, आणि आपण आता या सुधारणा विकासास समर्थन देण्यासाठी विशेष अर्ली-बर्ड ऑफरचा लाभ घेऊ शकता. आता खरेदी करून, आपल्याला सर्व प्रीमियम एडिशन वैशिष्ट्यांचा आजीवन प्रवेश मिळेल. एकदा प्रीमियम एडिशन रिलीज झाल्यावर, अर्ली-बर्ड ऑफर बंद केली जाईल, आणि आजीवन खरेदी उपलब्ध राहणार नाही.", + "afterPurchase": "खरेदी केल्यानंतर, आम्ही 24 तासांच्या आत आपल्याला परवाना की आपल्या ईमेलवर पाठवू. प्रीमियम एडिशन अधिकृतपणे रिलीज झाल्यावर आपण ते वापरू शकता.", + "enterMailForLicenseKey": "परवाना की प्राप्त करण्यासाठी कृपया आपला मेल पत्ता प्रविष्ट करा.", + "upcomingFeatures": "आगामी वैशिष्ट्ये", + "treeTabs": "झाडाच्या टॅब्स", + "tabHistory": "टॅब इतिहास", + "cloudSync": "क्लाउड सिंक", + "advancedPictureInPicture": "प्रगत चित्र-इन-चित्र", + "APIAccess": "API प्रवेश", + "customizeMenu": "मेनू सानुकूलित करा", + "Automation": "स्वयंचलन" } \ No newline at end of file diff --git a/build/_locales/ms/error.json b/build/_locales/ms/error.json index 9aa23b7..bae7590 100644 --- a/build/_locales/ms/error.json +++ b/build/_locales/ms/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Kumpulan yang disimpan tidak boleh disunting", + "Saved groups are not editable.": "Kumpulan yang disimpan tidak boleh disunting", "ungroupingError": "Gagal untuk mengasingkan semua tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ms/options.json b/build/_locales/ms/options.json index f992621..42094bb 100644 --- a/build/_locales/ms/options.json +++ b/build/_locales/ms/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Tatal ke Tab Aktif" } }, + "tabNav": { + "label": "Tunjukkan bar navigasi Tab", + "description": "Apabila diaktifkan, bar navigasi Tab akan dipaparkan", + "configure": "konfigurasi", + "configureTabNav": "Konfigurasi Navigasi Tab", + "enabledNavs": "Navigasi Diaktifkan", + "disabledNavs": "Navigasi Dinonaktifkan (Tersedia)", + "showLabel": "Tunjukkan Label", + "showCount": "Tunjukkan Kiraan", + "days": "Hari", + "close": "Tutup", + "save": "Simpan", + "settings": "Tetapan", + "OpenTabs": "Tab Terbuka", + "RecentlyTabs": "Tab Ditutup Baru-baru Ini", + "bookmarks": "Penanda Halaman", + "history": "Sejarah", + "readingList": "Senarai Bacaan", + "quickAccess": "Akses Pantas", + "pinToToolbarReminder": "Sila pin sambungan ini ke bar alat anda sebelum mengalih keluar navigasi ini." + }, "bottomNav": { "label": "Tunjukkan bar navigasi bawah", "description": "Apabila diaktifkan, bar navigasi bawah akan muncul", diff --git a/build/_locales/ms/translation.json b/build/_locales/ms/translation.json index afe110e..bff367a 100644 --- a/build/_locales/ms/translation.json +++ b/build/_locales/ms/translation.json @@ -164,5 +164,63 @@ "cancel": "Batal", "fullscreen": "Skrin Penuh", "exitFullscreen": "Keluar Skrin Penuh", - "zoom": "Zum" + "zoom": "Zum", + "undo": "Buat asal", + "addTabToGroup": "Tambah tab ke kumpulan", + "newGroup": "Kumpulan baru", + "nameThisGroup": "Namakan kumpulan ini", + "addBookmark": "Tambah penanda halaman", + "editBookmark": "Sunting penanda halaman", + "deleteBookmark": "Padam penanda halaman", + "duplicateBookmarks": "Gandakan penanda halaman", + "folderName": "Nama folder", + "selectParentFolder": "Pilih folder induk", + "addFolder": "Tambah folder", + "editFolder": "Sunting folder", + "deleteFolder": "Padam folder", + "deleteFolderConfirmation": "Adakah anda benar-benar mahu memadam folder ini? Semua penanda halaman dalam folder ini (termasuk penanda halaman dalam subfolder) juga akan dipadam.", + "containsCountURLs": "Mengandungi {{count}} URL", + "openAll": "Buka semua ({{count}})", + "openAllInNewWindow": "Buka semua ({{count}}) dalam tetingkap baru", + "openAllInIncognitoWindow": "Buka semua ({{count}}) dalam tetingkap inkognito", + "checkBookmarks": "Semak penanda halaman", + "hideEmptyFolders": "Sembunyikan folder kosong", + "displayTreeConnectorLines": "Paparkan garis penyambung pokok", + "showBookmarkUrl": "Paparkan URL penanda halaman", + "bookmarkManager": "Pengurus penanda halaman", + "default": "Lalai", + "title": "Tajuk", + "url": "URL", + "recentlyUsed": "Baru digunakan", + "recentlyAdded": "Baru ditambah", + "switchToListView": "Tukar ke paparan senarai", + "switchToTreeView": "Tukar ke paparan pokok", + "premiumFeatureOnly": "Ciri ini hanya tersedia dengan Edisi Premium.", + "premiumFreeTrialDesc": "Ciri ini eksklusif untuk Edisi Premium, dan anda boleh mencubanya secara percuma sekarang.", + "freeTrial": "Percubaan Percuma", + "learnMore": "Ketahui Lebih Lanjut", + "limited": "terhad", + "premiumEdition": "Edisi Premium", + "PreOrderPremiumNow": "Pra-tempah Edisi Premium sekarang", + "getPremiumEditionNow": "Dapatkan Edisi Premium sekarang", + "alreadyHavePremiumLicenseKey": "Saya sudah mempunyai kunci lesen Edisi Premium", + "licenseKey": "Kunci Lesen", + "activatePremium": "Aktifkan Edisi Premium", + "couldNotActivatePremium": "Tidak dapat mengaktifkan Edisi Premium. Sila masukkan kunci lesen yang sah.", + "premiumActivatedSuccessfully": "Edisi Premium berjaya diaktifkan.", + "premiumAccessFeatures": "Dengan Edisi Premium, anda akan mendapat akses kepada ciri tambahan", + "premiumFeaturesPreOrderDescription": "Semua ciri utama sambungan adalah percuma untuk digunakan dan akan kekal boleh diakses tanpa memerlukan akses Premium. Edisi Premium, yang merangkumi ciri lanjutan yang direka untuk kegunaan profesional, masih dalam pembangunan. Dengan pra-pesanan sekarang, anda boleh menyokong pembangunan keupayaan premium ini dan mendapatkannya pada harga yang hebat sebelum ia dilancarkan.", + "premiumFeaturesDescription": "Semua ciri utama sambungan adalah percuma untuk digunakan dan akan kekal boleh diakses tanpa memerlukan akses Premium. Kami menawarkan ciri tambahan untuk menyediakan keupayaan lanjutan untuk kegunaan profesional, yang akan tersedia dalam Edisi Premium dengan bayaran.", + "earlyBirdTicket": "Tiket Awal", + "earlyBirdTicketDesc": "Kami hampir melancarkan ciri Edisi Premium, dan anda kini boleh memanfaatkan tawaran awal khas untuk menyokong pembangunan peningkatan ini. Dengan membeli sekarang, anda akan menerima akses seumur hidup kepada semua ciri Edisi Premium. Sebaik sahaja Edisi Premium dikeluarkan, tawaran awal akan dihentikan, dan pembelian seumur hidup tidak lagi akan tersedia.", + "afterPurchase": "Selepas pembelian, kami akan menghantar Kunci Lesen ke e-mel anda dalam masa 24 jam. Anda boleh menggunakannya sebaik sahaja Edisi Premium dikeluarkan secara rasmi.", + "enterMailForLicenseKey": "Sila masukkan alamat e-mel anda untuk menerima kunci lesen.", + "upcomingFeatures": "Ciri Akan Datang", + "treeTabs": "Tab Pokok", + "tabHistory": "Sejarah Tab", + "cloudSync": "Penyegerakan Awan", + "advancedPictureInPicture": "Gambar dalam Gambar Lanjutan", + "APIAccess": "Akses API", + "customizeMenu": "Sesuaikan Menu", + "Automation": "Automasi" } \ No newline at end of file diff --git a/build/_locales/mt/error.json b/build/_locales/mt/error.json index 6308ab4..a718311 100644 --- a/build/_locales/mt/error.json +++ b/build/_locales/mt/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Gruppi salvati mhumiex editabbli", + "Saved groups are not editable.": "Gruppi salvati mhumiex editabbli", "ungroupingError": "Naqas milli jiddiżgruppa t-tabs kollha: {{error}}" } \ No newline at end of file diff --git a/build/_locales/mt/options.json b/build/_locales/mt/options.json index fcfdb88..a6b4d21 100644 --- a/build/_locales/mt/options.json +++ b/build/_locales/mt/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Skrollja għall-Tab Attiv" } }, + "tabNav": { + "label": "Uri l-bar tan-navigazzjoni tat-Tab", + "description": "Meta tkun attivata, il-bar tan-navigazzjoni tat-Tab jidher", + "configure": "ikkonfigura", + "configureTabNav": "Ikkonfigura Navigazzjoni tat-Tab", + "enabledNavs": "Navigazzjonijiet Attivati", + "disabledNavs": "Navigazzjonijiet Diżattivati (Disponibbli)", + "showLabel": "Uri Tikketta", + "showCount": "Uri Għadd", + "days": "Jiem", + "close": "Agħlaq", + "save": "Issejvja", + "settings": "Settings", + "OpenTabs": "Tabs Miftuħa", + "RecentlyTabs": "Tabs Magħluqa Riċentement", + "bookmarks": "Bookmarks", + "history": "Storja", + "readingList": "Lista tal-Qari", + "quickAccess": "Aċċess Veloċi", + "pinToToolbarReminder": "Jekk jogħġbok pinna l-estensjoni mat-toolbar tiegħek qabel tneħħi din in-navigazzjoni." + }, "bottomNav": { "label": "Uri il-barraniżża ta 'navigazzjoni", "description": "Meta tkun attivata, il-barra tan-navigazzjoni se tidher", diff --git a/build/_locales/mt/translation.json b/build/_locales/mt/translation.json index db85825..0e53c3d 100644 --- a/build/_locales/mt/translation.json +++ b/build/_locales/mt/translation.json @@ -151,5 +151,63 @@ "cancel": "Ikkanċella", "fullscreen": "Skrin Sħiħ", "exitFullscreen": "Oħroġ minn Skrin Sħiħ", - "zoom": "Żum" + "zoom": "Żum", + "undo": "Ħassar", + "addTabToGroup": "Żid tab mal-grupp", + "newGroup": "Grupp ġdid", + "nameThisGroup": "Semmi dan il-grupp", + "addBookmark": "Żid bookmark", + "editBookmark": "Editja bookmark", + "deleteBookmark": "Ħassar bookmark", + "duplicateBookmarks": "Duplika bookmarks", + "folderName": "Isem tal-folder", + "selectParentFolder": "Agħżel il-folder prinċipali", + "addFolder": "Żid folder", + "editFolder": "Editja folder", + "deleteFolder": "Ħassar folder", + "deleteFolderConfirmation": "Trid verament tħassar dan il-folder? Il-bookmarks kollha f'dan il-folder (inklużi bookmarks f'subfolders) se jitħassru wkoll.", + "containsCountURLs": "Fih {{count}} URLs", + "openAll": "Iftaħ kollox ({{count}})", + "openAllInNewWindow": "Iftaħ kollox ({{count}}) f'tieqa ġdida", + "openAllInIncognitoWindow": "Iftaħ kollox ({{count}}) f'tieqa inkognito", + "checkBookmarks": "Iċċekkja Bookmarks", + "hideEmptyFolders": "Aħbi folders vojta", + "displayTreeConnectorLines": "Uri linji ta' konnessjoni tas-siġra", + "showBookmarkUrl": "Uri URL tal-Bookmark", + "bookmarkManager": "Maniġer tal-Bookmarks", + "default": "Default", + "title": "Titlu", + "url": "URL", + "recentlyUsed": "Użat reċentement", + "recentlyAdded": "Miżjud reċentement", + "switchToListView": "Ibdel għal veduta tal-lista", + "switchToTreeView": "Ibdel għal veduta tas-siġra", + "premiumFeatureOnly": "Din il-karatteristika hija disponibbli biss bl-Edisjoni Premium.", + "premiumFreeTrialDesc": "Din il-karatteristika hija esklussiva għall-Edisjoni Premium, u tista' tipprovaha b'xejn issa.", + "freeTrial": "Prova B'xejn", + "learnMore": "Tgħallem Aktar", + "limited": "limitata", + "premiumEdition": "Edisjoni Premium", + "PreOrderPremiumNow": "Pre-ordna l-Edisjoni Premium issa", + "getPremiumEditionNow": "Ikseb l-Edisjoni Premium issa", + "alreadyHavePremiumLicenseKey": "Diġà għandi ċavetta tal-liċenzja tal-Edisjoni Premium", + "licenseKey": "Ċavetta tal-Liċenzja", + "activatePremium": "Attiva l-Edisjoni Premium", + "couldNotActivatePremium": "Ma setax jiġi attivat l-Edisjoni Premium. Jekk jogħġbok daħħal ċavetta tal-liċenzja valida.", + "premiumActivatedSuccessfully": "Edisjoni Premium attivata b'suċċess.", + "premiumAccessFeatures": "Bl-Edisjoni Premium, ikollok aċċess għal karatteristiċi addizzjonali", + "premiumFeaturesPreOrderDescription": "Il-karatteristiċi ewlenin kollha tal-estensjoni huma b'xejn biex jintużaw u se jibqgħu aċċessibbli mingħajr ma jkollok bżonn aċċess Premium. L-Edisjoni Premium, li tinkludi karatteristiċi avvanzati mfassla għall-użu professjonali, għadha qed tiġi żviluppata. Billi tordna minn qabel issa, tista' tappoġġja l-iżvilupp ta' dawn il-kapaċitajiet premium u tiksebha bi prezz kbir qabel ma jitniedu.", + "premiumFeaturesDescription": "Il-karatteristiċi ewlenin kollha tal-estensjoni huma b'xejn biex jintużaw u se jibqgħu aċċessibbli mingħajr ma jkollok bżonn aċċess Premium. Noffru karatteristiċi addizzjonali biex nipprovdu kapaċitajiet avvanzati għall-użu professjonali, li se jkunu disponibbli fl-Edisjoni Premium bi ħlas.", + "earlyBirdTicket": "Biljett Early Bird", + "earlyBirdTicketDesc": "Qed ninsabu fil-proċess li niedu l-karatteristiċi tal-Edisjoni Premium, u issa tista' tieħu vantaġġ minn offerta speċjali early-bird biex tappoġġja l-iżvilupp ta' dawn it-titjib. Billi tixtri issa, tirċievi aċċess tul il-ħajja għall-karatteristiċi kollha tal-Edisjoni Premium. Ladarba l-Edisjoni Premium tiġi rilaxxata, l-offerta early-bird se tiġi interrotta, u x-xiri tul il-ħajja mhux se jkun aktar disponibbli.", + "afterPurchase": "Wara x-xiri, aħna nibgħatu ċ-Ċavetta tal-Liċenzja lill-email tiegħek fi żmien 24 siegħa. Tista' tużaha ladarba l-Edisjoni Premium tiġi rilaxxata uffiċjalment.", + "enterMailForLicenseKey": "Jekk jogħġbok daħħal l-indirizz tal-email tiegħek biex tirċievi ċ-ċavetta tal-liċenzja.", + "upcomingFeatures": "Karatteristiċi li ġejjin", + "treeTabs": "Tabs tas-Siġra", + "tabHistory": "Storja tat-Tab", + "cloudSync": "Sinkronizzazzjoni mal-Cloud", + "advancedPictureInPicture": "Picture-in-Picture Avvanzat", + "APIAccess": "Aċċess għall-API", + "customizeMenu": "Ippersonalizza l-Menù", + "Automation": "Awtomazzjoni" } \ No newline at end of file diff --git a/build/_locales/my/error.json b/build/_locales/my/error.json index d7cb0d4..ea94611 100644 --- a/build/_locales/my/error.json +++ b/build/_locales/my/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "သိမ်းဆည်းထားသော အုပ်စုများကို တည်းဖြတ်၍မရပါ", + "Saved groups are not editable.": "သိမ်းဆည်းထားသော အုပ်စုများကို တည်းဖြတ်၍မရပါ", "ungroupingError": "တစ်ခုချင်းစီကို အုပ်စုခွဲရန် မအောင်မြင်ပါ: {{error}}" } \ No newline at end of file diff --git a/build/_locales/my/options.json b/build/_locales/my/options.json index 3476d09..5c4c224 100644 --- a/build/_locales/my/options.json +++ b/build/_locales/my/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "လက်ရှိ Tab သို့လှိမ့်ပါ" } }, + "tabNav": { + "label": "Tab လမ်းညွှန်ဘားကို ပြပါ", + "description": "ဖွင့်ထားပါက Tab လမ်းညွှန်ဘားကို ပြသပါသည်", + "configure": "ပြင်ဆင်ပါ", + "configureTabNav": "Tab လမ်းညွှန်ကို ပြင်ဆင်ပါ", + "enabledNavs": "ဖွင့်ထားသော လမ်းညွှန်များ", + "disabledNavs": "ပိတ်ထားသော လမ်းညွှန်များ (အသုံးပြုနိုင်သည်)", + "showLabel": "တံဆိပ်ပြပါ", + "showCount": "အရေအတွက်ပြပါ", + "days": "ရက်များ", + "close": "ပိတ်ပါ", + "save": "သိမ်းဆည်းပါ", + "settings": "ဆက်တင်များ", + "OpenTabs": "ဖွင့်ထားသော Tab များ", + "RecentlyTabs": "မကြာသေးမီက ပိတ်ထားသော Tab များ", + "bookmarks": "စာအမှတ်အသားများ", + "history": "သမိုင်းကြောင်း", + "readingList": "ဖတ်ရှုစာရင်း", + "quickAccess": "အမြန်ဝင်ရောက်မှု", + "pinToToolbarReminder": "ဤလမ်းညွှန်ကိုဖယ်ရှားမီ သင့် toolbar တွင် extension ကို pin လုပ်ပါ။" + }, "bottomNav": { "label": "အောက်အတွင်းလှပြီးပြီးပြန်လည်သွင်းပြီးပြီး", "description": "အောက်ခြေတွင်ရှိသော လမ်းညွှန်ဘားကို ပြင်ဆင်ပါ", diff --git a/build/_locales/my/translation.json b/build/_locales/my/translation.json index abaae1b..109585e 100644 --- a/build/_locales/my/translation.json +++ b/build/_locales/my/translation.json @@ -151,5 +151,63 @@ "cancel": "ပယ်ဖျက်ရန်", "fullscreen": "အပြည့်အဝမျက်နှာပြင်", "exitFullscreen": "အပြည့်အဝမျက်နှာပြင်မှထွက်ရန်", - "zoom": "ချဲ့ရန်" + "zoom": "ချဲ့ရန်", + "undo": "မလုပ်ဆောင်မီအတိုင်းပြန်ပြင်ရန်", + "addTabToGroup": "အုပ်စုသို့တဘ်ထည့်ရန်", + "newGroup": "အုပ်စုအသစ်", + "nameThisGroup": "ဤအုပ်စုကိုအမည်ပေးရန်", + "addBookmark": "စာအမှတ်ထည့်ရန်", + "editBookmark": "စာအမှတ်တည်းဖြတ်ရန်", + "deleteBookmark": "စာအမှတ်ဖျက်ရန်", + "duplicateBookmarks": "စာအမှတ်များမိတ္တူကူးရန်", + "folderName": "ဖိုင်အမည်", + "selectParentFolder": "မိဘဖိုင်ရွေးရန်", + "addFolder": "ဖိုင်ထည့်ရန်", + "editFolder": "ဖိုင်တည်းဖြတ်ရန်", + "deleteFolder": "ဖိုင်ဖျက်ရန်", + "deleteFolderConfirmation": "ဤဖိုင်ကိုအမှန်တကယ်ဖျက်လိုပါသလား? ဤဖိုင်အတွင်းရှိစာအမှတ်များ (အောက်ဖိုင်များအတွင်းရှိစာအမှတ်များအပါအဝင်) ကိုလည်းဖျက်သိမ်းပါမည်။", + "containsCountURLs": "{{count}} URLs ပါဝင်သည်", + "openAll": "အားလုံးဖွင့်ရန် ({{count}})", + "openAllInNewWindow": "အားလုံးဖွင့်ရန် ({{count}}) ဝင်းဒိုးအသစ်တွင်", + "openAllInIncognitoWindow": "အားလုံးဖွင့်ရန် ({{count}}) လျှို့ဝှက်ဝင်းဒိုးတွင်", + "checkBookmarks": "စာအမှတ်များစစ်ဆေးရန်", + "hideEmptyFolders": "အလွတ်ဖိုင်များကိုဖျောက်ရန်", + "displayTreeConnectorLines": "အဆင့်ဆက်သွယ်မှုလိုင်းများပြရန်", + "showBookmarkUrl": "စာအမှတ် URL ကိုပြရန်", + "bookmarkManager": "စာအမှတ်မန်နေဂျာ", + "default": "ပုံသေ", + "title": "ခေါင်းစဉ်", + "url": "URL", + "recentlyUsed": "မကြာသေးမီကအသုံးပြုခဲ့သည်", + "recentlyAdded": "မကြာသေးမီကထည့်ခဲ့သည်", + "switchToListView": "စာရင်းကြည့်ရှုမှုသို့ပြောင်းရန်", + "switchToTreeView": "အဆင့်ကြည့်ရှုမှုသို့ပြောင်းရန်", + "premiumFeatureOnly": "ဤအင်္ဂါရပ်သည် Premium Edition ဖြင့်သာရရှိနိုင်ပါသည်။", + "premiumFreeTrialDesc": "ဤအင်္ဂါရပ်သည် Premium Edition အတွက်သာဖြစ်ပြီး၊ ယခုအခမဲ့စမ်းသပ်နိုင်ပါသည်။", + "freeTrial": "အခမဲ့စမ်းသပ်မှု", + "learnMore": "နောက်ထပ်သိရှိရန်", + "limited": "ကန့်သတ်ထားသည်", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Premium Edition ကိုယခုကြိုတင်မှာယူပါ", + "getPremiumEditionNow": "Premium Edition ကိုယခုရယူပါ", + "alreadyHavePremiumLicenseKey": "ကျွန်ုပ်တွင် Premium Edition လိုင်စင် Key ရှိပြီးဖြစ်သည်", + "licenseKey": "လိုင်စင် Key", + "activatePremium": "Premium Edition ကိုဖွင့်ရန်", + "couldNotActivatePremium": "Premium Edition ကိုဖွင့်၍မရပါ။ ကျေးဇူးပြု၍မှန်ကန်သောလိုင်စင် Key ထည့်ပါ။", + "premiumActivatedSuccessfully": "Premium Edition ကိုအောင်မြင်စွာဖွင့်လိုက်ပါပြီ။", + "premiumAccessFeatures": "Premium Edition ဖြင့်၊ သင်သည်အပိုအင်္ဂါရပ်များကိုရယူနိုင်ပါမည်", + "premiumFeaturesPreOrderDescription": "အက်ပ်၏အဓိကအင်္ဂါရပ်များအားလုံးကိုအခမဲ့အသုံးပြုနိုင်ပြီး Premium access မလိုအပ်ဘဲရရှိနိုင်ပါမည်။ Professional အသုံးပြုရန်အတွက်ဒီဇိုင်းထုတ်ထားသောအဆင့်မြင့်အင်္ဂါရပ်များပါဝင်သော Premium Edition သည်လက်ရှိဖွံ့ဖြိုးတိုးတက်နေဆဲဖြစ်သည်။ ယခုကြိုတင်မှာယူခြင်းဖြင့်၊ ဤ premium အင်္ဂါရပ်များဖွံ့ဖြိုးတိုးတက်ရေးကိုထောက်ပံ့နိုင်ပြီး၊ ထုတ်လုပ်မီကောင်းမွန်သောစျေးနှုန်းဖြင့်ရယူနိုင်ပါမည်။", + "premiumFeaturesDescription": "အက်ပ်၏အဓိကအင်္ဂါရပ်များအားလုံးကိုအခမဲ့အသုံးပြုနိုင်ပြီး Premium access မလိုအပ်ဘဲရရှိနိုင်ပါမည်။ ကျွန်ုပ်တို့သည် Professional အသုံးပြုရန်အတွက်အဆင့်မြင့်စွမ်းရည်များကိုပံ့ပိုးပေးရန်အပိုအင်္ဂါရပ်များကိုကမ်းလှမ်းပါသည်၊ ဤအင်္ဂါရပ်များကို Premium Edition တွင်ကြေးပေးသုံးစွဲနိုင်ပါမည်။", + "earlyBirdTicket": "Early Bird လက်မှတ်", + "earlyBirdTicketDesc": "ကျွန်ုပ်တို့သည် Premium Edition အင်္ဂါရပ်များကိုမကြာမီထုတ်လုပ်မည်ဖြစ်ပြီး၊ ဤတိုးတက်မှုများဖွံ့ဖြိုးတိုးတက်ရေးကိုထောက်ပံ့ရန်အတွက်အထူး early-bird ကမ်းလှမ်းမှုကိုယခုအသုံးပြုနိုင်ပါသည်။ ယခုဝယ်ယူခြင်းဖြင့်၊ Premium Edition အင်္ဂါရပ်များအားလုံးကိုသက်တမ်းတစ်လျှောက်လုံးရယူနိုင်ပါမည်။ Premium Edition ထုတ်လုပ်ပြီးနောက်၊ early-bird ကမ်းလှမ်းမှုကိုရပ်ဆိုင်းမည်ဖြစ်ပြီး၊ သက်တမ်းတစ်လျှောက်လုံးဝယ်ယူခြင်းကိုမရရှိနိုင်တော့ပါ။", + "afterPurchase": "ဝယ်ယူပြီးနောက်၊ ကျွန်ုပ်တို့သည်လိုင်စင် Key ကိုသင့်အီးမေးလ်သို့ 24 နာရီအတွင်းပို့ပါမည်။ Premium Edition ကိုတရားဝင်ထုတ်လုပ်ပြီးနောက်၎င်းကိုအသုံးပြုနိုင်ပါသည်။", + "enterMailForLicenseKey": "လိုင်စင် Key ရရှိရန်သင့်မေးလ်လိပ်စာထည့်ပါ။", + "upcomingFeatures": "မကြာမီထည့်သွင်းမည့်အင်္ဂါရပ်များ", + "treeTabs": "အဆင့်တဘ်များ", + "tabHistory": "တဘ်မှတ်တမ်း", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "အဆင့်မြင့်ပုံအတွင်းပုံ", + "APIAccess": "API Access", + "customizeMenu": "မီနူးကိုစိတ်ကြိုက်ပြင်ဆင်ရန်", + "Automation": "အလိုအလျောက်လုပ်ဆောင်မှု" } \ No newline at end of file diff --git a/build/_locales/nl/error.json b/build/_locales/nl/error.json index 5a5b263..5dd184c 100644 --- a/build/_locales/nl/error.json +++ b/build/_locales/nl/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Opgeslagen groepen zijn niet bewerkbaar", + "Saved groups are not editable.": "Opgeslagen groepen zijn niet bewerkbaar", "ungroupingError": "Kan alle tabbladen niet groeperen: {{error}}" } \ No newline at end of file diff --git a/build/_locales/nl/options.json b/build/_locales/nl/options.json index 71745ff..d8f55ca 100644 --- a/build/_locales/nl/options.json +++ b/build/_locales/nl/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Scroll naar actieve tab" } }, + "tabNav": { + "label": "Tabnavigatiebalk weergeven", + "description": "Wanneer ingeschakeld, wordt de tabnavigatiebalk weergegeven", + "configure": "configureren", + "configureTabNav": "Tabnavigatie instellen", + "enabledNavs": "Ingeschakelde navigaties", + "disabledNavs": "Uitgeschakelde navigaties (Beschikbaar)", + "showLabel": "Label weergeven", + "showCount": "Aantal weergeven", + "days": "Dagen", + "close": "Sluiten", + "save": "Opslaan", + "settings": "Instellingen", + "OpenTabs": "Open tabbladen", + "RecentlyTabs": "Recent gesloten tabbladen", + "bookmarks": "Bladwijzers", + "history": "Geschiedenis", + "readingList": "Leeslijst", + "quickAccess": "Snelle toegang", + "pinToToolbarReminder": "Zet de extensie vast in uw werkbalk voordat u deze navigatie verwijdert." + }, "bottomNav": { "label": "Navigatiebalk onderaan weergeven", "description": "Als deze optie is ingeschakeld, wordt de navigatiebalk onderaan weergegeven", diff --git a/build/_locales/nl/translation.json b/build/_locales/nl/translation.json index 4e325a0..889a043 100644 --- a/build/_locales/nl/translation.json +++ b/build/_locales/nl/translation.json @@ -164,5 +164,63 @@ "cancel": "Annuleren", "fullscreen": "Volledig scherm", "exitFullscreen": "Volledig scherm afsluiten", - "zoom": "Inzoomen" + "zoom": "Inzoomen", + "undo": "Ongedaan maken", + "addTabToGroup": "Tabblad aan groep toevoegen", + "newGroup": "Nieuwe groep", + "nameThisGroup": "Geef deze groep een naam", + "addBookmark": "Bladwijzer toevoegen", + "editBookmark": "Bladwijzer bewerken", + "deleteBookmark": "Bladwijzer verwijderen", + "duplicateBookmarks": "Bladwijzers dupliceren", + "folderName": "Mapnaam", + "selectParentFolder": "Selecteer bovenliggende map", + "addFolder": "Map toevoegen", + "editFolder": "Map bewerken", + "deleteFolder": "Map verwijderen", + "deleteFolderConfirmation": "Wilt u deze map echt verwijderen? Alle bladwijzers in deze map (inclusief bladwijzers in submappen) worden ook verwijderd.", + "containsCountURLs": "Bevat {{count}} URL's", + "openAll": "Alles openen ({{count}})", + "openAllInNewWindow": "Alles openen ({{count}}) in nieuw venster", + "openAllInIncognitoWindow": "Alles openen ({{count}}) in incognito venster", + "checkBookmarks": "Bladwijzers controleren", + "hideEmptyFolders": "Lege mappen verbergen", + "displayTreeConnectorLines": "Boomconnectorlijnen weergeven", + "showBookmarkUrl": "Bladwijzer-URL weergeven", + "bookmarkManager": "Bladwijzerbeheer", + "default": "Standaard", + "title": "Titel", + "url": "URL", + "recentlyUsed": "Recent gebruikt", + "recentlyAdded": "Recent toegevoegd", + "switchToListView": "Overschakelen naar lijstweergave", + "switchToTreeView": "Overschakelen naar boomweergave", + "premiumFeatureOnly": "Deze functie is alleen beschikbaar met de Premium Edition.", + "premiumFreeTrialDesc": "Deze functie is exclusief voor de Premium Edition, en je kunt het nu gratis proberen.", + "freeTrial": "Gratis proefversie", + "learnMore": "Meer informatie", + "limited": "beperkt", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Pre-order de Premium Edition nu", + "getPremiumEditionNow": "Krijg de Premium Edition nu", + "alreadyHavePremiumLicenseKey": "Ik heb al een Premium Edition licentiesleutel", + "licenseKey": "Licentiesleutel", + "activatePremium": "Activeer Premium Edition", + "couldNotActivatePremium": "Kon Premium Edition niet activeren. Voer een geldige licentiesleutel in.", + "premiumActivatedSuccessfully": "Premium Edition succesvol geactiveerd.", + "premiumAccessFeatures": "Met de Premium Edition krijg je toegang tot extra functies", + "premiumFeaturesPreOrderDescription": "Alle belangrijke functies van de extensie zijn gratis te gebruiken en blijven toegankelijk zonder Premium toegang. De Premium Edition, die geavanceerde functies voor professioneel gebruik bevat, is nog in ontwikkeling. Door nu te pre-orderen, kun je de ontwikkeling van deze premium mogelijkheden ondersteunen en het tegen een geweldige prijs krijgen voordat ze worden gelanceerd.", + "premiumFeaturesDescription": "Alle belangrijke functies van de extensie zijn gratis te gebruiken en blijven toegankelijk zonder Premium toegang. We bieden extra functies om geavanceerde mogelijkheden voor professioneel gebruik te bieden, die beschikbaar zullen zijn in de Premium Edition tegen een vergoeding.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "We staan op het punt om Premium Edition-functies te lanceren, en je kunt nu profiteren van een speciale early-bird aanbieding om de ontwikkeling van deze verbeteringen te ondersteunen. Door nu te kopen, krijg je levenslange toegang tot alle Premium Edition-functies. Zodra de Premium Edition is uitgebracht, wordt de early-bird aanbieding stopgezet en zijn levenslange aankopen niet meer beschikbaar.", + "afterPurchase": "Na aankoop sturen we de licentiesleutel binnen 24 uur naar je e-mail. Je kunt het gebruiken zodra de Premium Edition officieel is uitgebracht.", + "enterMailForLicenseKey": "Voer je e-mailadres in om de licentiesleutel te ontvangen.", + "upcomingFeatures": "Aankomende functies", + "treeTabs": "Boomtabbladen", + "tabHistory": "Tabbladgeschiedenis", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Geavanceerde Picture-in-Picture", + "APIAccess": "API-toegang", + "customizeMenu": "Menu aanpassen", + "Automation": "Automatisering" } \ No newline at end of file diff --git a/build/_locales/no/error.json b/build/_locales/no/error.json index e11275d..ddd23d6 100644 --- a/build/_locales/no/error.json +++ b/build/_locales/no/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Lagrede grupper kan ikke redigeres", + "Saved groups are not editable.": "Lagrede grupper kan ikke redigeres", "ungroupingError": "Kunne ikke oppheve grupperingen av alle faner: {{error}}" } \ No newline at end of file diff --git a/build/_locales/no/options.json b/build/_locales/no/options.json index 5a2292f..4a21983 100644 --- a/build/_locales/no/options.json +++ b/build/_locales/no/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rull til aktiv fane" } }, + "tabNav": { + "label": "Vis fane navigasjonslinje", + "description": "Når aktivert, vises fane navigasjonslinjen", + "configure": "konfigurer", + "configureTabNav": "Konfigurer fane navigasjon", + "enabledNavs": "Aktiverte navigasjoner", + "disabledNavs": "Deaktiverte navigasjoner (Tilgjengelige)", + "showLabel": "Vis etikett", + "showCount": "Vis antall", + "days": "Dager", + "close": "Lukk", + "save": "Lagre", + "settings": "Innstillinger", + "OpenTabs": "Åpne faner", + "RecentlyTabs": "Nylig lukkede faner", + "bookmarks": "Bokmerker", + "history": "Historikk", + "readingList": "Leseliste", + "quickAccess": "Hurtigtilgang", + "pinToToolbarReminder": "Fest utvidelsen til verktøylinjen før du fjerner denne navigasjonen." + }, "bottomNav": { "label": "Vis bunnnavigasjonslinje", "description": "Når aktivert, vil bunnnavigasjonslinjen vises", diff --git a/build/_locales/no/translation.json b/build/_locales/no/translation.json index 51a3705..aa2e701 100644 --- a/build/_locales/no/translation.json +++ b/build/_locales/no/translation.json @@ -164,5 +164,63 @@ "cancel": "Avbryt", "fullscreen": "Fullskjerm", "exitFullscreen": "Avslutt Fullskjerm", - "zoom": "Zoom" + "zoom": "Zoom inn", + "undo": "Angre", + "addTabToGroup": "Legg til fane i gruppe", + "newGroup": "Ny gruppe", + "nameThisGroup": "Navngi denne gruppen", + "addBookmark": "Legg til bokmerke", + "editBookmark": "Rediger bokmerke", + "deleteBookmark": "Slett bokmerke", + "duplicateBookmarks": "Dupliser bokmerker", + "folderName": "Mappenavn", + "selectParentFolder": "Velg overordnet mappe", + "addFolder": "Legg til mappe", + "editFolder": "Rediger mappe", + "deleteFolder": "Slett mappe", + "deleteFolderConfirmation": "Vil du virkelig slette denne mappen? Alle bokmerker i denne mappen (inkludert bokmerker i undermapper) vil også bli slettet.", + "containsCountURLs": "Inneholder {{count}} URL-er", + "openAll": "Åpne alle ({{count}})", + "openAllInNewWindow": "Åpne alle ({{count}}) i nytt vindu", + "openAllInIncognitoWindow": "Åpne alle ({{count}}) i inkognitovindu", + "checkBookmarks": "Sjekk bokmerker", + "hideEmptyFolders": "Skjul tomme mapper", + "displayTreeConnectorLines": "Vis tretilkoblingslinjer", + "showBookmarkUrl": "Vis bokmerke-URL", + "bookmarkManager": "Bokmerkebehandler", + "default": "Standard", + "title": "Tittel", + "url": "URL", + "recentlyUsed": "Nylig brukt", + "recentlyAdded": "Nylig lagt til", + "switchToListView": "Bytt til listevisning", + "switchToTreeView": "Bytt til trevisning", + "premiumFeatureOnly": "Denne funksjonen er kun tilgjengelig med Premium Edition.", + "premiumFreeTrialDesc": "Denne funksjonen er eksklusiv for Premium Edition, og du kan prøve den gratis nå.", + "freeTrial": "Gratis prøveperiode", + "learnMore": "Lær mer", + "limited": "begrenset", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Forhåndsbestill Premium Edition nå", + "getPremiumEditionNow": "Få Premium Edition nå", + "alreadyHavePremiumLicenseKey": "Jeg har allerede en Premium Edition-lisensnøkkel", + "licenseKey": "Lisensnøkkel", + "activatePremium": "Aktiver Premium Edition", + "couldNotActivatePremium": "Kunne ikke aktivere Premium Edition. Vennligst skriv inn en gyldig lisensnøkkel.", + "premiumActivatedSuccessfully": "Premium Edition aktivert vellykket.", + "premiumAccessFeatures": "Med Premium Edition får du tilgang til flere funksjoner", + "premiumFeaturesPreOrderDescription": "Alle nøkkelfunksjoner i utvidelsen er gratis å bruke og vil forbli tilgjengelige uten å kreve Premium-tilgang. Premium Edition, som inkluderer avanserte funksjoner designet for profesjonell bruk, er fortsatt under utvikling. Ved å forhåndsbestille nå kan du støtte utviklingen av disse premiumfunksjonene og få det til en god pris før de lanseres.", + "premiumFeaturesDescription": "Alle nøkkelfunksjoner i utvidelsen er gratis å bruke og vil forbli tilgjengelige uten å kreve Premium-tilgang. Vi tilbyr tilleggsfunksjoner for å gi avanserte muligheter for profesjonell bruk, som vil være tilgjengelige i Premium Edition mot en avgift.", + "earlyBirdTicket": "Early Bird-billett", + "earlyBirdTicketDesc": "Vi er i ferd med å lansere Premium Edition-funksjoner, og du kan nå dra nytte av et spesielt early-bird-tilbud for å støtte utviklingen av disse forbedringene. Ved å kjøpe nå vil du få livstids tilgang til alle Premium Edition-funksjoner. Når Premium Edition er utgitt, vil early-bird-tilbudet bli avviklet, og livstidskjøp vil ikke lenger være tilgjengelig.", + "afterPurchase": "Etter kjøpet vil vi sende lisensnøkkelen til din e-post innen 24 timer. Du kan bruke den når Premium Edition offisielt er utgitt.", + "enterMailForLicenseKey": "Vennligst skriv inn din e-postadresse for å motta lisensnøkkelen.", + "upcomingFeatures": "Kommende funksjoner", + "treeTabs": "Tre-faner", + "tabHistory": "Fanehistorikk", + "cloudSync": "Sky-synkronisering", + "advancedPictureInPicture": "Avansert bilde-i-bilde", + "APIAccess": "API-tilgang", + "customizeMenu": "Tilpass meny", + "Automation": "Automatisering" } \ No newline at end of file diff --git a/build/_locales/pl/error.json b/build/_locales/pl/error.json index 2371cd6..0d7cad4 100644 --- a/build/_locales/pl/error.json +++ b/build/_locales/pl/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Zapisane grupy nie są edytowalne", + "Saved groups are not editable.": "Zapisane grupy nie są edytowalne", "ungroupingError": "Nie udało się rozgrupować wszystkich kart: {{error}}" } \ No newline at end of file diff --git a/build/_locales/pl/options.json b/build/_locales/pl/options.json index 4bd10d1..d2f94ce 100644 --- a/build/_locales/pl/options.json +++ b/build/_locales/pl/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Przewiń do aktywnej karty" } }, + "tabNav": { + "label": "Pokaż pasek nawigacji kart", + "description": "Po włączeniu pasek nawigacji kart jest wyświetlany", + "configure": "konfiguruj", + "configureTabNav": "Konfiguruj nawigację kart", + "enabledNavs": "Włączone nawigacje", + "disabledNavs": "Wyłączone nawigacje (dostępne)", + "showLabel": "Pokaż etykietę", + "showCount": "Pokaż liczbę", + "days": "Dni", + "close": "Zamknij", + "save": "Zapisz", + "settings": "Ustawienia", + "OpenTabs": "Otwarte karty", + "RecentlyTabs": "Ostatnio zamknięte karty", + "bookmarks": "Zakładki", + "history": "Historia", + "readingList": "Lista czytelnicza", + "quickAccess": "Szybki dostęp", + "pinToToolbarReminder": "Przypnij rozszerzenie do paska narzędzi przed usunięciem tej nawigacji." + }, "bottomNav": { "label": "Pokaż dolny pasek nawigacyjny", "description": "Po włączeniu dolny pasek nawigacyjny będzie widoczny", diff --git a/build/_locales/pl/translation.json b/build/_locales/pl/translation.json index 82585c4..30d846e 100644 --- a/build/_locales/pl/translation.json +++ b/build/_locales/pl/translation.json @@ -164,5 +164,63 @@ "cancel": "Anuluj", "fullscreen": "Pełny Ekran", "exitFullscreen": "Wyjdź z Pełnego Ekranu", - "zoom": "Powiększenie" + "zoom": "Powiększenie", + "undo": "Cofnij", + "addTabToGroup": "Dodaj kartę do grupy", + "newGroup": "Nowa grupa", + "nameThisGroup": "Nazwij tę grupę", + "addBookmark": "Dodaj zakładkę", + "editBookmark": "Edytuj zakładkę", + "deleteBookmark": "Usuń zakładkę", + "duplicateBookmarks": "Duplikuj zakładki", + "folderName": "Nazwa folderu", + "selectParentFolder": "Wybierz folder nadrzędny", + "addFolder": "Dodaj folder", + "editFolder": "Edytuj folder", + "deleteFolder": "Usuń folder", + "deleteFolderConfirmation": "Czy na pewno chcesz usunąć ten folder? Wszystkie zakładki w tym folderze (w tym zakładki w podfolderach) również zostaną usunięte.", + "containsCountURLs": "Zawiera {{count}} URLi", + "openAll": "Otwórz wszystkie ({{count}})", + "openAllInNewWindow": "Otwórz wszystkie ({{count}}) w nowym oknie", + "openAllInIncognitoWindow": "Otwórz wszystkie ({{count}}) w oknie incognito", + "checkBookmarks": "Sprawdź zakładki", + "hideEmptyFolders": "Ukryj puste foldery", + "displayTreeConnectorLines": "Wyświetl linie łączące drzewo", + "showBookmarkUrl": "Wyświetl URL zakładki", + "bookmarkManager": "Menedżer zakładek", + "default": "Domyślny", + "title": "Tytuł", + "url": "URL", + "recentlyUsed": "Ostatnio używane", + "recentlyAdded": "Ostatnio dodane", + "switchToListView": "Przełącz na widok listy", + "switchToTreeView": "Przełącz na widok drzewa", + "premiumFeatureOnly": "Ta funkcja jest dostępna tylko w wersji Premium.", + "premiumFreeTrialDesc": "Ta funkcja jest dostępna wyłącznie w wersji Premium, a teraz możesz ją wypróbować za darmo.", + "freeTrial": "Bezpłatna wersja próbna", + "learnMore": "Dowiedz się więcej", + "limited": "ograniczony", + "premiumEdition": "Wersja Premium", + "PreOrderPremiumNow": "Zamów teraz wersję Premium", + "getPremiumEditionNow": "Uzyskaj teraz wersję Premium", + "alreadyHavePremiumLicenseKey": "Mam już klucz licencyjny wersji Premium", + "licenseKey": "Klucz licencyjny", + "activatePremium": "Aktywuj wersję Premium", + "couldNotActivatePremium": "Nie udało się aktywować wersji Premium. Proszę wprowadzić prawidłowy klucz licencyjny.", + "premiumActivatedSuccessfully": "Wersja Premium została pomyślnie aktywowana.", + "premiumAccessFeatures": "Dzięki wersji Premium uzyskasz dostęp do dodatkowych funkcji", + "premiumFeaturesPreOrderDescription": "Wszystkie kluczowe funkcje rozszerzenia są bezpłatne i pozostaną dostępne bez konieczności dostępu do wersji Premium. Wersja Premium, która zawiera zaawansowane funkcje zaprojektowane do użytku profesjonalnego, jest nadal w fazie rozwoju. Zamawiając teraz, możesz wesprzeć rozwój tych funkcji premium i uzyskać je w świetnej cenie przed ich premierą.", + "premiumFeaturesDescription": "Wszystkie kluczowe funkcje rozszerzenia są bezpłatne i pozostaną dostępne bez konieczności dostępu do wersji Premium. Oferujemy dodatkowe funkcje, aby zapewnić zaawansowane możliwości do użytku profesjonalnego, które będą dostępne w wersji Premium za opłatą.", + "earlyBirdTicket": "Bilet Early Bird", + "earlyBirdTicketDesc": "Wkrótce wprowadzimy funkcje wersji Premium, a teraz możesz skorzystać ze specjalnej oferty Early Bird, aby wesprzeć rozwój tych ulepszeń. Kupując teraz, otrzymasz dożywotni dostęp do wszystkich funkcji wersji Premium. Po wydaniu wersji Premium oferta Early Bird zostanie zakończona, a zakupy dożywotnie nie będą już dostępne.", + "afterPurchase": "Po zakupie wyślemy klucz licencyjny na Twój adres e-mail w ciągu 24 godzin. Możesz go użyć po oficjalnym wydaniu wersji Premium.", + "enterMailForLicenseKey": "Proszę wprowadzić swój adres e-mail, aby otrzymać klucz licencyjny.", + "upcomingFeatures": "Nadchodzące funkcje", + "treeTabs": "Drzewo kart", + "tabHistory": "Historia kart", + "cloudSync": "Synchronizacja z chmurą", + "advancedPictureInPicture": "Zaawansowany obraz w obrazie", + "APIAccess": "Dostęp do API", + "customizeMenu": "Dostosuj menu", + "Automation": "Automatyzacja" } \ No newline at end of file diff --git a/build/_locales/pt/error.json b/build/_locales/pt/error.json index 86cc2e1..ad2389c 100644 --- a/build/_locales/pt/error.json +++ b/build/_locales/pt/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grupos salvos não são editáveis", + "Saved groups are not editable.": "Grupos salvos não são editáveis", "ungroupingError": "Falha ao desagrupar todas as abas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/pt/options.json b/build/_locales/pt/options.json index 021f5b0..4e66b1f 100644 --- a/build/_locales/pt/options.json +++ b/build/_locales/pt/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rolar para a aba ativa" } }, + "tabNav": { + "label": "Mostrar barra de navegação de abas", + "description": "Quando ativada, a barra de navegação de abas será exibida", + "configure": "configurar", + "configureTabNav": "Configurar Navegação de Abas", + "enabledNavs": "Navegações Ativadas", + "disabledNavs": "Navegações Desativadas (Disponíveis)", + "showLabel": "Mostrar Rótulo", + "showCount": "Mostrar Contagem", + "days": "Dias", + "close": "Fechar", + "save": "Salvar", + "settings": "Configurações", + "OpenTabs": "Abas Abertas", + "RecentlyTabs": "Abas Fechadas Recentemente", + "bookmarks": "Favoritos", + "history": "Histórico", + "readingList": "Lista de Leitura", + "quickAccess": "Acesso Rápido", + "pinToToolbarReminder": "Por favor, fixe a extensão na barra de ferramentas antes de remover esta navegação." + }, "bottomNav": { "label": "Mostrar barra de navegação inferior", "description": "Quando ativada, a barra de navegação inferior será exibida", diff --git a/build/_locales/pt/translation.json b/build/_locales/pt/translation.json index d5630c0..287daf1 100644 --- a/build/_locales/pt/translation.json +++ b/build/_locales/pt/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancelar", "fullscreen": "Tela Cheia", "exitFullscreen": "Sair da Tela Cheia", - "zoom": "Zoom" + "zoom": "Ampliar", + "undo": "Desfazer", + "addTabToGroup": "Adicionar aba ao grupo", + "newGroup": "Novo grupo", + "nameThisGroup": "Nomear este grupo", + "addBookmark": "Adicionar favorito", + "editBookmark": "Editar favorito", + "deleteBookmark": "Excluir favorito", + "duplicateBookmarks": "Duplicar favoritos", + "folderName": "Nome da pasta", + "selectParentFolder": "Selecionar pasta pai", + "addFolder": "Adicionar pasta", + "editFolder": "Editar pasta", + "deleteFolder": "Excluir pasta", + "deleteFolderConfirmation": "Você realmente deseja excluir esta pasta? Todos os favoritos nesta pasta (incluindo favoritos em subpastas) também serão excluídos.", + "containsCountURLs": "Contém {{count}} URLs", + "openAll": "Abrir todos ({{count}})", + "openAllInNewWindow": "Abrir todos ({{count}}) em nova janela", + "openAllInIncognitoWindow": "Abrir todos ({{count}}) em janela anônima", + "checkBookmarks": "Verificar favoritos", + "hideEmptyFolders": "Ocultar pastas vazias", + "displayTreeConnectorLines": "Exibir linhas de conexão da árvore", + "showBookmarkUrl": "Exibir URL do favorito", + "bookmarkManager": "Gerenciador de favoritos", + "default": "Padrão", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recentemente", + "recentlyAdded": "Adicionado recentemente", + "switchToListView": "Mudar para visualização em lista", + "switchToTreeView": "Mudar para visualização em árvore", + "premiumFeatureOnly": "Este recurso está disponível apenas na Edição Premium.", + "premiumFreeTrialDesc": "Este recurso é exclusivo da Edição Premium, e você pode experimentá-lo gratuitamente agora.", + "freeTrial": "Teste Grátis", + "learnMore": "Saiba Mais", + "limited": "limitado", + "premiumEdition": "Edição Premium", + "PreOrderPremiumNow": "Pré-encomende a Edição Premium agora", + "getPremiumEditionNow": "Obtenha a Edição Premium agora", + "alreadyHavePremiumLicenseKey": "Já tenho uma chave de licença da Edição Premium", + "licenseKey": "Chave de Licença", + "activatePremium": "Ativar Edição Premium", + "couldNotActivatePremium": "Não foi possível ativar a Edição Premium. Por favor, insira uma chave de licença válida.", + "premiumActivatedSuccessfully": "Edição Premium ativada com sucesso.", + "premiumAccessFeatures": "Com a Edição Premium, você terá acesso a recursos adicionais", + "premiumFeaturesPreOrderDescription": "Todos os principais recursos da extensão são gratuitos para usar e continuarão acessíveis sem exigir acesso Premium. A Edição Premium, que inclui recursos avançados projetados para uso profissional, ainda está em desenvolvimento. Ao pré-encomendar agora, você pode apoiar o desenvolvimento dessas capacidades premium e obtê-las a um ótimo preço antes do lançamento.", + "premiumFeaturesDescription": "Todos os principais recursos da extensão são gratuitos para usar e continuarão acessíveis sem exigir acesso Premium. Oferecemos recursos adicionais para fornecer capacidades avançadas para uso profissional, que estarão disponíveis na Edição Premium por uma taxa.", + "earlyBirdTicket": "Ingresso Antecipado", + "earlyBirdTicketDesc": "Estamos prestes a lançar os recursos da Edição Premium, e você pode aproveitar uma oferta especial antecipada para apoiar o desenvolvimento dessas melhorias. Ao comprar agora, você receberá acesso vitalício a todos os recursos da Edição Premium. Uma vez lançada a Edição Premium, a oferta antecipada será descontinuada, e compras vitalícias não estarão mais disponíveis.", + "afterPurchase": "Após a compra, enviaremos a Chave de Licença para seu e-mail dentro de 24 horas. Você poderá usá-la assim que a Edição Premium for oficialmente lançada.", + "enterMailForLicenseKey": "Por favor, insira seu endereço de e-mail para receber a chave de licença.", + "upcomingFeatures": "Recursos Futuros", + "treeTabs": "Abas em Árvore", + "tabHistory": "Histórico de Abas", + "cloudSync": "Sincronização na Nuvem", + "advancedPictureInPicture": "Imagem-em-Imagem Avançada", + "APIAccess": "Acesso à API", + "customizeMenu": "Personalizar Menu", + "Automation": "Automação" } \ No newline at end of file diff --git a/build/_locales/pt_BR/error.json b/build/_locales/pt_BR/error.json index 86cc2e1..ad2389c 100644 --- a/build/_locales/pt_BR/error.json +++ b/build/_locales/pt_BR/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grupos salvos não são editáveis", + "Saved groups are not editable.": "Grupos salvos não são editáveis", "ungroupingError": "Falha ao desagrupar todas as abas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/pt_BR/options.json b/build/_locales/pt_BR/options.json index b9bb989..c5d56ce 100644 --- a/build/_locales/pt_BR/options.json +++ b/build/_locales/pt_BR/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rolar para a aba ativa" } }, + "tabNav": { + "label": "Mostrar barra de navegação de abas", + "description": "Quando ativada, a barra de navegação de abas é exibida", + "configure": "configurar", + "configureTabNav": "Configurar Navegação de Abas", + "enabledNavs": "Navegações Ativadas", + "disabledNavs": "Navegações Desativadas (Disponíveis)", + "showLabel": "Mostrar Rótulo", + "showCount": "Mostrar Contagem", + "days": "Dias", + "close": "Fechar", + "save": "Salvar", + "settings": "Configurações", + "OpenTabs": "Abas Abertas", + "RecentlyTabs": "Abas Fechadas Recentemente", + "bookmarks": "Favoritos", + "history": "Histórico", + "readingList": "Lista de Leitura", + "quickAccess": "Acesso Rápido", + "pinToToolbarReminder": "Por favor, fixe a extensão na barra de ferramentas antes de remover esta navegação." + }, "bottomNav": { "label": "Mostrar barra de navegação inferior", "description": "Quando ativada, a barra de navegação inferior será exibida", diff --git a/build/_locales/pt_BR/translation.json b/build/_locales/pt_BR/translation.json index 7f9bfe0..77a615a 100644 --- a/build/_locales/pt_BR/translation.json +++ b/build/_locales/pt_BR/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancelar", "fullscreen": "Tela Cheia", "exitFullscreen": "Sair da Tela Cheia", - "zoom": "Zoom" + "zoom": "Ampliar", + "undo": "Desfazer", + "addTabToGroup": "Adicionar aba ao grupo", + "newGroup": "Novo grupo", + "nameThisGroup": "Nomear este grupo", + "addBookmark": "Adicionar favorito", + "editBookmark": "Editar favorito", + "deleteBookmark": "Excluir favorito", + "duplicateBookmarks": "Duplicar favoritos", + "folderName": "Nome da pasta", + "selectParentFolder": "Selecionar pasta pai", + "addFolder": "Adicionar pasta", + "editFolder": "Editar pasta", + "deleteFolder": "Excluir pasta", + "deleteFolderConfirmation": "Você realmente deseja excluir esta pasta? Todos os favoritos nesta pasta (incluindo favoritos em subpastas) também serão excluídos.", + "containsCountURLs": "Contém {{count}} URLs", + "openAll": "Abrir todos ({{count}})", + "openAllInNewWindow": "Abrir todos ({{count}}) em nova janela", + "openAllInIncognitoWindow": "Abrir todos ({{count}}) em janela anônima", + "checkBookmarks": "Verificar favoritos", + "hideEmptyFolders": "Ocultar pastas vazias", + "displayTreeConnectorLines": "Exibir linhas de conexão da árvore", + "showBookmarkUrl": "Exibir URL do favorito", + "bookmarkManager": "Gerenciador de favoritos", + "default": "Padrão", + "title": "Título", + "url": "URL", + "recentlyUsed": "Usado recentemente", + "recentlyAdded": "Adicionado recentemente", + "switchToListView": "Mudar para visualização em lista", + "switchToTreeView": "Mudar para visualização em árvore", + "premiumFeatureOnly": "Este recurso está disponível apenas na Edição Premium.", + "premiumFreeTrialDesc": "Este recurso é exclusivo da Edição Premium, e você pode experimentá-lo gratuitamente agora.", + "freeTrial": "Teste Grátis", + "learnMore": "Saiba Mais", + "limited": "limitado", + "premiumEdition": "Edição Premium", + "PreOrderPremiumNow": "Pré-encomende a Edição Premium agora", + "getPremiumEditionNow": "Obtenha a Edição Premium agora", + "alreadyHavePremiumLicenseKey": "Já tenho uma chave de licença da Edição Premium", + "licenseKey": "Chave de Licença", + "activatePremium": "Ativar Edição Premium", + "couldNotActivatePremium": "Não foi possível ativar a Edição Premium. Por favor, insira uma chave de licença válida.", + "premiumActivatedSuccessfully": "Edição Premium ativada com sucesso.", + "premiumAccessFeatures": "Com a Edição Premium, você terá acesso a recursos adicionais", + "premiumFeaturesPreOrderDescription": "Todos os principais recursos da extensão são gratuitos para usar e continuarão acessíveis sem exigir acesso Premium. A Edição Premium, que inclui recursos avançados projetados para uso profissional, ainda está em desenvolvimento. Ao pré-encomendar agora, você pode apoiar o desenvolvimento dessas capacidades premium e obtê-las a um ótimo preço antes do lançamento.", + "premiumFeaturesDescription": "Todos os principais recursos da extensão são gratuitos para usar e continuarão acessíveis sem exigir acesso Premium. Oferecemos recursos adicionais para fornecer capacidades avançadas para uso profissional, que estarão disponíveis na Edição Premium por uma taxa.", + "earlyBirdTicket": "Ingresso Antecipado", + "earlyBirdTicketDesc": "Estamos prestes a lançar os recursos da Edição Premium, e você pode aproveitar uma oferta especial antecipada para apoiar o desenvolvimento dessas melhorias. Ao comprar agora, você receberá acesso vitalício a todos os recursos da Edição Premium. Uma vez lançada a Edição Premium, a oferta antecipada será descontinuada, e compras vitalícias não estarão mais disponíveis.", + "afterPurchase": "Após a compra, enviaremos a Chave de Licença para seu e-mail dentro de 24 horas. Você poderá usá-la assim que a Edição Premium for oficialmente lançada.", + "enterMailForLicenseKey": "Por favor, insira seu endereço de e-mail para receber a chave de licença.", + "upcomingFeatures": "Recursos Futuros", + "treeTabs": "Abas em Árvore", + "tabHistory": "Histórico de Abas", + "cloudSync": "Sincronização na Nuvem", + "advancedPictureInPicture": "Imagem-em-Imagem Avançada", + "APIAccess": "Acesso à API", + "customizeMenu": "Personalizar Menu", + "Automation": "Automação" } \ No newline at end of file diff --git a/build/_locales/pt_PT/error.json b/build/_locales/pt_PT/error.json index 86cc2e1..ad2389c 100644 --- a/build/_locales/pt_PT/error.json +++ b/build/_locales/pt_PT/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grupos salvos não são editáveis", + "Saved groups are not editable.": "Grupos salvos não são editáveis", "ungroupingError": "Falha ao desagrupar todas as abas: {{error}}" } \ No newline at end of file diff --git a/build/_locales/pt_PT/options.json b/build/_locales/pt_PT/options.json index e7f44a2..f44cdf8 100644 --- a/build/_locales/pt_PT/options.json +++ b/build/_locales/pt_PT/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rolar para a aba ativa" } }, + "tabNav": { + "label": "Mostrar barra de navegação de abas", + "description": "Quando ativada, a barra de navegação de abas será exibida", + "configure": "configurar", + "configureTabNav": "Configurar Navegação de Abas", + "enabledNavs": "Navegações Ativadas", + "disabledNavs": "Navegações Desativadas (Disponíveis)", + "showLabel": "Mostrar Rótulo", + "showCount": "Mostrar Contagem", + "days": "Dias", + "close": "Fechar", + "save": "Salvar", + "settings": "Configurações", + "OpenTabs": "Abas Abertas", + "RecentlyTabs": "Abas Fechadas Recentemente", + "bookmarks": "Favoritos", + "history": "Histórico", + "readingList": "Lista de Leitura", + "quickAccess": "Acesso Rápido", + "pinToToolbarReminder": "Por favor, fixe a extensão na barra de ferramentas antes de remover esta navegação." + }, "bottomNav": { "label": "Mostrar barra de navegação inferior", "description": "Quando ativada, a barra de navegação inferior será exibida", diff --git a/build/_locales/pt_PT/translation.json b/build/_locales/pt_PT/translation.json index 345ef3a..83bd3b8 100644 --- a/build/_locales/pt_PT/translation.json +++ b/build/_locales/pt_PT/translation.json @@ -164,5 +164,63 @@ "cancel": "Cancelar", "fullscreen": "Tela Cheia", "exitFullscreen": "Sair da Tela Cheia", - "zoom": "Zoom" + "zoom": "Ampliar", + "undo": "Desfazer", + "addTabToGroup": "Adicionar aba ao grupo", + "newGroup": "Novo grupo", + "nameThisGroup": "Nomear este grupo", + "addBookmark": "Adicionar favorito", + "editBookmark": "Editar favorito", + "deleteBookmark": "Excluir favorito", + "duplicateBookmarks": "Duplicar favoritos", + "folderName": "Nome da pasta", + "selectParentFolder": "Selecionar pasta pai", + "addFolder": "Adicionar pasta", + "editFolder": "Editar pasta", + "deleteFolder": "Excluir pasta", + "deleteFolderConfirmation": "Você realmente deseja excluir esta pasta? Todos os favoritos nesta pasta (incluindo favoritos em subpastas) também serão excluídos.", + "containsCountURLs": "Contém {{count}} URLs", + "openAll": "Abrir todos ({{count}})", + "openAllInNewWindow": "Abrir todos ({{count}}) em nova janela", + "openAllInIncognitoWindow": "Abrir todos ({{count}}) em janela anônima", + "checkBookmarks": "Verificar favoritos", + "hideEmptyFolders": "Ocultar pastas vazias", + "displayTreeConnectorLines": "Exibir linhas de conexão da árvore", + "showBookmarkUrl": "Exibir URL do favorito", + "bookmarkManager": "Gerenciador de favoritos", + "default": "Padrão", + "title": "Título", + "url": "URL", + "recentlyUsed": "Recentemente usado", + "recentlyAdded": "Recentemente adicionado", + "switchToListView": "Mudar para visualização em lista", + "switchToTreeView": "Mudar para visualização em árvore", + "premiumFeatureOnly": "Este recurso está disponível apenas na Edição Premium.", + "premiumFreeTrialDesc": "Este recurso é exclusivo da Edição Premium, e você pode experimentá-lo gratuitamente agora.", + "freeTrial": "Teste Grátis", + "learnMore": "Saiba Mais", + "limited": "limitado", + "premiumEdition": "Edição Premium", + "PreOrderPremiumNow": "Pré-encomende a Edição Premium agora", + "getPremiumEditionNow": "Obtenha a Edição Premium agora", + "alreadyHavePremiumLicenseKey": "Já tenho uma chave de licença da Edição Premium", + "licenseKey": "Chave de Licença", + "activatePremium": "Ativar Edição Premium", + "couldNotActivatePremium": "Não foi possível ativar a Edição Premium. Por favor, insira uma chave de licença válida.", + "premiumActivatedSuccessfully": "Edição Premium ativada com sucesso.", + "premiumAccessFeatures": "Com a Edição Premium, você terá acesso a recursos adicionais", + "premiumFeaturesPreOrderDescription": "Todos os recursos principais da extensão são gratuitos e continuarão acessíveis sem exigir acesso Premium. A Edição Premium, que inclui recursos avançados projetados para uso profissional, ainda está em desenvolvimento. Ao pré-encomendar agora, você pode apoiar o desenvolvimento dessas capacidades premium e obtê-las a um ótimo preço antes do lançamento.", + "premiumFeaturesDescription": "Todos os recursos principais da extensão são gratuitos e continuarão acessíveis sem exigir acesso Premium. Oferecemos recursos adicionais para fornecer capacidades avançadas para uso profissional, que estarão disponíveis na Edição Premium por uma taxa.", + "earlyBirdTicket": "Ingresso Antecipado", + "earlyBirdTicketDesc": "Estamos prestes a lançar os recursos da Edição Premium, e você pode aproveitar uma oferta especial antecipada para apoiar o desenvolvimento dessas melhorias. Ao comprar agora, você receberá acesso vitalício a todos os recursos da Edição Premium. Uma vez lançada a Edição Premium, a oferta antecipada será descontinuada, e compras vitalícias não estarão mais disponíveis.", + "afterPurchase": "Após a compra, enviaremos a Chave de Licença para seu e-mail dentro de 24 horas. Você poderá usá-la assim que a Edição Premium for oficialmente lançada.", + "enterMailForLicenseKey": "Por favor, insira seu endereço de e-mail para receber a chave de licença.", + "upcomingFeatures": "Recursos Futuros", + "treeTabs": "Abas em Árvore", + "tabHistory": "Histórico de Abas", + "cloudSync": "Sincronização na Nuvem", + "advancedPictureInPicture": "Picture-in-Picture Avançado", + "APIAccess": "Acesso à API", + "customizeMenu": "Personalizar Menu", + "Automation": "Automação" } \ No newline at end of file diff --git a/build/_locales/ro/error.json b/build/_locales/ro/error.json index 10c9706..68b24b3 100644 --- a/build/_locales/ro/error.json +++ b/build/_locales/ro/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grupurile salvate nu pot fi editate", + "Saved groups are not editable.": "Grupurile salvate nu pot fi editate", "ungroupingError": "Nu s-a reușit anularea grupării tuturor filelor: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ro/options.json b/build/_locales/ro/options.json index 0bdde5b..f3ec79a 100644 --- a/build/_locales/ro/options.json +++ b/build/_locales/ro/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Derulează la fila activă" } }, + "tabNav": { + "label": "Afișați bara de navigare a filelor", + "description": "Când este activată, bara de navigare a filelor va fi afișată", + "configure": "configurează", + "configureTabNav": "Configurează Bara de Navigare a Filelor", + "enabledNavs": "Navigări Activate", + "disabledNavs": "Navigări Dezactivate (Disponibile)", + "showLabel": "Afișează Eticheta", + "showCount": "Afișează Numărul", + "days": "Zile", + "close": "Închide", + "save": "Salvează", + "settings": "Setări", + "OpenTabs": "File Deschise", + "RecentlyTabs": "File Închise Recent", + "bookmarks": "Marcaje", + "history": "Istoric", + "readingList": "Listă de Citit", + "quickAccess": "Acces Rapid", + "pinToToolbarReminder": "Vă rugăm să fixați extensia în bara de instrumente înainte de a elimina această navigare." + }, "bottomNav": { "label": "Afișați bara de navigare inferioară", "description": "Când este activată, bara de navigare inferioară va fi afișată", diff --git a/build/_locales/ro/translation.json b/build/_locales/ro/translation.json index d2a58fc..57ba29b 100644 --- a/build/_locales/ro/translation.json +++ b/build/_locales/ro/translation.json @@ -164,5 +164,63 @@ "cancel": "Anulează", "fullscreen": "Ecran complet", "exitFullscreen": "Ieși din ecran complet", - "zoom": "Mărire" + "zoom": "Mărire", + "undo": "Anulează", + "addTabToGroup": "Adaugă fila la grup", + "newGroup": "Grup nou", + "nameThisGroup": "Numește acest grup", + "addBookmark": "Adaugă semn de carte", + "editBookmark": "Editează semnul de carte", + "deleteBookmark": "Șterge semnul de carte", + "duplicateBookmarks": "Duplică semnele de carte", + "folderName": "Numele dosarului", + "selectParentFolder": "Selectează dosarul părinte", + "addFolder": "Adaugă dosar", + "editFolder": "Editează dosarul", + "deleteFolder": "Șterge dosarul", + "deleteFolderConfirmation": "Sigur doriți să ștergeți acest dosar? Toate semnele de carte din acest dosar (inclusiv semnele de carte din subdosare) vor fi, de asemenea, șterse.", + "containsCountURLs": "Conține {{count}} URL-uri", + "openAll": "Deschide toate ({{count}})", + "openAllInNewWindow": "Deschide toate ({{count}}) într-o fereastră nouă", + "openAllInIncognitoWindow": "Deschide toate ({{count}}) într-o fereastră incognito", + "checkBookmarks": "Verifică semnele de carte", + "hideEmptyFolders": "Ascunde dosarele goale", + "displayTreeConnectorLines": "Afișează liniile de conectare ale arborelui", + "showBookmarkUrl": "Afișează URL-ul semnului de carte", + "bookmarkManager": "Manager de semne de carte", + "default": "Implicit", + "title": "Titlu", + "url": "URL", + "recentlyUsed": "Folosit recent", + "recentlyAdded": "Adăugat recent", + "switchToListView": "Comută la vizualizarea listă", + "switchToTreeView": "Comută la vizualizarea arbore", + "premiumFeatureOnly": "Această funcție este disponibilă doar cu Ediția Premium.", + "premiumFreeTrialDesc": "Această funcție este exclusivă pentru Ediția Premium și o puteți încerca gratuit acum.", + "freeTrial": "Încercare gratuită", + "learnMore": "Află mai multe", + "limited": "limitat", + "premiumEdition": "Ediția Premium", + "PreOrderPremiumNow": "Precomandă acum Ediția Premium", + "getPremiumEditionNow": "Obține acum Ediția Premium", + "alreadyHavePremiumLicenseKey": "Deja am o cheie de licență pentru Ediția Premium", + "licenseKey": "Cheie de licență", + "activatePremium": "Activează Ediția Premium", + "couldNotActivatePremium": "Nu s-a putut activa Ediția Premium. Vă rugăm să introduceți o cheie de licență validă.", + "premiumActivatedSuccessfully": "Ediția Premium a fost activată cu succes.", + "premiumAccessFeatures": "Cu Ediția Premium, veți avea acces la funcții suplimentare", + "premiumFeaturesPreOrderDescription": "Toate funcțiile cheie ale extensiei sunt gratuite și vor rămâne accesibile fără a necesita acces Premium. Ediția Premium, care include funcții avansate proiectate pentru utilizare profesională, este încă în dezvoltare. Prin precomandă acum, puteți sprijini dezvoltarea acestor capacități premium și le puteți obține la un preț excelent înainte de lansare.", + "premiumFeaturesDescription": "Toate funcțiile cheie ale extensiei sunt gratuite și vor rămâne accesibile fără a necesita acces Premium. Oferim funcții suplimentare pentru a furniza capacități avansate pentru utilizare profesională, care vor fi disponibile în Ediția Premium contra cost.", + "earlyBirdTicket": "Bilet Early Bird", + "earlyBirdTicketDesc": "Suntem pe cale să lansăm funcțiile Ediției Premium și acum puteți profita de o ofertă specială Early Bird pentru a sprijini dezvoltarea acestor îmbunătățiri. Prin achiziționare acum, veți primi acces pe viață la toate funcțiile Ediției Premium. Odată ce Ediția Premium este lansată, oferta Early Bird va fi întreruptă și achizițiile pe viață nu vor mai fi disponibile.", + "afterPurchase": "După achiziție, vă vom trimite Cheia de Licență pe e-mail în termen de 24 de ore. O puteți folosi odată ce Ediția Premium este lansată oficial.", + "enterMailForLicenseKey": "Vă rugăm să introduceți adresa de e-mail pentru a primi cheia de licență.", + "upcomingFeatures": "Funcții viitoare", + "treeTabs": "File în arbore", + "tabHistory": "Istoricul filelor", + "cloudSync": "Sincronizare în cloud", + "advancedPictureInPicture": "Picture-in-Picture avansat", + "APIAccess": "Acces API", + "customizeMenu": "Personalizează meniul", + "Automation": "Automatizare" } \ No newline at end of file diff --git a/build/_locales/ru/error.json b/build/_locales/ru/error.json index 6b98b14..2153a92 100644 --- a/build/_locales/ru/error.json +++ b/build/_locales/ru/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Сохраненные группы нельзя редактировать", + "Saved groups are not editable.": "Сохраненные группы нельзя редактировать", "ungroupingError": "Не удалось разъединить все вкладки: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ru/options.json b/build/_locales/ru/options.json index 868f75b..0fad105 100644 --- a/build/_locales/ru/options.json +++ b/build/_locales/ru/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Прокрутить к активной вкладке" } }, + "tabNav": { + "label": "Показать панель навигации вкладок", + "description": "Когда включено, отображается панель навигации вкладок", + "configure": "настроить", + "configureTabNav": "Настроить навигацию вкладок", + "enabledNavs": "Активные элементы навигации", + "disabledNavs": "Неактивные элементы навигации (доступные)", + "showLabel": "Показать метку", + "showCount": "Показать количество", + "days": "Дни", + "close": "Закрыть", + "save": "Сохранить", + "settings": "Настройки", + "OpenTabs": "Открытые вкладки", + "RecentlyTabs": "Недавно закрытые вкладки", + "bookmarks": "Закладки", + "history": "История", + "readingList": "Список для чтения", + "quickAccess": "Быстрый доступ", + "pinToToolbarReminder": "Закрепите расширение на панели инструментов перед удалением этого элемента навигации." + }, "bottomNav": { "label": "Показать нижнюю навигационную панель", "description": "При включении отображается нижняя панель навигации", diff --git a/build/_locales/ru/translation.json b/build/_locales/ru/translation.json index d978984..be9729b 100644 --- a/build/_locales/ru/translation.json +++ b/build/_locales/ru/translation.json @@ -164,5 +164,63 @@ "cancel": "Отменить", "fullscreen": "Полноэкранный режим", "exitFullscreen": "Выйти из полноэкранного режима", - "zoom": "Масштаб" + "zoom": "Масштаб", + "undo": "Отменить", + "addTabToGroup": "Добавить вкладку в группу", + "newGroup": "Новая группа", + "nameThisGroup": "Назовите эту группу", + "addBookmark": "Добавить закладку", + "editBookmark": "Редактировать закладку", + "deleteBookmark": "Удалить закладку", + "duplicateBookmarks": "Дублировать закладки", + "folderName": "Имя папки", + "selectParentFolder": "Выбрать родительскую папку", + "addFolder": "Добавить папку", + "editFolder": "Редактировать папку", + "deleteFolder": "Удалить папку", + "deleteFolderConfirmation": "Вы действительно хотите удалить эту папку? Все закладки в этой папке (включая закладки в подпапках) также будут удалены.", + "containsCountURLs": "Содержит {{count}} URL", + "openAll": "Открыть все ({{count}})", + "openAllInNewWindow": "Открыть все ({{count}}) в новом окне", + "openAllInIncognitoWindow": "Открыть все ({{count}}) в режиме инкогнито", + "checkBookmarks": "Проверить закладки", + "hideEmptyFolders": "Скрыть пустые папки", + "displayTreeConnectorLines": "Отображать линии соединения дерева", + "showBookmarkUrl": "Показать URL закладки", + "bookmarkManager": "Менеджер закладок", + "default": "По умолчанию", + "title": "Название", + "url": "URL", + "recentlyUsed": "Недавно использованные", + "recentlyAdded": "Недавно добавленные", + "switchToListView": "Переключиться на вид списка", + "switchToTreeView": "Переключиться на вид дерева", + "premiumFeatureOnly": "Эта функция доступна только в Премиум-версии.", + "premiumFreeTrialDesc": "Эта функция доступна только в Премиум-версии, и вы можете попробовать ее бесплатно прямо сейчас.", + "freeTrial": "Бесплатная пробная версия", + "learnMore": "Узнать больше", + "limited": "ограниченный", + "premiumEdition": "Премиум-версия", + "PreOrderPremiumNow": "Предзаказ Премиум-версии", + "getPremiumEditionNow": "Получить Премиум-версию сейчас", + "alreadyHavePremiumLicenseKey": "У меня уже есть лицензионный ключ Премиум-версии", + "licenseKey": "Лицензионный ключ", + "activatePremium": "Активировать Премиум-версию", + "couldNotActivatePremium": "Не удалось активировать Премиум-версию. Пожалуйста, введите действительный лицензионный ключ.", + "premiumActivatedSuccessfully": "Премиум-версия успешно активирована.", + "premiumAccessFeatures": "С Премиум-версией вы получите доступ к дополнительным функциям", + "premiumFeaturesPreOrderDescription": "Все ключевые функции расширения бесплатны и останутся доступными без необходимости Премиум-доступа. Премиум-версия, включающая расширенные функции для профессионального использования, все еще находится в разработке. Сделав предзаказ сейчас, вы поддержите разработку этих премиум-возможностей и получите их по отличной цене до их запуска.", + "premiumFeaturesDescription": "Все ключевые функции расширения бесплатны и останутся доступными без необходимости Премиум-доступа. Мы предлагаем дополнительные функции для предоставления расширенных возможностей для профессионального использования, которые будут доступны в Премиум-версии за плату.", + "earlyBirdTicket": "Билет раннего доступа", + "earlyBirdTicketDesc": "Мы скоро запустим функции Премиум-версии, и вы можете воспользоваться специальным предложением раннего доступа для поддержки разработки этих улучшений. Купив сейчас, вы получите пожизненный доступ ко всем функциям Премиум-версии. После выпуска Премиум-версии предложение раннего доступа будет прекращено, и пожизненные покупки больше не будут доступны.", + "afterPurchase": "После покупки мы отправим лицензионный ключ на ваш email в течение 24 часов. Вы сможете использовать его после официального выпуска Премиум-версии.", + "enterMailForLicenseKey": "Пожалуйста, введите ваш адрес электронной почты для получения лицензионного ключа.", + "upcomingFeatures": "Предстоящие функции", + "treeTabs": "Древовидные вкладки", + "tabHistory": "История вкладок", + "cloudSync": "Облачная синхронизация", + "advancedPictureInPicture": "Расширенный режим «Картинка в картинке»", + "APIAccess": "Доступ к API", + "customizeMenu": "Настроить меню", + "Automation": "Автоматизация" } \ No newline at end of file diff --git a/build/_locales/rw/error.json b/build/_locales/rw/error.json index 70a70ba..c31e99f 100644 --- a/build/_locales/rw/error.json +++ b/build/_locales/rw/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Amatsinda abitswe ntashobora guhindurwa", + "Saved groups are not editable.": "Amatsinda abitswe ntashobora guhindurwa", "ungroupingError": "Byanze gukuramo amatsinda yose: {{ikosa}}" } \ No newline at end of file diff --git a/build/_locales/rw/options.json b/build/_locales/rw/options.json index 53af59b..81eaa53 100644 --- a/build/_locales/rw/options.json +++ b/build/_locales/rw/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Kuzunguruka ku ikarita ikora" } }, + "tabNav": { + "label": "Erekana urubuga rw'ikarita", + "description": "Iyo yemejwe, urubuga rw'ikarita ruzerekanwa", + "configure": "guhindura", + "configureTabNav": "Guhindura Urubuga rw'Ikarita", + "enabledNavs": "Navigasiyo zemejwe", + "disabledNavs": "Navigasiyo zidakora (Ziboneka)", + "showLabel": "Erekana Ikirangantego", + "showCount": "Erekana Umubare", + "days": "Iminsi", + "close": "Funga", + "save": "Bika", + "settings": "Igenamiterere", + "OpenTabs": "Amakarita Afunguye", + "RecentlyTabs": "Amakarita Aheruka Gufungwa", + "bookmarks": "Ibirango", + "history": "Amateka", + "readingList": "Urutonde rwo Gusoma", + "quickAccess": "Kwinjira Vuba", + "pinToToolbarReminder": "Nyamuneka shyira iyi extention kuri toolbar yawe mbere yo gukuraho iyi navigasiyo." + }, "bottomNav": { "label": "Erekana urubuga rwo hasi", "description": "Niba yemejwe, urubuga rwo hasi ruzagaragara", diff --git a/build/_locales/rw/translation.json b/build/_locales/rw/translation.json index 924806c..c70b2c5 100644 --- a/build/_locales/rw/translation.json +++ b/build/_locales/rw/translation.json @@ -151,5 +151,63 @@ "cancel": "Hagarika", "fullscreen": "Ijisho ryose", "exitFullscreen": "Sohoka mu Ijisho ryose", - "zoom": "Gufata neza" + "zoom": "Gufata neza", + "undo": "Subiza inyuma", + "addTabToGroup": "Ongeraho ikarita mu itsinda", + "newGroup": "Itsinda rishya", + "nameThisGroup": "Bahe izina iri tsinda", + "addBookmark": "Ongeraho ikirango", + "editBookmark": "Hindura ikirango", + "deleteBookmark": "Siba ikirango", + "duplicateBookmarks": "Koporora ibirango", + "folderName": "Izina ry'ububiko", + "selectParentFolder": "Hitamo ububiko bukuru", + "addFolder": "Ongeraho ububiko", + "editFolder": "Hindura ububiko", + "deleteFolder": "Siba ububiko", + "deleteFolderConfirmation": "Urashaka koko gusiba ubu bubiko? Ibirango byose biri muri ubu bubiko (harimo n'ibirango biri mu bubiko bw'imbere) bizasibwa.", + "containsCountURLs": "Birimo {{count}} URLs", + "openAll": "Fungura byose ({{count}})", + "openAllInNewWindow": "Fungura byose ({{count}}) mu idirishya rishya", + "openAllInIncognitoWindow": "Fungura byose ({{count}}) mu idirishya ry'ibanga", + "checkBookmarks": "Reba ibirango", + "hideEmptyFolders": "Hisha ububiko butarimo ibintu", + "displayTreeConnectorLines": "Erekana imirongo y'ububiko", + "showBookmarkUrl": "Erekana URL y'ikirango", + "bookmarkManager": "Umuyobozi w'ibirango", + "default": "By'ibanze", + "title": "Umutwe", + "url": "URL", + "recentlyUsed": "Byakoreshejwe vuba", + "recentlyAdded": "Byongeweho vuba", + "switchToListView": "Hindura ku kureba urutonde", + "switchToTreeView": "Hindura ku kureba igiti", + "premiumFeatureOnly": "Iyi mikorere iboneka gusa muri Premium Edition.", + "premiumFreeTrialDesc": "Iyi mikorere iboneka gusa muri Premium Edition, kandi ushobora kuyigerageza ku buntu ubu.", + "freeTrial": "Igerageza ry'ubuntu", + "learnMore": "Menya byinshi", + "limited": "bifite urugero", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Tegereza Premium Edition ubu", + "getPremiumEditionNow": "Bona Premium Edition ubu", + "alreadyHavePremiumLicenseKey": "Nafite urufunguzo rwa Premium Edition", + "licenseKey": "Urufunguzo rwa License", + "activatePremium": "Shyira mu bikorwa Premium Edition", + "couldNotActivatePremium": "Ntibishobotse gushyira mu bikorwa Premium Edition. Nyamuneka shyiramo urufunguzo rwa license rukora.", + "premiumActivatedSuccessfully": "Premium Edition yashyizwe mu bikorwa neza.", + "premiumAccessFeatures": "N'uburenganzira bwa Premium Edition, uzabona imikorere y'inyongera", + "premiumFeaturesPreOrderDescription": "Imikorere yose y'ingenzi y'inyongera iraboneka kandi izakomeza kuboneka nta Premium access isabwa. Premium Edition, irimo imikorere y'inyongera igenewe gukoresha kinyamwuga, iracyari mu iterambere. Mugihe utegerezanyije ubu, urashobora gushyigikira iterambere ry'iyi mikorere y'inyongera kandi ukayibona ku giciro cyiza mbere y'uko isohoka.", + "premiumFeaturesDescription": "Imikorere yose y'ingenzi y'inyongera iraboneka kandi izakomeza kuboneka nta Premium access isabwa. Dutanga imikorere y'inyongera kugirango dutange ubushobozi bw'inyongera bwo gukoresha kinyamwuga, bizaboneka muri Premium Edition ku giciro.", + "earlyBirdTicket": "Itike y'inyoni yambere", + "earlyBirdTicketDesc": "Turi hafi gusohora imikorere ya Premium Edition, kandi ubu ushobora gufata amahirwe y'itike y'inyoni yambere kugirango ushyigikire iterambere ry'izi nyongera. Mugihe ugura ubu, uzabona uburenganzira bw'ubuzima bwose ku mikorere yose ya Premium Edition. Mugihe Premium Edition isohotse, itike y'inyoni yambere izahagarikwa, kandi kugura uburenganzira bw'ubuzima bwose ntibizongera kuboneka.", + "afterPurchase": "Nyuma yo kugura, tuzohereza urufunguzo rwa License kuri email yawe mu masaha 24. Urashobora kurukoresha mugihe Premium Edition isohotse ku mugaragaro.", + "enterMailForLicenseKey": "Nyamuneka shyiramo aderesi ya email kugirango ubone urufunguzo rwa license.", + "upcomingFeatures": "Imikorere izaza", + "treeTabs": "Amakarita y'igiti", + "tabHistory": "Amateka y'amakarita", + "cloudSync": "Guhuza n'ibicu", + "advancedPictureInPicture": "Ifoto y'inyongera mu Ifoto", + "APIAccess": "Kwinjira muri API", + "customizeMenu": "Hindura Menu", + "Automation": "Gukoresha imashini" } \ No newline at end of file diff --git a/build/_locales/sk/error.json b/build/_locales/sk/error.json index 759e269..796d98b 100644 --- a/build/_locales/sk/error.json +++ b/build/_locales/sk/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Uložené skupiny nie je možné upravovať", + "Saved groups are not editable.": "Uložené skupiny nie je možné upravovať", "ungroupingError": "Nepodarilo sa zrušiť zoskupenie všetkých kariet: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sk/options.json b/build/_locales/sk/options.json index 4365d0e..28d1c98 100644 --- a/build/_locales/sk/options.json +++ b/build/_locales/sk/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Posunúť na aktívnu kartu" } }, + "tabNav": { + "label": "Zobraziť panel navigácie kariet", + "description": "Keď je povolené, panel navigácie kariet sa zobrazí", + "configure": "nastaviť", + "configureTabNav": "Nastaviť navigáciu kariet", + "enabledNavs": "Povolené navigácie", + "disabledNavs": "Zakázané navigácie (Dostupné)", + "showLabel": "Zobraziť popis", + "showCount": "Zobraziť počet", + "days": "Dni", + "close": "Zatvoriť", + "save": "Uložiť", + "settings": "Nastavenia", + "OpenTabs": "Otvorené karty", + "RecentlyTabs": "Nedávno zatvorené karty", + "bookmarks": "Záložky", + "history": "História", + "readingList": "Čítací zoznam", + "quickAccess": "Rýchly prístup", + "pinToToolbarReminder": "Pred odstránením tejto navigácie si prosím pripnite rozšírenie na panel nástrojov." + }, "bottomNav": { "label": "Zobraziť dolný navigačný panel", "description": "Ak je povolené, dolný navigačný panel sa zobrazí", diff --git a/build/_locales/sk/translation.json b/build/_locales/sk/translation.json index 12cf85c..db669a9 100644 --- a/build/_locales/sk/translation.json +++ b/build/_locales/sk/translation.json @@ -164,5 +164,63 @@ "cancel": "Zrušiť", "fullscreen": "Celá obrazovka", "exitFullscreen": "Ukončiť celú obrazovku", - "zoom": "Priblíženie" + "zoom": "Priblíženie", + "undo": "Späť", + "addTabToGroup": "Pridať kartu do skupiny", + "newGroup": "Nová skupina", + "nameThisGroup": "Pomenujte túto skupinu", + "addBookmark": "Pridať záložku", + "editBookmark": "Upraviť záložku", + "deleteBookmark": "Vymazať záložku", + "duplicateBookmarks": "Duplikovať záložky", + "folderName": "Názov priečinka", + "selectParentFolder": "Vyberte nadradený priečinok", + "addFolder": "Pridať priečinok", + "editFolder": "Upraviť priečinok", + "deleteFolder": "Vymazať priečinok", + "deleteFolderConfirmation": "Naozaj chcete vymazať tento priečinok? Všetky záložky v tomto priečinku (vrátane záložiek v podpriečinkoch) budú tiež vymazané.", + "containsCountURLs": "Obsahuje {{count}} URL", + "openAll": "Otvoriť všetko ({{count}})", + "openAllInNewWindow": "Otvoriť všetko ({{count}}) v novom okne", + "openAllInIncognitoWindow": "Otvoriť všetko ({{count}}) v okne inkognito", + "checkBookmarks": "Skontrolovať záložky", + "hideEmptyFolders": "Skryť prázdne priečinky", + "displayTreeConnectorLines": "Zobraziť spojovacie čiary stromu", + "showBookmarkUrl": "Zobraziť URL záložky", + "bookmarkManager": "Správca záložiek", + "default": "Predvolené", + "title": "Názov", + "url": "URL", + "recentlyUsed": "Nedávno použité", + "recentlyAdded": "Nedávno pridané", + "switchToListView": "Prepnúť na zobrazenie zoznamu", + "switchToTreeView": "Prepnúť na zobrazenie stromu", + "premiumFeatureOnly": "Táto funkcia je dostupná iba v Premium edícii.", + "premiumFreeTrialDesc": "Táto funkcia je exkluzívna pre Premium edíciu, a teraz si ju môžete vyskúšať zadarmo.", + "freeTrial": "Skúšobná verzia", + "learnMore": "Zistiť viac", + "limited": "obmedzené", + "premiumEdition": "Premium edícia", + "PreOrderPremiumNow": "Predobjednajte si Premium edíciu teraz", + "getPremiumEditionNow": "Získajte Premium edíciu teraz", + "alreadyHavePremiumLicenseKey": "Už mám licenčný kľúč pre Premium edíciu", + "licenseKey": "Licenčný kľúč", + "activatePremium": "Aktivovať Premium edíciu", + "couldNotActivatePremium": "Nepodarilo sa aktivovať Premium edíciu. Prosím, zadajte platný licenčný kľúč.", + "premiumActivatedSuccessfully": "Premium edícia úspešne aktivovaná.", + "premiumAccessFeatures": "S Premium edíciou získate prístup k ďalším funkciám", + "premiumFeaturesPreOrderDescription": "Všetky kľúčové funkcie rozšírenia sú bezplatné a zostanú prístupné bez potreby Premium prístupu. Premium edícia, ktorá obsahuje pokročilé funkcie určené pre profesionálne použitie, je stále vo vývoji. Predobjednaním teraz môžete podporiť vývoj týchto prémiových schopností a získať ich za skvelú cenu pred ich uvedením na trh.", + "premiumFeaturesDescription": "Všetky kľúčové funkcie rozšírenia sú bezplatné a zostanú prístupné bez potreby Premium prístupu. Ponúkame ďalšie funkcie na poskytovanie pokročilých schopností pre profesionálne použitie, ktoré budú dostupné v Premium edícii za poplatok.", + "earlyBirdTicket": "Early Bird lístok", + "earlyBirdTicketDesc": "Chystáme sa spustiť funkcie Premium edície a teraz môžete využiť špeciálnu ponuku early-bird na podporu vývoja týchto vylepšení. Zakúpením teraz získate doživotný prístup ku všetkým funkciám Premium edície. Po uvedení Premium edície bude ponuka early-bird ukončená a doživotné nákupy už nebudú dostupné.", + "afterPurchase": "Po nákupe vám do 24 hodín pošleme licenčný kľúč na váš e-mail. Môžete ho použiť, keď bude Premium edícia oficiálne vydaná.", + "enterMailForLicenseKey": "Prosím, zadajte svoju e-mailovú adresu na prijatie licenčného kľúča.", + "upcomingFeatures": "Pripravované funkcie", + "treeTabs": "Stromové karty", + "tabHistory": "História kariet", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Pokročilý obraz v obraze", + "APIAccess": "API prístup", + "customizeMenu": "Prispôsobiť menu", + "Automation": "Automatizácia" } \ No newline at end of file diff --git a/build/_locales/sl/error.json b/build/_locales/sl/error.json index 3e73ed8..ff7e559 100644 --- a/build/_locales/sl/error.json +++ b/build/_locales/sl/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Shranjene skupine ni mogoče urejati", + "Saved groups are not editable.": "Shranjene skupine ni mogoče urejati", "ungroupingError": "Ni uspelo razdružiti vseh zavihkov: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sl/options.json b/build/_locales/sl/options.json index b005917..ffbb992 100644 --- a/build/_locales/sl/options.json +++ b/build/_locales/sl/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Pomakni se na aktivni zavihek" } }, + "tabNav": { + "label": "Prikaži vrstico za krmarjenje po zavihkih", + "description": "Ko je omogočeno, je prikazana vrstica za krmarjenje po zavihkih", + "configure": "nastavi", + "configureTabNav": "Nastavi krmarjenje po zavihkih", + "enabledNavs": "Omogočene navigacije", + "disabledNavs": "Onemogočene navigacije (na voljo)", + "showLabel": "Prikaži oznako", + "showCount": "Prikaži število", + "days": "Dnevi", + "close": "Zapri", + "save": "Shrani", + "settings": "Nastavitve", + "OpenTabs": "Odprti zavihki", + "RecentlyTabs": "Nedavno zaprti zavihki", + "bookmarks": "Zaznamki", + "history": "Zgodovina", + "readingList": "Seznam za branje", + "quickAccess": "Hiter dostop", + "pinToToolbarReminder": "Pred odstranitvijo te navigacije pripnite razširitev na orodno vrstico." + }, "bottomNav": { "label": "Prikaži spodnjo navigacijsko vrstico", "description": "Ko je omogočeno, se prikaže spodnja navigacijska vrstica", diff --git a/build/_locales/sl/translation.json b/build/_locales/sl/translation.json index 3d243ee..3265d1c 100644 --- a/build/_locales/sl/translation.json +++ b/build/_locales/sl/translation.json @@ -151,5 +151,63 @@ "cancel": "Prekliči", "fullscreen": "Celozaslonski način", "exitFullscreen": "Izhod iz celozaslonskega načina", - "zoom": "Povečava" + "zoom": "Povečava", + "undo": "Razveljavi", + "addTabToGroup": "Dodaj zavihek v skupino", + "newGroup": "Nova skupina", + "nameThisGroup": "Poimenuj to skupino", + "addBookmark": "Dodaj zaznamek", + "editBookmark": "Uredi zaznamek", + "deleteBookmark": "Izbriši zaznamek", + "duplicateBookmarks": "Podvoji zaznamke", + "folderName": "Ime mape", + "selectParentFolder": "Izberi nadrejeno mapo", + "addFolder": "Dodaj mapo", + "editFolder": "Uredi mapo", + "deleteFolder": "Izbriši mapo", + "deleteFolderConfirmation": "Ali res želite izbrisati to mapo? Vsi zaznamki v tej mapi (vključno z zaznamki v podmapah) bodo prav tako izbrisani.", + "containsCountURLs": "Vsebuje {{count}} URL-jev", + "openAll": "Odpri vse ({{count}})", + "openAllInNewWindow": "Odpri vse ({{count}}) v novem oknu", + "openAllInIncognitoWindow": "Odpri vse ({{count}}) v oknu brez beleženja zgodovine", + "checkBookmarks": "Preveri zaznamke", + "hideEmptyFolders": "Skrij prazne mape", + "displayTreeConnectorLines": "Prikaži povezovalne črte drevesa", + "showBookmarkUrl": "Prikaži URL zaznamka", + "bookmarkManager": "Upravitelj zaznamkov", + "default": "Privzeto", + "title": "Naslov", + "url": "URL", + "recentlyUsed": "Nedavno uporabljeno", + "recentlyAdded": "Nedavno dodano", + "switchToListView": "Preklopi na pogled seznama", + "switchToTreeView": "Preklopi na drevesni pogled", + "premiumFeatureOnly": "Ta funkcija je na voljo samo v Premium izdaji.", + "premiumFreeTrialDesc": "Ta funkcija je ekskluzivna za Premium izdajo, in jo lahko zdaj preizkusite brezplačno.", + "freeTrial": "Brezplačna preizkusna različica", + "learnMore": "Izvedi več", + "limited": "omejeno", + "premiumEdition": "Premium izdaja", + "PreOrderPremiumNow": "Prednaročite Premium izdajo zdaj", + "getPremiumEditionNow": "Pridobite Premium izdajo zdaj", + "alreadyHavePremiumLicenseKey": "Že imam licenčni ključ za Premium izdajo", + "licenseKey": "Licenčni ključ", + "activatePremium": "Aktiviraj Premium izdajo", + "couldNotActivatePremium": "Ni bilo mogoče aktivirati Premium izdaje. Prosimo, vnesite veljaven licenčni ključ.", + "premiumActivatedSuccessfully": "Premium izdaja uspešno aktivirana.", + "premiumAccessFeatures": "S Premium izdajo boste dobili dostop do dodatnih funkcij", + "premiumFeaturesPreOrderDescription": "Vse ključne funkcije razširitve so brezplačne za uporabo in bodo ostale dostopne brez potrebe po Premium dostopu. Premium izdaja, ki vključuje napredne funkcije za profesionalno uporabo, je še v razvoju. Z naročilom zdaj lahko podprete razvoj teh premium zmogljivosti in jih pridobite po ugodni ceni pred lansiranjem.", + "premiumFeaturesDescription": "Vse ključne funkcije razširitve so brezplačne za uporabo in bodo ostale dostopne brez potrebe po Premium dostopu. Ponujamo dodatne funkcije za napredne zmogljivosti za profesionalno uporabo, ki bodo na voljo v Premium izdaji za plačilo.", + "earlyBirdTicket": "Vstopnica za zgodnje ptice", + "earlyBirdTicketDesc": "Kmalu bomo lansirali funkcije Premium izdaje, in zdaj lahko izkoristite posebno ponudbo za zgodnje ptice, da podprete razvoj teh izboljšav. Z nakupom zdaj boste prejeli doživljenjski dostop do vseh funkcij Premium izdaje. Ko bo Premium izdaja izdana, bo ponudba za zgodnje ptice ukinjena, in doživljenjski nakupi ne bodo več na voljo.", + "afterPurchase": "Po nakupu vam bomo v 24 urah poslali licenčni ključ na vaš e-poštni naslov. Uporabite ga lahko, ko bo Premium izdaja uradno izdana.", + "enterMailForLicenseKey": "Prosimo, vnesite svoj e-poštni naslov za prejem licenčnega ključa.", + "upcomingFeatures": "Prihajajoče funkcije", + "treeTabs": "Drevesni zavihki", + "tabHistory": "Zgodovina zavihkov", + "cloudSync": "Sinhronizacija v oblaku", + "advancedPictureInPicture": "Napredna slika v sliki", + "APIAccess": "Dostop do API-ja", + "customizeMenu": "Prilagodi meni", + "Automation": "Avtomatizacija" } \ No newline at end of file diff --git a/build/_locales/sq/error.json b/build/_locales/sq/error.json index 59402f5..915d880 100644 --- a/build/_locales/sq/error.json +++ b/build/_locales/sq/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Grupet e ruajtura nuk janë të redaktueshme", + "Saved groups are not editable.": "Grupet e ruajtura nuk janë të redaktueshme", "ungroupingError": "Dështoi çgrupimi i të gjitha skedave: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sq/options.json b/build/_locales/sq/options.json index 19dadc3..c4d92c2 100644 --- a/build/_locales/sq/options.json +++ b/build/_locales/sq/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rrotullohu te skeda aktive" } }, + "tabNav": { + "label": "Shfaq shiritin e navigimit të skedave", + "description": "Kur aktivizohet, shfaqet shiriti i navigimit të skedave", + "configure": "konfiguro", + "configureTabNav": "Konfiguro Navigimin e Skedave", + "enabledNavs": "Navigimet e Aktivizuara", + "disabledNavs": "Navigimet e Çaktivizuara (Në dispozicion)", + "showLabel": "Shfaq Etiketën", + "showCount": "Shfaq Numrin", + "days": "Ditët", + "close": "Mbyll", + "save": "Ruaj", + "settings": "Cilësimet", + "OpenTabs": "Skedat e Hapura", + "RecentlyTabs": "Skedat e Mbyllura Së Fundmi", + "bookmarks": "Faqerojtësit", + "history": "Historia", + "readingList": "Lista e Leximit", + "quickAccess": "Qasje e Shpejtë", + "pinToToolbarReminder": "Ju lutemi ngjitni shtesën në shiritin e veglave përpara se të hiqni këtë navigim." + }, "bottomNav": { "label": "Shfaqni shiritin e navigimit në fund", "description": "Kur aktivizohet, shfaqet shiriti i navigimit në fund", diff --git a/build/_locales/sq/translation.json b/build/_locales/sq/translation.json index 5ad5b65..4fa5b33 100644 --- a/build/_locales/sq/translation.json +++ b/build/_locales/sq/translation.json @@ -151,5 +151,63 @@ "cancel": "Anulo", "fullscreen": "Ekran i Plotë", "exitFullscreen": "Dil nga Ekrani i Plotë", - "zoom": "Zmadho" + "zoom": "Zmadho", + "undo": "Zhbëj", + "addTabToGroup": "Shto skedën në grup", + "newGroup": "Grup i ri", + "nameThisGroup": "Emërto këtë grup", + "addBookmark": "Shto faqerojtës", + "editBookmark": "Redakto faqerojtësin", + "deleteBookmark": "Fshi faqerojtësin", + "duplicateBookmarks": "Kopjo faqerojtësit", + "folderName": "Emri i dosjes", + "selectParentFolder": "Zgjidh dosjen prind", + "addFolder": "Shto dosje", + "editFolder": "Redakto dosjen", + "deleteFolder": "Fshi dosjen", + "deleteFolderConfirmation": "A dëshironi vërtet të fshini këtë dosje? Të gjithë faqerojtësit në këtë dosje (përfshirë faqerojtësit në nën-dosje) do të fshihen gjithashtu.", + "containsCountURLs": "Përmban {{count}} URL", + "openAll": "Hap të gjitha ({{count}})", + "openAllInNewWindow": "Hap të gjitha ({{count}}) në dritare të re", + "openAllInIncognitoWindow": "Hap të gjitha ({{count}}) në dritare inkognito", + "checkBookmarks": "Kontrollo faqerojtësit", + "hideEmptyFolders": "Fshih dosjet bosh", + "displayTreeConnectorLines": "Shfaq linjat lidhëse të pemës", + "showBookmarkUrl": "Shfaq URL-në e faqerojtësit", + "bookmarkManager": "Menaxheri i faqerojtësve", + "default": "Parazgjedhur", + "title": "Titulli", + "url": "URL", + "recentlyUsed": "Përdorur së fundmi", + "recentlyAdded": "Shtuar së fundmi", + "switchToListView": "Kaloni në pamjen e listës", + "switchToTreeView": "Kaloni në pamjen e pemës", + "premiumFeatureOnly": "Kjo veçori është e disponueshme vetëm me Edicionin Premium.", + "premiumFreeTrialDesc": "Kjo veçori është ekskluzive për Edicionin Premium, dhe mund ta provoni falas tani.", + "freeTrial": "Provë falas", + "learnMore": "Mëso më shumë", + "limited": "i kufizuar", + "premiumEdition": "Edicioni Premium", + "PreOrderPremiumNow": "Porosit tani Edicionin Premium", + "getPremiumEditionNow": "Merr Edicionin Premium tani", + "alreadyHavePremiumLicenseKey": "Unë tashmë kam një çelës licence për Edicionin Premium", + "licenseKey": "Çelësi i licencës", + "activatePremium": "Aktivizo Edicionin Premium", + "couldNotActivatePremium": "Nuk mund të aktivizohej Edicioni Premium. Ju lutemi futni një çelës licence të vlefshëm.", + "premiumActivatedSuccessfully": "Edicioni Premium u aktivizua me sukses.", + "premiumAccessFeatures": "Me Edicionin Premium, do të keni qasje në veçori shtesë", + "premiumFeaturesPreOrderDescription": "Të gjitha veçoritë kryesore të zgjerimit janë falas për t'u përdorur dhe do të mbeten të aksesueshme pa kërkuar qasje Premium. Edicioni Premium, i cili përfshin veçori të avancuara të dizajnuara për përdorim profesional, është ende në zhvillim. Duke porositur tani, mund të mbështesni zhvillimin e këtyre aftësive premium dhe ta merrni atë me një çmim të shkëlqyeshëm para se të lansohen.", + "premiumFeaturesDescription": "Të gjitha veçoritë kryesore të zgjerimit janë falas për t'u përdorur dhe do të mbeten të aksesueshme pa kërkuar qasje Premium. Ne ofrojmë veçori shtesë për të siguruar aftësi të avancuara për përdorim profesional, të cilat do të jenë të disponueshme në Edicionin Premium me pagesë.", + "earlyBirdTicket": "Bileta Early Bird", + "earlyBirdTicketDesc": "Ne jemi gati të lansojmë veçoritë e Edicionit Premium, dhe tani mund të përfitoni nga një ofertë speciale early-bird për të mbështetur zhvillimin e këtyre përmirësimeve. Duke blerë tani, do të merrni qasje të përjetshme në të gjitha veçoritë e Edicionit Premium. Pasi të lansohet Edicioni Premium, oferta early-bird do të ndërpritet dhe blerjet e përjetshme nuk do të jenë më të disponueshme.", + "afterPurchase": "Pas blerjes, ne do të dërgojmë Çelësin e Licencës në emailin tuaj brenda 24 orëve. Mund ta përdorni atë sapo të lansohet zyrtarisht Edicioni Premium.", + "enterMailForLicenseKey": "Ju lutemi futni adresën tuaj të emailit për të marrë çelësin e licencës.", + "upcomingFeatures": "Veçoritë e ardhshme", + "treeTabs": "Skeda Pemë", + "tabHistory": "Historia e Skedave", + "cloudSync": "Sinkronizimi në Re", + "advancedPictureInPicture": "Pamje e Avancuar në Pamje", + "APIAccess": "Qasje në API", + "customizeMenu": "Personalizo Menunë", + "Automation": "Automatizimi" } \ No newline at end of file diff --git a/build/_locales/sr/error.json b/build/_locales/sr/error.json index 0343f33..b4ba1d5 100644 --- a/build/_locales/sr/error.json +++ b/build/_locales/sr/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Sačuvane grupe nisu moguće za uređivanje", + "Saved groups are not editable.": "Sačuvane grupe nisu moguće za uređivanje", "ungroupingError": "Neuspešno razgrupisavanje svih kartica: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sr/options.json b/build/_locales/sr/options.json index 333fb86..fdd2d24 100644 --- a/build/_locales/sr/options.json +++ b/build/_locales/sr/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Skroluj do aktivne kartice" } }, + "tabNav": { + "label": "Prikaži traku za navigaciju karticama", + "description": "Kada je omogućeno, traka za navigaciju karticama je prikazana", + "configure": "podesi", + "configureTabNav": "Podesi navigaciju karticama", + "enabledNavs": "Omogućene navigacije", + "disabledNavs": "Onemogućene navigacije (Dostupne)", + "showLabel": "Prikaži oznaku", + "showCount": "Prikaži broj", + "days": "Dani", + "close": "Zatvori", + "save": "Sačuvaj", + "settings": "Podešavanja", + "OpenTabs": "Otvorene kartice", + "RecentlyTabs": "Nedavno zatvorene kartice", + "bookmarks": "Obeleživači", + "history": "Istorija", + "readingList": "Lista za čitanje", + "quickAccess": "Brzi pristup", + "pinToToolbarReminder": "Molimo zakačite ekstenziju na alatnu traku pre nego što uklonite ovu navigaciju." + }, "bottomNav": { "label": "Prikaži donju navigacionu traku", "description": "Kada je omogućeno, donja navigaciona traka će biti prikazana", diff --git a/build/_locales/sr/translation.json b/build/_locales/sr/translation.json index 0bf9b5f..5fdf431 100644 --- a/build/_locales/sr/translation.json +++ b/build/_locales/sr/translation.json @@ -164,5 +164,63 @@ "cancel": "Otkaži", "fullscreen": "Ceo ekran", "exitFullscreen": "Izađi iz celog ekrana", - "zoom": "Zumiranje" + "zoom": "Zumiranje", + "undo": "Poništi", + "addTabToGroup": "Dodaj karticu u grupu", + "newGroup": "Nova grupa", + "nameThisGroup": "Imenuj ovu grupu", + "addBookmark": "Dodaj obeleživač", + "editBookmark": "Uredi obeleživač", + "deleteBookmark": "Obriši obeleživač", + "duplicateBookmarks": "Dupliraj obeleživače", + "folderName": "Naziv foldera", + "selectParentFolder": "Izaberi nadređeni folder", + "addFolder": "Dodaj folder", + "editFolder": "Uredi folder", + "deleteFolder": "Obriši folder", + "deleteFolderConfirmation": "Da li zaista želite da obrišete ovaj folder? Svi obeleživači u ovom folderu (uključujući obeleživače u podfolderima) će takođe biti obrisani.", + "containsCountURLs": "Sadrži {{count}} URL-ova", + "openAll": "Otvori sve ({{count}})", + "openAllInNewWindow": "Otvori sve ({{count}}) u novom prozoru", + "openAllInIncognitoWindow": "Otvori sve ({{count}}) u incognito prozoru", + "checkBookmarks": "Proveri obeleživače", + "hideEmptyFolders": "Sakrij prazne foldere", + "displayTreeConnectorLines": "Prikaži linije konektora stabla", + "showBookmarkUrl": "Prikaži URL obeleživača", + "bookmarkManager": "Menadžer obeleživača", + "default": "Podrazumevano", + "title": "Naslov", + "url": "URL", + "recentlyUsed": "Nedavno korišćeno", + "recentlyAdded": "Nedavno dodato", + "switchToListView": "Prebaci na prikaz liste", + "switchToTreeView": "Prebaci na prikaz stabla", + "premiumFeatureOnly": "Ova funkcija je dostupna samo u Premium izdanju.", + "premiumFreeTrialDesc": "Ova funkcija je ekskluzivna za Premium izdanje, i možete je probati besplatno sada.", + "freeTrial": "Besplatna proba", + "learnMore": "Saznaj više", + "limited": "ograničeno", + "premiumEdition": "Premium izdanje", + "PreOrderPremiumNow": "Naručite Premium izdanje sada", + "getPremiumEditionNow": "Nabavite Premium izdanje sada", + "alreadyHavePremiumLicenseKey": "Već imam licencni ključ za Premium izdanje", + "licenseKey": "Licencni ključ", + "activatePremium": "Aktiviraj Premium izdanje", + "couldNotActivatePremium": "Nije moguće aktivirati Premium izdanje. Molimo unesite važeći licencni ključ.", + "premiumActivatedSuccessfully": "Premium izdanje uspešno aktivirano.", + "premiumAccessFeatures": "Sa Premium izdanjem, dobićete pristup dodatnim funkcijama", + "premiumFeaturesPreOrderDescription": "Sve ključne funkcije ekstenzije su besplatne za korišćenje i ostaće dostupne bez potrebe za Premium pristupom. Premium izdanje, koje uključuje napredne funkcije dizajnirane za profesionalnu upotrebu, je još uvek u razvoju. Prethodnom narudžbom sada, možete podržati razvoj ovih premium mogućnosti i dobiti ih po odličnoj ceni pre nego što budu lansirane.", + "premiumFeaturesDescription": "Sve ključne funkcije ekstenzije su besplatne za korišćenje i ostaće dostupne bez potrebe za Premium pristupom. Nudimo dodatne funkcije za pružanje naprednih mogućnosti za profesionalnu upotrebu, koje će biti dostupne u Premium izdanju uz naknadu.", + "earlyBirdTicket": "Early Bird karta", + "earlyBirdTicketDesc": "Spremamo se da lansiramo funkcije Premium izdanja, i sada možete iskoristiti specijalnu early-bird ponudu za podršku razvoju ovih poboljšanja. Kupovinom sada, dobićete doživotni pristup svim funkcijama Premium izdanja. Kada Premium izdanje bude objavljeno, early-bird ponuda će biti prekinuta, i doživotne kupovine više neće biti dostupne.", + "afterPurchase": "Nakon kupovine, poslaćemo licencni ključ na vaš email u roku od 24 sata. Možete ga koristiti kada Premium izdanje bude zvanično objavljeno.", + "enterMailForLicenseKey": "Molimo unesite vašu email adresu da biste dobili licencni ključ.", + "upcomingFeatures": "Nadolazeće funkcije", + "treeTabs": "Kartice stabla", + "tabHistory": "Istorija kartica", + "cloudSync": "Sinhronizacija u oblaku", + "advancedPictureInPicture": "Napredna slika u slici", + "APIAccess": "Pristup API-ju", + "customizeMenu": "Prilagodi meni", + "Automation": "Automatizacija" } \ No newline at end of file diff --git a/build/_locales/sv/error.json b/build/_locales/sv/error.json index 799cd54..e48fb95 100644 --- a/build/_locales/sv/error.json +++ b/build/_locales/sv/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Sparade grupper kan inte redigeras", + "Saved groups are not editable.": "Sparade grupper kan inte redigeras", "ungroupingError": "Misslyckades med att dela upp alla flikar: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sv/options.json b/build/_locales/sv/options.json index c06584a..63a9131 100644 --- a/build/_locales/sv/options.json +++ b/build/_locales/sv/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Rulla till aktiv flik" } }, + "tabNav": { + "label": "Visa fliknavigeringsfält", + "description": "När aktiverat visas fliknavigeringsfältet", + "configure": "konfigurera", + "configureTabNav": "Konfigurera fliknavigering", + "enabledNavs": "Aktiverade navigeringar", + "disabledNavs": "Inaktiverade navigeringar (tillgängliga)", + "showLabel": "Visa etikett", + "showCount": "Visa antal", + "days": "Dagar", + "close": "Stäng", + "save": "Spara", + "settings": "Inställningar", + "OpenTabs": "Öppna flikar", + "RecentlyTabs": "Nyligen stängda flikar", + "bookmarks": "Bokmärken", + "history": "Historik", + "readingList": "Läselista", + "quickAccess": "Snabb åtkomst", + "pinToToolbarReminder": "Fäst tillägget i verktygsfältet innan du tar bort denna navigering." + }, "bottomNav": { "label": "Visa bottennavigeringsfält", "description": "När aktiverat kommer bottennavigeringsfältet att visas", diff --git a/build/_locales/sv/translation.json b/build/_locales/sv/translation.json index 967ce50..520def5 100644 --- a/build/_locales/sv/translation.json +++ b/build/_locales/sv/translation.json @@ -164,5 +164,63 @@ "cancel": "Avbryt", "fullscreen": "Helskärm", "exitFullscreen": "Avsluta helskärm", - "zoom": "Zooma" + "zoom": "Zooma", + "undo": "Ångra", + "addTabToGroup": "Lägg till flik i grupp", + "newGroup": "Ny grupp", + "nameThisGroup": "Namnge denna grupp", + "addBookmark": "Lägg till bokmärke", + "editBookmark": "Redigera bokmärke", + "deleteBookmark": "Radera bokmärke", + "duplicateBookmarks": "Duplicera bokmärken", + "folderName": "Mappnamn", + "selectParentFolder": "Välj överordnad mapp", + "addFolder": "Lägg till mapp", + "editFolder": "Redigera mapp", + "deleteFolder": "Radera mapp", + "deleteFolderConfirmation": "Vill du verkligen radera denna mapp? Alla bokmärken i denna mapp (inklusive bokmärken i undermappar) kommer också att raderas.", + "containsCountURLs": "Innehåller {{count}} URL:er", + "openAll": "Öppna alla ({{count}})", + "openAllInNewWindow": "Öppna alla ({{count}}) i nytt fönster", + "openAllInIncognitoWindow": "Öppna alla ({{count}}) i inkognitofönster", + "checkBookmarks": "Kontrollera bokmärken", + "hideEmptyFolders": "Dölj tomma mappar", + "displayTreeConnectorLines": "Visa trädanslutningslinjer", + "showBookmarkUrl": "Visa bokmärkes-URL", + "bookmarkManager": "Bokmärkeshanterare", + "default": "Standard", + "title": "Titel", + "url": "URL", + "recentlyUsed": "Nyligen använda", + "recentlyAdded": "Nyligen tillagda", + "switchToListView": "Byt till listvy", + "switchToTreeView": "Byt till trädvy", + "premiumFeatureOnly": "Denna funktion är endast tillgänglig med Premium Edition.", + "premiumFreeTrialDesc": "Denna funktion är exklusiv för Premium Edition, och du kan prova den gratis nu.", + "freeTrial": "Gratis provperiod", + "learnMore": "Läs mer", + "limited": "begränsad", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Förbeställ Premium Edition nu", + "getPremiumEditionNow": "Skaffa Premium Edition nu", + "alreadyHavePremiumLicenseKey": "Jag har redan en Premium Edition-licensnyckel", + "licenseKey": "Licensnyckel", + "activatePremium": "Aktivera Premium Edition", + "couldNotActivatePremium": "Kunde inte aktivera Premium Edition. Vänligen ange en giltig licensnyckel.", + "premiumActivatedSuccessfully": "Premium Edition aktiverad framgångsrikt.", + "premiumAccessFeatures": "Med Premium Edition får du tillgång till ytterligare funktioner", + "premiumFeaturesPreOrderDescription": "Alla nyckelfunktioner i tillägget är gratis att använda och kommer att förbli tillgängliga utan att kräva Premium-åtkomst. Premium Edition, som inkluderar avancerade funktioner designade för professionellt bruk, är fortfarande under utveckling. Genom att förbeställa nu kan du stödja utvecklingen av dessa premiumfunktioner och få det till ett bra pris innan de lanseras.", + "premiumFeaturesDescription": "Alla nyckelfunktioner i tillägget är gratis att använda och kommer att förbli tillgängliga utan att kräva Premium-åtkomst. Vi erbjuder ytterligare funktioner för att ge avancerade möjligheter för professionellt bruk, som kommer att finnas tillgängliga i Premium Edition mot en avgift.", + "earlyBirdTicket": "Early Bird-biljett", + "earlyBirdTicketDesc": "Vi är på väg att lansera Premium Edition-funktioner, och du kan nu dra nytta av ett specialerbjudande för early-bird för att stödja utvecklingen av dessa förbättringar. Genom att köpa nu får du livstidsåtkomst till alla Premium Edition-funktioner. När Premium Edition släpps kommer early-bird-erbjudandet att upphöra, och livstidsköp kommer inte längre att vara tillgängliga.", + "afterPurchase": "Efter köp skickar vi licensnyckeln till din e-post inom 24 timmar. Du kan använda den när Premium Edition officiellt släpps.", + "enterMailForLicenseKey": "Vänligen ange din e-postadress för att få licensnyckeln.", + "upcomingFeatures": "Kommande funktioner", + "treeTabs": "Trädflikar", + "tabHistory": "Flikhistorik", + "cloudSync": "Molnsynkronisering", + "advancedPictureInPicture": "Avancerad Bild-i-Bild", + "APIAccess": "API-åtkomst", + "customizeMenu": "Anpassa meny", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/sw/error.json b/build/_locales/sw/error.json index 4c97f07..8ab744d 100644 --- a/build/_locales/sw/error.json +++ b/build/_locales/sw/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Vikundi vilivyohifadhiwa haviwezi kuhaririwa", + "Saved groups are not editable.": "Vikundi vilivyohifadhiwa haviwezi kuhaririwa", "ungroupingError": "Imeshindwa kugawanya tabo zote: {{error}}" } \ No newline at end of file diff --git a/build/_locales/sw/options.json b/build/_locales/sw/options.json index 1cf3d0a..fa43438 100644 --- a/build/_locales/sw/options.json +++ b/build/_locales/sw/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Sogeza hadi Kichupo Kinachofanya Kazi" } }, + "tabNav": { + "label": "Onyesha upau wa urambazaji wa Vichupo", + "description": "Ikiwa imewezeshwa, upau wa urambazaji wa Vichupo utaonyeshwa", + "configure": "sanidi", + "configureTabNav": "Sanidi Urambazaji wa Vichupo", + "enabledNavs": "Urambazaji Uliowezeshwa", + "disabledNavs": "Urambazaji Uliokataliwa (Inapatikana)", + "showLabel": "Onyesha Lebo", + "showCount": "Onyesha Hesabu", + "days": "Siku", + "close": "Funga", + "save": "Hifadhi", + "settings": "Mipangilio", + "OpenTabs": "Vichupo Vilivyofunguliwa", + "RecentlyTabs": "Vichupo Vilivyofungwa Hivi Karibuni", + "bookmarks": "Alamisho", + "history": "Historia", + "readingList": "Orodha ya Kusoma", + "quickAccess": "Ufikiaji wa Haraka", + "pinToToolbarReminder": "Tafadhali weka kiendelezi kwenye upau wa zana kabla ya kuondoa urambazaji huu." + }, "bottomNav": { "label": "Onyesha upau wa urambazaji wa chini", "description": "Ikiwa imewezeshwa, upau wa urambazaji wa chini utaonekana", diff --git a/build/_locales/sw/translation.json b/build/_locales/sw/translation.json index 08a1905..4e5688f 100644 --- a/build/_locales/sw/translation.json +++ b/build/_locales/sw/translation.json @@ -151,5 +151,63 @@ "cancel": "Ghairi", "fullscreen": "Skrini Nzima", "exitFullscreen": "Toka Skrini Nzima", - "zoom": "Kuza" + "zoom": "Kuza", + "undo": "Tendua", + "addTabToGroup": "Ongeza kichupo kwenye kikundi", + "newGroup": "Kikundi kipya", + "nameThisGroup": "Taja kikundi hiki", + "addBookmark": "Ongeza alamisho", + "editBookmark": "Hariri alamisho", + "deleteBookmark": "Futa alamisho", + "duplicateBookmarks": "Rudia alamisho", + "folderName": "Jina la folda", + "selectParentFolder": "Chagua folda mzazi", + "addFolder": "Ongeza folda", + "editFolder": "Hariri folda", + "deleteFolder": "Futa folda", + "deleteFolderConfirmation": "Je, unataka kufuta folda hii? Alamisho zote kwenye folda hii (pamoja na alamisho kwenye folda ndogo) zitafutwa pia.", + "containsCountURLs": "Ina {{count}} URL", + "openAll": "Fungua zote ({{count}})", + "openAllInNewWindow": "Fungua zote ({{count}}) kwenye dirisha jipya", + "openAllInIncognitoWindow": "Fungua zote ({{count}}) kwenye dirisha la siri", + "checkBookmarks": "Kagua alamisho", + "hideEmptyFolders": "Ficha folda tupu", + "displayTreeConnectorLines": "Onyesha mistari ya mti wa unganisho", + "showBookmarkUrl": "Onyesha URL ya alamisho", + "bookmarkManager": "Meneja wa alamisho", + "default": "Chaguo-msingi", + "title": "Kichwa", + "url": "URL", + "recentlyUsed": "Iliyotumika hivi karibuni", + "recentlyAdded": "Iliyoongezwa hivi karibuni", + "switchToListView": "Badilisha hadi mwonekano wa orodha", + "switchToTreeView": "Badilisha hadi mwonekano wa mti", + "premiumFeatureOnly": "Kipengele hiki kinapatikana tu na Toleo la Premium.", + "premiumFreeTrialDesc": "Kipengele hiki ni maalum kwa Toleo la Premium, na unaweza kujaribu bure sasa.", + "freeTrial": "Jaribio la Bure", + "learnMore": "Jifunze Zaidi", + "limited": "kimepunguzwa", + "premiumEdition": "Toleo la Premium", + "PreOrderPremiumNow": "Agiza Toleo la Premium sasa", + "getPremiumEditionNow": "Pata Toleo la Premium sasa", + "alreadyHavePremiumLicenseKey": "Nina ufunguo wa leseni ya Toleo la Premium tayari", + "licenseKey": "Ufunguo wa Leseni", + "activatePremium": "Washa Toleo la Premium", + "couldNotActivatePremium": "Haikuweza kuwasha Toleo la Premium. Tafadhali ingiza ufunguo wa leseni halali.", + "premiumActivatedSuccessfully": "Toleo la Premium limewashwa kwa mafanikio.", + "premiumAccessFeatures": "Kwa Toleo la Premium, utapata ufikiaji wa vipengele vya ziada", + "premiumFeaturesPreOrderDescription": "Vipengele vyote muhimu vya kiendelezi ni bure kutumia na vitabaki kupatikana bila kuhitaji ufikiaji wa Premium. Toleo la Premium, ambalo linajumuisha vipengele vya juu vilivyoundwa kwa matumizi ya kitaalamu, bado liko katika maendeleo. Kwa kuagiza mapema sasa, unaweza kusaidia maendeleo ya uwezo huu wa premium na Pata kwa bei nzuri kabla ya kuzinduliwa.", + "premiumFeaturesDescription": "Vipengele vyote muhimu vya kiendelezi ni bure kutumia na vitabaki kupatikana bila kuhitaji ufikiaji wa Premium. Tunatoa vipengele vya ziada ili kutoa uwezo wa juu kwa matumizi ya kitaalamu, ambavyo vitapatikana katika Toleo la Premium kwa ada.", + "earlyBirdTicket": "Tiketi ya Early Bird", + "earlyBirdTicketDesc": "Tuko karibu kuzindua vipengele vya Toleo la Premium, na sasa unaweza kuchukua fursa ya ofa maalum ya early-bird kusaidia maendeleo ya maboresho haya. Kwa kununua sasa, utapata ufikiaji wa maisha yote kwa vipengele vyote vya Toleo la Premium. Mara Toleo la Premium litakapotolewa, ofa ya early-bird itasitishwa, na ununuzi wa maisha hautapatikana tena.", + "afterPurchase": "Baada ya ununuzi, tutatuma Ufunguo wa Leseni kwa barua pepe yako ndani ya masaa 24. Unaweza kuitumia mara Toleo la Premium litakapotolewa rasmi.", + "enterMailForLicenseKey": "Tafadhali ingiza anwani yako ya barua pepe kupokea ufunguo wa leseni.", + "upcomingFeatures": "Vipengele Vinavyokuja", + "treeTabs": "Vichupo vya Mti", + "tabHistory": "Historia ya Vichupo", + "cloudSync": "Usawazishaji wa Wingu", + "advancedPictureInPicture": "Picha ya Juu katika Picha", + "APIAccess": "Ufikiaji wa API", + "customizeMenu": "Badilisha Menyu", + "Automation": "Uendeshaji" } \ No newline at end of file diff --git a/build/_locales/ta/error.json b/build/_locales/ta/error.json index dfa4ce2..a1f7931 100644 --- a/build/_locales/ta/error.json +++ b/build/_locales/ta/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "சேமிக்கப்பட்ட குழுக்களை திருத்த முடியாது", + "Saved groups are not editable.": "சேமிக்கப்பட்ட குழுக்களை திருத்த முடியாது", "ungroupingError": "அனைத்து தாவல்களையும் குழுவிலகச் செய்ய முடியவில்லை: {{error}}" } \ No newline at end of file diff --git a/build/_locales/ta/options.json b/build/_locales/ta/options.json index 51c4d97..bedfd3f 100644 --- a/build/_locales/ta/options.json +++ b/build/_locales/ta/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "செயல்பாட்டு தாவலுக்கு ஸ்க்ரோல் செய்" } }, + "tabNav": { + "label": "தாவல் வழிசெலுத்தல் பட்டையை காட்டு", + "description": "இயக்கப்பட்டால், தாவல் வழிசெலுத்தல் பட்டை காட்டப்படும்", + "configure": "அமைக்கவும்", + "configureTabNav": "தாவல் வழிசெலுத்தலை அமைக்கவும்", + "enabledNavs": "இயக்கப்பட்ட வழிசெலுத்தல்கள்", + "disabledNavs": "முடக்கப்பட்ட வழிசெலுத்தல்கள் (கிடைக்கக்கூடியவை)", + "showLabel": "லேபிள் காட்டு", + "showCount": "எண்ணிக்கை காட்டு", + "days": "நாட்கள்", + "close": "மூடு", + "save": "சேமிக்கவும்", + "settings": "அமைப்புகள்", + "OpenTabs": "திறந்த தாவல்கள்", + "RecentlyTabs": "சமீபத்தில் மூடப்பட்ட தாவல்கள்", + "bookmarks": "புத்தகக்குறிகள்", + "history": "வரலாறு", + "readingList": "வாசிப்பு பட்டியல்", + "quickAccess": "விரைவான அணுகல்", + "pinToToolbarReminder": "இந்த வழிசெலுத்தலை அகற்றுவதற்கு முன் நீட்டிப்பை உங்கள் கருவிப்பட்டையில் பின் செய்யவும்." + }, "bottomNav": { "label": "கீழ் வழிசெலுத்தல் பட்டையை காட்டு", "description": "இயக்கப்பட்டால், கீழ் வழிசெலுத்தல் பட்டை காட்டப்படும்", diff --git a/build/_locales/ta/translation.json b/build/_locales/ta/translation.json index 2dd8df3..6580d98 100644 --- a/build/_locales/ta/translation.json +++ b/build/_locales/ta/translation.json @@ -164,5 +164,63 @@ "cancel": "ரத்து செய்", "fullscreen": "முழுத்திரை", "exitFullscreen": "முழுத்திரையிலிருந்து வெளியேறு", - "zoom": "பெரிதாக்கு" + "zoom": "பெரிதாக்கு", + "undo": "மீளமை", + "addTabToGroup": "தாவலை குழுவில் சேர்க்கவும்", + "newGroup": "புதிய குழு", + "nameThisGroup": "இந்த குழுவிற்கு பெயர் இடவும்", + "addBookmark": "புத்தகக்குறியைச் சேர்க்கவும்", + "editBookmark": "புத்தகக்குறியைத் திருத்தவும்", + "deleteBookmark": "புத்தகக்குறியை நீக்கவும்", + "duplicateBookmarks": "புத்தகக்குறிகளை நகலெடுக்கவும்", + "folderName": "கோப்புறை பெயர்", + "selectParentFolder": "முதன்மை கோப்புறையைத் தேர்ந்தெடுக்கவும்", + "addFolder": "கோப்புறையைச் சேர்க்கவும்", + "editFolder": "கோப்புறையைத் திருத்தவும்", + "deleteFolder": "கோப்புறையை நீக்கவும்", + "deleteFolderConfirmation": "இந்த கோப்புறையை நிச்சயமாக நீக்க விரும்புகிறீர்களா? இந்த கோப்புறையில் உள்ள அனைத்து புத்தகக்குறிகளும் (உபகோப்புறைகளில் உள்ள புத்தகக்குறிகள் உட்பட) நீக்கப்படும்.", + "containsCountURLs": "{{count}} URLகளை கொண்டுள்ளது", + "openAll": "அனைத்தையும் திறக்கவும் ({{count}})", + "openAllInNewWindow": "அனைத்தையும் புதிய சாளரத்தில் திறக்கவும் ({{count}})", + "openAllInIncognitoWindow": "அனைத்தையும் மறைமுக சாளரத்தில் திறக்கவும் ({{count}})", + "checkBookmarks": "புத்தகக்குறிகளைச் சரிபார்க்கவும்", + "hideEmptyFolders": "காலியான கோப்புறைகளை மறைக்கவும்", + "displayTreeConnectorLines": "மர இணைப்பு கோடுகளை காட்டு", + "showBookmarkUrl": "புத்தகக்குறி URLஐ காட்டு", + "bookmarkManager": "புத்தகக்குறி மேலாளர்", + "default": "இயல்புநிலை", + "title": "தலைப்பு", + "url": "URL", + "recentlyUsed": "சமீபத்தில் பயன்படுத்தியவை", + "recentlyAdded": "சமீபத்தில் சேர்க்கப்பட்டவை", + "switchToListView": "பட்டியல் காட்சிக்கு மாறவும்", + "switchToTreeView": "மர காட்சிக்கு மாறவும்", + "premiumFeatureOnly": "இந்த அம்சம் பிரீமியம் பதிப்பில் மட்டுமே கிடைக்கும்.", + "premiumFreeTrialDesc": "இந்த அம்சம் பிரீமியம் பதிப்பிற்கு மட்டுமே உரியது, மேலும் நீங்கள் அதை இப்போது இலவசமாக முயற்சிக்கலாம்.", + "freeTrial": "இலவச சோதனை", + "learnMore": "மேலும் அறிக", + "limited": "வரையறுக்கப்பட்டது", + "premiumEdition": "பிரீமியம் பதிப்பு", + "PreOrderPremiumNow": "பிரீமியம் பதிப்பை இப்போது முன்பதிவு செய்யவும்", + "getPremiumEditionNow": "பிரீமியம் பதிப்பை இப்போது பெறுங்கள்", + "alreadyHavePremiumLicenseKey": "என்னிடம் ஏற்கனவே பிரீமியம் பதிப்பு உரிமம் உள்ளது", + "licenseKey": "உரிமம்", + "activatePremium": "பிரீமியம் பதிப்பை செயல்படுத்தவும்", + "couldNotActivatePremium": "பிரீமியம் பதிப்பை செயல்படுத்த முடியவில்லை. சரியான உரிமத்தை உள்ளிடவும்.", + "premiumActivatedSuccessfully": "பிரீமியம் பதிப்பு வெற்றிகரமாக செயல்படுத்தப்பட்டது.", + "premiumAccessFeatures": "பிரீமியம் பதிப்புடன், நீங்கள் கூடுதல் அம்சங்களை அணுகலாம்", + "premiumFeaturesPreOrderDescription": "நீட்டிப்பின் அனைத்து முக்கிய அம்சங்களும் பயன்படுத்த இலவசமாகும் மற்றும் பிரீமியம் அணுகல் தேவையின்றி அணுகக்கூடியதாக இருக்கும். தொழில்முறை பயன்பாட்டிற்காக வடிவமைக்கப்பட்ட மேம்பட்ட அம்சங்களை உள்ளடக்கிய பிரீமியம் பதிப்பு இன்னும் மேம்படுத்தப்படுகிறது. இப்போது முன்பதிவு செய்வதன் மூலம், இந்த பிரீமியம் திறன்களின் மேம்பாட்டை ஆதரிக்கலாம் மற்றும் அவை அறிமுகமாகும் முன் சிறந்த விலையில் பெறலாம்.", + "premiumFeaturesDescription": "நீட்டிப்பின் அனைத்து முக்கிய அம்சங்களும் பயன்படுத்த இலவசமாகும் மற்றும் பிரீமியம் அணுகல் தேவையின்றி அணுகக்கூடியதாக இருக்கும். தொழில்முறை பயன்பாட்டிற்காக மேம்பட்ட திறன்களை வழங்க கூடுதல் அம்சங்களை நாங்கள் வழங்குகிறோம், அவை கட்டணத்திற்கு பிரீமியம் பதிப்பில் கிடைக்கும்.", + "earlyBirdTicket": "ஆரம்ப பறவை டிக்கெட்", + "earlyBirdTicketDesc": "பிரீமியம் பதிப்பு அம்சங்களை அறிமுகப்படுத்த உள்ளோம், மேலும் இந்த மேம்பாடுகளின் மேம்பாட்டை ஆதரிக்க சிறப்பு ஆரம்ப பறவை சலுகையை இப்போது பயன்படுத்தலாம். இப்போது வாங்குவதன் மூலம், அனைத்து பிரீமியம் பதிப்பு அம்சங்களுக்கும் வாழ்நாள் அணுகலைப் பெறுவீர்கள். பிரீமியம் பதிப்பு வெளியிடப்பட்ட பிறகு, ஆரம்ப பறவை சலுகை நிறுத்தப்படும், மேலும் வாழ்நாள் கொள்முதல் கிடைக்காது.", + "afterPurchase": "வாங்கிய பிறகு, 24 மணி நேரத்திற்குள் உங்கள் மின்னஞ்சலுக்கு உரிமத்தை அனுப்புவோம். பிரீமியம் பதிப்பு அதிகாரப்பூர்வமாக வெளியிடப்பட்ட பிறகு அதை பயன்படுத்தலாம்.", + "enterMailForLicenseKey": "உரிமத்தைப் பெற உங்கள் மின்னஞ்சல் முகவரியை உள்ளிடவும்.", + "upcomingFeatures": "வரவிருக்கும் அம்சங்கள்", + "treeTabs": "மர தாவல்கள்", + "tabHistory": "தாவல் வரலாறு", + "cloudSync": "மேக ஒத்திசைவு", + "advancedPictureInPicture": "மேம்பட்ட படம்-இன்-படம்", + "APIAccess": "API அணுகல்", + "customizeMenu": "மெனுவை தனிப்பயனாக்கவும்", + "Automation": "தானியங்கி" } \ No newline at end of file diff --git a/build/_locales/te/error.json b/build/_locales/te/error.json index 9af8703..18579d9 100644 --- a/build/_locales/te/error.json +++ b/build/_locales/te/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "సేవ్ చేసిన సమూహాలను సవరించలేరు", + "Saved groups are not editable.": "సేవ్ చేసిన సమూహాలను సవరించలేరు", "ungroupingError": "అన్ని ట్యాబ్‌లను సమూహం నుండి తొలగించడం విఫలమైంది: {{error}}" } \ No newline at end of file diff --git a/build/_locales/te/options.json b/build/_locales/te/options.json index b564134..780125d 100644 --- a/build/_locales/te/options.json +++ b/build/_locales/te/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "క్రియాశీల ట్యాబ్‌కు స్క్రోల్ చేయి" } }, + "tabNav": { + "label": "ట్యాబ్ నావిగేషన్ బార్ చూపించు", + "description": "సక్రియం చేయబడినప్పుడు, ట్యాబ్ నావిగేషన్ బార్ ప్రదర్శించబడుతుంది", + "configure": "కాన్ఫిగర్ చేయి", + "configureTabNav": "ట్యాబ్ నావిగేషన్‌ను కాన్ఫిగర్ చేయి", + "enabledNavs": "సక్రియం చేయబడిన నావిగేషన్లు", + "disabledNavs": "నిష్క్రియం చేయబడిన నావిగేషన్లు (అందుబాటులో ఉన్నాయి)", + "showLabel": "లేబుల్ చూపించు", + "showCount": "సంఖ్య చూపించు", + "days": "రోజులు", + "close": "మూసివేయి", + "save": "సేవ్ చేయి", + "settings": "సెట్టింగ్స్", + "OpenTabs": "తెరిచిన ట్యాబ్‌లు", + "RecentlyTabs": "ఇటీవల మూసివేసిన ట్యాబ్‌లు", + "bookmarks": "బుక్‌మార్క్‌లు", + "history": "చరిత్ర", + "readingList": "వాచన జాబితా", + "quickAccess": "త్వరిత ప్రాప్యత", + "pinToToolbarReminder": "ఈ నావిగేషన్‌ను తీసివేయడానికి ముందు దయచేసి పొడిగింపును మీ టూల్‌బార్‌కు పిన్ చేయండి." + }, "bottomNav": { "label": "కింది నావిగేషన్ బార్ చూపించు", "description": "సక్రియం చేయబడినప్పుడు, కింది నావిగేషన్ బార్ ప్రదర్శించబడుతుంది", diff --git a/build/_locales/te/translation.json b/build/_locales/te/translation.json index 1a275f6..3aec573 100644 --- a/build/_locales/te/translation.json +++ b/build/_locales/te/translation.json @@ -164,5 +164,63 @@ "cancel": "రద్దు చేయి", "fullscreen": "పూర్తి తెర", "exitFullscreen": "పూర్తి తెర నుండి నిష్క్రమించు", - "zoom": "జూమ్" + "zoom": "జూమ్", + "undo": "రద్దు చేయి", + "addTabToGroup": "గ్రూప్‌కు ట్యాబ్‌ను జోడించు", + "newGroup": "కొత్త గ్రూప్", + "nameThisGroup": "ఈ గ్రూప్‌కు పేరు పెట్టండి", + "addBookmark": "బుక్‌మార్క్ జోడించు", + "editBookmark": "బుక్‌మార్క్ సవరించు", + "deleteBookmark": "బుక్‌మార్క్ తొలగించు", + "duplicateBookmarks": "బుక్‌మార్క్‌లను నకలు చేయి", + "folderName": "ఫోల్డర్ పేరు", + "selectParentFolder": "మాతృ ఫోల్డర్‌ను ఎంచుకోండి", + "addFolder": "ఫోల్డర్ జోడించు", + "editFolder": "ఫోల్డర్ సవరించు", + "deleteFolder": "ఫోల్డర్ తొలగించు", + "deleteFolderConfirmation": "మీరు నిజంగా ఈ ఫోల్డర్‌ను తొలగించాలనుకుంటున్నారా? ఈ ఫోల్డర్‌లోని అన్ని బుక్‌మార్క్‌లు (ఉపఫోల్డర్‌లలోని బుక్‌మార్క్‌లను కూడా కలుపుకొని) తొలగించబడతాయి.", + "containsCountURLs": "{{count}} URLలను కలిగి ఉంది", + "openAll": "అన్నీ తెరవండి ({{count}})", + "openAllInNewWindow": "కొత్త విండోలో అన్నీ తెరవండి ({{count}})", + "openAllInIncognitoWindow": "ఇంకాగ్నిటో విండోలో అన్నీ తెరవండి ({{count}})", + "checkBookmarks": "బుక్‌మార్క్‌లను తనిఖీ చేయి", + "hideEmptyFolders": "ఖాళీ ఫోల్డర్‌లను దాచు", + "displayTreeConnectorLines": "ట్రీ కనెక్టర్ లైన్లను ప్రదర్శించు", + "showBookmarkUrl": "బుక్‌మార్క్ URLను ప్రదర్శించు", + "bookmarkManager": "బుక్‌మార్క్ మేనేజర్", + "default": "డిఫాల్ట్", + "title": "శీర్షిక", + "url": "URL", + "recentlyUsed": "ఇటీవల ఉపయోగించినవి", + "recentlyAdded": "ఇటీవల జోడించినవి", + "switchToListView": "జాబితా వీక్షణకు మారండి", + "switchToTreeView": "ట్రీ వీక్షణకు మారండి", + "premiumFeatureOnly": "ఈ ఫీచర్ ప్రీమియం ఎడిషన్‌తో మాత్రమే అందుబాటులో ఉంటుంది.", + "premiumFreeTrialDesc": "ఈ ఫీచర్ ప్రీమియం ఎడిషన్‌కు ప్రత్యేకమైనది, మరియు మీరు ఇప్పుడు ఉచితంగా ప్రయత్నించవచ్చు.", + "freeTrial": "ఉచిత ట్రయల్", + "learnMore": "మరింత తెలుసుకోండి", + "limited": "పరిమిత", + "premiumEdition": "ప్రీమియం ఎడిషన్", + "PreOrderPremiumNow": "ఇప్పుడు ప్రీమియం ఎడిషన్‌ను ముందుగా ఆర్డర్ చేయండి", + "getPremiumEditionNow": "ఇప్పుడు ప్రీమియం ఎడిషన్ పొందండి", + "alreadyHavePremiumLicenseKey": "నేను ఇప్పటికే ప్రీమియం ఎడిషన్ లైసెన్స్ కీ కలిగి ఉన్నాను", + "licenseKey": "లైసెన్స్ కీ", + "activatePremium": "ప్రీమియం ఎడిషన్‌ను సక్రియం చేయండి", + "couldNotActivatePremium": "ప్రీమియం ఎడిషన్‌ను సక్రియం చేయలేకపోయాము. దయచేసి చెల్లుబాటు అయ్యే లైసెన్స్ కీని నమోదు చేయండి.", + "premiumActivatedSuccessfully": "ప్రీమియం ఎడిషన్ విజయవంతంగా సక్రియం చేయబడింది.", + "premiumAccessFeatures": "ప్రీమియం ఎడిషన్‌తో, మీరు అదనపు ఫీచర్‌లకు ప్రాప్యత పొందుతారు", + "premiumFeaturesPreOrderDescription": "విస్తరణ యొక్క అన్ని కీలక ఫీచర్‌లు ఉచితంగా ఉపయోగించడానికి అందుబాటులో ఉంటాయి మరియు ప్రీమియం ప్రాప్యత అవసరం లేకుండా అందుబాటులో ఉంటాయి. ప్రీమియం ఎడిషన్, ప్రొఫెషనల్ ఉపయోగం కోసం రూపొందించిన అధునాతన ఫీచర్‌లను కలిగి ఉంటుంది, ఇంకా అభివృద్ధిలో ఉంది. ఇప్పుడు ముందుగా ఆర్డర్ చేయడం ద్వారా, మీరు ఈ ప్రీమియం సామర్థ్యాల అభివృద్ధిని మద్దతు ఇవ్వవచ్చు మరియు అవి ప్రారంభించబడే ముందు గొప్ప ధరకు పొందవచ్చు.", + "premiumFeaturesDescription": "విస్తరణ యొక్క అన్ని కీలక ఫీచర్‌లు ఉచితంగా ఉపయోగించడానికి అందుబాటులో ఉంటాయి మరియు ప్రీమియం ప్రాప్యత అవసరం లేకుండా అందుబాటులో ఉంటాయి. మేము ప్రొఫెషనల్ ఉపయోగం కోసం అధునాతన సామర్థ్యాలను అందించడానికి అదనపు ఫీచర్‌లను అందిస్తున్నాము, ఇవి ప్రీమియం ఎడిషన్‌లో ఫీజుతో అందుబాటులో ఉంటాయి.", + "earlyBirdTicket": "ఎర్లీ బర్డ్ టికెట్", + "earlyBirdTicketDesc": "మేము ప్రీమియం ఎడిషన్ ఫీచర్‌లను ప్రారంభించబోతున్నాము, మరియు మీరు ఇప్పుడు ఈ మెరుగుదలల అభివృద్ధిని మద్దతు ఇవ్వడానికి ప్రత్యేక ఎర్లీ-బర్డ్ ఆఫర్‌ను ఉపయోగించుకోవచ్చు. ఇప్పుడు కొనుగోలు చేయడం ద్వారా, మీరు అన్ని ప్రీమియం ఎడిషన్ ఫీచర్‌లకు జీవితకాల ప్రాప్యతను పొందుతారు. ప్రీమియం ఎడిషన్ విడుదలైన తర్వాత, ఎర్లీ-బర్డ్ ఆఫర్ నిలిపివేయబడుతుంది, మరియు జీవితకాల కొనుగోళ్లు ఇకపై అందుబాటులో ఉండవు.", + "afterPurchase": "కొనుగోలు చేసిన తర్వాత, మేము 24 గంటలలోపు మీ ఇమెయిల్‌కు లైసెన్స్ కీని పంపుతాము. ప్రీమియం ఎడిషన్ అధికారికంగా విడుదలైన తర్వాత మీరు దాన్ని ఉపయోగించవచ్చు.", + "enterMailForLicenseKey": "లైసెన్స్ కీని అందుకోవడానికి దయచేసి మీ మెయిల్ చిరునామాను నమోదు చేయండి.", + "upcomingFeatures": "రాబోయే ఫీచర్‌లు", + "treeTabs": "ట్రీ ట్యాబ్‌లు", + "tabHistory": "ట్యాబ్ చరిత్ర", + "cloudSync": "క్లౌడ్ సింక్", + "advancedPictureInPicture": "అధునాతన పిక్చర్-ఇన్-పిక్చర్", + "APIAccess": "API ప్రాప్యత", + "customizeMenu": "మెను అనుకూలీకరించు", + "Automation": "ఆటోమేషన్" } \ No newline at end of file diff --git a/build/_locales/th/error.json b/build/_locales/th/error.json index 8e9d1aa..02e3324 100644 --- a/build/_locales/th/error.json +++ b/build/_locales/th/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "กลุ่มที่บันทึกไว้ไม่สามารถแก้ไขได้", + "Saved groups are not editable.": "กลุ่มที่บันทึกไว้ไม่สามารถแก้ไขได้", "ungroupingError": "ไม่สามารถยกเลิกการจัดกลุ่มแท็บทั้งหมด: {{error}}" } \ No newline at end of file diff --git a/build/_locales/th/options.json b/build/_locales/th/options.json index 8498a57..8dda9fa 100644 --- a/build/_locales/th/options.json +++ b/build/_locales/th/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "เลื่อนไปยังแท็บที่ใช้งานอยู่" } }, + "tabNav": { + "label": "แสดงแถบนำทางแท็บ", + "description": "เมื่อเปิดใช้งาน จะแสดงแถบนำทางแท็บ", + "configure": "ตั้งค่า", + "configureTabNav": "ตั้งค่าแถบนำทางแท็บ", + "enabledNavs": "การนำทางที่เปิดใช้งาน", + "disabledNavs": "การนำทางที่ปิดใช้งาน (พร้อมใช้งาน)", + "showLabel": "แสดงป้ายชื่อ", + "showCount": "แสดงจำนวน", + "days": "วัน", + "close": "ปิด", + "save": "บันทึก", + "settings": "การตั้งค่า", + "OpenTabs": "แท็บที่เปิดอยู่", + "RecentlyTabs": "แท็บที่ปิดล่าสุด", + "bookmarks": "บุ๊กมาร์ก", + "history": "ประวัติ", + "readingList": "รายการอ่าน", + "quickAccess": "การเข้าถึงด่วน", + "pinToToolbarReminder": "โปรดปักหมุดส่วนขยายนี้ไปที่แถบเครื่องมือของคุณก่อนที่จะลบการนำทางนี้" + }, "bottomNav": { "label": "แสดงแถบนำทางด้านล่าง", "description": "เมื่อเปิดใช้งาน จะแสดงแถบนำทางด้านล่าง", diff --git a/build/_locales/th/translation.json b/build/_locales/th/translation.json index 8fb2658..9d5b348 100644 --- a/build/_locales/th/translation.json +++ b/build/_locales/th/translation.json @@ -164,5 +164,63 @@ "cancel": "ยกเลิก", "fullscreen": "เต็มจอ", "exitFullscreen": "ออกจากเต็มจอ", - "zoom": "ซูม" + "zoom": "ซูม", + "undo": "เลิกทำ", + "addTabToGroup": "เพิ่มแท็บไปยังกลุ่ม", + "newGroup": "กลุ่มใหม่", + "nameThisGroup": "ตั้งชื่อกลุ่มนี้", + "addBookmark": "เพิ่มบุ๊กมาร์ก", + "editBookmark": "แก้ไขบุ๊กมาร์ก", + "deleteBookmark": "ลบบุ๊กมาร์ก", + "duplicateBookmarks": "ทำซ้ำบุ๊กมาร์ก", + "folderName": "ชื่อโฟลเดอร์", + "selectParentFolder": "เลือกโฟลเดอร์หลัก", + "addFolder": "เพิ่มโฟลเดอร์", + "editFolder": "แก้ไขโฟลเดอร์", + "deleteFolder": "ลบโฟลเดอร์", + "deleteFolderConfirmation": "คุณต้องการลบโฟลเดอร์นี้จริงหรือ? บุ๊กมาร์กทั้งหมดในโฟลเดอร์นี้ (รวมถึงบุ๊กมาร์กในโฟลเดอร์ย่อย) จะถูกลบด้วย", + "containsCountURLs": "มี {{count}} URLs", + "openAll": "เปิดทั้งหมด ({{count}})", + "openAllInNewWindow": "เปิดทั้งหมด ({{count}}) ในหน้าต่างใหม่", + "openAllInIncognitoWindow": "เปิดทั้งหมด ({{count}}) ในหน้าต่างไม่ระบุตัวตน", + "checkBookmarks": "ตรวจสอบบุ๊กมาร์ก", + "hideEmptyFolders": "ซ่อนโฟลเดอร์ว่าง", + "displayTreeConnectorLines": "แสดงเส้นเชื่อมต่อโครงสร้าง", + "showBookmarkUrl": "แสดง URL บุ๊กมาร์ก", + "bookmarkManager": "ตัวจัดการบุ๊กมาร์ก", + "default": "ค่าเริ่มต้น", + "title": "ชื่อเรื่อง", + "url": "URL", + "recentlyUsed": "ใช้ล่าสุด", + "recentlyAdded": "เพิ่มล่าสุด", + "switchToListView": "เปลี่ยนเป็นมุมมองรายการ", + "switchToTreeView": "เปลี่ยนเป็นมุมมองโครงสร้าง", + "premiumFeatureOnly": "ฟีเจอร์นี้ใช้ได้เฉพาะในรุ่นพรีเมียม", + "premiumFreeTrialDesc": "ฟีเจอร์นี้ใช้ได้เฉพาะในรุ่นพรีเมียม และคุณสามารถทดลองใช้งานได้ฟรีตอนนี้", + "freeTrial": "ทดลองใช้งานฟรี", + "learnMore": "เรียนรู้เพิ่มเติม", + "limited": "จำกัด", + "premiumEdition": "รุ่นพรีเมียม", + "PreOrderPremiumNow": "สั่งซื้อล่วงหน้ารุ่นพรีเมียมตอนนี้", + "getPremiumEditionNow": "รับรุ่นพรีเมียมตอนนี้", + "alreadyHavePremiumLicenseKey": "ฉันมีคีย์ใบอนุญาตรุ่นพรีเมียมแล้ว", + "licenseKey": "คีย์ใบอนุญาต", + "activatePremium": "เปิดใช้งานรุ่นพรีเมียม", + "couldNotActivatePremium": "ไม่สามารถเปิดใช้งานรุ่นพรีเมียมได้ กรุณาใส่คีย์ใบอนุญาตที่ถูกต้อง", + "premiumActivatedSuccessfully": "เปิดใช้งานรุ่นพรีเมียมสำเร็จ", + "premiumAccessFeatures": "ด้วยรุ่นพรีเมียม คุณจะสามารถเข้าถึงฟีเจอร์เพิ่มเติมได้", + "premiumFeaturesPreOrderDescription": "ฟีเจอร์หลักทั้งหมดของส่วนขยายนี้สามารถใช้งานได้ฟรีและจะยังคงเข้าถึงได้โดยไม่ต้องใช้รุ่นพรีเมียม รุ่นพรีเมียมซึ่งรวมถึงฟีเจอร์ขั้นสูงที่ออกแบบมาสำหรับการใช้งานระดับมืออาชีพยังอยู่ในระหว่างการพัฒนา โดยการสั่งซื้อล่วงหน้าตอนนี้ คุณสามารถสนับสนุนการพัฒนาฟีเจอร์พรีเมียมเหล่านี้และรับมันในราคาที่ดีเยี่ยมก่อนที่จะเปิดตัว", + "premiumFeaturesDescription": "ฟีเจอร์หลักทั้งหมดของส่วนขยายนี้สามารถใช้งานได้ฟรีและจะยังคงเข้าถึงได้โดยไม่ต้องใช้รุ่นพรีเมียม เรามีฟีเจอร์เพิ่มเติมเพื่อให้ความสามารถขั้นสูงสำหรับการใช้งานระดับมืออาชีพ ซึ่งจะมีให้ในรุ่นพรีเมียมโดยมีค่าใช้จ่าย", + "earlyBirdTicket": "ตั๋ว Early Bird", + "earlyBirdTicketDesc": "เรากำลังจะเปิดตัวฟีเจอร์รุ่นพรีเมียม และคุณสามารถใช้ประโยชน์จากข้อเสนอพิเศษ early-bird เพื่อสนับสนุนการพัฒนาฟีเจอร์เหล่านี้ได้ โดยการซื้อในตอนนี้ คุณจะได้รับการเข้าถึงฟีเจอร์รุ่นพรีเมียมตลอดชีพ เมื่อรุ่นพรีเมียมเปิดตัว ข้อเสนอ early-bird จะถูกยกเลิก และการซื้อแบบตลอดชีพจะไม่สามารถใช้ได้อีกต่อไป", + "afterPurchase": "หลังจากการซื้อ เราจะส่งคีย์ใบอนุญาตไปยังอีเมลของคุณภายใน 24 ชั่วโมง คุณสามารถใช้มันได้เมื่อรุ่นพรีเมียมเปิดตัวอย่างเป็นทางการ", + "enterMailForLicenseKey": "กรุณาใส่ที่อยู่อีเมลของคุณเพื่อรับคีย์ใบอนุญาต", + "upcomingFeatures": "ฟีเจอร์ที่กำลังจะมา", + "treeTabs": "แท็บโครงสร้าง", + "tabHistory": "ประวัติแท็บ", + "cloudSync": "ซิงค์กับคลาวด์", + "advancedPictureInPicture": "ภาพในภาพขั้นสูง", + "APIAccess": "การเข้าถึง API", + "customizeMenu": "ปรับแต่งเมนู", + "Automation": "ระบบอัตโนมัติ" } \ No newline at end of file diff --git a/build/_locales/tl/error.json b/build/_locales/tl/error.json index 27d633e..3ed05b9 100644 --- a/build/_locales/tl/error.json +++ b/build/_locales/tl/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Ang mga na-save na grupo ay hindi nababago", + "Saved groups are not editable.": "Ang mga na-save na grupo ay hindi nababago", "ungroupingError": "Nabigong i-ungroup ang lahat ng mga tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/tl/options.json b/build/_locales/tl/options.json index 057752f..43d28ae 100644 --- a/build/_locales/tl/options.json +++ b/build/_locales/tl/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Mag-scroll sa Aktibong Tab" } }, + "tabNav": { + "label": "Ipakita ang tab navigation bar", + "description": "Kapag pinagana, makikita ang tab navigation bar", + "configure": "i-configure", + "configureTabNav": "I-configure ang Tab Navigation", + "enabledNavs": "Mga Aktibong Navigation", + "disabledNavs": "Mga Hindi Aktibong Navigation (Magagamit)", + "showLabel": "Ipakita ang Label", + "showCount": "Ipakita ang Bilang", + "days": "Mga Araw", + "close": "Isara", + "save": "I-save", + "settings": "Mga Setting", + "OpenTabs": "Mga Bukas na Tab", + "RecentlyTabs": "Kamakailang Isinara na Mga Tab", + "bookmarks": "Mga Bookmark", + "history": "Kasaysayan", + "readingList": "Listahan ng Babasahin", + "quickAccess": "Mabilis na Pag-access", + "pinToToolbarReminder": "Pakipin ang extension sa iyong toolbar bago alisin ang navigation na ito." + }, "bottomNav": { "label": "Ipakita ang bar ng bottom navigation", "description": "Kapag pinagana, makikita ang bottom navigation bar", diff --git a/build/_locales/tl/translation.json b/build/_locales/tl/translation.json index fa9b293..a7e3d48 100644 --- a/build/_locales/tl/translation.json +++ b/build/_locales/tl/translation.json @@ -151,5 +151,63 @@ "cancel": "Kanselahin", "fullscreen": "Buong Screen", "exitFullscreen": "Lumabas sa Buong Screen", - "zoom": "Mag-zoom" + "zoom": "Mag-zoom", + "undo": "I-undo", + "addTabToGroup": "Idagdag ang tab sa grupo", + "newGroup": "Bagong grupo", + "nameThisGroup": "Pangalanan ang grupong ito", + "addBookmark": "Magdagdag ng bookmark", + "editBookmark": "I-edit ang bookmark", + "deleteBookmark": "Burahin ang bookmark", + "duplicateBookmarks": "I-duplicate ang mga bookmark", + "folderName": "Pangalan ng folder", + "selectParentFolder": "Piliin ang parent folder", + "addFolder": "Magdagdag ng folder", + "editFolder": "I-edit ang folder", + "deleteFolder": "Burahin ang folder", + "deleteFolderConfirmation": "Talaga bang nais mong burahin ang folder na ito? Ang lahat ng mga bookmark sa folder na ito (kasama ang mga bookmark sa mga subfolder) ay mabubura rin.", + "containsCountURLs": "Naglalaman ng {{count}} na mga URL", + "openAll": "Buksan lahat ({{count}})", + "openAllInNewWindow": "Buksan lahat ({{count}}) sa bagong window", + "openAllInIncognitoWindow": "Buksan lahat ({{count}}) sa incognito window", + "checkBookmarks": "Suriin ang mga Bookmark", + "hideEmptyFolders": "Itago ang mga walang laman na folder", + "displayTreeConnectorLines": "Ipakita ang mga linya ng konektor ng puno", + "showBookmarkUrl": "Ipakita ang URL ng Bookmark", + "bookmarkManager": "Tagapamahala ng Bookmark", + "default": "Default", + "title": "Pamagat", + "url": "URL", + "recentlyUsed": "Kamakailang ginamit", + "recentlyAdded": "Kamakailang idinagdag", + "switchToListView": "Lumipat sa list view", + "switchToTreeView": "Lumipat sa tree view", + "premiumFeatureOnly": "Ang tampok na ito ay magagamit lamang sa Premium Edition.", + "premiumFreeTrialDesc": "Ang tampok na ito ay eksklusibo sa Premium Edition, at maaari mo itong subukan nang libre ngayon.", + "freeTrial": "Libreng Pagsubok", + "learnMore": "Matuto Pa", + "limited": "limitado", + "premiumEdition": "Premium Edition", + "PreOrderPremiumNow": "Mag-pre-order ng Premium Edition ngayon", + "getPremiumEditionNow": "Kunin ang Premium Edition ngayon", + "alreadyHavePremiumLicenseKey": "Mayroon na akong Premium Edition license key", + "licenseKey": "License Key", + "activatePremium": "I-activate ang Premium Edition", + "couldNotActivatePremium": "Hindi ma-activate ang Premium Edition. Mangyaring maglagay ng wastong license key.", + "premiumActivatedSuccessfully": "Matagumpay na na-activate ang Premium Edition.", + "premiumAccessFeatures": "Sa Premium Edition, magkakaroon ka ng access sa mga karagdagang tampok", + "premiumFeaturesPreOrderDescription": "Ang lahat ng pangunahing tampok ng extension ay libre gamitin at mananatiling naa-access nang hindi nangangailangan ng Premium access. Ang Premium Edition, na kinabibilangan ng mga advanced na tampok na idinisenyo para sa propesyonal na paggamit, ay kasalukuyang nasa pag-unlad. Sa pamamagitan ng pag-pre-order ngayon, maaari mong suportahan ang pag-unlad ng mga premium na kakayahan at makuha ito sa isang mahusay na presyo bago ito ilunsad.", + "premiumFeaturesDescription": "Ang lahat ng pangunahing tampok ng extension ay libre gamitin at mananatiling naa-access nang hindi nangangailangan ng Premium access. Nag-aalok kami ng mga karagdagang tampok upang magbigay ng mga advanced na kakayahan para sa propesyonal na paggamit, na magagamit sa Premium Edition para sa isang bayad.", + "earlyBirdTicket": "Early Bird Ticket", + "earlyBirdTicketDesc": "Malapit na naming ilunsad ang mga tampok ng Premium Edition, at maaari ka nang mag-avail ng isang espesyal na early-bird offer upang suportahan ang pag-unlad ng mga pagpapahusay na ito. Sa pamamagitan ng pagbili ngayon, makakatanggap ka ng panghabambuhay na access sa lahat ng mga tampok ng Premium Edition. Kapag inilunsad na ang Premium Edition, ang early-bird offer ay hindi na magagamit, at ang mga panghabambuhay na pagbili ay hindi na magagamit.", + "afterPurchase": "Pagkatapos ng pagbili, ipapadala namin ang License Key sa iyong email sa loob ng 24 na oras. Maaari mo itong gamitin sa sandaling opisyal na inilunsad ang Premium Edition.", + "enterMailForLicenseKey": "Mangyaring ilagay ang iyong email address upang matanggap ang license key.", + "upcomingFeatures": "Mga Paparating na Tampok", + "treeTabs": "Tree Tabs", + "tabHistory": "Kasaysayan ng Tab", + "cloudSync": "Cloud Sync", + "advancedPictureInPicture": "Advanced na Picture-in-Picture", + "APIAccess": "API Access", + "customizeMenu": "I-customize ang Menu", + "Automation": "Automation" } \ No newline at end of file diff --git a/build/_locales/tr/error.json b/build/_locales/tr/error.json index a04435d..edceaf3 100644 --- a/build/_locales/tr/error.json +++ b/build/_locales/tr/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Kaydedilen gruplar düzenlenemez", + "Saved groups are not editable.": "Kaydedilen gruplar düzenlenemez", "ungroupingError": "Tüm sekmelerin grubu kaldırılamadı: {{error}}" } \ No newline at end of file diff --git a/build/_locales/tr/options.json b/build/_locales/tr/options.json index 9c16684..eda187c 100644 --- a/build/_locales/tr/options.json +++ b/build/_locales/tr/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Etkin Sekmeye Kaydır" } }, + "tabNav": { + "label": "Sekme gezinme çubuğunu göster", + "description": "Etkinleştirildiğinde, sekme gezinme çubuğu görüntülenir", + "configure": "yapılandır", + "configureTabNav": "Sekme Gezinmesini Yapılandır", + "enabledNavs": "Etkin Gezinmeler", + "disabledNavs": "Devre Dışı Gezinmeler (Mevcut)", + "showLabel": "Etiketi Göster", + "showCount": "Sayımı Göster", + "days": "Günler", + "close": "Kapat", + "save": "Kaydet", + "settings": "Ayarlar", + "OpenTabs": "Açık Sekmeler", + "RecentlyTabs": "Son Kapatılan Sekmeler", + "bookmarks": "Yer İmleri", + "history": "Geçmiş", + "readingList": "Okuma Listesi", + "quickAccess": "Hızlı Erişim", + "pinToToolbarReminder": "Bu gezintiyi kaldırmadan önce uzantıyı araç çubuğunuza sabitleyin." + }, "bottomNav": { "label": "Alt gezinme çubuğunu göster", "description": "Alt gezinme çubuğunu etkinleştirdiğinizde görünür", diff --git a/build/_locales/tr/translation.json b/build/_locales/tr/translation.json index 17debc3..1ff7003 100644 --- a/build/_locales/tr/translation.json +++ b/build/_locales/tr/translation.json @@ -164,5 +164,63 @@ "cancel": "İptal", "fullscreen": "Tam Ekran", "exitFullscreen": "Tam Ekrandan Çık", - "zoom": "Yakınlaştır" + "zoom": "Yakınlaştır", + "undo": "Geri Al", + "addTabToGroup": "Sekmeyi gruba ekle", + "newGroup": "Yeni grup", + "nameThisGroup": "Bu grubu adlandır", + "addBookmark": "Yer imi ekle", + "editBookmark": "Yer imini düzenle", + "deleteBookmark": "Yer imini sil", + "duplicateBookmarks": "Yer imlerini çoğalt", + "folderName": "Klasör adı", + "selectParentFolder": "Ana klasörü seç", + "addFolder": "Klasör ekle", + "editFolder": "Klasörü düzenle", + "deleteFolder": "Klasörü sil", + "deleteFolderConfirmation": "Bu klasörü gerçekten silmek istiyor musunuz? Bu klasördeki tüm yer imleri (alt klasörlerdeki yer imleri dahil) de silinecek.", + "containsCountURLs": "{{count}} URL içerir", + "openAll": "Tümünü aç ({{count}})", + "openAllInNewWindow": "Tümünü yeni pencerede aç ({{count}})", + "openAllInIncognitoWindow": "Tümünü gizli pencerede aç ({{count}})", + "checkBookmarks": "Yer imlerini kontrol et", + "hideEmptyFolders": "Boş klasörleri gizle", + "displayTreeConnectorLines": "Ağaç bağlantı çizgilerini göster", + "showBookmarkUrl": "Yer imi URL'sini göster", + "bookmarkManager": "Yer İmi Yöneticisi", + "default": "Varsayılan", + "title": "Başlık", + "url": "URL", + "recentlyUsed": "Son kullanılan", + "recentlyAdded": "Son eklenen", + "switchToListView": "Liste görünümüne geç", + "switchToTreeView": "Ağaç görünümüne geç", + "premiumFeatureOnly": "Bu özellik yalnızca Premium Sürüm ile kullanılabilir.", + "premiumFreeTrialDesc": "Bu özellik Premium Sürüm'e özeldir ve şimdi ücretsiz olarak deneyebilirsiniz.", + "freeTrial": "Ücretsiz Deneme", + "learnMore": "Daha Fazla Bilgi Edinin", + "limited": "sınırlı", + "premiumEdition": "Premium Sürüm", + "PreOrderPremiumNow": "Premium Sürümü şimdi ön sipariş verin", + "getPremiumEditionNow": "Premium Sürümü şimdi alın", + "alreadyHavePremiumLicenseKey": "Zaten bir Premium Sürüm lisans anahtarım var", + "licenseKey": "Lisans Anahtarı", + "activatePremium": "Premium Sürümü Etkinleştir", + "couldNotActivatePremium": "Premium Sürüm etkinleştirilemedi. Lütfen geçerli bir lisans anahtarı girin.", + "premiumActivatedSuccessfully": "Premium Sürüm başarıyla etkinleştirildi.", + "premiumAccessFeatures": "Premium Sürüm ile ek özelliklere erişim sağlayacaksınız", + "premiumFeaturesPreOrderDescription": "Eklentinin tüm ana özellikleri ücretsiz olarak kullanılabilir ve Premium erişim gerektirmeden erişilebilir kalacaktır. Profesyonel kullanım için tasarlanmış gelişmiş özellikleri içeren Premium Sürüm hala geliştirilme aşamasındadır. Şimdi ön sipariş vererek, bu premium yeteneklerin geliştirilmesini destekleyebilir ve piyasaya sürülmeden önce harika bir fiyata sahip olabilirsiniz.", + "premiumFeaturesDescription": "Eklentinin tüm ana özellikleri ücretsiz olarak kullanılabilir ve Premium erişim gerektirmeden erişilebilir kalacaktır. Profesyonel kullanım için gelişmiş yetenekler sağlamak amacıyla ek özellikler sunuyoruz, bu özellikler Premium Sürüm'de ücretli olarak sunulacaktır.", + "earlyBirdTicket": "Erken Kayıt Bileti", + "earlyBirdTicketDesc": "Premium Sürüm özelliklerini piyasaya sürmek üzereyiz ve bu geliştirmeleri desteklemek için özel bir erken kayıt teklifi ile şimdi yararlanabilirsiniz. Şimdi satın alarak, tüm Premium Sürüm özelliklerine ömür boyu erişim sağlayacaksınız. Premium Sürüm piyasaya sürüldüğünde, erken kayıt teklifi sona erecek ve ömür boyu satın alma imkanı artık sunulmayacaktır.", + "afterPurchase": "Satın aldıktan sonra, lisans anahtarını 24 saat içinde e-posta adresinize göndereceğiz. Premium Sürüm resmi olarak piyasaya sürüldüğünde kullanabilirsiniz.", + "enterMailForLicenseKey": "Lisans anahtarını almak için lütfen e-posta adresinizi girin.", + "upcomingFeatures": "Yaklaşan Özellikler", + "treeTabs": "Ağaç Sekmeleri", + "tabHistory": "Sekme Geçmişi", + "cloudSync": "Bulut Senkronizasyonu", + "advancedPictureInPicture": "Gelişmiş Resim İçinde Resim", + "APIAccess": "API Erişimi", + "customizeMenu": "Menüyü Özelleştir", + "Automation": "Otomasyon" } \ No newline at end of file diff --git a/build/_locales/uk/error.json b/build/_locales/uk/error.json index 2e8675d..f2652c7 100644 --- a/build/_locales/uk/error.json +++ b/build/_locales/uk/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Збережені групи не можна редагувати", + "Saved groups are not editable.": "Збережені групи не можна редагувати", "ungroupingError": "Не вдалося розгрупувати всі вкладки: {{error}}" } \ No newline at end of file diff --git a/build/_locales/uk/options.json b/build/_locales/uk/options.json index 95e8a6d..27e0dcf 100644 --- a/build/_locales/uk/options.json +++ b/build/_locales/uk/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Прокрутити до активної вкладки" } }, + "tabNav": { + "label": "Показати панель навігації вкладок", + "description": "Коли увімкнено, панель навігації вкладок відображається", + "configure": "налаштувати", + "configureTabNav": "Налаштувати навігацію вкладок", + "enabledNavs": "Увімкнені навігації", + "disabledNavs": "Вимкнені навігації (Доступні)", + "showLabel": "Показати мітку", + "showCount": "Показати кількість", + "days": "Дні", + "close": "Закрити", + "save": "Зберегти", + "settings": "Налаштування", + "OpenTabs": "Відкриті вкладки", + "RecentlyTabs": "Нещодавно закриті вкладки", + "bookmarks": "Закладки", + "history": "Історія", + "readingList": "Список для читання", + "quickAccess": "Швидкий доступ", + "pinToToolbarReminder": "Закріпіть розширення на панелі інструментів перед видаленням цієї навігації." + }, "bottomNav": { "label": "Показати нижню навігаційну панель", "description": "Якщо увімкнено, нижня панель навігації буде відображатися", diff --git a/build/_locales/uk/translation.json b/build/_locales/uk/translation.json index aa5396b..a1d0184 100644 --- a/build/_locales/uk/translation.json +++ b/build/_locales/uk/translation.json @@ -164,5 +164,63 @@ "cancel": "Скасувати", "fullscreen": "Повноекранний режим", "exitFullscreen": "Вийти з повноекранного режиму", - "zoom": "Масштаб" + "zoom": "Масштаб", + "undo": "Скасувати", + "addTabToGroup": "Додати вкладку до групи", + "newGroup": "Нова група", + "nameThisGroup": "Назвіть цю групу", + "addBookmark": "Додати закладку", + "editBookmark": "Редагувати закладку", + "deleteBookmark": "Видалити закладку", + "duplicateBookmarks": "Дублювати закладки", + "folderName": "Назва папки", + "selectParentFolder": "Вибрати батьківську папку", + "addFolder": "Додати папку", + "editFolder": "Редагувати папку", + "deleteFolder": "Видалити папку", + "deleteFolderConfirmation": "Ви дійсно хочете видалити цю папку? Усі закладки в цій папці (включаючи закладки в підпапках) також будуть видалені.", + "containsCountURLs": "Містить {{count}} URL-адрес", + "openAll": "Відкрити всі ({{count}})", + "openAllInNewWindow": "Відкрити всі ({{count}}) у новому вікні", + "openAllInIncognitoWindow": "Відкрити всі ({{count}}) у вікні інкогніто", + "checkBookmarks": "Перевірити закладки", + "hideEmptyFolders": "Приховати порожні папки", + "displayTreeConnectorLines": "Показати лінії з'єднання дерева", + "showBookmarkUrl": "Показати URL закладки", + "bookmarkManager": "Менеджер закладок", + "default": "За замовчуванням", + "title": "Назва", + "url": "URL", + "recentlyUsed": "Нещодавно використані", + "recentlyAdded": "Нещодавно додані", + "switchToListView": "Переключитися на перегляд списку", + "switchToTreeView": "Переключитися на перегляд дерева", + "premiumFeatureOnly": "Ця функція доступна лише у Преміум-версії.", + "premiumFreeTrialDesc": "Ця функція доступна лише у Преміум-версії, і ви можете спробувати її безкоштовно зараз.", + "freeTrial": "Безкоштовна пробна версія", + "learnMore": "Дізнатися більше", + "limited": "обмежений", + "premiumEdition": "Преміум-версія", + "PreOrderPremiumNow": "Замовте Преміум-версію зараз", + "getPremiumEditionNow": "Отримати Преміум-версію зараз", + "alreadyHavePremiumLicenseKey": "У мене вже є ліцензійний ключ Преміум-версії", + "licenseKey": "Ліцензійний ключ", + "activatePremium": "Активувати Преміум-версію", + "couldNotActivatePremium": "Не вдалося активувати Преміум-версію. Будь ласка, введіть дійсний ліцензійний ключ.", + "premiumActivatedSuccessfully": "Преміум-версія успішно активована.", + "premiumAccessFeatures": "З Преміум-версією ви отримаєте доступ до додаткових функцій", + "premiumFeaturesPreOrderDescription": "Усі основні функції розширення безкоштовні для використання і залишаться доступними без необхідності Преміум-доступу. Преміум-версія, яка включає розширені функції для професійного використання, ще розробляється. Замовивши зараз, ви можете підтримати розробку цих преміум-можливостей і отримати їх за вигідною ціною до запуску.", + "premiumFeaturesDescription": "Усі основні функції розширення безкоштовні для використання і залишаться доступними без необхідності Преміум-доступу. Ми пропонуємо додаткові функції для надання розширених можливостей для професійного використання, які будуть доступні у Преміум-версії за плату.", + "earlyBirdTicket": "Квиток раннього птаха", + "earlyBirdTicketDesc": "Ми збираємося запустити функції Преміум-версії, і ви можете скористатися спеціальною пропозицією раннього птаха, щоб підтримати розробку цих покращень. Купуючи зараз, ви отримаєте довічний доступ до всіх функцій Преміум-версії. Після випуску Преміум-версії пропозиція раннього птаха буде припинена, і довічні покупки більше не будуть доступні.", + "afterPurchase": "Після покупки ми надішлемо ліцензійний ключ на вашу електронну пошту протягом 24 годин. Ви зможете використовувати його після офіційного випуску Преміум-версії.", + "enterMailForLicenseKey": "Будь ласка, введіть свою електронну адресу, щоб отримати ліцензійний ключ.", + "upcomingFeatures": "Майбутні функції", + "treeTabs": "Дерево вкладок", + "tabHistory": "Історія вкладок", + "cloudSync": "Хмарна синхронізація", + "advancedPictureInPicture": "Розширений режим «Картинка в картинці»", + "APIAccess": "Доступ до API", + "customizeMenu": "Налаштувати меню", + "Automation": "Автоматизація" } \ No newline at end of file diff --git a/build/_locales/vi/error.json b/build/_locales/vi/error.json index b09a9f2..ed74d61 100644 --- a/build/_locales/vi/error.json +++ b/build/_locales/vi/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "Các nhóm đã lưu không thể chỉnh sửa", + "Saved groups are not editable.": "Các nhóm đã lưu không thể chỉnh sửa", "ungroupingError": "Không thể bỏ nhóm tất cả các tab: {{error}}" } \ No newline at end of file diff --git a/build/_locales/vi/options.json b/build/_locales/vi/options.json index 8659f75..c10ed18 100644 --- a/build/_locales/vi/options.json +++ b/build/_locales/vi/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "Cuộn đến thẻ đang hoạt động" } }, + "tabNav": { + "label": "Hiển thị thanh điều hướng thẻ", + "description": "Khi bật, thanh điều hướng thẻ sẽ được hiển thị", + "configure": "cấu hình", + "configureTabNav": "Cấu hình Thanh Điều Hướng Thẻ", + "enabledNavs": "Điều Hướng Đã Bật", + "disabledNavs": "Điều Hướng Đã Tắt (Có Sẵn)", + "showLabel": "Hiển Thị Nhãn", + "showCount": "Hiển Thị Số Lượng", + "days": "Ngày", + "close": "Đóng", + "save": "Lưu", + "settings": "Cài Đặt", + "OpenTabs": "Thẻ Đang Mở", + "RecentlyTabs": "Thẻ Đã Đóng Gần Đây", + "bookmarks": "Dấu Trang", + "history": "Lịch Sử", + "readingList": "Danh Sách Đọc", + "quickAccess": "Truy Cập Nhanh", + "pinToToolbarReminder": "Hãy ghim tiện ích vào thanh công cụ trước khi xóa điều hướng này." + }, "bottomNav": { "label": "Hiển thị thanh điều hướng dưới cùng", "description": "Khi bật, thanh điều hướng dưới cùng sẽ xuất hiện", diff --git a/build/_locales/vi/translation.json b/build/_locales/vi/translation.json index 44744d0..14240ce 100644 --- a/build/_locales/vi/translation.json +++ b/build/_locales/vi/translation.json @@ -164,5 +164,63 @@ "cancel": "Hủy", "fullscreen": "Toàn Màn Hình", "exitFullscreen": "Thoát Toàn Màn Hình", - "zoom": "Phóng To" + "zoom": "Phóng To", + "undo": "Hoàn Tác", + "addTabToGroup": "Thêm thẻ vào nhóm", + "newGroup": "Nhóm mới", + "nameThisGroup": "Đặt tên nhóm này", + "addBookmark": "Thêm dấu trang", + "editBookmark": "Chỉnh sửa dấu trang", + "deleteBookmark": "Xóa dấu trang", + "duplicateBookmarks": "Nhân đôi dấu trang", + "folderName": "Tên thư mục", + "selectParentFolder": "Chọn thư mục cha", + "addFolder": "Thêm thư mục", + "editFolder": "Chỉnh sửa thư mục", + "deleteFolder": "Xóa thư mục", + "deleteFolderConfirmation": "Bạn có thực sự muốn xóa thư mục này không? Tất cả dấu trang trong thư mục này (bao gồm cả dấu trang trong các thư mục con) cũng sẽ bị xóa.", + "containsCountURLs": "Chứa {{count}} URL", + "openAll": "Mở tất cả ({{count}})", + "openAllInNewWindow": "Mở tất cả ({{count}}) trong cửa sổ mới", + "openAllInIncognitoWindow": "Mở tất cả ({{count}}) trong cửa sổ ẩn danh", + "checkBookmarks": "Kiểm tra dấu trang", + "hideEmptyFolders": "Ẩn thư mục trống", + "displayTreeConnectorLines": "Hiển thị đường nối cây", + "showBookmarkUrl": "Hiển thị URL dấu trang", + "bookmarkManager": "Quản lý dấu trang", + "default": "Mặc định", + "title": "Tiêu đề", + "url": "URL", + "recentlyUsed": "Đã sử dụng gần đây", + "recentlyAdded": "Đã thêm gần đây", + "switchToListView": "Chuyển sang chế độ xem danh sách", + "switchToTreeView": "Chuyển sang chế độ xem cây", + "premiumFeatureOnly": "Tính năng này chỉ có sẵn với Phiên bản Cao cấp.", + "premiumFreeTrialDesc": "Tính năng này dành riêng cho Phiên bản Cao cấp, và bạn có thể dùng thử miễn phí ngay bây giờ.", + "freeTrial": "Dùng thử miễn phí", + "learnMore": "Tìm hiểu thêm", + "limited": "Giới hạn", + "premiumEdition": "Phiên bản Cao cấp", + "PreOrderPremiumNow": "Đặt trước Phiên bản Cao cấp ngay bây giờ", + "getPremiumEditionNow": "Nhận Phiên bản Cao cấp ngay bây giờ", + "alreadyHavePremiumLicenseKey": "Tôi đã có khóa giấy phép Phiên bản Cao cấp", + "licenseKey": "Khóa giấy phép", + "activatePremium": "Kích hoạt Phiên bản Cao cấp", + "couldNotActivatePremium": "Không thể kích hoạt Phiên bản Cao cấp. Vui lòng nhập khóa giấy phép hợp lệ.", + "premiumActivatedSuccessfully": "Kích hoạt Phiên bản Cao cấp thành công.", + "premiumAccessFeatures": "Với Phiên bản Cao cấp, bạn sẽ có quyền truy cập vào các tính năng bổ sung", + "premiumFeaturesPreOrderDescription": "Tất cả các tính năng chính của tiện ích mở rộng đều miễn phí sử dụng và sẽ vẫn có thể truy cập mà không cần quyền truy cập Cao cấp. Phiên bản Cao cấp, bao gồm các tính năng nâng cao được thiết kế cho mục đích sử dụng chuyên nghiệp, vẫn đang được phát triển. Bằng cách đặt trước ngay bây giờ, bạn có thể hỗ trợ phát triển các khả năng cao cấp này và nhận được nó với giá tuyệt vời trước khi chúng ra mắt.", + "premiumFeaturesDescription": "Tất cả các tính năng chính của tiện ích mở rộng đều miễn phí sử dụng và sẽ vẫn có thể truy cập mà không cần quyền truy cập Cao cấp. Chúng tôi cung cấp các tính năng bổ sung để cung cấp các khả năng nâng cao cho mục đích sử dụng chuyên nghiệp, sẽ có sẵn trong Phiên bản Cao cấp với một khoản phí.", + "earlyBirdTicket": "Vé Early Bird", + "earlyBirdTicketDesc": "Chúng tôi sắp ra mắt các tính năng của Phiên bản Cao cấp, và bạn hiện có thể tận dụng ưu đãi đặc biệt dành cho người mua sớm để hỗ trợ phát triển các cải tiến này. Bằng cách mua ngay bây giờ, bạn sẽ nhận được quyền truy cập trọn đời vào tất cả các tính năng của Phiên bản Cao cấp. Khi Phiên bản Cao cấp được phát hành, ưu đãi dành cho người mua sớm sẽ bị ngừng và các giao dịch mua trọn đời sẽ không còn khả dụng.", + "afterPurchase": "Sau khi mua, chúng tôi sẽ gửi Khóa Giấy Phép đến email của bạn trong vòng 24 giờ. Bạn có thể sử dụng nó khi Phiên bản Cao cấp chính thức được phát hành.", + "enterMailForLicenseKey": "Vui lòng nhập địa chỉ email của bạn để nhận khóa giấy phép.", + "upcomingFeatures": "Các tính năng sắp tới", + "treeTabs": "Thẻ cây", + "tabHistory": "Lịch sử thẻ", + "cloudSync": "Đồng bộ đám mây", + "advancedPictureInPicture": "Hình trong hình nâng cao", + "APIAccess": "Truy cập API", + "customizeMenu": "Tùy chỉnh menu", + "Automation": "Tự động hóa" } \ No newline at end of file diff --git a/build/_locales/yi/error.json b/build/_locales/yi/error.json index 92ecc6b..3c43c46 100644 --- a/build/_locales/yi/error.json +++ b/build/_locales/yi/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "געזפּאַרטע גרופּעס זענען נישט רעדאַגירבאַר", + "Saved groups are not editable.": "געזפּאַרטע גרופּעס זענען נישט רעדאַגירבאַר", "ungroupingError": "ניט אַנגרופּט אַלע טאַבס: {{error}}" } \ No newline at end of file diff --git a/build/_locales/yi/options.json b/build/_locales/yi/options.json index c6e0169..4f6f03c 100644 --- a/build/_locales/yi/options.json +++ b/build/_locales/yi/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "רוק צו אַקטיוו טאַב" } }, + "tabNav": { + "label": "ווייזן טאַב נאַוויגאַציע באַר", + "description": "ווען אַקטיווירט, וועט דער טאַב נאַוויגאַציע באַר ווערן געוויזן", + "configure": "קאָנפיגורירן", + "configureTabNav": "קאָנפיגורירן טאַב נאַוויגאַציע", + "enabledNavs": "אַקטיווירטע נאַוויגאַציעס", + "disabledNavs": "דיסאַבלעד נאַוויגאַציעס (בנימצא)", + "showLabel": "ווייזן לייבל", + "showCount": "ווייזן ציילן", + "days": "טעג", + "close": "פאַרמאַכן", + "save": "היטן", + "settings": "סעטטינגס", + "OpenTabs": "עפענען טאַבס", + "RecentlyTabs": "לעצטנס פארמאכט טאַבס", + "bookmarks": "בוכמאַרקס", + "history": "היסטאריע", + "readingList": "לייענען ליסטע", + "quickAccess": "שנעל צוטריט", + "pinToToolbarReminder": "ביטע שטעלן די עקסטענסיאָן צו אייער טולבאַר איידער איר באַזייַטיקן די נאַוויגאַציע." + }, "bottomNav": { "label": "ווייזן באָטאָם נאַוויגאַציע באַר", "description": "ווען אַקטיווירט, וועט דער נידעריקער נאַוויגאַציע באַר ווערן געוויזן", diff --git a/build/_locales/yi/translation.json b/build/_locales/yi/translation.json index e5b12e6..e1b0745 100644 --- a/build/_locales/yi/translation.json +++ b/build/_locales/yi/translation.json @@ -151,5 +151,63 @@ "cancel": "באָטל מאַכן", "fullscreen": "פולסקירם", "exitFullscreen": "אַרויסגיין פולסקירם", - "zoom": "פארגרעסער" + "zoom": "פארגרעסער", + "undo": "אַנולירן", + "addTabToGroup": "לייג טאַב צו גרופּע", + "newGroup": "נייע גרופּע", + "nameThisGroup": "נעמן די גרופּע", + "addBookmark": "לייג ביכערמאַרק", + "editBookmark": "רעדאַגירן ביכערמאַרק", + "deleteBookmark": "ויסמעקן ביכערמאַרק", + "duplicateBookmarks": "דופּליקירן ביכערמאַרקס", + "folderName": "נאָמען פון טעקע", + "selectParentFolder": "סעלעקטירן עלטער טעקע", + "addFolder": "לייג טעקע", + "editFolder": "רעדאַגירן טעקע", + "deleteFolder": "ויסמעקן טעקע", + "deleteFolderConfirmation": "צי איר טאַקע ווילן צו ויסמעקן די טעקע? אַלע ביכערמאַרקס אין דער טעקע (אַרייַנגערעכנט ביכערמאַרקס אין סאַבטעקעס) וועלן אויך ווערן אויסגעמעקט.", + "containsCountURLs": "אינהאַלט {{count}} URLס", + "openAll": "עפענען אַלע ({{count}})", + "openAllInNewWindow": "עפענען אַלע ({{count}}) אין נייַ פֿענצטער", + "openAllInIncognitoWindow": "עפענען אַלע ({{count}}) אין ינקאָגניטאָ פֿענצטער", + "checkBookmarks": "טשעק ביכערמאַרקס", + "hideEmptyFolders": "באַהאַלטן ליידיק טעקעס", + "displayTreeConnectorLines": "ווייַזן בוים קאַנעקטער שורות", + "showBookmarkUrl": "ווייַזן ביכערמאַרק URL", + "bookmarkManager": "ביכערמאַרק מאַנאַגער", + "default": "נאָרמאַל", + "title": "טיטל", + "url": "URL", + "recentlyUsed": "לעצטנס געניצט", + "recentlyAdded": "לעצטנס צוגעגעבן", + "switchToListView": "באַשטימען צו רשימה מיינונג", + "switchToTreeView": "באַשטימען צו בוים מיינונג", + "premiumFeatureOnly": "די פֿונקציע איז בלויז בנימצא מיט די פּרעמיום אַדישאַן.", + "premiumFreeTrialDesc": "די פֿונקציע איז עקסקלוסיוו צו די פּרעמיום אַדישאַן, און איר קענען פּרובירן עס פֿאַר פריי איצט.", + "freeTrial": "פריי פּראָצעס", + "learnMore": "לערנען מער", + "limited": "באַגרענעצט", + "premiumEdition": "פּרעמיום אַדישאַן", + "PreOrderPremiumNow": "פּרע-אָרדער די פּרעמיום אַדישאַן איצט", + "getPremiumEditionNow": "באַקומען די פּרעמיום אַדישאַן איצט", + "alreadyHavePremiumLicenseKey": "איך האָב שוין אַ פּרעמיום אַדישאַן דערלויבעניש שליסל", + "licenseKey": "דערלויבעניש שליסל", + "activatePremium": "אַקטאַווייט פּרעמיום אַדישאַן", + "couldNotActivatePremium": "קענען נישט אַקטאַווייט פּרעמיום אַדישאַן. ביטע אַרייַן אַ גילטיק דערלויבעניש שליסל.", + "premiumActivatedSuccessfully": "פּרעמיום אַדישאַן אַקטאַווייטיד הצלחה.", + "premiumAccessFeatures": "מיט די פּרעמיום אַדישאַן, איר וועט באַקומען צוטריט צו נאָך פֿעיִקייטן", + "premiumFeaturesPreOrderDescription": "אַלע שליסל פֿעיִקייטן פון די עקסטענסיאָן זענען פריי צו נוצן און וועלן בלייבן צוטריטלעך אָן ריקוויירינג פּרעמיום צוטריט. די פּרעמיום אַדישאַן, וואָס כולל אַוואַנסירטע פֿעיִקייטן דיזיינד פֿאַר פאַכמאַן נוצן, איז נאָך אין אַנטוויקלונג. דורך פּרע-אָרדערינג איצט, איר קענען שטיצן די אַנטוויקלונג פון די פּרעמיום קייפּאַבילאַטיז און באַקומען עס אין אַ גרויס פּרייַז איידער זיי קאַטער.", + "premiumFeaturesDescription": "אַלע שליסל פֿעיִקייטן פון די עקסטענסיאָן זענען פריי צו נוצן און וועלן בלייבן צוטריטלעך אָן ריקוויירינג פּרעמיום צוטריט. מיר פאָרשלאָגן נאָך פֿעיִקייטן צו צושטעלן אַוואַנסירטע קייפּאַבילאַטיז פֿאַר פאַכמאַן נוצן, וואָס וועט זיין בנימצא אין די פּרעמיום אַדישאַן פֿאַר אַ אָפּצאָל.", + "earlyBirdTicket": "פרישער פֿויגל בילעט", + "earlyBirdTicketDesc": "מיר זענען וועגן צו קאַטער פּרעמיום אַדישאַן פֿעיִקייטן, און איר קענען איצט נעמען מייַלע פון אַ ספּעציעל פרי-פויגל פאָרשלאָג צו שטיצן די אַנטוויקלונג פון די ימפּרווומאַנץ. דורך בייינג איצט, איר וועט באַקומען לעבן צוטריט צו אַלע פּרעמיום אַדישאַן פֿעיִקייטן. אַמאָל די פּרעמיום אַדישאַן איז באפרייט, די פרי-פויגל פאָרשלאָג וועט זיין דיסקאַנטיניוד, און לעבן פּערטשאַסאַז וועט ניט מער זיין בנימצא.", + "afterPurchase": "נאָך קויפן, מיר וועלן שיקן די דערלויבעניש שליסל צו דיין בליצפּאָסט ין 24 שעה. איר קענען נוצן עס אַמאָל די פּרעמיום אַדישאַן איז באַאַמטער באפרייט.", + "enterMailForLicenseKey": "ביטע אַרייַן דיין בליצפּאָסט אַדרעס צו באַקומען די דערלויבעניש שליסל.", + "upcomingFeatures": "קומענדיק פֿעיִקייטן", + "treeTabs": "בוים טאַבס", + "tabHistory": "טאַב געשיכטע", + "cloudSync": "וואָלקן סינק", + "advancedPictureInPicture": "אַוואַנסירטע בילד-אין-בילד", + "APIAccess": "API צוטריט", + "customizeMenu": "קאַסטאַמייז מעניו", + "Automation": "אָטאַמיישאַן" } \ No newline at end of file diff --git a/build/_locales/zh_CN/error.json b/build/_locales/zh_CN/error.json index 522e3f7..c27f757 100644 --- a/build/_locales/zh_CN/error.json +++ b/build/_locales/zh_CN/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "已保存的组不可编辑", + "Saved groups are not editable.": "已保存的组不可编辑", "ungroupingError": "无法取消分组所有标签页: {{error}}" } \ No newline at end of file diff --git a/build/_locales/zh_CN/options.json b/build/_locales/zh_CN/options.json index 01e96ae..7629961 100644 --- a/build/_locales/zh_CN/options.json +++ b/build/_locales/zh_CN/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "滚动到活动标签页" } }, + "tabNav": { + "label": "显示标签导航栏", + "description": "启用后,标签导航栏将会显示", + "configure": "配置", + "configureTabNav": "配置标签导航", + "enabledNavs": "已启用的导航", + "disabledNavs": "可用的未启用导航", + "showLabel": "显示标签", + "showCount": "显示计数", + "days": "天", + "close": "关闭", + "save": "保存", + "settings": "设置", + "OpenTabs": "打开的标签页", + "RecentlyTabs": "最近关闭的标签页", + "bookmarks": "书签", + "history": "历史记录", + "readingList": "阅读清单", + "quickAccess": "快速访问", + "pinToToolbarReminder": "请将扩展程序固定到工具栏后再移除此导航。" + }, "bottomNav": { "label": "显示底部导航栏", "description": "启用后,底部导航栏将会显示", diff --git a/build/_locales/zh_CN/translation.json b/build/_locales/zh_CN/translation.json index 705e95e..c42cbad 100644 --- a/build/_locales/zh_CN/translation.json +++ b/build/_locales/zh_CN/translation.json @@ -164,5 +164,63 @@ "cancel": "取消", "fullscreen": "全屏", "exitFullscreen": "退出全屏", - "zoom": "缩放" + "zoom": "缩放", + "undo": "撤销", + "addTabToGroup": "将标签页添加到组", + "newGroup": "新组", + "nameThisGroup": "命名此组", + "addBookmark": "添加书签", + "editBookmark": "编辑书签", + "deleteBookmark": "删除书签", + "duplicateBookmarks": "重复书签", + "folderName": "文件夹名称", + "selectParentFolder": "选择父文件夹", + "addFolder": "添加文件夹", + "editFolder": "编辑文件夹", + "deleteFolder": "删除文件夹", + "deleteFolderConfirmation": "您真的要删除此文件夹吗?此文件夹中的所有书签(包括子文件夹中的书签)也将被删除。", + "containsCountURLs": "包含 {{count}} 个网址", + "openAll": "打开所有 ({{count}})", + "openAllInNewWindow": "在新窗口中打开所有 ({{count}})", + "openAllInIncognitoWindow": "在隐身窗口中打开所有 ({{count}})", + "checkBookmarks": "检查书签", + "hideEmptyFolders": "隐藏空文件夹", + "displayTreeConnectorLines": "显示树状连接线", + "showBookmarkUrl": "显示书签网址", + "bookmarkManager": "书签管理器", + "default": "默认", + "title": "标题", + "url": "网址", + "recentlyUsed": "最近使用", + "recentlyAdded": "最近添加", + "switchToListView": "切换到列表视图", + "switchToTreeView": "切换到树状视图", + "premiumFeatureOnly": "此功能仅适用于高级版。", + "premiumFreeTrialDesc": "此功能仅适用于高级版,您现在可以免费试用。", + "freeTrial": "免费试用", + "learnMore": "了解更多", + "limited": "有限", + "premiumEdition": "高级版", + "PreOrderPremiumNow": "立即预购高级版", + "getPremiumEditionNow": "立即获取高级版", + "alreadyHavePremiumLicenseKey": "我已经有高级版许可证密钥", + "licenseKey": "许可证密钥", + "activatePremium": "激活高级版", + "couldNotActivatePremium": "无法激活高级版。请输入有效的许可证密钥。", + "premiumActivatedSuccessfully": "高级版激活成功。", + "premiumAccessFeatures": "使用高级版,您将获得额外功能的访问权限", + "premiumFeaturesPreOrderDescription": "扩展的所有关键功能都是免费使用的,并且在不需要高级访问的情况下将保持可访问。高级版包括为专业用途设计的高级功能,仍在开发中。通过现在预购,您可以支持这些高级功能的开发,并在它们推出之前以优惠价格获得它。", + "premiumFeaturesDescription": "扩展的所有关键功能都是免费使用的,并且在不需要高级访问的情况下将保持可访问。我们提供额外的功能,以提供专业用途的高级功能,这些功能将在高级版中收费提供。", + "earlyBirdTicket": "早鸟票", + "earlyBirdTicketDesc": "我们即将推出高级版功能,您现在可以利用特别的早鸟优惠来支持这些增强功能的开发。通过现在购买,您将获得所有高级版功能的终身访问权限。一旦高级版发布,早鸟优惠将被取消,终身购买将不再可用。", + "afterPurchase": "购买后,我们将在24小时内将许可证密钥发送到您的电子邮件。高级版正式发布后,您可以使用它。", + "enterMailForLicenseKey": "请输入您的邮件地址以接收许可证密钥。", + "upcomingFeatures": "即将推出的功能", + "treeTabs": "树状标签", + "tabHistory": "标签历史", + "cloudSync": "云同步", + "advancedPictureInPicture": "高级画中画", + "APIAccess": "API访问", + "customizeMenu": "自定义菜单", + "Automation": "自动化" } \ No newline at end of file diff --git a/build/_locales/zh_TW/error.json b/build/_locales/zh_TW/error.json index 3811407..97b0807 100644 --- a/build/_locales/zh_TW/error.json +++ b/build/_locales/zh_TW/error.json @@ -1,4 +1,4 @@ { - "savedGroupsNotEditable": "已儲存的群組無法編輯", + "Saved groups are not editable.": "已儲存的群組無法編輯", "ungroupingError": "無法取消分組所有標籤頁: {{error}}" } \ No newline at end of file diff --git a/build/_locales/zh_TW/options.json b/build/_locales/zh_TW/options.json index 6b681d6..4ef9b4f 100644 --- a/build/_locales/zh_TW/options.json +++ b/build/_locales/zh_TW/options.json @@ -84,6 +84,27 @@ "toolbar_scrollToActiveTab": "滾動到活動標籤頁" } }, + "tabNav": { + "label": "顯示標籤導航欄", + "description": "啟用後,標籤導航欄將顯示", + "configure": "配置", + "configureTabNav": "配置標籤導航", + "enabledNavs": "已啟用的導航", + "disabledNavs": "可用的禁用導航", + "showLabel": "顯示標籤", + "showCount": "顯示計數", + "days": "天", + "close": "關閉", + "save": "保存", + "settings": "設置", + "OpenTabs": "打開的標籤頁", + "RecentlyTabs": "最近關閉的標籤頁", + "bookmarks": "書籤", + "history": "歷史記錄", + "readingList": "閱讀清單", + "quickAccess": "快速訪問", + "pinToToolbarReminder": "請將擴展程式固定到工具欄後再移除此導航。" + }, "bottomNav": { "label": "顯示底部導航欄", "description": "啟用後,底部導航欄將顯示", diff --git a/build/_locales/zh_TW/translation.json b/build/_locales/zh_TW/translation.json index 2d35994..cc1e8d4 100644 --- a/build/_locales/zh_TW/translation.json +++ b/build/_locales/zh_TW/translation.json @@ -164,5 +164,63 @@ "cancel": "取消", "fullscreen": "全屏", "exitFullscreen": "退出全屏", - "zoom": "縮放" + "zoom": "縮放", + "undo": "撤銷", + "addTabToGroup": "將標籤頁添加到組", + "newGroup": "新組", + "nameThisGroup": "命名此組", + "addBookmark": "添加書籤", + "editBookmark": "編輯書籤", + "deleteBookmark": "刪除書籤", + "duplicateBookmarks": "重複書籤", + "folderName": "文件夾名稱", + "selectParentFolder": "選擇父文件夾", + "addFolder": "添加文件夾", + "editFolder": "編輯文件夾", + "deleteFolder": "刪除文件夾", + "deleteFolderConfirmation": "您真的要刪除此文件夾嗎?此文件夾中的所有書籤(包括子文件夾中的書籤)也將被刪除。", + "containsCountURLs": "包含 {{count}} 個網址", + "openAll": "打開所有 ({{count}})", + "openAllInNewWindow": "在新窗口中打開所有 ({{count}})", + "openAllInIncognitoWindow": "在隱身窗口中打開所有 ({{count}})", + "checkBookmarks": "檢查書籤", + "hideEmptyFolders": "隱藏空文件夾", + "displayTreeConnectorLines": "顯示樹狀連接線", + "showBookmarkUrl": "顯示書籤網址", + "bookmarkManager": "書籤管理器", + "default": "默認", + "title": "標題", + "url": "網址", + "recentlyUsed": "最近使用", + "recentlyAdded": "最近添加", + "switchToListView": "切換到列表視圖", + "switchToTreeView": "切換到樹狀視圖", + "premiumFeatureOnly": "此功能僅適用於高級版。", + "premiumFreeTrialDesc": "此功能僅適用於高級版,您現在可以免費試用。", + "freeTrial": "免費試用", + "learnMore": "了解更多", + "limited": "有限", + "premiumEdition": "高級版", + "PreOrderPremiumNow": "立即預購高級版", + "getPremiumEditionNow": "立即獲取高級版", + "alreadyHavePremiumLicenseKey": "我已經有高級版許可證密鑰", + "licenseKey": "許可證密鑰", + "activatePremium": "激活高級版", + "couldNotActivatePremium": "無法激活高級版。請輸入有效的許可證密鑰。", + "premiumActivatedSuccessfully": "高級版激活成功。", + "premiumAccessFeatures": "使用高級版,您將獲得額外功能的訪問權限", + "premiumFeaturesPreOrderDescription": "擴展的所有關鍵功能都是免費使用的,並且在不需要高級訪問的情況下將保持可訪問。高級版包括為專業用途設計的高級功能,仍在開發中。通過現在預購,您可以支持這些高級功能的開發,並在它們推出之前以優惠價格獲得它。", + "premiumFeaturesDescription": "擴展的所有關鍵功能都是免費使用的,並且在不需要高級訪問的情況下將保持可訪問。我們提供額外的功能,以提供專業用途的高級功能,這些功能將在高級版中收費提供。", + "earlyBirdTicket": "早鳥票", + "earlyBirdTicketDesc": "我們即將推出高級版功能,您現在可以利用特別的早鳥優惠來支持這些增強功能的開發。通過現在購買,您將獲得所有高級版功能的終身訪問權限。一旦高級版發布,早鳥優惠將被取消,終身購買將不再可用。", + "afterPurchase": "購買後,我們將在24小時內將許可證密鑰發送到您的電子郵件。高級版正式發布後,您可以使用它。", + "enterMailForLicenseKey": "請輸入您的郵件地址以接收許可證密鑰。", + "upcomingFeatures": "即將推出的功能", + "treeTabs": "樹狀標籤", + "tabHistory": "標籤歷史", + "cloudSync": "雲同步", + "advancedPictureInPicture": "高級畫中畫", + "APIAccess": "API訪問", + "customizeMenu": "自定義菜單", + "Automation": "自動化" } \ No newline at end of file diff --git a/build/background.js b/build/background.js index 3159667..e86dded 100644 --- a/build/background.js +++ b/build/background.js @@ -1,4 +1,4 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a910779a-d142-4c42-b37f-4bd919c19860",t._sentryDebugIdIdentifier="sentry-dbid-a910779a-d142-4c42-b37f-4bd919c19860")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{"use strict";var t={32713:(t,e)=>{ +!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="915527df-aec1-4e1c-8af5-1fbf222fd258",t._sentryDebugIdIdentifier="sentry-dbid-915527df-aec1-4e1c-8af5-1fbf222fd258")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"29ba52ca662501e3df5439703f917863c97bfb4c"},(()=>{"use strict";var t={32713:(t,e)=>{ /** * @license React * react.production.min.js @@ -8,7 +8,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function g(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||d}function b(){}function v(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||d}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=g.prototype;var w=v.prototype=new b;w.constructor=v,m(w,g.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,j={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(t,e,n){var o,a={},i=null,s=null;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(i=""+e.key),e)x.call(e,o)&&!_.hasOwnProperty(o)&&(a[o]=e[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1{t.exports=r(32713)},16868:(t,e,r)=>{ +var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function g(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||d}function b(){}function v(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||d}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=g.prototype;var w=v.prototype=new b;w.constructor=v,m(w,g.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,j={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(t,e,n){var o,a={},i=null,s=null;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(i=""+e.key),e)x.call(e,o)&&!_.hasOwnProperty(o)&&(a[o]=e[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1{t.exports=r(32713)},8878:(t,e,r)=>{ /** * @license React * use-sync-external-store-shim.production.min.js @@ -18,7 +18,7 @@ var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("rea * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var n=r(30758);var o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=n.useState,i=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!o(t,r)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=a({inst:{value:r,getSnapshot:e}}),o=n[0].inst,l=n[1];return s((function(){o.value=r,o.getSnapshot=e,u(o)&&l({inst:o})}),[t,r,e]),i((function(){return u(o)&&l({inst:o}),t((function(){u(o)&&l({inst:o})}))}),[t]),c(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},79247:(t,e,r)=>{ +var n=r(30758);var o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=n.useState,i=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!o(t,r)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=a({inst:{value:r,getSnapshot:e}}),o=n[0].inst,l=n[1];return s((function(){o.value=r,o.getSnapshot=e,u(o)&&l({inst:o})}),[t,r,e]),i((function(){return u(o)&&l({inst:o}),t((function(){u(o)&&l({inst:o})}))}),[t]),c(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},86081:(t,e,r)=>{ /** * @license React * use-sync-external-store-shim/with-selector.production.min.js @@ -28,5 +28,5 @@ var n=r(30758);var o="function"==typeof Object.is?Object.is:function(t,e){return * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var n=r(30758),o=r(91285);var a="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},i=o.useSyncExternalStore,s=n.useRef,c=n.useEffect,u=n.useMemo,l=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,r,n,o){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=u((function(){function t(t){if(!c){if(c=!0,i=t,t=n(t),void 0!==o&&h.hasValue){var e=h.value;if(o(e,t))return s=e}return s=t}if(e=s,a(i,t))return e;var r=n(t);return void 0!==o&&o(e,r)?e:(i=t,s=r)}var i,s,c=!1,u=void 0===r?null:r;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]}),[e,r,n,o]);var p=i(t,f[0],f[1]);return c((function(){h.hasValue=!0,h.value=p}),[p]),l(p),p}},91285:(t,e,r)=>{t.exports=r(16868)},51467:(t,e,r)=>{t.exports=r(79247)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center "},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center "},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center "},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center "},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center "},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center "},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center "},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center "},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center "},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center "},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center "},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center "},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center "},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center "},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center "},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center "},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center "},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center "},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"center "},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"center "}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"flex-start"},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:0,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},a=[chrome.runtime.getURL("images/bg.jpg")],i={fontScale:.75,fontWeight:600,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"},s={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},f={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},h={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},p={rememberSiteZoom:!0};function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),s=new I(n||[]);return o(i,"_invoke",{value:S(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",g="completed",b={};function v(){}function w(){}function k(){}var x={};u(x,i,(function(){return this}));var j=Object.getPrototypeOf,_=j&&j(j(C([])));_&&_!==r&&n.call(_,i)&&(x=_);var E=k.prototype=v.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==d(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=z(s,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?g:p,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function z(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,z(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,b;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function y(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){y(a,n,o,i,s,"next",t)}function s(t){y(a,n,o,i,s,"throw",t)}i(void 0)}))}}var b=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],v=function(t){return b.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},w=function(){var t=g(m().mark((function t(e){var r,n,o,a,i=arguments;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=i.length>2?i[2]:void 0,o=i.length>3?i[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),v(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=g(m().mark((function t(e,r){var n,o,a=arguments;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return o=t.sent,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t.catch(1),v(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}();const x=(t,e)=>e.some((e=>t instanceof e));let j,_;const E=new WeakMap,L=new WeakMap,O=new WeakMap;let S={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return E.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return I(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function z(t){S=t(S)}function A(t){return(_||(_=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(C(this),e),I(this.request)}:function(...e){return I(t.apply(C(this),e))}}function P(t){return"function"==typeof t?A(t):(t instanceof IDBTransaction&&function(t){if(E.has(t))return;const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",a),t.removeEventListener("abort",a)},o=()=>{e(),n()},a=()=>{r(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",o),t.addEventListener("error",a),t.addEventListener("abort",a)}));E.set(t,e)}(t),x(t,j||(j=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(t,S):t)}function I(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("success",o),t.removeEventListener("error",a)},o=()=>{e(I(t.result)),n()},a=()=>{r(t.error),n()};t.addEventListener("success",o),t.addEventListener("error",a)}));return O.set(e,t),e}(t);if(L.has(t))return L.get(t);const e=P(t);return e!==t&&(L.set(t,e),O.set(e,t)),e}const C=t=>O.get(t);function T(t,e,{blocked:r,upgrade:n,blocking:o,terminated:a}={}){const i=indexedDB.open(t,e),s=I(i);return n&&i.addEventListener("upgradeneeded",(t=>{n(I(i.result),t.oldVersion,t.newVersion,I(i.transaction),t)})),r&&i.addEventListener("blocked",(t=>r(t.oldVersion,t.newVersion,t))),s.then((t=>{a&&t.addEventListener("close",(()=>a())),o&&t.addEventListener("versionchange",(t=>o(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),s}const F=["get","getKey","getAll","getAllKeys","count"],D=["put","add","delete","clear"],G=new Map;function N(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(G.get(e))return G.get(e);const r=e.replace(/FromIndex$/,""),n=e!==r,o=D.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!o&&!F.includes(r))return;const a=async function(t,...e){const a=this.transaction(t,o?"readwrite":"readonly");let i=a.store;return n&&(i=i.index(e.shift())),(await Promise.all([i[r](...e),o&&a.done]))[0]};return G.set(e,a),a}z((t=>({...t,get:(e,r,n)=>N(e,r)||t.get(e,r,n),has:(e,r)=>!!N(e,r)||t.has(e,r)})));const q=["continue","continuePrimaryKey","advance"],B={},$=new WeakMap,M=new WeakMap,R={get(t,e){if(!q.includes(e))return t[e];let r=B[e];return r||(r=B[e]=function(...t){$.set(this,M.get(this)[e](...t))}),r}};async function*U(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;const r=new Proxy(e,R);for(M.set(r,e),O.set(r,C(e));e;)yield r,e=await($.get(r)||e.continue()),$.delete(r)}function V(t,e){return e===Symbol.asyncIterator&&x(t,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===e&&x(t,[IDBIndex,IDBObjectStore])}function W(t){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W(t)}function Y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return H(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}(t,e)||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 H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Q(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function J(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Q(a,n,o,i,s,"next",t)}function s(t){Q(a,n,o,i,s,"throw",t)}i(void 0)}))}}function X(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Z(t,e){for(var r=0;r({...t,get:(e,r,n)=>V(e,r)?U:t.get(e,r,n),has:(e,r)=>V(e,r)||t.has(e,r)})));var rt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.db=null,this.cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==i[2]?i[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this.ensureDbConnection();case 5:return t.next=7,this.db;case 7:return a=t.sent,t.next=10,a.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return g.apply(this,arguments)})},{key:"get",value:(y=J(K().mark((function t(e){var r,n;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return y.apply(this,arguments)})},{key:"getOrSet",value:(m=J(K().mark((function t(e,r){var n,o,a,i=arguments;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>2&&void 0!==i[2]?i[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return a=t.t0,t.next=16,this.set(e,a,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return m.apply(this,arguments)})},{key:"remove",value:(d=J(K().mark((function t(e){var r;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return d.apply(this,arguments)})},{key:"delete",value:(p=J(K().mark((function t(e){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"prune",value:(h=J(K().mark((function t(){var e;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return h.apply(this,arguments)})},{key:"clear",value:(f=J(K().mark((function t(){var e;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return f.apply(this,arguments)})},{key:"keys",value:(l=J(K().mark((function t(){var e,r,n,o=arguments;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return l.apply(this,arguments)})},{key:"length",value:(u=J(K().mark((function t(){var e;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return u.apply(this,arguments)})},{key:"whereIn",value:(c=J(K().mark((function t(e){var r=this;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return c.apply(this,arguments)})},{key:"all",value:(s=J(K().mark((function t(){var e,r,n;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return s.apply(this,arguments)})},{key:"batchSet",value:(i=J(K().mark((function t(e){var r,n,o,a,i,s,c,u,l,f,h=arguments;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=h.length>1&&void 0!==h[1]?h[1]:0,t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),i=r?Date.now()+1e3*r:0,s=0,c=Object.entries(e);case 11:if(!(sa)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return i=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(i));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return a.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],n=[{key:"create",value:(o=J(K().mark((function e(){var r,n=arguments;return K().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})}],r&&Z(e.prototype,r),n&&Z(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,o,a,i,s,c,u,l,f,h,p,d,m,y,g,b,v,w}();tt(rt,"stores",new Map),tt(rt,"DEFAULT_STORE_NAME","rabbitpair"),tt(rt,"DEFAULT_CLEANUP_INTERVAL",36e5);var nt=new Map;function ot(t){return at.apply(this,arguments)}function at(){return at=J(K().mark((function t(e){var r,n,o=arguments;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},nt.has(e)){t.next=13;break}return t.prev=2,t.next=5,rt.create(e,r);case 5:n=t.sent,nt.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",nt.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),at.apply(this,arguments)}const it=Array.isArray;const st="object"==typeof global&&global&&global.Object===Object&&global;var ct="object"==typeof self&&self&&self.Object===Object&&self;const ut=st||ct||Function("return this")();const lt=ut.Symbol;var ft=Object.prototype,ht=ft.hasOwnProperty,pt=ft.toString,dt=lt?lt.toStringTag:void 0;const mt=function(t){var e=ht.call(t,dt),r=t[dt];try{t[dt]=void 0;var n=!0}catch(t){}var o=pt.call(t);return n&&(e?t[dt]=r:delete t[dt]),o};var yt=Object.prototype.toString;const gt=function(t){return yt.call(t)};var bt=lt?lt.toStringTag:void 0;const vt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":bt&&bt in Object(t)?mt(t):gt(t)};const wt=function(t){return null!=t&&"object"==typeof t};const kt=function(t){return"symbol"==typeof t||wt(t)&&"[object Symbol]"==vt(t)};var xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/;const _t=function(t,e){if(it(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!kt(t))||(jt.test(t)||!xt.test(t)||null!=e&&t in Object(e))};const Et=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const Lt=function(t){if(!Et(t))return!1;var e=vt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const Ot=ut["__core-js_shared__"];var St,zt=(St=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||""))?"Symbol(src)_1."+St:"";const At=function(t){return!!zt&&zt in t};var Pt=Function.prototype.toString;const It=function(t){if(null!=t){try{return Pt.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var Ct=/^\[object .+?Constructor\]$/,Tt=Function.prototype,Ft=Object.prototype,Dt=Tt.toString,Gt=Ft.hasOwnProperty,Nt=RegExp("^"+Dt.call(Gt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const qt=function(t){return!(!Et(t)||At(t))&&(Lt(t)?Nt:Ct).test(It(t))};const Bt=function(t,e){return null==t?void 0:t[e]};const $t=function(t,e){var r=Bt(t,e);return qt(r)?r:void 0};const Mt=$t(Object,"create");const Rt=function(){this.__data__=Mt?Mt(null):{},this.size=0};const Ut=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Vt=Object.prototype.hasOwnProperty;const Wt=function(t){var e=this.__data__;if(Mt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Vt.call(e,t)?e[t]:void 0};var Yt=Object.prototype.hasOwnProperty;const Ht=function(t){var e=this.__data__;return Mt?void 0!==e[t]:Yt.call(e,t)};const Kt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Mt&&void 0===e?"__lodash_hash_undefined__":e,this};function Qt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1};const ae=function(t,e){var r=this.__data__,n=te(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ie(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Te(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function De(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ge(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){De(a,n,o,i,s,"next",t)}function s(t){De(a,n,o,i,s,"throw",t)}i(void 0)}))}}function Ne(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(f=Ge(Fe().mark((function t(e,r){return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},a=r,(o=qe(o=e))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,a}),t,this)}))),function(t,e){return f.apply(this,arguments)})},{key:"get",value:(l=Ge(Fe().mark((function t(e){var r;return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",Pe(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"getOrSet",value:(u=Ge(Fe().mark((function t(e,r){var n;return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})},{key:"remove",value:(c=Ge(Fe().mark((function t(e){return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"delete",value:(s=Ge(Fe().mark((function t(e){return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"clear",value:(i=Ge(Fe().mark((function t(){return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"prune",value:(a=Ge(Fe().mark((function t(){return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"keys",value:(o=Ge(Fe().mark((function t(){var e,r,n=arguments;return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"whereIn",value:(n=Ge(Fe().mark((function t(e){var r,n,o,a,i,s,c=this;return Fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return c.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=Ce(o);try{for(a.s();!(i=a.n()).done;)(s=i.value)&&r.push(s)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return n.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&Ne(t.prototype,e),r&&Ne(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,n,o,a,i,s,c,u,l,f}();const Me=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(Be.has(t))return Be.get(t);var e=new $e(t);return Be.set(t,e),e};function Re(t){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Re(t)}function Ue(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ue=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Re(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ve(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function We(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ve(a,n,o,i,s,"next",t)}function s(t){Ve(a,n,o,i,s,"throw",t)}i(void 0)}))}}function Ye(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,a,i){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,i)),a),r)}function a(t,e,r,n,a,i,s){return o(e&r|~e&n,t,e,a,i,s)}function i(t,e,r,n,a,i,s){return o(e&n|r&~n,t,e,a,i,s)}function s(t,e,r,n,a,i,s){return o(e^r^n,t,e,a,i,s)}function c(t,e,r,n,a,i,s){return o(r^(e|~n),t,e,a,i,s)}var u,l,f,h,p,d=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ze(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function tr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ze(a,n,o,i,s,"next",t)}function s(t){Ze(a,n,o,i,s,"throw",t)}i(void 0)}))}}var er=Me("local"),rr=function(){var t=tr(Xe().mark((function t(e){var r;return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,He(e);case 2:return r=t.sent,t.abrupt("return",er.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),nr=function(){var t=tr(Xe().mark((function t(e,r){return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Qe.set(e,r),t.abrupt("return",er.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),or=function(){var t=tr(Xe().mark((function t(e){var r;return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=Qe.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,er.get(e);case 5:return(r=t.sent)&&Qe.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ar=function(){var t=tr(Xe().mark((function t(){var e;return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=Qe.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,er.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return Qe.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,er.set("rabbitpair_active_user_uuid",e);case 12:return Qe.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ir=function(){var t=tr(Xe().mark((function t(){var e,r,n,o,a=arguments;return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=a.length>0&&void 0!==a[0]?a[0]:"stored"),!(n=Qe.get(r))){t.next=5;break}return t.abrupt("return",n);case 5:return t.next=7,ar();case 7:return o=t.sent,n=ot("users/"+o+"/public/"+e),Qe.set(r,n),t.abrupt("return",n);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),sr=Symbol.for("immer-nothing"),cr=Symbol.for("immer-draftable"),ur=Symbol.for("immer-state");function lr(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var fr=Object.getPrototypeOf;function hr(t){return!!t&&!!t[ur]}function pr(t){return!!t&&(mr(t)||Array.isArray(t)||!!t[cr]||!!t.constructor?.[cr]||wr(t)||kr(t))}var dr=Object.prototype.constructor.toString();function mr(t){if(!t||"object"!=typeof t)return!1;const e=fr(t);if(null===e)return!0;const r=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===dr}function yr(t,e){0===gr(t)?Reflect.ownKeys(t).forEach((r=>{e(r,t[r],t)})):t.forEach(((r,n)=>e(n,r,t)))}function gr(t){const e=t[ur];return e?e.type_:Array.isArray(t)?1:wr(t)?2:kr(t)?3:0}function br(t,e){return 2===gr(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function vr(t,e,r){const n=gr(t);2===n?t.set(e,r):3===n?t.add(r):t[e]=r}function wr(t){return t instanceof Map}function kr(t){return t instanceof Set}function xr(t){return t.copy_||t.base_}function jr(t,e){if(wr(t))return new Map(t);if(kr(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);const r=mr(t);if(!0===e||"class_only"===e&&!r){const e=Object.getOwnPropertyDescriptors(t);delete e[ur];let r=Reflect.ownKeys(e);for(let n=0;n1&&(t.set=t.add=t.clear=t.delete=Er),Object.freeze(t),e&&Object.entries(t).forEach((([t,e])=>_r(e,!0)))),t}function Er(){lr(2)}function Lr(t){return Object.isFrozen(t)}var Or,Sr={};function zr(t){const e=Sr[t];return e||lr(0),e}function Ar(){return Or}function Pr(t,e){e&&(zr("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Ir(t){Cr(t),t.drafts_.forEach(Fr),t.drafts_=null}function Cr(t){t===Or&&(Or=t.parent_)}function Tr(t){return Or={drafts_:[],parent_:Or,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Fr(t){const e=t[ur];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function Dr(t,e){e.unfinalizedDrafts_=e.drafts_.length;const r=e.drafts_[0];return void 0!==t&&t!==r?(r[ur].modified_&&(Ir(e),lr(4)),pr(t)&&(t=Gr(e,t),e.parent_||qr(e,t)),e.patches_&&zr("Patches").generateReplacementPatches_(r[ur].base_,t,e.patches_,e.inversePatches_)):t=Gr(e,r,[]),Ir(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==sr?t:void 0}function Gr(t,e,r){if(Lr(e))return e;const n=e[ur];if(!n)return yr(e,((o,a)=>Nr(t,n,e,o,a,r))),e;if(n.scope_!==t)return e;if(!n.modified_)return qr(t,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const e=n.copy_;let o=e,a=!1;3===n.type_&&(o=new Set(e),e.clear(),a=!0),yr(o,((o,i)=>Nr(t,n,e,o,i,r,a))),qr(t,e,!1),r&&t.patches_&&zr("Patches").generatePatches_(n,r,t.patches_,t.inversePatches_)}return n.copy_}function Nr(t,e,r,n,o,a,i){if(hr(o)){const i=Gr(t,o,a&&e&&3!==e.type_&&!br(e.assigned_,n)?a.concat(n):void 0);if(vr(r,n,i),!hr(i))return;t.canAutoFreeze_=!1}else i&&r.add(o);if(pr(o)&&!Lr(o)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;Gr(t,o),e&&e.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||qr(t,o)}}function qr(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&_r(e,r)}var Br={get(t,e){if(e===ur)return t;const r=xr(t);if(!br(r,e))return function(t,e,r){const n=Rr(e,r);return n?"value"in n?n.value:n.get?.call(t.draft_):void 0}(t,r,e);const n=r[e];return t.finalized_||!pr(n)?n:n===Mr(t.base_,e)?(Vr(t),t.copy_[e]=Wr(n,t)):n},has:(t,e)=>e in xr(t),ownKeys:t=>Reflect.ownKeys(xr(t)),set(t,e,r){const n=Rr(xr(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){const n=Mr(xr(t),e),i=n?.[ur];if(i&&i.base_===r)return t.copy_[e]=r,t.assigned_[e]=!1,!0;if(((o=r)===(a=n)?0!==o||1/o==1/a:o!=o&&a!=a)&&(void 0!==r||br(t.base_,e)))return!0;Vr(t),Ur(t)}var o,a;return t.copy_[e]===r&&(void 0!==r||e in t.copy_)||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_[e]=!0),!0},deleteProperty:(t,e)=>(void 0!==Mr(t.base_,e)||e in t.base_?(t.assigned_[e]=!1,Vr(t),Ur(t)):delete t.assigned_[e],t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){const r=xr(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n?{writable:!0,configurable:1!==t.type_||"length"!==e,enumerable:n.enumerable,value:r[e]}:n},defineProperty(){lr(11)},getPrototypeOf:t=>fr(t.base_),setPrototypeOf(){lr(12)}},$r={};function Mr(t,e){const r=t[ur];return(r?xr(r):t)[e]}function Rr(t,e){if(!(e in t))return;let r=fr(t);for(;r;){const t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=fr(r)}}function Ur(t){t.modified_||(t.modified_=!0,t.parent_&&Ur(t.parent_))}function Vr(t){t.copy_||(t.copy_=jr(t.base_,t.scope_.immer_.useStrictShallowCopy_))}yr(Br,((t,e)=>{$r[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),$r.deleteProperty=function(t,e){return $r.set.call(this,t,e,void 0)},$r.set=function(t,e,r){return Br.set.call(this,t[0],e,r,t[0])};function Wr(t,e){const r=wr(t)?zr("MapSet").proxyMap_(t,e):kr(t)?zr("MapSet").proxySet_(t,e):function(t,e){const r=Array.isArray(t),n={type_:r?1:0,scope_:e?e.scope_:Ar(),modified_:!1,finalized_:!1,assigned_:{},parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,a=Br;r&&(o=[n],a=$r);const{revoke:i,proxy:s}=Proxy.revocable(o,a);return n.draft_=s,n.revoke_=i,s}(t,e);return(e?e.scope_:Ar()).drafts_.push(r),r}function Yr(t){if(!pr(t)||Lr(t))return t;const e=t[ur];let r;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=jr(t,e.scope_.immer_.useStrictShallowCopy_)}else r=jr(t,!0);return yr(r,((t,e)=>{vr(r,t,Yr(e))})),e&&(e.finalized_=!1),r}var Hr=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,e,r)=>{if("function"==typeof t&&"function"!=typeof e){const r=e;e=t;const n=this;return function(t=r,...o){return n.produce(t,(t=>e.call(this,t,...o)))}}let n;if("function"!=typeof e&&lr(6),void 0!==r&&"function"!=typeof r&&lr(7),pr(t)){const o=Tr(this),a=Wr(t,void 0);let i=!0;try{n=e(a),i=!1}finally{i?Ir(o):Cr(o)}return Pr(o,r),Dr(n,o)}if(!t||"object"!=typeof t){if(n=e(t),void 0===n&&(n=t),n===sr&&(n=void 0),this.autoFreeze_&&_r(n,!0),r){const e=[],o=[];zr("Patches").generateReplacementPatches_(t,n,e,o),r(e,o)}return n}lr(1)},this.produceWithPatches=(t,e)=>{if("function"==typeof t)return(e,...r)=>this.produceWithPatches(e,(e=>t(e,...r)));let r,n;return[this.produce(t,e,((t,e)=>{r=t,n=e})),r,n]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){pr(t)||lr(8),hr(t)&&(t=function(t){hr(t)||lr(10);return Yr(t)}(t));const e=Tr(this),r=Wr(t,void 0);return r[ur].isManual_=!0,Cr(e),r}finishDraft(t,e){const r=t&&t[ur];r&&r.isManual_||lr(9);const{scope_:n}=r;return Pr(n,e),Dr(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){const n=e[r];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}r>-1&&(e=e.slice(r+1));const n=zr("Patches").applyPatches_;return hr(t)?n(t,e):this.produce(t,(t=>n(t,e)))}},Kr=Hr.produce;Hr.produceWithPatches.bind(Hr),Hr.setAutoFreeze.bind(Hr),Hr.setUseStrictShallowCopy.bind(Hr),Hr.applyPatches.bind(Hr),Hr.createDraft.bind(Hr),Hr.finishDraft.bind(Hr);const Qr=t=>(e,r,n)=>(n.setState=(t,r,...n)=>{const o="function"==typeof t?Kr(t):t;return e(o,r,...n)},t(n.setState,r,n));var Jr=r(30758),Xr=r(51467);const Zr=t=>{let e;const r=new Set,n=(t,n)=>{const o="function"==typeof t?t(e):t;if(!Object.is(o,e)){const t=e;e=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},e,o),r.forEach((r=>r(e,t)))}},o=()=>e,a={setState:n,getState:o,getInitialState:()=>i,subscribe:t=>(r.add(t),()=>r.delete(t)),destroy:()=>{r.clear()}},i=e=t(n,o,a);return a},tn=t=>t?Zr(t):Zr;const{useDebugValue:en}=Jr,{useSyncExternalStoreWithSelector:rn}=Xr,nn=t=>t;const on=(t,e)=>{const r=tn(t),n=(t,n=e)=>function(t,e=nn,r){const n=rn(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,r);return en(n),n}(r,t,n);return Object.assign(n,r),n},an=(t,e)=>t?on(t,e):on;function sn(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(const[r,n]of t)if(!Object.is(n,e.get(r)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0}const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!1;for(const n of r)if(!Object.prototype.hasOwnProperty.call(e,n)||!Object.is(t[n],e[n]))return!1;return!0}function cn(t){return cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(t)}function un(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */un=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==cn(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ln(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function fn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){ln(a,n,o,i,s,"next",t)}function s(t){ln(a,n,o,i,s,"throw",t)}i(void 0)}))}}function hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pn(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function En(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||Ln(t,e)||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 Ln(t,e){if(t){if("string"==typeof t)return On(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?On(t,e):void 0}}function On(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=18;break}return t.next=16,d(k,kn(kn({},r[k]),j));case 16:return t.next=18,w("update_setting",{key:k,value:kn(kn({},r[k]),j)});case 18:t.next=24;break;case 20:return t.next=22,d(k,x);case 22:return t.next=24,w("update_setting",{key:k,value:x});case 24:m++,t.next=7;break;case 27:An();case 29:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),In=function(){var t=zn(_n().mark((function t(){return _n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("sidePanel"in chrome)){t.next=9;break}return t.next=3,or("sidePanel_registered");case 3:if(t.sent){t.next=9;break}return t.next=7,nr("sidePanel_registered",!0);case 7:return t.next=9,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){}));case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Cn=function(){var t=zn(_n().mark((function t(){var e,r;return _n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getManifest(),t.next=3,or("version");case 3:if(r=t.sent){t.next=10;break}if(!("sidePanel"in chrome)){t.next=8;break}return t.next=8,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){}));case 8:return t.next=10,chrome.tabs.create({url:chrome.runtime.getURL("options.html"),active:!0});case 10:if(e.version===r){t.next=17;break}return t.next=13,nr("version",e.version);case 13:return t.next=15,nr("new_version_badge",!0);case 15:return t.next=17,nr("new_changelog_badge",!0);case 17:case 18:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const Tn=(t,e)=>{const r=t.slice(),n=[];let o=e;for(;0!==r.length;){const t=r.pop(),e=t.toLowerCase();if(o.children.has("*")){if(o.children.has("!"+e))break;o=o.children.get("*")}else{if(!1===o.children.has(e))break;o=o.children.get(e)}n.unshift(t)}return n},Fn="[a-fA-F\\d:]",Dn=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${Fn})|(?<=${Fn})(?=\\s|$))`:"",Gn="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Nn="[a-fA-F\\d]{1,4}",qn=`\n(?:\n(?:${Nn}:){7}(?:${Nn}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:${Nn}:){6}(?:${Gn}|:${Nn}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:${Nn}:){5}(?::${Gn}|(?::${Nn}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:${Nn}:){4}(?:(?::${Nn}){0,1}:${Gn}|(?::${Nn}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:${Nn}:){3}(?:(?::${Nn}){0,2}:${Gn}|(?::${Nn}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:${Nn}:){2}(?:(?::${Nn}){0,3}:${Gn}|(?::${Nn}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:${Nn}:){1}(?:(?::${Nn}){0,4}:${Gn}|(?::${Nn}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::${Nn}){0,5}:${Gn}|(?::${Nn}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),Bn=new RegExp(`(?:^${Gn}$)|(?:^${qn}$)`),$n=new RegExp(`^${Gn}$`),Mn=new RegExp(`^${qn}$`),Rn=t=>t&&t.exact?Bn:new RegExp(`(?:${Dn(t)}${Gn}${Dn(t)})|(?:${Dn(t)}${qn}${Dn(t)})`,"g");Rn.v4=t=>t&&t.exact?$n:new RegExp(`${Dn(t)}${Gn}${Dn(t)}`,"g"),Rn.v6=t=>t&&t.exact?Mn:new RegExp(`${Dn(t)}${qn}${Dn(t)}`,"g");const Un=Rn;const{toString:Vn}=Object.prototype;const Wn={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};function Yn(t,e={}){if(r=t,"[object RegExp]"!==Vn.call(r))throw new TypeError("Expected a RegExp instance");var r;const n=Object.keys(Wn).map((r=>("boolean"==typeof e[r]?e[r]:t[r])?Wn[r]:"")).join(""),o=new RegExp(e.source||t.source,n);return o.lastIndex="number"==typeof e.lastIndex?e.lastIndex:t.lastIndex,o}function Hn(t,e,{timeout:r}={}){try{return function(t){const e=(...e)=>t(...e);return Object.defineProperty(e,"name",{value:`functionTimeout(${t.name||""})`,configurable:!0}),e}((()=>Yn(t).test(e)))()}catch(t){throw t}}const Kn=15,Qn=45,Jn={timeout:400};function Xn(t){return function(t){return!(t.length>Qn)&&Hn(Un.v6({exact:!0}),t,Jn)}(t)?6:function(t){return!(t.length>Kn)&&Hn(Un.v4({exact:!0}),t,Jn)}(t)?4:void 0}const Zn=".",to=new TextEncoder;var eo,ro,no;!function(t){t.Lax="LAX",t.Strict="STRICT"}(eo||(eo={})),function(t){t.NoHostname="NO_HOSTNAME",t.DomainMaxLength="DOMAIN_MAX_LENGTH",t.LabelMinLength="LABEL_MIN_LENGTH",t.LabelMaxLength="LABEL_MAX_LENGTH",t.LabelInvalidCharacter="LABEL_INVALID_CHARACTER",t.LastLabelInvalid="LAST_LABEL_INVALID"}(ro||(ro={})),function(t){t.ValidIp="VALID_IP",t.ValidDomain="VALID_DOMAIN",t.Error="ERROR"}(no||(no={}));const oo=t=>({type:ro.NoHostname,message:`The given input ${String(t)} does not look like a hostname.`,column:1}),ao=(t,e)=>{const r=t.length;return{type:ro.LabelMinLength,message:`Label "${t}" is too short. Label is ${r} octets long but should be at least 1.`,column:e}},io=(t,e)=>{const r=t.length;return{type:ro.LabelMaxLength,message:`Label "${t}" is too long. Label is ${r} octets long but should not be longer than 63.`,column:e}},so=(t,e,r)=>({type:ro.LabelInvalidCharacter,message:`Label "${t}" contains invalid character "${e}" at column ${r}.`,column:r}),co={[eo.Lax]:t=>{const e=[];let r=1;for(const n of t){const t=to.encode(n);t.length<1?e.push(ao(n,r)):t.length>63&&e.push(io(n,r)),r+=n.length+1}return e},[eo.Strict]:t=>{const e=[];let r,n=1;for(const o of t){const t=/[^\da-z-]/i.exec(o);t&&e.push(so(o,t[0],t.index+1)),o.startsWith("-")?e.push(so(o,"-",n)):o.endsWith("-")&&e.push(so(o,"-",n+o.length-1)),o.length<1?e.push(ao(o,n)):o.length>63&&e.push(io(o,n)),n+=o.length+1,r=o}return void 0!==r&&!1===/[a-z-]/iu.test(r)&&e.push(((t,e)=>({type:ro.LabelInvalidCharacter,message:`Last label "${t}" must not be all-numeric.`,column:e}))(r,n-r.length-1)),e}},uo=Symbol("ROOT"),lo=Symbol("CHILD"),fo=t=>{const e={type:uo,children:new Map};let r="",n=e,o=e;const a=()=>{o=((t,e)=>{let r=t.children.get(e);return void 0===r&&(r={type:lo,label:e,children:new Map,parent:t},t.children.set(e,r)),r})(n,r),r=""};for(let i=0;i":a(),n=o;continue;case"|":a(),n=e;continue;case"<":if(n.type===uo)throw new Error(`Error in serialized trie at position ${i}: Cannot go up, current parent node is already root`);a(),n=n.parent;continue}r+=s}return""!==r&&a(),e},ho=["localhost","local","example","invalid","test"];var po;!function(t){t.Invalid="INVALID",t.Ip="IP",t.Reserved="RESERVED",t.NotListed="NOT_LISTED",t.Listed="LISTED"}(po||(po={}));const mo=(t,e)=>e>=0&&e({subDomains:t.slice(0,Math.max(0,e)),domain:mo(t,e),topLevelDomains:t.slice(e+1)});let go,bo;const vo=(t,e)=>{const r=((t,e={})=>{if("string"!=typeof t)return{type:no.Error,errors:[oo(t)]};if(""===t)return{type:no.ValidDomain,domain:t,labels:[]};const r=t.replace(/^\[|]$/g,""),n=Xn(r);if(void 0!==n)return{type:no.ValidIp,ip:r,ipVersion:n};const o=t.charAt(t.length-1)===Zn?t.slice(0,-1):t,a=(new TextEncoder).encode(o);if(a.length>253)return{type:no.Error,errors:[(i=t,s=a.length,{type:ro.DomainMaxLength,message:`Domain "${i}" is too long. Domain is ${s} octets long but should not be longer than 253.`,column:s})]};var i,s;const c=o.split(Zn),{validation:u=eo.Strict}=e,l=co[u](c);return l.length>0?{type:no.Error,errors:l}:{type:no.ValidDomain,domain:t,labels:c}})(t,e);if(r.type===no.Error)return{type:po.Invalid,hostname:t,errors:r.errors};if(r.type===no.ValidIp)return{type:po.Ip,hostname:r.ip,ipVersion:r.ipVersion};const{labels:n,domain:o}=r;if(""===t||ho.includes(n[n.length-1]))return{type:po.Reserved,hostname:o,labels:n};go=null!=go?go:fo("ac>com,edu,gov,net,mil,orgnomco,net,org,sch,ac,gov,milairline,airport,accident-investigation,accident-prevention,aerobatic,aeroclub,aerodrome,agents,air-surveillance,air-traffic-control,aircraft,airtraffic,ambulance,association,author,ballooning,broker,caa,cargo,catering,certification,championship,charter,civilaviation,club,conference,consultant,consulting,control,council,crew,design,dgca,educator,emergency,engine,engineer,entertainment,equipment,exchange,express,federation,flight,freight,fuel,gliding,government,groundhandling,group,hanggliding,homebuilt,insurance,journal,journalist,leasing,logistics,magazine,maintenance,marketplace,media,microlight,modelling,navigation,parachuting,paragliding,passenger-association,pilot,press,production,recreation,repbody,res,research,rotorcraft,safety,scientist,services,show,skydiving,software,student,taxi,trader,trading,trainer,union,workinggroup,worksgov,com,org,net,educom,org,net,co,nomoff,com,net,orgcom,edu,gov,mil,net,orgco,com,commune,net,orged,gv,og,co,pb,itbet,com,coop,edu,gob,gov,int,mil,musica,mutual,net,org,senasa,ture164,in-addr,ip6,iris,uri,urngovac>sthcom,net,org,edu>act,catholic,nsw>schoolsqld,sa,tas,vic,wacomcom,net,int,gov,org,edu,info,pp,mil,name,pro,bizcom,edu,gov,mil,net,orgbiz,co,com,edu,gov,info,net,org,store,tv*acgova,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9com,edu,net,org,govco,com,edu,or,orgafrica,agro,architectes,assur,avocats,co,com,eco,econo,edu,info,loisirs,money,net,org,ote,resto,restaurant,tourism,univcom,edu,gov,net,orgcom,edu,gov,net,orgcom,edu,gob,int,org,net,mil,tv,web,academia,agro,arte,blog,bolivia,ciencia,cooperativa,democracia,deporte,ecologia,economia,empresa,indigena,industria,info,medicina,movimiento,musica,natural,nombre,noticias,patria,politica,profesional,plurinacional,pueblo,revista,salud,tecnologia,tksat,transporte,wiki
9guacu,abc,adm,adv,agr,aju,am,anani,aparecida,app,arq,art,ato,b,barueri,belem,bhz,bib,bio,blog,bmd,boavista,bsb,campinagrande,campinas,caxias,cim,cng,cnt,com,contagem,coop,coz,cri,cuiaba,curitiba,def,des,det,dev,ecn,eco,edu,emp,enf,eng,esp,etc,eti,far,feira,flog,floripa,fm,fnd,fortal,fot,foz,fst,g12,geo,ggf,goiania,gov>ac,al,am,ap,ba,ce,df,es,go,ma,mg,ms,mt,pa,pb,pe,pi,pr,rj,rn,ro,rr,rs,sc,se,sp,to*com,net,org,edu,govcom,edu,gov,net,orgco,orggov,mil,com,ofcom,net,org,edu,govab,bc,mb,nb,nf,nl,ns,nt,nu,on,pe,qc,sk,yk,gcgovorg,or,com,co,edu,ed,ac,net,go,asso,xn--aroport-bya,int,presse,md,gouv*,!wwwco,gob,gov,milco,com,gov,netac,com,edu,gov,net,org,mil,xn--55qx5d,xn--io0a7i,xn--od0alg,ah,bj,cq,fj,gd,gs,gz,gx,ha,hb,he,hi,hl,hn,jl,js,jx,ln,nm,nx,qh,sc,sd,sh,sn,sx,tj,xj,xz,yn,zj,hk,mo,twarts,com,edu,firm,gov,info,int,mil,net,nom,org,rec,webac,co,ed,fi,go,or,sacom,edu,org,net,gov,infcom,edu,int,nome,orgcom,edu,net,orggovac,biz,com,ekloges,gov,ltd,mil,net,org,press,pro,tmcom,net,org,edu,govart,com,edu,gob,gov,mil,net,org,sld,webart,asso,com,edu,gov,org,net,pol,soc,tmcom,info,net,fin,k12,med,pro,org,edu,gov,gob,miledu,gov,riik,lib,med,com,pri,aip,org,fiecom,edu,eun,gov,mil,name,net,org,sci*com,nom,org,gob,educom,gov,org,edu,biz,name,info,netalandac,biz,com,gov,info,mil,name,net,org,pro*com,edu,net,orgasso,com,gouv,nom,prd,tm,avoues,cci,greta,huissier-justiceedu,govcom,edu,gov,org,mil,net,pvtco,net,orgcom,edu,gov,org,milcom,ltd,gov,mod,edu,orgco,com,edu,net,orgac,com,edu,gov,org,netcom,net,mobi,edu,org,assocom,edu,net,org,govcom,edu,gob,ind,mil,net,orgcom,edu,gov,guam,info,net,org,webco,com,edu,gov,net,orgcom,edu,gov,idv,net,org,xn--55qx5d,xn--wcvs22d,xn--lcvr32d,xn--mxtq1m,xn--gmqw5a,xn--ciqpn,xn--gmq050i,xn--zf0avx,xn--io0a7i,xn--mk0axi,xn--od0alg,xn--od0aq3b,xn--tn0ag,xn--uc0atv,xn--uc0ay4acom,edu,org,net,mil,gob
iz,from,name,comcom,shop,firm,info,adult,net,pro,org,med,art,coop,pol,asso,edu,rel,gouv,persoco,info,org,priv,sport,tm,2000,agrar,bolt,casino,city,erotica,erotika,film,forum,games,hotel,ingatlan,jogasz,konyvelo,lakas,media,news,reklam,sex,shop,suli,szex,tozsde,utazas,videoac,biz,co,desa,go,mil,my,net,or,ponpes,sch,webgovac,co,gov,idf,k12,muni,net,orgxn--4dbgdty6c,xn--5dbhl8d,xn--8dbq2a,xn--hebda8bac,co>ltd,plc5g,6g,ac,ai,am,bihar,biz,business,ca,cn,co,com,coop,cs,delhi,dr,edu,er,firm,gen,gov,gujarat,ind,info,int,internet,io,me,mil,net,nic,org,pg,post,pro,res,travel,tv,uk,up,useucomgov,edu,mil,com,org,netac,co,gov,id,net,org,sch,xn--mgba3a4f16a,xn--mgba3a4franet,com,edu,gov,org,intgov,edu,abr,abruzzo,aosta-valley,aostavalley,bas,basilicata,cal,calabria,cam,campania,emilia-romagna,emiliaromagna,emr,friuli-v-giulia,friuli-ve-giulia,friuli-vegiulia,friuli-venezia-giulia,friuli-veneziagiulia,friuli-vgiulia,friuliv-giulia,friulive-giulia,friulivegiulia,friulivenezia-giulia,friuliveneziagiulia,friulivgiulia,fvg,laz,lazio,lig,liguria,lom,lombardia,lombardy,lucania,mar,marche,mol,molise,piedmont,piemonte,pmn,pug,puglia,sar,sardegna,sardinia,sic,sicilia,sicily,taa,tos,toscana,trentin-sud-tirol,xn--trentin-sd-tirol-rzb,trentin-sudtirol,xn--trentin-sdtirol-7vb,trentin-sued-tirol,trentin-suedtirol,trentino-a-adige,trentino-aadige,trentino-alto-adige,trentino-altoadige,trentino-s-tirol,trentino-stirol,trentino-sud-tirol,xn--trentino-sd-tirol-c3b,trentino-sudtirol,xn--trentino-sdtirol-szb,trentino-sued-tirol,trentino-suedtirol,trentino,trentinoa-adige,trentinoaadige,trentinoalto-adige,trentinoaltoadige,trentinos-tirol,trentinostirol,trentinosud-tirol,xn--trentinosd-tirol-rzb,trentinosudtirol,xn--trentinosdtirol-7vb,trentinosued-tirol,trentinosuedtirol,trentinsud-tirol,xn--trentinsd-tirol-6vb,trentinsudtirol,xn--trentinsdtirol-nsb,trentinsued-tirol,trentinsuedtirol,tuscany,umb,umbria,val-d-aosta,val-daosta,vald-aosta,valdaosta,valle-aosta,valle-d-aosta,valle-daosta,valleaosta,valled-aosta,valledaosta,vallee-aoste,xn--valle-aoste-ebb,vallee-d-aoste,xn--valle-d-aoste-ehb,valleeaoste,xn--valleaoste-e7a,valleedaoste,xn--valledaoste-ebb,vao,vda,ven,veneto,ag,agrigento,al,alessandria,alto-adige,altoadige,an,ancona,andria-barletta-trani,andria-trani-barletta,andriabarlettatrani,andriatranibarletta,ao,aosta,aoste,ap,aq,aquila,ar,arezzo,ascoli-piceno,ascolipiceno,asti,at,av,avellino,ba,balsan-sudtirol,xn--balsan-sdtirol-nsb,balsan-suedtirol,balsan,bari,barletta-trani-andria,barlettatraniandria,belluno,benevento,bergamo,bg,bi,biella,bl,bn,bo,bologna,bolzano-altoadige,bolzano,bozen-sudtirol,xn--bozen-sdtirol-2ob,bozen-suedtirol,bozen,br,brescia,brindisi,bs,bt,bulsan-sudtirol,xn--bulsan-sdtirol-nsb,bulsan-suedtirol,bulsan,bz,ca,cagliari,caltanissetta,campidano-medio,campidanomedio,campobasso,carbonia-iglesias,carboniaiglesias,carrara-massa,carraramassa,caserta,catania,catanzaro,cb,ce,cesena-forli,xn--cesena-forl-mcb,cesenaforli,xn--cesenaforl-i8a,ch,chieti,ci,cl,cn,co,como,cosenza,cr,cremona,crotone,cs,ct,cuneo,cz,dell-ogliastra,dellogliastra,en,enna,fc,fe,fermo,ferrara,fg,fi,firenze,florence,fm,foggia,forli-cesena,xn--forl-cesena-fcb,forlicesena,xn--forlcesena-c8a,fr,frosinone,ge,genoa,genova,go,gorizia,gr,grosseto,iglesias-carbonia,iglesiascarbonia,im,imperia,is,isernia,kr,la-spezia,laquila,laspezia,latina,lc,le,lecce,lecco,li,livorno,lo,lodi,lt,lu,lucca,macerata,mantova,massa-carrara,massacarrara,matera,mb,mc,me,medio-campidano,mediocampidano,messina,mi,milan,milano,mn,mo,modena,monza-brianza,monza-e-della-brianza,monza,monzabrianza,monzaebrianza,monzaedellabrianza,ms,mt,na,naples,napoli,no,novara,nu,nuoro,og,ogliastra,olbia-tempio,olbiatempio,or,oristano,ot,pa,padova,padua,palermo,parma,pavia,pc,pd,pe,perugia,pesaro-urbino,pesarourbino,pescara,pg,pi,piacenza,pisa,pistoia,pn,po,pordenone,potenza,pr,prato,pt,pu,pv,pz,ra,ragusa,ravenna,rc,re,reggio-calabria,reggio-emilia,reggiocalabria,reggioemilia,rg,ri,rieti,rimini,rm,rn,ro,roma,rome,rovigo,sa,salerno,sassari,savona,si,siena,siracusa,so,sondrio,sp,sr,ss,suedtirol,xn--sdtirol-n2a,sv,ta,taranto,te,tempio-olbia,tempioolbia,teramo,terni,tn,to,torino,tp,tr,trani-andria-barletta,trani-barletta-andria,traniandriabarletta,tranibarlettaandria,trapani,trento,treviso,trieste,ts,turin,tv,ud,udine,urbino-pesaro,urbinopesaro,va,varese,vb,vc,ve,venezia,venice,verbania,vercelli,verona,vi,vibo-valentia,vibovalentia,vicenza,viterbo,vr,vs,vt,vvco,net,org*com,org,net,edu,sch,gov,mil,nameac,ad,co,ed,go,gr,lg,ne,or,aichi>aisai,ama,anjo,asuke,chiryu,chita,fuso,gamagori,handa,hazu,hekinan,higashiura,ichinomiya,inazawa,inuyama,isshiki,iwakura,kanie,kariya,kasugai,kira,kiyosu,komaki,konan,kota,mihama,miyoshi,nishio,nisshin,obu,oguchi,oharu,okazaki,owariasahi,seto,shikatsu,shinshiro,shitara,tahara,takahama,tobishima,toei,togo,tokai,tokoname,toyoake,toyohashi,toyokawa,toyone,toyota,tsushima,yatomiakita,daisen,fujisato,gojome,hachirogata,happou,higashinaruse,honjo,honjyo,ikawa,kamikoani,kamioka,katagami,kazuno,kitaakita,kosaka,kyowa,misato,mitane,moriyoshi,nikaho,noshiro,odate,oga,ogata,semboku,yokote,yurihonjoaomori,gonohe,hachinohe,hashikami,hiranai,hirosaki,itayanagi,kuroishi,misawa,mutsu,nakadomari,noheji,oirase,owani,rokunohe,sannohe,shichinohe,shingo,takko,towada,tsugaru,tsurutaabiko,asahi,chonan,chosei,choshi,chuo,funabashi,futtsu,hanamigawa,ichihara,ichikawa,ichinomiya,inzai,isumi,kamagaya,kamogawa,kashiwa,katori,katsuura,kimitsu,kisarazu,kozaki,kujukuri,kyonan,matsudo,midori,mihama,minamiboso,mobara,mutsuzawa,nagara,nagareyama,narashino,narita,noda,oamishirasato,omigawa,onjuku,otaki,sakae,sakura,shimofusa,shirako,shiroi,shisui,sodegaura,sosa,tako,tateyama,togane,tohnosho,tomisato,urayasu,yachimata,yachiyo,yokaichiba,yokoshibahikari,yotsukaidoainan,honai,ikata,imabari,iyo,kamijima,kihoku,kumakogen,masaki,matsuno,matsuyama,namikata,niihama,ozu,saijo,seiyo,shikokuchuo,tobe,toon,uchiko,uwajima,yawatahamaechizen,eiheiji,fukui,ikeda,katsuyama,mihama,minamiechizen,obama,ohi,ono,sabae,sakai,takahama,tsuruga,wakasaashiya,buzen,chikugo,chikuho,chikujo,chikushino,chikuzen,chuo,dazaifu,fukuchi,hakata,higashi,hirokawa,hisayama,iizuka,inatsuki,kaho,kasuga,kasuya,kawara,keisen,koga,kurate,kurogi,kurume,minami,miyako,miyama,miyawaka,mizumaki,munakata,nakagawa,nakama,nishi,nogata,ogori,okagaki,okawa,oki,omuta,onga,onojo,oto,saigawa,sasaguri,shingu,shinyoshitomi,shonai,soeda,sue,tachiarai,tagawa,takata,toho,toyotsu,tsuiki,ukiha,umi,usui,yamada,yame,yanagawa,yukuhashiaizubange,aizumisato,aizuwakamatsu,asakawa,bandai,date,fukushima,furudono,futaba,hanawa,higashi,hirata,hirono,iitate,inawashiro,ishikawa,iwaki,izumizaki,kagamiishi,kaneyama,kawamata,kitakata,kitashiobara,koori,koriyama,kunimi,miharu,mishima,namie,nango,nishiaizu,nishigo,okuma,omotego,ono,otama,samegawa,shimogo,shirakawa,showa,soma,sukagawa,taishin,tamakawa,tanagura,tenei,yabuki,yamato,yamatsuri,yanaizu,yugawaanpachi,ena,gifu,ginan,godo,gujo,hashima,hichiso,hida,higashishirakawa,ibigawa,ikeda,kakamigahara,kani,kasahara,kasamatsu,kawaue,kitagata,mino,minokamo,mitake,mizunami,motosu,nakatsugawa,ogaki,sakahogi,seki,sekigahara,shirakawa,tajimi,takayama,tarui,toki,tomika,wanouchi,yamagata,yaotsu,yoroannaka,chiyoda,fujioka,higashiagatsuma,isesaki,itakura,kanna,kanra,katashina,kawaba,kiryu,kusatsu,maebashi,meiwa,midori,minakami,naganohara,nakanojo,nanmoku,numata,oizumi,ora,ota,shibukawa,shimonita,shinto,showa,takasaki,takayama,tamamura,tatebayashi,tomioka,tsukiyono,tsumagoi,ueno,yoshiokaasaminami,daiwa,etajima,fuchu,fukuyama,hatsukaichi,higashihiroshima,hongo,jinsekikogen,kaita,kui,kumano,kure,mihara,miyoshi,naka,onomichi,osakikamijima,otake,saka,sera,seranishi,shinichi,shobara,takeharaabashiri,abira,aibetsu,akabira,akkeshi,asahikawa,ashibetsu,ashoro,assabu,atsuma,bibai,biei,bifuka,bihoro,biratori,chippubetsu,chitose,date,ebetsu,embetsu,eniwa,erimo,esan,esashi,fukagawa,fukushima,furano,furubira,haboro,hakodate,hamatonbetsu,hidaka,higashikagura,higashikawa,hiroo,hokuryu,hokuto,honbetsu,horokanai,horonobe,ikeda,imakane,ishikari,iwamizawa,iwanai,kamifurano,kamikawa,kamishihoro,kamisunagawa,kamoenai,kayabe,kembuchi,kikonai,kimobetsu,kitahiroshima,kitami,kiyosato,koshimizu,kunneppu,kuriyama,kuromatsunai,kushiro,kutchan,kyowa,mashike,matsumae,mikasa,minamifurano,mombetsu,moseushi,mukawa,muroran,naie,nakagawa,nakasatsunai,nakatombetsu,nanae,nanporo,nayoro,nemuro,niikappu,niki,nishiokoppe,noboribetsu,numata,obihiro,obira,oketo,okoppe,otaru,otobe,otofuke,otoineppu,oumu,ozora,pippu,rankoshi,rebun,rikubetsu,rishiri,rishirifuji,saroma,sarufutsu,shakotan,shari,shibecha,shibetsu,shikabe,shikaoi,shimamaki,shimizu,shimokawa,shinshinotsu,shintoku,shiranuka,shiraoi,shiriuchi,sobetsu,sunagawa,taiki,takasu,takikawa,takinoue,teshikaga,tobetsu,tohma,tomakomai,tomari,toya,toyako,toyotomi,toyoura,tsubetsu,tsukigata,urakawa,urausu,uryu,utashinai,wakkanai,wassamu,yakumo,yoichiaioi,akashi,ako,amagasaki,aogaki,asago,ashiya,awaji,fukusaki,goshiki,harima,himeji,ichikawa,inagawa,itami,kakogawa,kamigori,kamikawa,kasai,kasuga,kawanishi,miki,minamiawaji,nishinomiya,nishiwaki,ono,sanda,sannan,sasayama,sayo,shingu,shinonsen,shiso,sumoto,taishi,taka,takarazuka,takasago,takino,tamba,tatsuno,toyooka,yabu,yashiro,yoka,yokawaami,asahi,bando,chikusei,daigo,fujishiro,hitachi,hitachinaka,hitachiomiya,hitachiota,ibaraki,ina,inashiki,itako,iwama,joso,kamisu,kasama,kashima,kasumigaura,koga,miho,mito,moriya,naka,namegata,oarai,ogawa,omitama,ryugasaki,sakai,sakuragawa,shimodate,shimotsuma,shirosato,sowa,suifu,takahagi,tamatsukuri,tokai,tomobe,tone,toride,tsuchiura,tsukuba,uchihara,ushiku,yachiyo,yamagata,yawara,yukianamizu,hakui,hakusan,kaga,kahoku,kanazawa,kawakita,komatsu,nakanoto,nanao,nomi,nonoichi,noto,shika,suzu,tsubata,tsurugi,uchinada,wajimafudai,fujisawa,hanamaki,hiraizumi,hirono,ichinohe,ichinoseki,iwaizumi,iwate,joboji,kamaishi,kanegasaki,karumai,kawai,kitakami,kuji,kunohe,kuzumaki,miyako,mizusawa,morioka,ninohe,noda,ofunato,oshu,otsuchi,rikuzentakata,shiwa,shizukuishi,sumita,tanohata,tono,yahaba,yamadaayagawa,higashikagawa,kanonji,kotohira,manno,marugame,mitoyo,naoshima,sanuki,tadotsu,takamatsu,tonosho,uchinomi,utazu,zentsujiakune,amami,hioki,isa,isen,izumi,kagoshima,kanoya,kawanabe,kinko,kouyama,makurazaki,matsumoto,minamitane,nakatane,nishinoomote,satsumasendai,soo,tarumizu,yusuiaikawa,atsugi,ayase,chigasaki,ebina,fujisawa,hadano,hakone,hiratsuka,isehara,kaisei,kamakura,kiyokawa,matsuda,minamiashigara,miura,nakai,ninomiya,odawara,oi,oiso,sagamihara,samukawa,tsukui,yamakita,yamato,yokosuka,yugawara,zama,zushiaki,geisei,hidaka,higashitsuno,ino,kagami,kami,kitagawa,kochi,mihara,motoyama,muroto,nahari,nakamura,nankoku,nishitosa,niyodogawa,ochi,okawa,otoyo,otsuki,sakawa,sukumo,susaki,tosa,tosashimizu,toyo,tsuno,umaji,yasuda,yusuharaamakusa,arao,aso,choyo,gyokuto,kamiamakusa,kikuchi,kumamoto,mashiki,mifune,minamata,minamioguni,nagasu,nishihara,oguni,ozu,sumoto,takamori,uki,uto,yamaga,yamato,yatsushiroayabe,fukuchiyama,higashiyama,ide,ine,joyo,kameoka,kamo,kita,kizu,kumiyama,kyotamba,kyotanabe,kyotango,maizuru,minami,minamiyamashiro,miyazu,muko,nagaokakyo,nakagyo,nantan,oyamazaki,sakyo,seika,tanabe,uji,ujitawara,wazuka,yamashina,yawataasahi,inabe,ise,kameyama,kawagoe,kiho,kisosaki,kiwa,komono,kumano,kuwana,matsusaka,meiwa,mihama,minamiise,misugi,miyama,nabari,shima,suzuka,tado,taiki,taki,tamaki,toba,tsu,udono,ureshino,watarai,yokkaichifurukawa,higashimatsushima,ishinomaki,iwanuma,kakuda,kami,kawasaki,marumori,matsushima,minamisanriku,misato,murata,natori,ogawara,ohira,onagawa,osaki,rifu,semine,shibata,shichikashuku,shikama,shiogama,shiroishi,tagajo,taiwa,tome,tomiya,wakuya,watari,yamamoto,zaoaya,ebino,gokase,hyuga,kadogawa,kawaminami,kijo,kitagawa,kitakata,kitaura,kobayashi,kunitomi,kushima,mimata,miyakonojo,miyazaki,morotsuka,nichinan,nishimera,nobeoka,saito,shiiba,shintomi,takaharu,takanabe,takazaki,tsunoachi,agematsu,anan,aoki,asahi,azumino,chikuhoku,chikuma,chino,fujimi,hakuba,hara,hiraya,iida,iijima,iiyama,iizuna,ikeda,ikusaka,ina,karuizawa,kawakami,kiso,kisofukushima,kitaaiki,komagane,komoro,matsukawa,matsumoto,miasa,minamiaiki,minamimaki,minamiminowa,minowa,miyada,miyota,mochizuki,nagano,nagawa,nagiso,nakagawa,nakano,nozawaonsen,obuse,ogawa,okaya,omachi,omi,ookuwa,ooshika,otaki,otari,sakae,sakaki,saku,sakuho,shimosuwa,shinanomachi,shiojiri,suwa,suzaka,takagi,takamori,takayama,tateshina,tatsuno,togakushi,togura,tomi,ueda,wada,yamagata,yamanouchi,yasaka,yasuokachijiwa,futsu,goto,hasami,hirado,iki,isahaya,kawatana,kuchinotsu,matsuura,nagasaki,obama,omura,oseto,saikai,sasebo,seihi,shimabara,shinkamigoto,togitsu,tsushima,unzenando,gose,heguri,higashiyoshino,ikaruga,ikoma,kamikitayama,kanmaki,kashiba,kashihara,katsuragi,kawai,kawakami,kawanishi,koryo,kurotaki,mitsue,miyake,nara,nosegawa,oji,ouda,oyodo,sakurai,sango,shimoichi,shimokitayama,shinjo,soni,takatori,tawaramoto,tenkawa,tenri,uda,yamatokoriyama,yamatotakada,yamazoe,yoshinoaga,agano,gosen,itoigawa,izumozaki,joetsu,kamo,kariwa,kashiwazaki,minamiuonuma,mitsuke,muika,murakami,myoko,nagaoka,niigata,ojiya,omi,sado,sanjo,seiro,seirou,sekikawa,shibata,tagami,tainai,tochio,tokamachi,tsubame,tsunan,uonuma,yahiko,yoita,yuzawabeppu,bungoono,bungotakada,hasama,hiji,himeshima,hita,kamitsue,kokonoe,kuju,kunisaki,kusu,oita,saiki,taketa,tsukumi,usa,usuki,yufuakaiwa,asakuchi,bizen,hayashima,ibara,kagamino,kasaoka,kibichuo,kumenan,kurashiki,maniwa,misaki,nagi,niimi,nishiawakura,okayama,satosho,setouchi,shinjo,shoo,soja,takahashi,tamano,tsuyama,wake,yakageaguni,ginowan,ginoza,gushikami,haebaru,higashi,hirara,iheya,ishigaki,ishikawa,itoman,izena,kadena,kin,kitadaito,kitanakagusuku,kumejima,kunigami,minamidaito,motobu,nago,naha,nakagusuku,nakijin,nanjo,nishihara,ogimi,okinawa,onna,shimoji,taketomi,tarama,tokashiki,tomigusuku,tonaki,urasoe,uruma,yaese,yomitan,yonabaru,yonaguni,zamamiabeno,chihayaakasaka,chuo,daito,fujiidera,habikino,hannan,higashiosaka,higashisumiyoshi,higashiyodogawa,hirakata,ibaraki,ikeda,izumi,izumiotsu,izumisano,kadoma,kaizuka,kanan,kashiwara,katano,kawachinagano,kishiwada,kita,kumatori,matsubara,minato,minoh,misaki,moriguchi,neyagawa,nishi,nose,osakasayama,sakai,sayama,sennan,settsu,shijonawate,shimamoto,suita,tadaoka,taishi,tajiri,takaishi,takatsuki,tondabayashi,toyonaka,toyono,yaoariake,arita,fukudomi,genkai,hamatama,hizen,imari,kamimine,kanzaki,karatsu,kashima,kitagata,kitahata,kiyama,kouhoku,kyuragi,nishiarita,ogi,omachi,ouchi,saga,shiroishi,taku,tara,tosu,yoshinogariarakawa,asaka,chichibu,fujimi,fujimino,fukaya,hanno,hanyu,hasuda,hatogaya,hatoyama,hidaka,higashichichibu,higashimatsuyama,honjo,ina,iruma,iwatsuki,kamiizumi,kamikawa,kamisato,kasukabe,kawagoe,kawaguchi,kawajima,kazo,kitamoto,koshigaya,kounosu,kuki,kumagaya,matsubushi,minano,misato,miyashiro,miyoshi,moroyama,nagatoro,namegawa,niiza,ogano,ogawa,ogose,okegawa,omiya,otaki,ranzan,ryokami,saitama,sakado,satte,sayama,shiki,shiraoka,soka,sugito,toda,tokigawa,tokorozawa,tsurugashima,urawa,warabi,yashio,yokoze,yono,yorii,yoshida,yoshikawa,yoshimiaisho,gamo,higashiomi,hikone,koka,konan,kosei,koto,kusatsu,maibara,moriyama,nagahama,nishiazai,notogawa,omihachiman,otsu,ritto,ryuoh,takashima,takatsuki,torahime,toyosato,yasuakagi,ama,gotsu,hamada,higashiizumo,hikawa,hikimi,izumo,kakinoki,masuda,matsue,misato,nishinoshima,ohda,okinoshima,okuizumo,shimane,tamayu,tsuwano,unnan,yakumo,yasugi,yatsukaarai,atami,fuji,fujieda,fujikawa,fujinomiya,fukuroi,gotemba,haibara,hamamatsu,higashiizu,ito,iwata,izu,izunokuni,kakegawa,kannami,kawanehon,kawazu,kikugawa,kosai,makinohara,matsuzaki,minamiizu,mishima,morimachi,nishiizu,numazu,omaezaki,shimada,shimizu,shimoda,shizuoka,susono,yaizu,yoshidaashikaga,bato,haga,ichikai,iwafune,kaminokawa,kanuma,karasuyama,kuroiso,mashiko,mibu,moka,motegi,nasu,nasushiobara,nikko,nishikata,nogi,ohira,ohtawara,oyama,sakura,sano,shimotsuke,shioya,takanezawa,tochigi,tsuga,ujiie,utsunomiya,yaitaaizumi,anan,ichiba,itano,kainan,komatsushima,matsushige,mima,minami,miyoshi,mugi,nakagawa,naruto,sanagochi,shishikui,tokushima,wajikiadachi,akiruno,akishima,aogashima,arakawa,bunkyo,chiyoda,chofu,chuo,edogawa,fuchu,fussa,hachijo,hachioji,hamura,higashikurume,higashimurayama,higashiyamato,hino,hinode,hinohara,inagi,itabashi,katsushika,kita,kiyose,kodaira,koganei,kokubunji,komae,koto,kouzushima,kunitachi,machida,meguro,minato,mitaka,mizuho,musashimurayama,musashino,nakano,nerima,ogasawara,okutama,ome,oshima,ota,setagaya,shibuya,shinagawa,shinjuku,suginami,sumida,tachikawa,taito,tama,toshimachizu,hino,kawahara,koge,kotoura,misasa,nanbu,nichinan,sakaiminato,tottori,wakasa,yazu,yonagoasahi,fuchu,fukumitsu,funahashi,himi,imizu,inami,johana,kamiichi,kurobe,nakaniikawa,namerikawa,nanto,nyuzen,oyabe,taira,takaoka,tateyama,toga,tonami,toyama,unazuki,uozu,yamadaarida,aridagawa,gobo,hashimoto,hidaka,hirogawa,inami,iwade,kainan,kamitonda,katsuragi,kimino,kinokawa,kitayama,koya,koza,kozagawa,kudoyama,kushimoto,mihama,misato,nachikatsuura,shingu,shirahama,taiji,tanabe,wakayama,yuasa,yuraasahi,funagata,higashine,iide,kahoku,kaminoyama,kaneyama,kawanishi,mamurogawa,mikawa,murayama,nagai,nakayama,nanyo,nishikawa,obanazawa,oe,oguni,ohkura,oishida,sagae,sakata,sakegawa,shinjo,shirataka,shonai,takahata,tendo,tozawa,tsuruoka,yamagata,yamanobe,yonezawa,yuzaabu,hagi,hikari,hofu,iwakuni,kudamatsu,mitou,nagato,oshima,shimonoseki,shunan,tabuse,tokuyama,toyota,ube,yuuchuo,doshi,fuefuki,fujikawa,fujikawaguchiko,fujiyoshida,hayakawa,hokuto,ichikawamisato,kai,kofu,koshu,kosuge,minami-alps,minobu,nakamichi,nanbu,narusawa,nirasaki,nishikatsura,oshino,otsuki,showa,tabayama,tsuru,uenohara,yamanakako,yamanashi*,!city*,!city*,!city*,!city*,!city*,!city*,!city<ac,co,go,info,me,mobi,ne,or,scorg,net,com,edu,gov,mil*edu,biz,net,org,gov,info,comorg,nom,gov,prd,tm,edu,mil,ass,com,coop,asso,presse,medecin,notaires,pharmaciens,veterinaire,gouvnet,org,edu,govcom,edu,gov,org,rep,traac,co,es,go,hs,kg,mil,ms,ne,or,pe,re,sc,busan,chungbuk,chungnam,daegu,daejeon,gangwon,gwangju,gyeongbuk,gyeonggi,gyeongnam,incheon,jeju,jeonbuk,jeonnam,seoul,ulsancom,edu,emb,gov,ind,net,orgcom,edu,net,orgorg,edu,net,gov,mil,comint,net,info,edu,gov,per,com,orgcom,edu,gov,net,orgcom,net,co,org,edu,govgov,sch,net,int,com,org,edu,ngo,soc,web,ltd,assn,grp,hotel,accom,edu,gov,org,netac,biz,co,edu,gov,info,net,org,scgovcom,edu,gov,org,mil,id,net,asn,confcom,net,gov,plc,edu,sch,med,org,idco,net,gov,org,ac,presstm,assoco,net,org,edu,ac,gov,its,privorg,nom,gov,prd,tm,edu,mil,com,cocom,org,net,edu,gov,inf,namecom,edu,gouv,gov,net,org,presse*gov,edu,orgcom,net,org,edu,govgovcom,edu,gov,net,orgcom,edu,net,orgcom,net,org,gov,ac,co,oraero,biz,com,coop,edu,gov,info,int,mil,museum,name,net,org,proac,biz,co,com,coop,edu,gov,int,museum,net,orgcom,org,gob,edu,netbiz,com,edu,gov,mil,name,net,orgac,adv,co,edu,gov,mil,net,orginfo,pro,name,school,or,dr,us,mx,ca,in,cc,tv,ws,mobi,co,com,orgasso,nomcom,net,per,rec,web,arts,firm,info,other,storecom,edu,gov,i,mil,mobi,name,net,org,schac,biz,co,com,edu,gob,in,info,int,mil,net,nom,org,webfhs,vgs,fylkesbibl,folkebibl,museum,idrett,priv,mil,stat,dep,kommune,herad,aa>gsgsgsgsgsgsgsgsgsgsgs
    gsgsgsgsgsgsgsgsgsgsbo,xn--b-5gabo,xn--b-5ga,heroy,xn--hery-iraheroy,sandexn--hery-ira,sandenesnesos,valer,xn--vler-qoaossandevalerxn--vler-qoa<*biz,info,gov,edu,org,net,comac,co,cri,geek,gen,govt,health,iwi,kiwi,maori,mil,xn--mori-qsa,net,org,parliament,schoolco,com,edu,gov,med,museum,net,org,proac,gob,com,org,sld,edu,net,ing,abo,med,nomedu,gob,nom,mil,org,com,netcom,org,edu*com,net,org,gov,edu,ngo,mil,iac,biz,com,edu,fam,gkp,gob,gog,gok,gon,gop,gos,gov,net,org,webcom,net,org,aid,agro,atm,auto,biz,edu,gmina,gsm,info,mail,miasta,media,mil,nieruchomosci,nom,pc,powiat,priv,realestate,rel,sex,shop,sklep,sos,szkola,targi,tm,tourism,travel,turystyka,gov>ap,griw,ic,is,kmpsp,konsulat,kppsp,kwp,kwpsp,mup,mw,oia,oirm,oke,oow,oschr,oum,pa,pinb,piw,po,pr,psp,psse,pup,rzgw,sa,sdn,sko,so,sr,starostwo,ug,ugim,um,umig,upow,uppo,us,uw,uzs,wif,wiih,winb,wios,witd,wiw,wkz,wsa,wskr,wsse,wuoz,wzmiuw,zp,zpisdngov,co,org,edu,netcom,net,org,gov,edu,isla,pro,biz,info,name,est,prof,acaaa,aca,acct,avocat,bar,cpa,eng,jur,law,med,rechtedu,gov,sec,plo,com,org,netnet,gov,org,edu,int,publ,com,nomeco,ne,or,ed,go,belaucom,coop,edu,gov,mil,net,orgcom,edu,gov,mil,name,net,org,schasso,com,nomarts,com,firm,info,nom,nt,org,rec,store,tm,wwwac,co,edu,gov,in,orgac,co,coop,gov,mil,net,orgcom,net,org,gov,med,pub,edu,schcom,edu,gov,net,orgcom,gov,net,org,educom,net,org,edu,med,tv,gov,infoa,ac,b,bd,brand,c,d,e,f,fh,fhsk,fhv,g,h,i,k,komforb,kommunalforbund,komvux,l,lanbib,m,n,naturbruksgymn,o,org,p,parti,pp,press,r,s,t,tm,u,w,x,y,zcom,net,org,gov,edu,percom,net,gov,org,milcom,net,edu,gov,orgart,com,edu,gouv,org,perso,univcom,edu,gov,me,net,orgbiz,com,edu,gov,me,net,org,schco,com,consulado,edu,embaixada,mil,net,org,principe,saotome,storecom,edu,gob,org,redgovedu,gov,net,mil,com,orgco,ac,orgac,co,go,in,mi,net,orac,biz,co,com,edu,go,gov,int,mil,name,net,nic,org,test,webgovcom,co,org,net,nom,gov,mil,educom,ens,fin,gov,ind,info,intl,mincom,nat,net,org,perso,tourismcom,gov,net,org,edu,milav,bbs,bel,biz,com,dr,edu,gen,gov,info,mil,k12,kep,name,net,org,pol,tel,tsk,tv,web,nc>gov<co,com,org,net,biz,info,pro,int,coop,jobs,mobi,travel,museum,aero,name,gov,eduedu,gov,mil,com,net,org,idv,game,ebiz,club,xn--zf0ao64a,xn--uc0atv,xn--czrw28bac,co,go,hotel,info,me,mil,mobi,ne,or,sc,tvcom,edu,gov,in,net,org,cherkassy,cherkasy,chernigov,chernihiv,chernivtsi,chernovtsy,ck,cn,cr,crimea,cv,dn,dnepropetrovsk,dnipropetrovsk,donetsk,dp,if,ivano-frankivsk,kh,kharkiv,kharkov,kherson,khmelnitskiy,khmelnytskyi,kiev,kirovograd,km,kr,kropyvnytskyi,krym,ks,kv,kyiv,lg,lt,lugansk,luhansk,lutsk,lv,lviv,mk,mykolaiv,nikolaev,od,odesa,odessa,pl,poltava,rivne,rovno,rv,sb,sebastopol,sevastopol,sm,sumy,te,ternopil,uz,uzhgorod,uzhhorod,vinnica,vinnytsia,vn,volyn,yalta,zakarpattia,zaporizhzhe,zaporizhzhia,zhitomir,zhytomyr,zp,ztco,or,ac,sc,go,ne,com,orgac,co,gov,ltd,me,net,nhs,org,plc,police,sch>*<dni,fed,isa,kids,nsn,ak>k12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcck12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12>pvt,chtr,parochk12,cc,libk12,cc,libk12,cc,lib,ann-arbor,cog,dst,eaton,gen,mus,tec,washtenawk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcck12,cc,lib<com,edu,gub,mil,net,orgco,com,net,orgcom,net,org,gov,mil,eduarts,bib,co,com,e12,edu,firm,gob,gov,info,int,mil,net,nom,org,rar,rec,store,tec,webco,com,k12,net,orgac,ai,biz,com,edu,gov,health,id,info,int,io,name,net,org,pro,angiang,bacgiang,backan,baclieu,bacninh,baria-vungtau,bentre,binhdinh,binhduong,binhphuoc,binhthuan,camau,cantho,caobang,daklak,daknong,danang,dienbien,dongnai,dongthap,gialai,hagiang,haiduong,haiphong,hanam,hanoi,hatinh,haugiang,hoabinh,hungyen,khanhhoa,kiengiang,kontum,laichau,lamdong,langson,laocai,longan,namdinh,nghean,ninhbinh,ninhthuan,phutho,phuyen,quangbinh,quangnam,quangngai,quangninh,quangtri,soctrang,sonla,tayninh,thaibinh,thainguyen,thanhhoa,thanhphohochiminh,thuathienhue,tiengiang,travinh,tuyenquang,vinhlong,vinhphuc,yenbaicom,edu,net,orgcom,net,org,gov,eduxn--55qx5d,xn--wcvs22d,xn--mxtq1m,xn--gmqw5a,xn--od0alg,xn--uc0atvxn--o1ac,xn--c1avg,xn--90azh,xn--d1at,xn--o1ach,xn--80auxn--12c1fe0br,xn--12co0c3b4eva,xn--h3cuzk1di,xn--o3cyx2a,xn--m3ch0j3a,xn--12cfi8ixb8lcom,edu,gov,net,mil,orgac,agric,alt,co,edu,gov,grondar,law,mil,net,ngo,nic,nis,nom,org,school,tm,webac,biz,co,com,edu,gov,info,mil,net,org,schac,co,gov,mil,orgco,eduart,gliwice,krakow,poznan,wroc,zakopane,beep,ecommerce-shop,cfolks,dfirma,dkonto,you2,shoparena,homesklep,sdscloud,unicloud,krasnik,leczna,lubartow,lublin,poniatowa,swidnik,co,torun,simplesite,myspreadshop,gda,gdansk,gdynia,med,sopot,bielskode>libphxgh,gl12chars,panel,autocode,lcl>****relay*user>*<archer,bones,canary,global,hacker,id,janeway,kim,kira,kirk,odo,paris,picard,pike,prerelease,reed,riker,sisko,spock,staging,sulu,tarpit,teams,tucker,wesley,worfd>********<*<12chars,blogspot,ibxos,iliadboxos,neen>jcopen>jelastic>cloud<<<16-b,32-b,64-b,123homepage,myspreadshop,syncloud12chars,cloudns,dnstrace>bcicc,inf,ltd,cx,ie,biz,co,pp,v611,oya,x0,quickconnect>directa2hosted,cpserver,adobeaemcloud>dev>*<af-south-1>execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websiteexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipswebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipsexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipsexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<**af-south-1>*****************************<accesspoint>mrap<*<af-south-1>authauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauth,auth-fipsauth,auth-fipsauth-fipsauth,auth-fipsauth,auth-fips<*af-south-1,ap-east-1,ap-northeast-1,ap-northeast-2,ap-northeast-3,ap-south-1,ap-southeast-1,ap-southeast-2,ap-southeast-3,ca-central-1,eu-central-1,eu-north-1,eu-south-1,eu-west-1,eu-west-2,eu-west-3,il-central-1,me-south-1,sa-east-1,us-east-1,us-east-2,us-gov-east-1,us-gov-west-1,us-west-1,us-west-2services>*<*,oci>***<demo,instance*eu-1,eu-2,eu-3,eu-4,us-1,us-2,us-3,us-4*r>*<paasrag-cloud,rag-cloud-chjcloud,jcloud-ver-jpcdemopaasjed,lon,rydcns>*<members,nodebalancer>*<*ipappseucaracal,customer,fentiger,lynx,ocelot,oncilla,onza,sphinx,vs,x,yalicloud<4u,nfshost,ar,hu,kr,no,qc,uy,3utilities,blogsyte,ciscofreak,damnserver,ddnsking,ditchyourip,dnsiskinky,dynns,geekgalaxy,health-carereform,homesecuritymac,homesecuritypc,myactivedirectory,mysecuritycamera,myvnc,net-freaks,onthewifi,point2this,quicksytes,securitytactics,servebeer,servecounterstrike,serveexchange,serveftp,servegame,servehalflife,servehttp,servehumour,serveirc,servemp3,servep2p,servepics,servequake,servesarcasm,stufftoread,unusualperson,workisboring,001www,ddnslive,myiphost,observableusercontent>static*xeneu*app<180r,dojin,sakuratan,sakuraweb,x0,code>builder>***<platform>code-builder-stg>test>001>*<<<<alpha,betaapimediasitepro*pagesjsu2,u2-localaaaon-acorn>*app,backyards>*<s>*<uk0dyndnsid*paassekd1cloud-fr1*ap,au,eu,in,jp,sa,usstagemocksys>*<site**devicesclientapps**dev>cust,reservdcust,reservdcustcust,reservd<activetrail,cloudns,jozi,dyndns,for-better,for-more,for-some,for-the,selfip,webhop,orx,mmafan,myftp,no-ip,dscloudadaptable,beget>*previewrelaystaging*****id*,privatelink>*<previewaem,hlx,ewp>*<adobeaemcloud,adobeio-static,adobeioruntime,akadns,akamai,akamai-staging,akamaiedge,akamaiedge-staging,akamaihd,akamaihd-staging,akamaiorigin,akamaiorigin-staging,akamaized,akamaized-staging,edgekey,edgekey-staging,edgesuite,edgesuite-staging,alwaysdata,myamaze,cloudfront,appudo,atlassian-dev>prod>cdn<rcdncdncdncdn*ufreetls,map,prod>a,globala,b,global<mapfra1-de,west1-usjls-sto1,jls-sto2,jls-sto3paas>fr-1,lon-1,lon-2,ny-1,ny-2,sg-1<jelastic,nordeste-idcjjelastic1,2,3,4,5,6,7,centralus,eastasia,eastus2,westeurope,westus2core>blobsnhosting>**<jelastic>atl,njs,ric<soc,userbetac>*<pagesstorage,websiteaem,hlx,hlx3,translated,codeberg,prvcy,rocky,magnet,pdns,pleskairkitapps,mycd,cloudns,dogado>jelastic*barsy,awdev>*compute>*<alces>*altervista,pimienta,poivron,potager,sweetpepper,cdn77>c,rscorigin>ssl<go,homeal,asso,at,au,be,bg,ca,cd,ch,cn,cy,cz,de,dk,edu,ee,es,fi,fr,gr,hr,hu,ie,il,in,int,is,it,jp,kr,lt,lu,lv,mc,me,mk,mt,my,net,ng,nl,no,nz,paris,pl,pt,q-a,ro,ru,se,si,sk,tr,uk,uscloud,os>appos>app<<s3com>amazonaws>cn-north-1>execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websiteexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint*cn-north-1>**<cn-north-1,cn-northwest-1*<cn-north-1>notebook,studionotebook,studio<<my>*<asdirect<sagemaker>ap-northeast-1>labeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,notebook-fips,studionotebook,studionotebook,studionotebook,studionotebooknotebook,studionotebooknotebook,notebook-fipsnotebooknotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,notebook-fips,studio,studio-fipsnotebook,notebook-fips,studio,studio-fipsnotebook,notebook-fips,studio*<private>*<<eero,eero-stage,websitebuilder,barsyf5,gitapp,gitpage,blogspotne>aseinet>userisk01>s3s3<rs,usergv>d<0e,mydnsparty>user<myfritz,cyon,nftstorage>ipfs*<advisor>*banzai>*eu*es-1viparuba>eur>it1<cstn,ukukca,uk,usch,de**baremetal>fr-par-1,fr-par-2,nl-ams-1cockpit,fnc>functionsnodespriv,pubcockpit,k8s>nodescockpit,k8s>nodesruns*base,officialbase,hoplix,barsy,barsyonlinepagesbnrbip,hashbang,platform>ent,eu,usofsquare7,cloudns,cloudscale>cust,lpg>objectsobjects<ae>alp1*,svc>*<<12hp,2ix,4lima,lima-citybplaced,square7,com,cosidns>dyndyn,dyndnsdyn*it>pages<customer*brendly>shopbrendly>shopradio,blogspotradio,user>*<co>bytemark>dh,vmjcustapi,campaign,serviceglug,lug,lugs,affinitylottery,raffleentry,weeklylotterycanva>my>*<***drr,feedback,formsuwu,framercarrd,crd,otap>*blogspot*ididjucontentproxy9>rsccloud>*cloud>flt,usr<<za,mydns,gsjcom,blogspot,conf,iopsys,123minsida,itcouldbewor,myspreadshopdiscoursediscourse,jelasticcleverapps,cloudns,ftpaccess,game-server,myphotos,scrapping,twmail,csx,fantasyleague,spawn>instances<cleverappscloudns,daemon,dixcloudns,webhosting,blogspot,interhostsolutions>cloudezproxy<123website,myspreadshop,transurl>*<cloudns,blogspotcloudns,jele,barsycloudns,ath,info,assessments,calculators,funnels,paynow,quizzes,researched,testscloudns,blogspot,barsy,web,supabasecloudns,dynamic-dns,barrel-of-knowledge,barrell-of-knowledge,dyndns,for-our,groks-the,groks-this,here-for-more,knowsitall,selfip,webhop,barsy,mayfirst,dvrcam,ilovecollege,no-ip,forumz,nsupdate,dnsupdate,v-infocloudns,co>blogspot<cloudnscloudns,x443c66,craft,daplie>localhostsitecloud66,hs,triton>*cloudaccess,freesite,easypanel,fastvps,myfast,tempurl,wpmudev,jele,mircloud,wp2,halfcnpyco,hosting-cluster,blogspot,gov,khplay,123website,myspreadshop,transurl>*co,blogspot,123hjemmeside,myspreadshopac,edu,gov,int,mil,test,eurodir,adygeya,bashkiria,bir,cbg,com,dagestan,grozny,kalmykia,kustanai,marine,mordovia,msk,mytis,nalchik,nov,pyatigorsk,spb,vladikavkaz,vladimir,blogspot,na4u,mircloud,regruhosting>jelastichosting>****<hbvpscrisp>onpp<biz,co,firm,reg,store,blogspot,123hjemmeside,myspreadshopdapps>*,bzz>*<<usmy>rss>*<blogspotdiher>*<online,shopdy,blogspot,xn--hkkinen-5wa,iki,cloudplatform>fidemo,paasher>forgotforgot<merseine,mine,shacknet,enterprisecloudbetter-than,dyndns,on-the-web,worse-than,from,sakuramyddns,stackit,lima-city,webspaceblogsite,localzone,crafting,zapto,telebit>*<onred>staging*com>mymaileremf>at<rtelementor,deen-root,fbx-os,fbxos,freebox-os,freeboxos,blogspot,goupile,123siteweb,on-web,chirurgiens-dentistes-en-france,dedibox,aeroport,avocat,chambagri,chirurgiens-dentistes,experts-comptables,medecin,notaires,pharmacien,port,veterinaire,myspreadshop,ynhabkhazia,adygeya,aktyubinsk,arkhangelsk,armenia,ashgabad,azerbaijan,balashov,bashkiria,bryansk,bukhara,chimkent,dagestan,east-kazakhstan,exnet,georgia,grozny,ivanovo,jambyl,kalmykia,kaluga,karacol,karaganda,karelia,khakassia,krasnodar,kurgan,kustanai,lenug,mangyshlak,mordovia,msk,murmansk,nalchik,navoi,north-kazakhstan,nov,obninsk,penza,pokrovsk,sochi,spb,tashkent,termez,togliatti,troitsk,tselinograd,tula,tuva,vladikavkaz,vladimir,vologdamyfast,heiyu,app-ionos,uber,xs4allframerframerframerframerfunkfeuer>wien*,ex>**<ex>**<blogspotlab,minisitecorpnetnog,ravendb,myforumco,shop,blogspot,barsygraphic,bssblogspotblogspotcom>blogspot<com>blogspot,cloudlets>melblogspot,rsblogspot,barsyblogspot
    com>blogspot,simplesiteac,al,am,ap,ba,ce,df,es,go,ma,mg,ms,mt,pa,pb,pe,pi,pr,rj,rn,ro,rr,rs,sc,se,sp,to<com>blogspotblogspotblogspotcom>blogspot,scaleforce>j<<com>blogspot<com>blogspot<com>blogspot<123miweb,myspreadshopcloud,translate,usercontent>*<blogspot,barsy,simplesiteblogspot,secaas,inc,ltdblogspotblogspot,myspreadshopco>blogspot,ravpage,mytabit,tabitorder<blogspotco>blogspot<blogspot
  1. blogspot,caablogspotblogspot,123websiteblogspot,irblogspotblogspotcom>blogspot<blogspotblogspotcom>blogspotblogspotblogspot,123paginawebblogspotblogspot,canblogspot,enscaledblogspotblogspotblogspotcom>blogspot<blogspotcom>blogspot<blogspotco>blogspot<cloudapps>london<finhs,development,ravendb,servers,build>****express,webhelioho,kirara,nohoid>**bizedu,gov>service<sch,surveysjcloud,kazteleport>upaas<orangecloudkaas,stackit,panel>daemon<knightpointkoobin,colibp2pcococococoweloginlinebarsy,barsyonlinebarsy,dscloudbarsy,sellfy,shopware,storebasebarsyhranabu>ui<ngroknoticeablenow-dns,ntdll,wadl>*<nerdpolnycoblomgopencrafttechown,nameowo>*<oypley,sheezycoprequalifymecloudsiteaus,nzrit>git-pages<xn--90amc,xn--j1aef,xn--j1ael8b,xn--h1ahn,xn--j1adp,xn--c1avg,xn--80aaa0cvac,xn--h1aliz,xn--90a1af,xn--41aindstorj1337clanschbiz,schorgrouterofficialyboyboyboyboybo");const a=Tn(n,go),i=Tn(n,bo);if(0===a.length&&0===i.length)return{type:po.NotListed,hostname:o,labels:n};const s=n.length-Math.max(i.length,a.length)-1,c=n.length-a.length-1;return Object.assign({type:po.Listed,hostname:o,labels:n,icann:yo(n,c)},yo(n,s))},wo=/^[a-z][*+.a-z-]+:\/\//i,ko=/^([a-z][*+.a-z-]+:\/\/)([^[][^/?]*:[^/?]*:[^/?]*)(.*)/i,xo=Symbol("NO_HOSTNAME");function jo(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */jo=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==_o(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function _o(t){return _o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_o(t)}function Eo(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Lo(t){var e;if(!t||!So(t))return t?Oe(t).substring(0,20):"";var r=vo((t=>{if("function"!=typeof URL)throw new Error("Looks like the new URL() constructor is not globally available in your environment. Please make sure to use a polyfill.");if("string"!=typeof t)return xo;let e=t.startsWith("//")?`http:${t}`:t.startsWith("/")||wo.test(t)?t:`http://${t}`;e=e.replace(ko,"$1[$2]$3");try{return new URL(e).hostname}catch(t){return xo}})(t));return r.domain+"."+(null===(e=r.topLevelDomains)||void 0===e?void 0:e.join("."))}function Oo(t){try{return new URL(t).hostname}catch(e){return t?Oe(t).substring(0,20):""}}var So=function(t){return/^(http:\/\/|https:\/\/).*$/.test(t)};function zo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function Ao(t){return Po.apply(this,arguments)}function Po(){var t;return t=jo().mark((function t(e){var r,n,o,a,i;return jo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(i=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",i.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),Po=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Eo(a,n,o,i,s,"next",t)}function s(t){Eo(a,n,o,i,s,"throw",t)}i(void 0)}))},Po.apply(this,arguments)}const Io=function(t,e,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),e)};const Co=function(t){return t};const To=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var Fo=Math.max;const Do=function(t,e,r){return e=Fo(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,a=Fo(n.length-e,0),i=Array(a);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(qo);const Mo=function(t,e){return $o(Do(t,e,Co),t+"")};var Ro=/\s/;const Uo=function(t){for(var e=t.length;e--&&Ro.test(t.charAt(e)););return e};var Vo=/^\s+/;const Wo=function(t){return t?t.slice(0,Uo(t)+1).replace(Vo,""):t};var Yo=/^[-+]0x[0-9a-f]+$/i,Ho=/^0b[01]+$/i,Ko=/^0o[0-7]+$/i,Qo=parseInt;const Jo=function(t){if("number"==typeof t)return t;if(kt(t))return NaN;if(Et(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Et(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Wo(t);var r=Ho.test(t);return r||Ko.test(t)?Qo(t.slice(2),r?2:8):Yo.test(t)?NaN:+t};const Xo=Mo((function(t,e,r){return Io(t,Jo(e)||0,r)})),Zo=t=>(e,r,n)=>{const o=n.subscribe;n.subscribe=(t,e,r)=>{let a=t;if(e){const o=(null==r?void 0:r.equalityFn)||Object.is;let i=t(n.getState());a=r=>{const n=t(r);if(!o(i,n)){const t=i;e(i=n,t)}},(null==r?void 0:r.fireImmediately)&&e(i,i)}return o(a)};return t(e,r,n)};const ta=function(){return ut.Date.now()};var ea=Math.max,ra=Math.min;const na=function(t,e,r){var n,o,a,i,s,c,u=0,l=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,a=o;return n=o=void 0,u=e,i=t.apply(a,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-u>=a}function m(){var t=ta();if(d(t))return y(t);s=setTimeout(m,function(t){var r=e-(t-c);return f?ra(r,a-(t-u)):r}(t))}function y(t){return s=void 0,h&&n?p(t):(n=o=void 0,i)}function g(){var t=ta(),r=d(t);if(n=arguments,o=this,c=t,r){if(void 0===s)return function(t){return u=t,s=setTimeout(m,e),l?p(t):i}(c);if(f)return clearTimeout(s),s=setTimeout(m,e),p(c)}return void 0===s&&(s=setTimeout(m,e)),i}return e=Jo(e)||0,Et(r)&&(l=!!r.leading,a=(f="maxWait"in r)?ea(Jo(r.maxWait)||0,e):a,h="trailing"in r?!!r.trailing:h),g.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=c=o=s=void 0},g.flush=function(){return void 0===s?i:y(ta())},g};const oa=function(t,e){for(var r=-1,n=e.length,o=t.length;++r0&&n(c)?r>1?t(c,r-1,n,o,a):oa(a,c):o||(a[a.length]=c)}return a};const pa=function(){this.__data__=new se,this.size=0};const da=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const ma=function(t){return this.__data__.get(t)};const ya=function(t){return this.__data__.has(t)};const ga=function(t,e){var r=this.__data__;if(r instanceof se){var n=r.__data__;if(!ce||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new ge(n)}return r.set(t,e),this.size=r.size,this};function ba(t){var e=this.__data__=new se(t);this.size=e.size}ba.prototype.clear=pa,ba.prototype.delete=da,ba.prototype.get=ma,ba.prototype.has=ya,ba.prototype.set=ga;const va=ba;const wa=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const ka=function(t){return this.__data__.has(t)};function xa(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new ge;++es))return!1;var u=a.get(t),l=a.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,p=2&r?new ja:void 0;for(a.set(t,e),a.set(e,t);++f-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var Ha={};Ha["[object Float32Array]"]=Ha["[object Float64Array]"]=Ha["[object Int8Array]"]=Ha["[object Int16Array]"]=Ha["[object Int32Array]"]=Ha["[object Uint8Array]"]=Ha["[object Uint8ClampedArray]"]=Ha["[object Uint16Array]"]=Ha["[object Uint32Array]"]=!0,Ha["[object Arguments]"]=Ha["[object Array]"]=Ha["[object ArrayBuffer]"]=Ha["[object Boolean]"]=Ha["[object DataView]"]=Ha["[object Date]"]=Ha["[object Error]"]=Ha["[object Function]"]=Ha["[object Map]"]=Ha["[object Number]"]=Ha["[object Object]"]=Ha["[object RegExp]"]=Ha["[object Set]"]=Ha["[object String]"]=Ha["[object WeakMap]"]=!1;const Ka=function(t){return wt(t)&&Ya(t.length)&&!!Ha[vt(t)]};const Qa=function(t){return function(e){return t(e)}};var Ja="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xa=Ja&&"object"==typeof module&&module&&!module.nodeType&&module,Za=Xa&&Xa.exports===Ja&&st.process,ti=function(){try{var t=Xa&&Xa.require&&Xa.require("util").types;return t||Za&&Za.binding&&Za.binding("util")}catch(t){}}();var ei=ti&&ti.isTypedArray;const ri=ei?Qa(ei):Ka;var ni=Object.prototype.hasOwnProperty;const oi=function(t,e){var r=it(t),n=!r&&ua(t),o=!r&&!n&&Ua(t),a=!r&&!n&&!o&&ri(t),i=r||n||o||a,s=i?qa(t.length,String):[],c=s.length;for(var u in t)!e&&!ni.call(t,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Wa(u,c))||s.push(u);return s};var ai=Object.prototype;const ii=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ai)};const si=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object);var ci=Object.prototype.hasOwnProperty;const ui=function(t){if(!ii(t))return si(t);var e=[];for(var r in Object(t))ci.call(t,r)&&"constructor"!=r&&e.push(r);return e};const li=function(t){return null!=t&&Ya(t.length)&&!Lt(t)};const fi=function(t){return li(t)?oi(t):ui(t)};const hi=function(t){return Ca(t,fi,Na)};var pi=Object.prototype.hasOwnProperty;const di=function(t,e,r,n,o,a){var i=1&r,s=hi(t),c=s.length;if(c!=hi(e).length&&!i)return!1;for(var u=c;u--;){var l=s[u];if(!(i?l in e:pi.call(e,l)))return!1}var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var p=!0;a.set(t,e),a.set(e,t);for(var d=i;++ue||a&&i&&c&&!s&&!u||n&&i&&c||!r&&c||!o)return 1;if(!n&&!a&&!u&&t=s?c:c*("desc"==r[n]?-1:1)}return t.index-e.index};const rs=function(t,e,r){e=e.length?je(e,(function(t){return it(t)?function(e){return Ae(e,1===t.length?t[0]:t)}:t})):[Co];var n=-1;e=je(e,Qa(Ki));var o=Xi(t,(function(t,r,o){return{criteria:je(e,(function(e){return e(t)})),index:++n,value:t}}));return Zi(o,(function(t,e){return es(t,e,r)}))};const ns=function(t,e,r){if(!Et(r))return!1;var n=typeof e;return!!("number"==n?li(r)&&Wa(e,r.length):"string"==n&&e in r)&&Zt(r[e],t)};const os=Mo((function(t,e){if(null==t)return[];var r=e.length;return r>1&&ns(t,e[0],e[1])?e=[]:r>2&&ns(e[0],e[1],e[2])&&(e=[e[0]]),rs(t,ha(e,1),[])}));const as=function(t,e,r){"__proto__"==e&&No?No(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var is=Object.prototype.hasOwnProperty;const ss=function(t,e,r){var n=t[e];is.call(t,e)&&Zt(n,r)&&(void 0!==r||e in t)||as(t,e,r)};const cs=function(t,e,r,n){if(!Et(t))return t;for(var o=-1,a=(e=Se(e,t)).length,i=a-1,s=t;null!=s&&++o=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function ms(t){return function(t){if(Array.isArray(t))return gs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ys(t)||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 ys(t,e){if(t){if("string"==typeof t)return gs(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gs(t,e):void 0}}function gs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xs(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function js(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){xs(a,n,o,i,s,"next",t)}function s(t){xs(a,n,o,i,s,"throw",t)}i(void 0)}))}}var _s=function(){var t=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ir("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Es=function(){var t=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ir("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ls=an(Zo(Qr((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(u=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)}),loadTabs:(c=js(ks().mark((function r(){return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var i=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,s=a.map((function(t){return vs(vs({},gc(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:i,tabs:s,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(s),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return c.apply(this,arguments)}),loadTabsMetadata:(s=js(ks().mark((function e(r){var n,o,a;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return Is(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),a=r.map((function(t){var e=o.get(t.tabId);return e?vs(vs({},t),e):t})),t({tabs:a});case 6:case"end":return e.stop()}}),e)}))),function(t){return s.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?vs(vs({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=vs(vs({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=ms(t.tabs);return o[n]=vs(vs({},o[n]),r),{tabs:o}}return{tabs:[].concat(ms(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return vs(vs({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),zs(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(i=js(ks().mark((function e(r){return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,As(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return i.apply(this,arguments)}),resortTabs:na(js(ks().mark((function t(){var r,n,o,a;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=ds(r),t.prev=4,a=ks().mark((function t(){var r,n;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(a(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=js(ks().mark((function e(){var r;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=vs(vs({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=ms(t.groups);return o[r]=vs(vs({},o[r]),n),{groups:o}}return{groups:[].concat(ms(t.groups),[n])}}))}},closeGroup:function(e){t((function(t){return{groups:t.groups.filter((function(t){return t.groupId!==e}))}}))},initQuickAccess:(o=js(ks().mark((function e(){var r,n,o,a;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,Es();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:if(n=e.sent){e.next=14;break}return e.next=10,r.all();case 10:return o=e.sent,n=o.map(function(){var t=js(ks().mark((function t(e){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.uuid){t.next=4;break}return t.next=3,r.delete(e.uuid);case 3:return t.abrupt("return",vs(vs({},e),{},{id:e.uuid}));case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e.next=14,r.set("quickAccess",n);case 14:a=os(n,"sortIndex"),t({quickAccess:a}),Date.now();case 18:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=js(ks().mark((function r(n,o){var a,i,s,c,u,l,f;return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=vs(vs({},hs(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=12;break}return r.prev=2,r.next=5,Ao(o.url);case 5:o.favIconUrl=r.sent,r.next=12;break;case 8:r.prev=8,r.t0=r.catch(2),o.favIconUrl=zo(o.url);case 12:return a=os(e().quickAccess,"sortIndex"),i=a.findIndex((function(t){return t.uuid===n})),-1!==(s=a.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((c=ms(a))[s]=vs(vs({},c[s]),o),t({quickAccess:c})):-1!==i?((u=ms(a))[i]=vs(vs({},u[i]),o),t({quickAccess:u})):(l=Math.max.apply(Math,ms(a.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(ms(a),[vs(vs({},o),{},{sortIndex:l+1})])})),r.next=18,Es();case 18:return f=r.sent,r.next=21,f.set("quickAccess",e().quickAccess);case 21:case"end":return r.stop()}}),r,null,[[2,8]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=js(ks().mark((function r(n){var o,a,i;return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,a=o.filter((function(t){return t.uuid!==n})),t({quickAccess:a}),r.next=5,Es();case 5:return i=r.sent,r.next=8,i.set("quickAccess",a);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,i,s,c,u}))),sn),Os=new Map,Ss=function(){var t=js(ks().mark((function t(e){var r,n;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},Os.set("tabid_".concat(e),r),t.next=4,_s();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),zs=function(){var t=js(ks().mark((function t(e,r,n){var o,a,i;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_s();case 3:if(o=t.sent,t.t1=Os.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return a=t.t0,i=vs(vs({},a),{},ws(ws({},r,n),"tabId",e)),Os.set("tabid_".concat(e),i),t.next=18,o.set("tabid_".concat(e),i);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),As=function(){var t=js(ks().mark((function t(e){var r;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Os.delete("tabid_".concat(e)),t.next=3,_s();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ps=function(){var t=js(ks().mark((function t(e,r){var n,o;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_s();case 2:if(n=t.sent,t.t0=Os.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Is=function(){var t=js(ks().mark((function t(e){var r,n,o,a,i,s,c,u,l,f;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_s();case 2:if(r=t.sent,t.t1=Os.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,a=void 0===o?Date.now():o,i=n.created_time,s=void 0===i?Date.now():i,c=n.thumbnail,u=n.pipSupport,l=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:a,created_time:s,thumbnail:c,pipSupport:u,pipOn:l,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();var Cs=Math.floor,Ts=Math.random;const Fs=function(t,e){return t+Cs(Ts()*(e-t+1))};const Ds=function(t){var e=t.length;return e?t[Fs(0,e-1)]:void 0};const Gs=function(t,e){return je(e,(function(e){return t[e]}))};const Ns=function(t){return null==t?[]:Gs(t,fi(t))};const qs=function(t){return Ds(Ns(t))};const Bs=function(t){return(it(t)?Ds:qs)(t)};var $s=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],Ms=$s.filter((function(t){return t.color!==t.tabGroupColor})),Rs=$s.filter((function(t){return t.color===t.tabGroupColor})),Us=function(){return Bs($s)};function Vs(t){return Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vs(t)}function Ws(t){return function(t){if(Array.isArray(t))return Ys(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ys(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ys(t,e):void 0}}(t)||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 Ys(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Xs(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Zs(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Xs(a,n,o,i,s,"next",t)}function s(t){Xs(a,n,o,i,s,"throw",t)}i(void 0)}))}}var tc=function(){var t=Zs(Js().mark((function t(){return Js().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ir("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ec=an(Zo(Qr((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(a=Zs(Js().mark((function e(){var r,n;return Js().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tc();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),getSiteConfig:(o=Zs(Js().mark((function t(r){var n,o;return Js().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,tc();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=Zs(Js().mark((function e(r,n){var o,a,i;return Js().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=Ks(Ks({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=Ws(t.sites);return n[e]=Ks(Ks({},n[e]),o),{sites:n}}return{sites:[].concat(Ws(t.sites),[o])}})),e.next=10,tc();case 10:return a=e.sent,e.next=13,a.get("site_config_".concat(r));case 13:return i=e.sent,e.next=16,a.set("site_config_".concat(r),Ks(Ks({},i),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=Zs(Js().mark((function r(n){var o;return Js().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,tc();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a}))),sn);function rc(t){return rc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rc(t)}function nc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oc(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function lc(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function fc(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){lc(a,n,o,i,s,"next",t)}function s(t){lc(a,n,o,i,s,"throw",t)}i(void 0)}))}}var hc=function(){var t=fc(uc().mark((function t(e,r){return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Me("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:Ls.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return Ls.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){Me("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();var pc=function(){var t=fc(uc().mark((function t(e){return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,mc(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:Ls.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,Xo(yc,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),dc=new Set,mc=function(){var t=fc(uc().mark((function t(e){var r,n;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return dc.add(e),t.next=3,Me("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(ic(r),[e]),t.next=10,Me("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),yc=function(){var t=fc(uc().mark((function t(e){var r;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return dc.delete(e),t.next=3,Me("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,Me("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),gc=function(t){var e=oc({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),n=r.hostname,o=r.origin;return e.hostname=n,e.origin=o,e.hostname=So(e.url)?n:e.url,e.tabId=t.id,e.color=Ms[t.id%Ms.length],e},bc=function(){var t=fc(uc().mark((function t(e){var r,n,o,a,i=arguments;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={windowType:"normal",url:["http://*/*","https://*/*"]},void 0!==(r=i.length>1&&void 0!==i[1]?i[1]:{}).windowId&&(n.windowId=r.windowId),t.next=5,chrome.tabs.query(n);case 5:return o=t.sent,a=o.map((function(t){return k(t.id,e,r)})),t.next=9,Promise.all(a);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),vc=function(){var t=fc(uc().mark((function t(e){var r,n,o,a,i,s;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=gn.getState().settings,n=r.tabPreviewEnable,o=r.tabPreviewImage,n&&o){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if(So(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((i=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(i.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return s=t.sent,t.abrupt("return",s);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),wc=function(){var t=fc(uc().mark((function t(e,r,n){var o,a,i;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,or("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,Ps(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return a=t.sent,t.next=18,ec.getState().getSiteConfig(new URL(a.url).hostname);case 18:if(!1!==(null==(i=t.sent)?void 0:i.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,k(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),kc=function(){var t=fc(uc().mark((function t(e,r,n){var o,a,i;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ps(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,zs(e,"pipMap",oc(oc({},o),{},ac({},r,n)));case 6:return t.next=8,xc(e,"pipSupport");case 8:return a=t.sent,t.next=11,zs(e,"pipSupport",a);case 11:return t.next=13,xc(e,"pipOn");case 13:return i=t.sent,t.next=16,zs(e,"pipOn",i);case 16:return t.abrupt("return",{pipMap:o,pipSupport:a,pipOn:i});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),xc=function(){var t=fc(uc().mark((function t(e,r){var n,o;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ps(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=uc().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();function jc(t){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(t)}function _c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||Oc(t,e)||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 Ec(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ec=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==jc(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Lc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Oc(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Oc(t,e){if(t){if("string"==typeof t)return Sc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sc(t,e):void 0}}function Sc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=45;break}return t.prev=31,g=Rs[f%Rs.length].color,t.next=35,chrome.tabs.group({tabIds:y.map((function(t){return t.id})),createProperties:{windowId:y[0].windowId}});case 35:return b=t.sent,t.next=38,chrome.tabGroups.update(b,{title:m,color:g,collapsed:!0});case 38:f++,t.next=45;break;case 41:t.prev=41,t.t1=t.catch(31),r.push("Error grouping tabs for domain ".concat(m,": ").concat(t.t1.message));case 45:h++,t.next=28;break;case 48:t.next=17;break;case 50:t.next=55;break;case 52:t.prev=52,t.t2=t.catch(15),i.e(t.t2);case 55:return t.prev=55,i.f(),t.finish(55);case 58:t.next=64;break;case 60:t.prev=60,t.t3=t.catch(1),r.push("Error grouping tabs by domain: ".concat(t.t3.message));case 64:if(!(r.length>0)){t.next=66;break}throw new Error(r.join("\n"));case 66:case"end":return t.stop()}}),t,null,[[1,60],[15,52,55,58],[31,41]])})));return function(e){return t.apply(this,arguments)}}(),Ic=function(){var t=Ac(Ec().mark((function t(e){var r,n,o,a,i,s,c,u,l,f,h,p,d;return Ec().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,or("user_settings");case 3:return r=t.sent,n={windowType:"normal",currentWindow:r.onlyCurrentWindowTabs||!1,pinned:!r.groupFilterOutPinnedTabs&&void 0,windowId:e||void 0},t.next=7,chrome.tabs.query(n);case 7:if((o=t.sent)&&0!==o.length){t.next=10;break}return t.abrupt("return");case 10:a=o.reduce((function(t,e){if(-1!==e.groupId)return t;var r=Lo(e.url);return t[r]||(t[r]=[]),t[r].push(e),t}),{}),i=0,s=Object.keys(a).sort(),c=Lc(s),t.prev=14,c.s();case 16:if((u=c.n()).done){t.next=39;break}l=u.value,f=a[l],h=Lc(f),t.prev=20,h.s();case 22:if((p=h.n()).done){t.next=29;break}return d=p.value,t.next=26,chrome.tabs.move(d.id,{index:i});case 26:i++;case 27:t.next=22;break;case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(20),h.e(t.t0);case 34:return t.prev=34,h.f(),t.finish(34);case 37:t.next=16;break;case 39:t.next=44;break;case 41:t.prev=41,t.t1=t.catch(14),c.e(t.t1);case 44:return t.prev=44,c.f(),t.finish(44);case 47:t.next=52;break;case 49:t.prev=49,t.t2=t.catch(0);case 52:case"end":return t.stop()}}),t,null,[[0,49],[14,41,44,47],[20,31,34,37]])})));return function(e){return t.apply(this,arguments)}}(),Cc=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},Tc=function(){var t=Ac(Ec().mark((function t(e){var r,n,o,a,i,s;return Ec().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,or("user_settings");case 9:if(null==(n=t.sent)||!n.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return o=Cc(r.url),t.next=16,chrome.tabGroups.query({title:o,windowId:r.windowId});case 16:if((a=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return i=t.sent,t.next=24,chrome.tabGroups.update(i,{title:o,color:Rs[i%Rs.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(s=a[0].id,-1!==r.groupId&&r.groupId===s){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:s});case 31:return t.next=33,hc(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),Fc=new Map,Dc=function(t){return!!t&&Fc.has("sidepanel_".concat(t))};function Gc(t){return Gc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gc(t)}function Nc(t){return function(t){if(Array.isArray(t))return Mc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||$c(t)||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 qc(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Gc(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Bc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=$c(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function $c(t,e){if(t){if("string"==typeof t)return Mc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mc(t,e):void 0}}function Mc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&chrome.tabs.ungroup(L.map((function(t){return t.id}))),n({success:!0,data:i}),t.abrupt("break",241);case 136:return chrome.windows.create({type:"normal"},(function(t){chrome.tabGroups.move(a.groupId,{index:-1,windowId:t.id}).then((function(){chrome.tabs.query({windowId:t.id,index:0}).then((function(t){pc(t.map((function(t){return t.id}))[0])}))}))})),n({success:!0,data:i}),t.abrupt("break",241);case 139:return chrome.windows.create({type:"normal"},(function(t){chrome.tabs.move(a.tabIds,{index:-1,windowId:t.id}).then((function(){chrome.tabs.query({windowId:t.id,index:0}).then((function(t){pc(t.map((function(t){return t.id}))[0])}))}))})),n({success:!0,data:i}),t.abrupt("break",241);case 142:return t.prev=142,t.next=145,Pc(a.windowId);case 145:n({success:!0,data:i}),t.next=152;break;case 148:t.prev=148,t.t6=t.catch(142),n({success:!1,error:t.t6.message});case 152:return t.abrupt("break",241);case 153:return t.next=155,Ic(a.windowId);case 155:return n({success:!0,data:i}),t.abrupt("break",241);case 157:return t.next=159,chrome.tabs.query({windowType:"normal",active:!1,discarded:!1,windowId:a.windowId,pinned:!1});case 159:s=t.sent,O=Bc(s);try{for(O.s();!(S=O.n()).done;)z=S.value,chrome.tabs.discard(z.id)}catch(t){O.e(t)}finally{O.f()}return n({success:!0,data:i}),t.abrupt("break",241);case 164:return t.next=166,chrome.tabs.query({windowType:"normal",active:!1,discarded:!0,windowId:a.windowId,pinned:!1});case 166:s=t.sent,A=Bc(s);try{for(A.s();!(P=A.n()).done;)I=P.value,pc(I.id)}catch(t){A.e(t)}finally{A.f()}return n({success:!0,data:i}),t.abrupt("break",241);case 171:return t.next=173,chrome.tabGroups.query({});case 173:C=t.sent,T=[],F=Bc(C),t.prev=176,F.s();case 178:if((D=F.n()).done){t.next=194;break}return G=D.value,t.prev=180,t.next=183,chrome.tabs.query({groupId:G.id});case 183:return N=t.sent,t.next=186,chrome.tabs.ungroup(N.map((function(t){return t.id})));case 186:t.next=192;break;case 188:t.prev=188,t.t7=t.catch(180),T.push("Failed to ungroup tabs in group ".concat(G.title,": ").concat(t.t7.message));case 192:t.next=178;break;case 194:t.next=199;break;case 196:t.prev=196,t.t8=t.catch(176),F.e(t.t8);case 199:return t.prev=199,F.f(),t.finish(199);case 202:return T.length>0?n({success:!1,error:T}):n({success:!0,data:i}),t.abrupt("break",241);case 204:return bn.getState().updateSetting("sidebarWidth",a.width),bc("updateSidebarWidth",a),n({success:!0}),t.abrupt("break",241);case 208:return t.next=210,hc(a.tabId);case 210:return n({success:!0}),t.abrupt("break",241);case 212:return t.next=214,chrome.tabs.create({active:!0});case 214:return n({success:!0}),t.abrupt("break",241);case 216:return bn.getState().updateSetting("sidebarEnabled",!1),bc("update_setting",{key:"sidebarEnabled",value:!1}),n({success:!0}),t.abrupt("break",241);case 220:return bn.getState().updateSetting("sidebarPosition",a.position),bc("update_setting",{key:"sidebarPosition",value:a.position}),n({success:!0}),t.abrupt("break",241);case 224:return t.next=226,ec.getState().setSiteConfig(e.data.hostname,e.data.config);case 226:return n({success:!0}),t.abrupt("break",241);case 228:return t.next=230,bn.getState().updateSetting(e.data.key,e.data.value);case 230:return t.next=232,bc("update_setting",e.data);case 232:return n({success:!0}),t.abrupt("break",241);case 234:return B=bn.getState().settings,t.next=237,ec.getState().getSiteConfig(Oo(null===(q=r.tab)||void 0===q?void 0:q.url));case 237:return $=t.sent,n({success:!0,data:{settings:B,siteConfigs:$,tab:r.tab,frameId:r.frameId}}),t.abrupt("break",241);case 240:return t.abrupt("break",241);case 241:t.next=247;break;case 243:t.prev=243,t.t9=t.catch(0),n({success:!1,error:t.t9.message});case 247:case"end":return t.stop()}}),t,null,[[0,243],[16,27,30,33],[40,50,53,56],[62,74,77,80],[83,93,96,99],[105,115,118,121],[142,148],[176,196,199,202],[180,188]])}))),Wc.apply(this,arguments)}var Yc=function(){var t=Uc(qc().mark((function t(e,r,n){var o,a,i,s,c,u,l,f,h,p,d,m,y;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Dc(null===(o=r.tab)||void 0===o?void 0:o.windowId)){t.next=2;break}return t.abrupt("return");case 2:a={},t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"open_sidepanel"===t.t0?8:"page_video_intersection_changed"===t.t0?14:"addQuickAccess"===t.t0?27:40;break;case 6:return n({success:!0,data:{is_sidepanel_opened:Dc(null===(i=r.tab)||void 0===i?void 0:i.windowId)}}),t.abrupt("break",40);case 8:if(null===(s=r.tab)||void 0===s||!s.windowId||Dc(null===(c=r.tab)||void 0===c?void 0:c.windowId)){t.next=12;break}return chrome.sidePanel.setOptions({enabled:!0,path:"sidepanel.html"}),t.next=12,chrome.sidePanel.open({tabId:r.tab.id,windowId:r.tab.windowId});case 12:return n({success:!0,data:a}),t.abrupt("break",40);case 14:if(null===(u=r.tab)||void 0===u||!u.id){t.next=25;break}if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=20;break}return t.next=18,wc(r.tab.id,"scroll","exitPictureInPicture");case 18:t.next=23;break;case 20:if(e.data.paused||e.data.muted){t.next=23;break}return t.next=23,wc(r.tab.id,"scroll","enterPictureInPicture");case 23:return t.next=25,Ls.getState().setTabConfig(r.tab.id,{video_visiable:e.data.video_visiable});case 25:return n({success:!0}),t.abrupt("break",40);case 27:l=e.data.items,f=Ls.getState().quickAccess,h=Bc(f);try{for(h.s();!(p=h.n()).done;)d=p.value,Vc.add(d.url)}catch(t){h.e(t)}finally{h.f()}m=qc().mark((function t(){var e;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=l[y],-1!==f.findIndex((function(t){return t.url===e.url}))||Vc.has(e.url)){t.next=5;break}return t.next=4,Ls.getState().setQuickAccess(crypto.randomUUID(),e);case 4:Vc.add(e.url);case 5:case"end":return t.stop()}}),t)})),y=0;case 33:if(!(yt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function uu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function lu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){uu(a,n,o,i,s,"next",t)}function s(t){uu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var fu=function(){var t=lu(cu().mark((function t(){return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ir("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),hu=an(Zo(Qr((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(i=lu(cu().mark((function e(){var r,n,o;return cu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fu();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),fetchSnapshot:(a=lu(cu().mark((function t(e){var r;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fu();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return a.apply(this,arguments)}),addSnapshot:(o=lu(cu().mark((function r(){var n,o,a,i,s,c,u,l,f=arguments;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=f.length>0&&void 0!==f[0]?f[0]:null,o=tu(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return a=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return i=r.sent,a=a.map((function(t){return iu(iu({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):i.filter((function(e){return e.windowId===t.id}))})})),s=(null==n?void 0:n.createdAt)||Date.now(),c={id:o,createdAt:s,windowCount:(null==n?void 0:n.windowCount)||a.length,tabCount:(null==n?void 0:n.tabCount)||a.reduce((function(t,e){return t+e.tabs.length}),0)},u=iu(iu({},c),{},{windows:a}),t({summaries:[].concat(nu(e().summaries),[c])}),r.next=18,fu();case 18:return l=r.sent,r.next=21,l.set("snapshot_summary_".concat(o),c);case 21:return r.next=23,l.set("snapshot_detail_".concat(o),u);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=lu(cu().mark((function r(n){var o;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fu();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=lu(cu().mark((function r(n){var o,a,i,s,c,u,l,f,h;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,a=n.createdAt,i=n.windowCount,s=n.tabCount,c=n.windows,l=iu(iu({},u={id:o,createdAt:a,windowCount:i,tabCount:s}),{},{windows:c}),f=e().summaries.find((function(t){return t.id===o})),!f){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(nu(e().summaries),[u])}),r.next=11,fu();case 11:return h=r.sent,r.next=14,h.set("snapshot_summary_".concat(o),u);case 14:return r.next=16,h.set("snapshot_detail_".concat(o),l);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=iu({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=iu({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,a,i})),sn)),pu=eu(lu(cu().mark((function t(){var e,r,n,o,a,i,s;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return iu(iu({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((a=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return i={createdAt:n,windowCount:o.length,tabCount:a,tabGroupCount:r.length},t.next=14,fu();case 14:return s=t.sent,t.next=17,s.set("cachedWindows",iu(iu({},i),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),du=function(){var t=lu(cu().mark((function t(){var e;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fu();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const mu=hu;function yu(t){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(t)}function gu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */gu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==yu(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function bu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var vu=function(){var t,e=(t=gu().mark((function t(){return gu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,_s();case 3:t.sent.prune(),du().then((function(t){t&&mu.getState().addSnapshot(t)}));case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){bu(a,n,o,i,s,"next",t)}function s(t){bu(a,n,o,i,s,"throw",t)}i(void 0)}))});return function(){return e.apply(this,arguments)}}();const wu=function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a-1};const Eu=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n=200){var u=e?null:Su(t);if(u)return za(u);i=!1,o=Ea,c=new ja}else c=e?[]:s;t:for(;++nt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Nu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function qu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Nu(a,n,o,i,s,"next",t)}function s(t){Nu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var Bu=function(){var t=qu(Gu().mark((function t(){return Gu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ir("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),$u=new Map,Mu=an(Qr((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(o=qu(Gu().mark((function e(){var r,n,o,a,i,s;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,or("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,o=void 0===n?3:n,e.next=10,Bu();case 10:return a=e.sent,e.next=13,a.all();case 13:i=e.sent,s=i.filter((function(t){return t.closed_time>=Date.now()-1e3*o*60*60*24})),t({histories:s,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),addHistory:(n=qu(Gu().mark((function e(r){var n,o,a,i,s,c,u;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,or("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,o=n.tabIntoHistoryNeedAliveSeconds,!(Date.now()t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Hu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ku(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Hu(a,n,o,i,s,"next",t)}function s(t){Hu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var Qu=function(){var t=Ku(Yu().mark((function t(e){var r,n,o,a;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,or("user_settings");case 2:r=t.sent,n=r.saveMemoryAction,o=r.discardInactiveTabsMinutes,a=r.closeInactiveTabsMinutes,t.t0=n,t.next="close"===t.t0?9:"discard"===t.t0?11:13;break;case 9:return chrome.alarms.create("tab_delay_close_".concat(e),{delayInMinutes:a}),t.abrupt("break",14);case 11:return chrome.alarms.create("tab_delay_discard_".concat(e),{delayInMinutes:o}),t.abrupt("break",14);case 13:return t.abrupt("break",14);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ju=function(){var t=Ku(Yu().mark((function t(e){return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.alarms.clear("tab_delay_close_".concat(e));case 2:return t.next=4,chrome.alarms.clear("tab_delay_discard_".concat(e));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function Xu(t){return Xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xu(t)}function Zu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Zu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Xu(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function tl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function el(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function ol(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function jl(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}chrome.runtime.onConnect.addListener((function(t){if(t.name.startsWith("sidepanel_")){Fc.set(t.name,t);var e=parseInt(t.name.split("_")[1]);bc("sidepanel_opened",{name:t.name,windowId:e}),t.onDisconnect.addListener((function(){return function(t,e){Fc.delete(t.name),bc("sidepanel_closed",{name:t.name,windowId:e})}(t,e)}))}})),chrome.tabs.onCreated.addListener(hl),chrome.tabs.onUpdated.addListener(pl),chrome.tabs.onActivated.addListener(dl),chrome.tabs.onRemoved.addListener(ml),chrome.tabs.onReplaced.addListener(yl),chrome.tabs.onZoomChange.addListener(gl),chrome.tabGroups.onUpdated.addListener(bl),chrome.windows.onRemoved.addListener(vl),chrome.windows.onFocusChanged.addListener(wl,{windowTypes:["normal"]}),chrome.runtime.onMessage.addListener((function(t,e,r){return function(t,e,r){Wc.apply(this,arguments)}(t,e,r),Yc(t,e,r),!0})),ll(),chrome.alarms.onAlarm.addListener(function(){var t=Ku(Yu().mark((function t(e){var r,n,o,a,i,s,c,u;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.name.startsWith("tab_delay")){t.next=29;break}return t.next=4,or("user_settings");case 4:return r=t.sent,n=r.saveMemoryAction,o=e.name.split("_"),a=Vu(o,4),i=a[2],s=a[3],c=parseInt(s),t.next=10,chrome.tabs.get(c);case 10:if((u=t.sent)&&n===i){t.next=15;break}return t.next=14,Ju(c);case 14:case 18:return t.abrupt("return");case 15:if(!u.audible&&!u.active&&u.autoDiscardable){t.next=19;break}return t.next=18,Qu(c);case 19:t.t0=i,t.next="close"===t.t0?22:"discard"===t.t0?25:28;break;case 22:return t.next=24,pc(c);case 24:case 27:return t.abrupt("break",29);case 25:return t.next=27,chrome.tabs.discard(c);case 28:case 29:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),chrome.action.onClicked.addListener((function(t){"sidePanel"in chrome?chrome.windows.create({url:chrome.runtime.getURL("popup.html#/clickIcon"),type:"popup",width:300,height:300,tabId:t.id}):chrome.action.setPopup({popup:"popup.html"})})),chrome.runtime.onInstalled.addListener(function(){var t,e=(t=xl().mark((function t(e){return xl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=e.reason,t.next="install"===t.t0?4:"update"===t.t0?17:20;break;case 4:return t.next=6,Me("local").get("uuid");case 6:if(t.sent){t.next=15;break}return t.t1=Me("local"),t.next=12,ar();case 12:return t.t2=t.sent,t.next=15,t.t1.set.call(t.t1,"uuid",t.t2);case 15:return chrome.runtime.setUninstallURL("https://docs.google.com/forms/d/e/1FAIpQLScw0nAcGOEIe4Anfte6REcgQ2jxzsiLG8OAUs2KUrVMLId-0A/viewform?usp=sf_link"),t.abrupt("break",21);case 17:return t.next=19,ar();case 19:case 20:return t.abrupt("break",21);case 21:Pn(),In(),Cn();case 24:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){jl(a,n,o,i,s,"next",t)}function s(t){jl(a,n,o,i,s,"throw",t)}i(void 0)}))});return function(t){return e.apply(this,arguments)}}()),chrome.runtime.onStartup.addListener(vu),chrome.commands.onCommand.addListener((function(t){switch(t){case"openSidePanel":chrome.tabs.query({active:!0,currentWindow:!0},(function(t){var e=t[0].id,r=t[0].windowId;Dc(r)?w("close_sidepanel"):chrome.sidePanel.open({tabId:e})}));break;case"openPopup":chrome.action.setPopup({popup:"popup.html"}),chrome.action.openPopup()}}))})(); +var n=r(30758),o=r(21143);var a="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},i=o.useSyncExternalStore,s=n.useRef,c=n.useEffect,u=n.useMemo,l=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,r,n,o){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=u((function(){function t(t){if(!c){if(c=!0,i=t,t=n(t),void 0!==o&&h.hasValue){var e=h.value;if(o(e,t))return s=e}return s=t}if(e=s,a(i,t))return e;var r=n(t);return void 0!==o&&o(e,r)?e:(i=t,s=r)}var i,s,c=!1,u=void 0===r?null:r;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]}),[e,r,n,o]);var p=i(t,f[0],f[1]);return c((function(){h.hasValue=!0,h.value=p}),[p]),l(p),p}},21143:(t,e,r)=>{t.exports=r(8878)},20741:(t,e,r)=>{t.exports=r(86081)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showTabNavs:!1,tabNavOptions:{delimiter:!1,navs:[{id:1,name:"OpenTabs",enable:!0,sort:1,showCount:!0,align:"center"},{id:2,name:"bookmarks",enable:!0,sort:2,showCount:!0,align:"center",permission:"bookmarks"},{id:3,name:"history",enable:!1,sort:3,showCount:!0,days:1,align:"center",permission:"history"},{id:4,name:"RecentlyTabs",enable:!1,sort:4,showCount:!0,days:1,align:"center"},{id:5,name:"quickAccess",enable:!1,sort:5,showCount:!0,align:"center"},{id:6,name:"readingList",enable:!1,sort:6,showCount:!0,align:"center",permission:"readingList"}]},showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center"},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center"},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center"},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center"},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center"},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center"},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center"}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:1,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},a=[chrome.runtime.getURL("images/bg.jpg")],i={fontScale:.75,fontWeight:400,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"},s={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},f={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},h={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},p={rememberSiteZoom:!0},d={bookmarkViewMode:"tree",bookmarkHideEmptyFolders:!1,bookmarkSortOrder:"default",bookmarkExpandAll:!1,bookmarkTreeConnectorLines:!0,bookmarkShowUrl:!1};function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),s=new I(n||[]);return o(i,"_invoke",{value:S(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",b={};function v(){}function w(){}function k(){}var x={};u(x,i,(function(){return this}));var j=Object.getPrototypeOf,_=j&&j(j(C([])));_&&_!==r&&n.call(_,i)&&(x=_);var E=k.prototype=v.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==m(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=z(s,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?g:p,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function z(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,z(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,b;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function g(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){g(a,n,o,i,s,"next",t)}function s(t){g(a,n,o,i,s,"throw",t)}i(void 0)}))}}var v=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],w=function(t){return v.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},k=function(){var t=b(y().mark((function t(e){var r,n,o,a,i=arguments;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=i.length>2?i[2]:void 0,o=i.length>3?i[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),w(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),x=function(){var t=b(y().mark((function t(e,r){var n,o,a=arguments;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return o=t.sent,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t.catch(1),w(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}();const j=(t,e)=>e.some((e=>t instanceof e));let _,E;const L=new WeakMap,O=new WeakMap,S=new WeakMap;let z={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return L.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return C(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function A(t){z=t(z)}function P(t){return(E||(E=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(T(this),e),C(this.request)}:function(...e){return C(t.apply(T(this),e))}}function I(t){return"function"==typeof t?P(t):(t instanceof IDBTransaction&&function(t){if(L.has(t))return;const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",a),t.removeEventListener("abort",a)},o=()=>{e(),n()},a=()=>{r(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",o),t.addEventListener("error",a),t.addEventListener("abort",a)}));L.set(t,e)}(t),j(t,_||(_=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(t,z):t)}function C(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("success",o),t.removeEventListener("error",a)},o=()=>{e(C(t.result)),n()},a=()=>{r(t.error),n()};t.addEventListener("success",o),t.addEventListener("error",a)}));return S.set(e,t),e}(t);if(O.has(t))return O.get(t);const e=I(t);return e!==t&&(O.set(t,e),S.set(e,t)),e}const T=t=>S.get(t);function F(t,e,{blocked:r,upgrade:n,blocking:o,terminated:a}={}){const i=indexedDB.open(t,e),s=C(i);return n&&i.addEventListener("upgradeneeded",(t=>{n(C(i.result),t.oldVersion,t.newVersion,C(i.transaction),t)})),r&&i.addEventListener("blocked",(t=>r(t.oldVersion,t.newVersion,t))),s.then((t=>{a&&t.addEventListener("close",(()=>a())),o&&t.addEventListener("versionchange",(t=>o(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),s}const D=["get","getKey","getAll","getAllKeys","count"],G=["put","add","delete","clear"],N=new Map;function q(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(N.get(e))return N.get(e);const r=e.replace(/FromIndex$/,""),n=e!==r,o=G.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!o&&!D.includes(r))return;const a=async function(t,...e){const a=this.transaction(t,o?"readwrite":"readonly");let i=a.store;return n&&(i=i.index(e.shift())),(await Promise.all([i[r](...e),o&&a.done]))[0]};return N.set(e,a),a}A((t=>({...t,get:(e,r,n)=>q(e,r)||t.get(e,r,n),has:(e,r)=>!!q(e,r)||t.has(e,r)})));const B=["continue","continuePrimaryKey","advance"],$={},M=new WeakMap,R=new WeakMap,U={get(t,e){if(!B.includes(e))return t[e];let r=$[e];return r||(r=$[e]=function(...t){M.set(this,R.get(this)[e](...t))}),r}};async function*V(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;const r=new Proxy(e,U);for(R.set(r,e),S.set(r,T(e));e;)yield r,e=await(M.get(r)||e.continue()),M.delete(r)}function W(t,e){return e===Symbol.asyncIterator&&j(t,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===e&&j(t,[IDBIndex,IDBObjectStore])}function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function H(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return K(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?K(t,e):void 0}}(t,e)||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 K(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function J(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function X(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){J(a,n,o,i,s,"next",t)}function s(t){J(a,n,o,i,s,"throw",t)}i(void 0)}))}}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tt(t,e){for(var r=0;r({...t,get:(e,r,n)=>W(e,r)?V:t.get(e,r,n),has:(e,r)=>W(e,r)||t.has(e,r)})));var nt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._db=null,this._cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==i[2]?i[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this._ensureDbConnection();case 5:return t.next=7,this._db;case 7:return a=t.sent,t.next=10,a.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return g.apply(this,arguments)})},{key:"get",value:(y=X(Q().mark((function t(e){var r,n;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return y.apply(this,arguments)})},{key:"getOrSet",value:(m=X(Q().mark((function t(e,r){var n,o,a,i=arguments;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>2&&void 0!==i[2]?i[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return a=t.t0,t.next=16,this.set(e,a,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return m.apply(this,arguments)})},{key:"remove",value:(d=X(Q().mark((function t(e){var r;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return d.apply(this,arguments)})},{key:"delete",value:(p=X(Q().mark((function t(e){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"prune",value:(h=X(Q().mark((function t(){var e;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return h.apply(this,arguments)})},{key:"clear",value:(f=X(Q().mark((function t(){var e;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return f.apply(this,arguments)})},{key:"keys",value:(l=X(Q().mark((function t(){var e,r,n,o=arguments;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return l.apply(this,arguments)})},{key:"length",value:(u=X(Q().mark((function t(){var e;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return u.apply(this,arguments)})},{key:"whereIn",value:(c=X(Q().mark((function t(e){var r=this;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return c.apply(this,arguments)})},{key:"all",value:(s=X(Q().mark((function t(){var e,r,n;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return s.apply(this,arguments)})},{key:"batchSet",value:(i=X(Q().mark((function t(e){var r,n,o,a,i,s,c,u,l,f,h=arguments;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=h.length>1&&void 0!==h[1]?h[1]:0,t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),i=r?Date.now()+1e3*r:0,s=0,c=Object.entries(e);case 11:if(!(sa)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return i=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(i));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return a.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],n=[{key:"create",value:(o=X(Q().mark((function e(){var r,n=arguments;return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})}],r&&tt(e.prototype,r),n&&tt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,o,a,i,s,c,u,l,f,h,p,d,m,y,g,b,v,w}();et(nt,"stores",new Map),et(nt,"DEFAULT_STORE_NAME","rabbitpair"),et(nt,"DEFAULT_CLEANUP_INTERVAL",36e5);var ot=new Map;function at(t){return it.apply(this,arguments)}function it(){return it=X(Q().mark((function t(e){var r,n,o=arguments;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},ot.has(e)){t.next=13;break}return t.prev=2,t.next=5,nt.create(e,r);case 5:n=t.sent,ot.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",ot.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),it.apply(this,arguments)}const st=Array.isArray;const ct="object"==typeof global&&global&&global.Object===Object&&global;var ut="object"==typeof self&&self&&self.Object===Object&&self;const lt=ct||ut||Function("return this")();const ft=lt.Symbol;var ht=Object.prototype,pt=ht.hasOwnProperty,dt=ht.toString,mt=ft?ft.toStringTag:void 0;const yt=function(t){var e=pt.call(t,mt),r=t[mt];try{t[mt]=void 0;var n=!0}catch(t){}var o=dt.call(t);return n&&(e?t[mt]=r:delete t[mt]),o};var gt=Object.prototype.toString;const bt=function(t){return gt.call(t)};var vt=ft?ft.toStringTag:void 0;const wt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":vt&&vt in Object(t)?yt(t):bt(t)};const kt=function(t){return null!=t&&"object"==typeof t};const xt=function(t){return"symbol"==typeof t||kt(t)&&"[object Symbol]"==wt(t)};var jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_t=/^\w*$/;const Et=function(t,e){if(st(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!xt(t))||(_t.test(t)||!jt.test(t)||null!=e&&t in Object(e))};const Lt=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const Ot=function(t){if(!Lt(t))return!1;var e=wt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const St=lt["__core-js_shared__"];var zt,At=(zt=/[^.]+$/.exec(St&&St.keys&&St.keys.IE_PROTO||""))?"Symbol(src)_1."+zt:"";const Pt=function(t){return!!At&&At in t};var It=Function.prototype.toString;const Ct=function(t){if(null!=t){try{return It.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var Tt=/^\[object .+?Constructor\]$/,Ft=Function.prototype,Dt=Object.prototype,Gt=Ft.toString,Nt=Dt.hasOwnProperty,qt=RegExp("^"+Gt.call(Nt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Bt=function(t){return!(!Lt(t)||Pt(t))&&(Ot(t)?qt:Tt).test(Ct(t))};const $t=function(t,e){return null==t?void 0:t[e]};const Mt=function(t,e){var r=$t(t,e);return Bt(r)?r:void 0};const Rt=Mt(Object,"create");const Ut=function(){this.__data__=Rt?Rt(null):{},this.size=0};const Vt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Wt=Object.prototype.hasOwnProperty;const Yt=function(t){var e=this.__data__;if(Rt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Wt.call(e,t)?e[t]:void 0};var Ht=Object.prototype.hasOwnProperty;const Kt=function(t){var e=this.__data__;return Rt?void 0!==e[t]:Ht.call(e,t)};const Qt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Rt&&void 0===e?"__lodash_hash_undefined__":e,this};function Jt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1};const ie=function(t,e){var r=this.__data__,n=ee(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function se(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ge(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ne(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ge(a,n,o,i,s,"next",t)}function s(t){Ge(a,n,o,i,s,"throw",t)}i(void 0)}))}}function qe(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(f=Ne(De().mark((function t(e,r){return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},a=r,(o=Be(o=e))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,a}),t,this)}))),function(t,e){return f.apply(this,arguments)})},{key:"get",value:(l=Ne(De().mark((function t(e){var r;return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",Ie(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"getOrSet",value:(u=Ne(De().mark((function t(e,r){var n;return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})},{key:"remove",value:(c=Ne(De().mark((function t(e){return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"delete",value:(s=Ne(De().mark((function t(e){return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"clear",value:(i=Ne(De().mark((function t(){return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"prune",value:(a=Ne(De().mark((function t(){return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"keys",value:(o=Ne(De().mark((function t(){var e,r,n=arguments;return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"whereIn",value:(n=Ne(De().mark((function t(e){var r,n,o,a,i,s,c=this;return De().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return c.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=Te(o);try{for(a.s();!(i=a.n()).done;)(s=i.value)&&r.push(s)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return n.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&qe(t.prototype,e),r&&qe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,n,o,a,i,s,c,u,l,f}();const Re=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if($e.has(t))return $e.get(t);var e=new Me(t);return $e.set(t,e),e};function Ue(t){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ue(t)}function Ve(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ve=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Ue(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function We(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ye(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){We(a,n,o,i,s,"next",t)}function s(t){We(a,n,o,i,s,"throw",t)}i(void 0)}))}}function He(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,a,i){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,i)),a),r)}function a(t,e,r,n,a,i,s){return o(e&r|~e&n,t,e,a,i,s)}function i(t,e,r,n,a,i,s){return o(e&n|r&~n,t,e,a,i,s)}function s(t,e,r,n,a,i,s){return o(e^r^n,t,e,a,i,s)}function c(t,e,r,n,a,i,s){return o(r^(e|~n),t,e,a,i,s)}var u,l,f,h,p,d=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function tr(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function er(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){tr(a,n,o,i,s,"next",t)}function s(t){tr(a,n,o,i,s,"throw",t)}i(void 0)}))}}var rr=Re("local"),nr=function(){var t=er(Ze().mark((function t(e){var r;return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ke(e);case 2:return r=t.sent,t.abrupt("return",rr.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),or=function(){var t=er(Ze().mark((function t(e,r){return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Je.set(e,r),t.abrupt("return",rr.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),ar=function(){var t=er(Ze().mark((function t(e){var r;return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=Je.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,rr.get(e);case 5:return(r=t.sent)&&Je.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ir=function(){var t=er(Ze().mark((function t(){var e;return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=Je.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,rr.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return Je.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,rr.set("rabbitpair_active_user_uuid",e);case 12:return Je.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),sr=function(){var t=er(Ze().mark((function t(){var e,r,n,o,a=arguments;return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=a.length>0&&void 0!==a[0]?a[0]:"stored"),!(n=Je.get(r))){t.next=5;break}return t.abrupt("return",n);case 5:return t.next=7,ir();case 7:return o=t.sent,n=at("users/"+o+"/public/"+e),Je.set(r,n),t.abrupt("return",n);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),cr=Symbol.for("immer-nothing"),ur=Symbol.for("immer-draftable"),lr=Symbol.for("immer-state");function fr(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var hr=Object.getPrototypeOf;function pr(t){return!!t&&!!t[lr]}function dr(t){return!!t&&(yr(t)||Array.isArray(t)||!!t[ur]||!!t.constructor?.[ur]||kr(t)||xr(t))}var mr=Object.prototype.constructor.toString();function yr(t){if(!t||"object"!=typeof t)return!1;const e=hr(t);if(null===e)return!0;const r=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===mr}function gr(t,e){0===br(t)?Reflect.ownKeys(t).forEach((r=>{e(r,t[r],t)})):t.forEach(((r,n)=>e(n,r,t)))}function br(t){const e=t[lr];return e?e.type_:Array.isArray(t)?1:kr(t)?2:xr(t)?3:0}function vr(t,e){return 2===br(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function wr(t,e,r){const n=br(t);2===n?t.set(e,r):3===n?t.add(r):t[e]=r}function kr(t){return t instanceof Map}function xr(t){return t instanceof Set}function jr(t){return t.copy_||t.base_}function _r(t,e){if(kr(t))return new Map(t);if(xr(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);const r=yr(t);if(!0===e||"class_only"===e&&!r){const e=Object.getOwnPropertyDescriptors(t);delete e[lr];let r=Reflect.ownKeys(e);for(let n=0;n1&&(t.set=t.add=t.clear=t.delete=Lr),Object.freeze(t),e&&Object.entries(t).forEach((([t,e])=>Er(e,!0)))),t}function Lr(){fr(2)}function Or(t){return Object.isFrozen(t)}var Sr,zr={};function Ar(t){const e=zr[t];return e||fr(0),e}function Pr(){return Sr}function Ir(t,e){e&&(Ar("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Cr(t){Tr(t),t.drafts_.forEach(Dr),t.drafts_=null}function Tr(t){t===Sr&&(Sr=t.parent_)}function Fr(t){return Sr={drafts_:[],parent_:Sr,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Dr(t){const e=t[lr];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function Gr(t,e){e.unfinalizedDrafts_=e.drafts_.length;const r=e.drafts_[0];return void 0!==t&&t!==r?(r[lr].modified_&&(Cr(e),fr(4)),dr(t)&&(t=Nr(e,t),e.parent_||Br(e,t)),e.patches_&&Ar("Patches").generateReplacementPatches_(r[lr].base_,t,e.patches_,e.inversePatches_)):t=Nr(e,r,[]),Cr(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==cr?t:void 0}function Nr(t,e,r){if(Or(e))return e;const n=e[lr];if(!n)return gr(e,((o,a)=>qr(t,n,e,o,a,r))),e;if(n.scope_!==t)return e;if(!n.modified_)return Br(t,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const e=n.copy_;let o=e,a=!1;3===n.type_&&(o=new Set(e),e.clear(),a=!0),gr(o,((o,i)=>qr(t,n,e,o,i,r,a))),Br(t,e,!1),r&&t.patches_&&Ar("Patches").generatePatches_(n,r,t.patches_,t.inversePatches_)}return n.copy_}function qr(t,e,r,n,o,a,i){if(pr(o)){const i=Nr(t,o,a&&e&&3!==e.type_&&!vr(e.assigned_,n)?a.concat(n):void 0);if(wr(r,n,i),!pr(i))return;t.canAutoFreeze_=!1}else i&&r.add(o);if(dr(o)&&!Or(o)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;Nr(t,o),e&&e.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||Br(t,o)}}function Br(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Er(e,r)}var $r={get(t,e){if(e===lr)return t;const r=jr(t);if(!vr(r,e))return function(t,e,r){const n=Ur(e,r);return n?"value"in n?n.value:n.get?.call(t.draft_):void 0}(t,r,e);const n=r[e];return t.finalized_||!dr(n)?n:n===Rr(t.base_,e)?(Wr(t),t.copy_[e]=Yr(n,t)):n},has:(t,e)=>e in jr(t),ownKeys:t=>Reflect.ownKeys(jr(t)),set(t,e,r){const n=Ur(jr(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){const n=Rr(jr(t),e),i=n?.[lr];if(i&&i.base_===r)return t.copy_[e]=r,t.assigned_[e]=!1,!0;if(((o=r)===(a=n)?0!==o||1/o==1/a:o!=o&&a!=a)&&(void 0!==r||vr(t.base_,e)))return!0;Wr(t),Vr(t)}var o,a;return t.copy_[e]===r&&(void 0!==r||e in t.copy_)||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_[e]=!0),!0},deleteProperty:(t,e)=>(void 0!==Rr(t.base_,e)||e in t.base_?(t.assigned_[e]=!1,Wr(t),Vr(t)):delete t.assigned_[e],t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){const r=jr(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n?{writable:!0,configurable:1!==t.type_||"length"!==e,enumerable:n.enumerable,value:r[e]}:n},defineProperty(){fr(11)},getPrototypeOf:t=>hr(t.base_),setPrototypeOf(){fr(12)}},Mr={};function Rr(t,e){const r=t[lr];return(r?jr(r):t)[e]}function Ur(t,e){if(!(e in t))return;let r=hr(t);for(;r;){const t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=hr(r)}}function Vr(t){t.modified_||(t.modified_=!0,t.parent_&&Vr(t.parent_))}function Wr(t){t.copy_||(t.copy_=_r(t.base_,t.scope_.immer_.useStrictShallowCopy_))}gr($r,((t,e)=>{Mr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Mr.deleteProperty=function(t,e){return Mr.set.call(this,t,e,void 0)},Mr.set=function(t,e,r){return $r.set.call(this,t[0],e,r,t[0])};function Yr(t,e){const r=kr(t)?Ar("MapSet").proxyMap_(t,e):xr(t)?Ar("MapSet").proxySet_(t,e):function(t,e){const r=Array.isArray(t),n={type_:r?1:0,scope_:e?e.scope_:Pr(),modified_:!1,finalized_:!1,assigned_:{},parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,a=$r;r&&(o=[n],a=Mr);const{revoke:i,proxy:s}=Proxy.revocable(o,a);return n.draft_=s,n.revoke_=i,s}(t,e);return(e?e.scope_:Pr()).drafts_.push(r),r}function Hr(t){if(!dr(t)||Or(t))return t;const e=t[lr];let r;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=_r(t,e.scope_.immer_.useStrictShallowCopy_)}else r=_r(t,!0);return gr(r,((t,e)=>{wr(r,t,Hr(e))})),e&&(e.finalized_=!1),r}var Kr=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,e,r)=>{if("function"==typeof t&&"function"!=typeof e){const r=e;e=t;const n=this;return function(t=r,...o){return n.produce(t,(t=>e.call(this,t,...o)))}}let n;if("function"!=typeof e&&fr(6),void 0!==r&&"function"!=typeof r&&fr(7),dr(t)){const o=Fr(this),a=Yr(t,void 0);let i=!0;try{n=e(a),i=!1}finally{i?Cr(o):Tr(o)}return Ir(o,r),Gr(n,o)}if(!t||"object"!=typeof t){if(n=e(t),void 0===n&&(n=t),n===cr&&(n=void 0),this.autoFreeze_&&Er(n,!0),r){const e=[],o=[];Ar("Patches").generateReplacementPatches_(t,n,e,o),r(e,o)}return n}fr(1)},this.produceWithPatches=(t,e)=>{if("function"==typeof t)return(e,...r)=>this.produceWithPatches(e,(e=>t(e,...r)));let r,n;return[this.produce(t,e,((t,e)=>{r=t,n=e})),r,n]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){dr(t)||fr(8),pr(t)&&(t=function(t){pr(t)||fr(10);return Hr(t)}(t));const e=Fr(this),r=Yr(t,void 0);return r[lr].isManual_=!0,Tr(e),r}finishDraft(t,e){const r=t&&t[lr];r&&r.isManual_||fr(9);const{scope_:n}=r;return Ir(n,e),Gr(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){const n=e[r];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}r>-1&&(e=e.slice(r+1));const n=Ar("Patches").applyPatches_;return pr(t)?n(t,e):this.produce(t,(t=>n(t,e)))}},Qr=Kr.produce;Kr.produceWithPatches.bind(Kr),Kr.setAutoFreeze.bind(Kr),Kr.setUseStrictShallowCopy.bind(Kr),Kr.applyPatches.bind(Kr),Kr.createDraft.bind(Kr),Kr.finishDraft.bind(Kr);const Jr=t=>(e,r,n)=>(n.setState=(t,r,...n)=>{const o="function"==typeof t?Qr(t):t;return e(o,r,...n)},t(n.setState,r,n));var Xr=r(30758),Zr=r(20741);const tn=t=>{let e;const r=new Set,n=(t,n)=>{const o="function"==typeof t?t(e):t;if(!Object.is(o,e)){const t=e;e=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},e,o),r.forEach((r=>r(e,t)))}},o=()=>e,a={setState:n,getState:o,getInitialState:()=>i,subscribe:t=>(r.add(t),()=>r.delete(t)),destroy:()=>{r.clear()}},i=e=t(n,o,a);return a},en=t=>t?tn(t):tn;const{useDebugValue:rn}=Xr,{useSyncExternalStoreWithSelector:nn}=Zr,on=t=>t;const an=(t,e)=>{const r=en(t),n=(t,n=e)=>function(t,e=on,r){const n=nn(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,r);return rn(n),n}(r,t,n);return Object.assign(n,r),n},sn=(t,e)=>t?an(t,e):an;function cn(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(const[r,n]of t)if(!Object.is(n,e.get(r)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0}const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!1;for(const n of r)if(!Object.prototype.hasOwnProperty.call(e,n)||!Object.is(t[n],e[n]))return!1;return!0}function un(t){return un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},un(t)}function ln(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ln=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==un(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function fn(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function hn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){fn(a,n,o,i,s,"next",t)}function s(t){fn(a,n,o,i,s,"throw",t)}i(void 0)}))}}function pn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dn(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ln(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||On(t,e)||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 On(t,e){if(t){if("string"==typeof t)return Sn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sn(t,e):void 0}}function Sn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=26;break}return t.next=24,m(x,xn(xn({},r[x]),_));case 24:return t.next=26,k("update_setting",{key:x,value:xn(xn({},r[x]),_)});case 26:t.next=32;break;case 28:return t.next=30,m(x,j);case 30:return t.next=32,k("update_setting",{key:x,value:j});case 32:y++,t.next=15;break;case 35:Pn();case 37:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Cn=function(){var t=An(En().mark((function t(){var e,r;return En().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getManifest(),t.next=3,ar("version");case 3:if(r=t.sent){t.next=7;break}return t.next=7,chrome.tabs.create({url:chrome.runtime.getURL("options.html"),active:!0});case 7:if(e.version===r){t.next=14;break}return t.next=10,or("version",e.version);case 10:return t.next=12,or("new_version_badge",!0);case 12:return t.next=14,or("new_changelog_badge",!0);case 14:case 15:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const Tn=(t,e)=>{const r=t.slice(),n=[];let o=e;for(;0!==r.length;){const t=r.pop(),e=t.toLowerCase();if(o.children.has("*")){if(o.children.has("!"+e))break;o=o.children.get("*")}else{if(!1===o.children.has(e))break;o=o.children.get(e)}n.unshift(t)}return n},Fn="[a-fA-F\\d:]",Dn=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${Fn})|(?<=${Fn})(?=\\s|$))`:"",Gn="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Nn="[a-fA-F\\d]{1,4}",qn=`\n(?:\n(?:${Nn}:){7}(?:${Nn}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:${Nn}:){6}(?:${Gn}|:${Nn}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:${Nn}:){5}(?::${Gn}|(?::${Nn}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:${Nn}:){4}(?:(?::${Nn}){0,1}:${Gn}|(?::${Nn}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:${Nn}:){3}(?:(?::${Nn}){0,2}:${Gn}|(?::${Nn}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:${Nn}:){2}(?:(?::${Nn}){0,3}:${Gn}|(?::${Nn}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:${Nn}:){1}(?:(?::${Nn}){0,4}:${Gn}|(?::${Nn}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::${Nn}){0,5}:${Gn}|(?::${Nn}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),Bn=new RegExp(`(?:^${Gn}$)|(?:^${qn}$)`),$n=new RegExp(`^${Gn}$`),Mn=new RegExp(`^${qn}$`),Rn=t=>t&&t.exact?Bn:new RegExp(`(?:${Dn(t)}${Gn}${Dn(t)})|(?:${Dn(t)}${qn}${Dn(t)})`,"g");Rn.v4=t=>t&&t.exact?$n:new RegExp(`${Dn(t)}${Gn}${Dn(t)}`,"g"),Rn.v6=t=>t&&t.exact?Mn:new RegExp(`${Dn(t)}${qn}${Dn(t)}`,"g");const Un=Rn;const{toString:Vn}=Object.prototype;const Wn={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};function Yn(t,e={}){if(r=t,"[object RegExp]"!==Vn.call(r))throw new TypeError("Expected a RegExp instance");var r;const n=Object.keys(Wn).map((r=>("boolean"==typeof e[r]?e[r]:t[r])?Wn[r]:"")).join(""),o=new RegExp(e.source||t.source,n);return o.lastIndex="number"==typeof e.lastIndex?e.lastIndex:t.lastIndex,o}function Hn(t,e,{timeout:r}={}){try{return function(t){const e=(...e)=>t(...e);return Object.defineProperty(e,"name",{value:`functionTimeout(${t.name||""})`,configurable:!0}),e}((()=>Yn(t).test(e)))()}catch(t){throw t}}const Kn=15,Qn=45,Jn={timeout:400};function Xn(t){return function(t){return!(t.length>Qn)&&Hn(Un.v6({exact:!0}),t,Jn)}(t)?6:function(t){return!(t.length>Kn)&&Hn(Un.v4({exact:!0}),t,Jn)}(t)?4:void 0}const Zn=".",to=new TextEncoder;var eo,ro,no;!function(t){t.Lax="LAX",t.Strict="STRICT"}(eo||(eo={})),function(t){t.NoHostname="NO_HOSTNAME",t.DomainMaxLength="DOMAIN_MAX_LENGTH",t.LabelMinLength="LABEL_MIN_LENGTH",t.LabelMaxLength="LABEL_MAX_LENGTH",t.LabelInvalidCharacter="LABEL_INVALID_CHARACTER",t.LastLabelInvalid="LAST_LABEL_INVALID"}(ro||(ro={})),function(t){t.ValidIp="VALID_IP",t.ValidDomain="VALID_DOMAIN",t.Error="ERROR"}(no||(no={}));const oo=t=>({type:ro.NoHostname,message:`The given input ${String(t)} does not look like a hostname.`,column:1}),ao=(t,e)=>{const r=t.length;return{type:ro.LabelMinLength,message:`Label "${t}" is too short. Label is ${r} octets long but should be at least 1.`,column:e}},io=(t,e)=>{const r=t.length;return{type:ro.LabelMaxLength,message:`Label "${t}" is too long. Label is ${r} octets long but should not be longer than 63.`,column:e}},so=(t,e,r)=>({type:ro.LabelInvalidCharacter,message:`Label "${t}" contains invalid character "${e}" at column ${r}.`,column:r}),co={[eo.Lax]:t=>{const e=[];let r=1;for(const n of t){const t=to.encode(n);t.length<1?e.push(ao(n,r)):t.length>63&&e.push(io(n,r)),r+=n.length+1}return e},[eo.Strict]:t=>{const e=[];let r,n=1;for(const o of t){const t=/[^\da-z-]/i.exec(o);t&&e.push(so(o,t[0],t.index+1)),o.startsWith("-")?e.push(so(o,"-",n)):o.endsWith("-")&&e.push(so(o,"-",n+o.length-1)),o.length<1?e.push(ao(o,n)):o.length>63&&e.push(io(o,n)),n+=o.length+1,r=o}return void 0!==r&&!1===/[a-z-]/iu.test(r)&&e.push(((t,e)=>({type:ro.LabelInvalidCharacter,message:`Last label "${t}" must not be all-numeric.`,column:e}))(r,n-r.length-1)),e}},uo=Symbol("ROOT"),lo=Symbol("CHILD"),fo=t=>{const e={type:uo,children:new Map};let r="",n=e,o=e;const a=()=>{o=((t,e)=>{let r=t.children.get(e);return void 0===r&&(r={type:lo,label:e,children:new Map,parent:t},t.children.set(e,r)),r})(n,r),r=""};for(let i=0;i":a(),n=o;continue;case"|":a(),n=e;continue;case"<":if(n.type===uo)throw new Error(`Error in serialized trie at position ${i}: Cannot go up, current parent node is already root`);a(),n=n.parent;continue}r+=s}return""!==r&&a(),e},ho=["localhost","local","example","invalid","test"];var po;!function(t){t.Invalid="INVALID",t.Ip="IP",t.Reserved="RESERVED",t.NotListed="NOT_LISTED",t.Listed="LISTED"}(po||(po={}));const mo=(t,e)=>e>=0&&e({subDomains:t.slice(0,Math.max(0,e)),domain:mo(t,e),topLevelDomains:t.slice(e+1)});let go,bo;const vo=(t,e)=>{const r=((t,e={})=>{if("string"!=typeof t)return{type:no.Error,errors:[oo(t)]};if(""===t)return{type:no.ValidDomain,domain:t,labels:[]};const r=t.replace(/^\[|]$/g,""),n=Xn(r);if(void 0!==n)return{type:no.ValidIp,ip:r,ipVersion:n};const o=t.charAt(t.length-1)===Zn?t.slice(0,-1):t,a=(new TextEncoder).encode(o);if(a.length>253)return{type:no.Error,errors:[(i=t,s=a.length,{type:ro.DomainMaxLength,message:`Domain "${i}" is too long. Domain is ${s} octets long but should not be longer than 253.`,column:s})]};var i,s;const c=o.split(Zn),{validation:u=eo.Strict}=e,l=co[u](c);return l.length>0?{type:no.Error,errors:l}:{type:no.ValidDomain,domain:t,labels:c}})(t,e);if(r.type===no.Error)return{type:po.Invalid,hostname:t,errors:r.errors};if(r.type===no.ValidIp)return{type:po.Ip,hostname:r.ip,ipVersion:r.ipVersion};const{labels:n,domain:o}=r;if(""===t||ho.includes(n[n.length-1]))return{type:po.Reserved,hostname:o,labels:n};go=null!=go?go:fo("ac>com,edu,gov,net,mil,orgnomco,net,org,sch,ac,gov,milairline,airport,accident-investigation,accident-prevention,aerobatic,aeroclub,aerodrome,agents,air-surveillance,air-traffic-control,aircraft,airtraffic,ambulance,association,author,ballooning,broker,caa,cargo,catering,certification,championship,charter,civilaviation,club,conference,consultant,consulting,control,council,crew,design,dgca,educator,emergency,engine,engineer,entertainment,equipment,exchange,express,federation,flight,freight,fuel,gliding,government,groundhandling,group,hanggliding,homebuilt,insurance,journal,journalist,leasing,logistics,magazine,maintenance,marketplace,media,microlight,modelling,navigation,parachuting,paragliding,passenger-association,pilot,press,production,recreation,repbody,res,research,rotorcraft,safety,scientist,services,show,skydiving,software,student,taxi,trader,trading,trainer,union,workinggroup,worksgov,com,org,net,educom,org,net,co,nomoff,com,net,orgcom,edu,gov,mil,net,orgco,com,commune,net,orged,gv,og,co,pb,itbet,com,coop,edu,gob,gov,int,mil,musica,mutual,net,org,senasa,ture164,in-addr,ip6,iris,uri,urngovac>sthcom,net,org,edu>act,catholic,nsw>schoolsqld,sa,tas,vic,wacomcom,net,int,gov,org,edu,info,pp,mil,name,pro,bizcom,edu,gov,mil,net,orgbiz,co,com,edu,gov,info,net,org,store,tv*acgova,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9com,edu,net,org,govco,com,edu,or,orgafrica,agro,architectes,assur,avocats,co,com,eco,econo,edu,info,loisirs,money,net,org,ote,resto,restaurant,tourism,univcom,edu,gov,net,orgcom,edu,gov,net,orgcom,edu,gob,int,org,net,mil,tv,web,academia,agro,arte,blog,bolivia,ciencia,cooperativa,democracia,deporte,ecologia,economia,empresa,indigena,industria,info,medicina,movimiento,musica,natural,nombre,noticias,patria,politica,profesional,plurinacional,pueblo,revista,salud,tecnologia,tksat,transporte,wiki
    9guacu,abc,adm,adv,agr,aju,am,anani,aparecida,app,arq,art,ato,b,barueri,belem,bhz,bib,bio,blog,bmd,boavista,bsb,campinagrande,campinas,caxias,cim,cng,cnt,com,contagem,coop,coz,cri,cuiaba,curitiba,def,des,det,dev,ecn,eco,edu,emp,enf,eng,esp,etc,eti,far,feira,flog,floripa,fm,fnd,fortal,fot,foz,fst,g12,geo,ggf,goiania,gov>ac,al,am,ap,ba,ce,df,es,go,ma,mg,ms,mt,pa,pb,pe,pi,pr,rj,rn,ro,rr,rs,sc,se,sp,to*com,net,org,edu,govcom,edu,gov,net,orgco,orggov,mil,com,ofcom,net,org,edu,govab,bc,mb,nb,nf,nl,ns,nt,nu,on,pe,qc,sk,yk,gcgovorg,or,com,co,edu,ed,ac,net,go,asso,xn--aroport-bya,int,presse,md,gouv*,!wwwco,gob,gov,milco,com,gov,netac,com,edu,gov,net,org,mil,xn--55qx5d,xn--io0a7i,xn--od0alg,ah,bj,cq,fj,gd,gs,gz,gx,ha,hb,he,hi,hl,hn,jl,js,jx,ln,nm,nx,qh,sc,sd,sh,sn,sx,tj,xj,xz,yn,zj,hk,mo,twarts,com,edu,firm,gov,info,int,mil,net,nom,org,rec,webac,co,ed,fi,go,or,sacom,edu,org,net,gov,infcom,edu,int,nome,orgcom,edu,net,orggovac,biz,com,ekloges,gov,ltd,mil,net,org,press,pro,tmcom,net,org,edu,govart,com,edu,gob,gov,mil,net,org,sld,webart,asso,com,edu,gov,org,net,pol,soc,tmcom,info,net,fin,k12,med,pro,org,edu,gov,gob,miledu,gov,riik,lib,med,com,pri,aip,org,fiecom,edu,eun,gov,mil,name,net,org,sci*com,nom,org,gob,educom,gov,org,edu,biz,name,info,netalandac,biz,com,gov,info,mil,name,net,org,pro*com,edu,net,orgasso,com,gouv,nom,prd,tm,avoues,cci,greta,huissier-justiceedu,govcom,edu,gov,org,mil,net,pvtco,net,orgcom,edu,gov,org,milcom,ltd,gov,mod,edu,orgco,com,edu,net,orgac,com,edu,gov,org,netcom,net,mobi,edu,org,assocom,edu,net,org,govcom,edu,gob,ind,mil,net,orgcom,edu,gov,guam,info,net,org,webco,com,edu,gov,net,orgcom,edu,gov,idv,net,org,xn--55qx5d,xn--wcvs22d,xn--lcvr32d,xn--mxtq1m,xn--gmqw5a,xn--ciqpn,xn--gmq050i,xn--zf0avx,xn--io0a7i,xn--mk0axi,xn--od0alg,xn--od0aq3b,xn--tn0ag,xn--uc0atv,xn--uc0ay4acom,edu,org,net,mil,gob
    iz,from,name,comcom,shop,firm,info,adult,net,pro,org,med,art,coop,pol,asso,edu,rel,gouv,persoco,info,org,priv,sport,tm,2000,agrar,bolt,casino,city,erotica,erotika,film,forum,games,hotel,ingatlan,jogasz,konyvelo,lakas,media,news,reklam,sex,shop,suli,szex,tozsde,utazas,videoac,biz,co,desa,go,mil,my,net,or,ponpes,sch,webgovac,co,gov,idf,k12,muni,net,orgxn--4dbgdty6c,xn--5dbhl8d,xn--8dbq2a,xn--hebda8bac,co>ltd,plc5g,6g,ac,ai,am,bihar,biz,business,ca,cn,co,com,coop,cs,delhi,dr,edu,er,firm,gen,gov,gujarat,ind,info,int,internet,io,me,mil,net,nic,org,pg,post,pro,res,travel,tv,uk,up,useucomgov,edu,mil,com,org,netac,co,gov,id,net,org,sch,xn--mgba3a4f16a,xn--mgba3a4franet,com,edu,gov,org,intgov,edu,abr,abruzzo,aosta-valley,aostavalley,bas,basilicata,cal,calabria,cam,campania,emilia-romagna,emiliaromagna,emr,friuli-v-giulia,friuli-ve-giulia,friuli-vegiulia,friuli-venezia-giulia,friuli-veneziagiulia,friuli-vgiulia,friuliv-giulia,friulive-giulia,friulivegiulia,friulivenezia-giulia,friuliveneziagiulia,friulivgiulia,fvg,laz,lazio,lig,liguria,lom,lombardia,lombardy,lucania,mar,marche,mol,molise,piedmont,piemonte,pmn,pug,puglia,sar,sardegna,sardinia,sic,sicilia,sicily,taa,tos,toscana,trentin-sud-tirol,xn--trentin-sd-tirol-rzb,trentin-sudtirol,xn--trentin-sdtirol-7vb,trentin-sued-tirol,trentin-suedtirol,trentino-a-adige,trentino-aadige,trentino-alto-adige,trentino-altoadige,trentino-s-tirol,trentino-stirol,trentino-sud-tirol,xn--trentino-sd-tirol-c3b,trentino-sudtirol,xn--trentino-sdtirol-szb,trentino-sued-tirol,trentino-suedtirol,trentino,trentinoa-adige,trentinoaadige,trentinoalto-adige,trentinoaltoadige,trentinos-tirol,trentinostirol,trentinosud-tirol,xn--trentinosd-tirol-rzb,trentinosudtirol,xn--trentinosdtirol-7vb,trentinosued-tirol,trentinosuedtirol,trentinsud-tirol,xn--trentinsd-tirol-6vb,trentinsudtirol,xn--trentinsdtirol-nsb,trentinsued-tirol,trentinsuedtirol,tuscany,umb,umbria,val-d-aosta,val-daosta,vald-aosta,valdaosta,valle-aosta,valle-d-aosta,valle-daosta,valleaosta,valled-aosta,valledaosta,vallee-aoste,xn--valle-aoste-ebb,vallee-d-aoste,xn--valle-d-aoste-ehb,valleeaoste,xn--valleaoste-e7a,valleedaoste,xn--valledaoste-ebb,vao,vda,ven,veneto,ag,agrigento,al,alessandria,alto-adige,altoadige,an,ancona,andria-barletta-trani,andria-trani-barletta,andriabarlettatrani,andriatranibarletta,ao,aosta,aoste,ap,aq,aquila,ar,arezzo,ascoli-piceno,ascolipiceno,asti,at,av,avellino,ba,balsan-sudtirol,xn--balsan-sdtirol-nsb,balsan-suedtirol,balsan,bari,barletta-trani-andria,barlettatraniandria,belluno,benevento,bergamo,bg,bi,biella,bl,bn,bo,bologna,bolzano-altoadige,bolzano,bozen-sudtirol,xn--bozen-sdtirol-2ob,bozen-suedtirol,bozen,br,brescia,brindisi,bs,bt,bulsan-sudtirol,xn--bulsan-sdtirol-nsb,bulsan-suedtirol,bulsan,bz,ca,cagliari,caltanissetta,campidano-medio,campidanomedio,campobasso,carbonia-iglesias,carboniaiglesias,carrara-massa,carraramassa,caserta,catania,catanzaro,cb,ce,cesena-forli,xn--cesena-forl-mcb,cesenaforli,xn--cesenaforl-i8a,ch,chieti,ci,cl,cn,co,como,cosenza,cr,cremona,crotone,cs,ct,cuneo,cz,dell-ogliastra,dellogliastra,en,enna,fc,fe,fermo,ferrara,fg,fi,firenze,florence,fm,foggia,forli-cesena,xn--forl-cesena-fcb,forlicesena,xn--forlcesena-c8a,fr,frosinone,ge,genoa,genova,go,gorizia,gr,grosseto,iglesias-carbonia,iglesiascarbonia,im,imperia,is,isernia,kr,la-spezia,laquila,laspezia,latina,lc,le,lecce,lecco,li,livorno,lo,lodi,lt,lu,lucca,macerata,mantova,massa-carrara,massacarrara,matera,mb,mc,me,medio-campidano,mediocampidano,messina,mi,milan,milano,mn,mo,modena,monza-brianza,monza-e-della-brianza,monza,monzabrianza,monzaebrianza,monzaedellabrianza,ms,mt,na,naples,napoli,no,novara,nu,nuoro,og,ogliastra,olbia-tempio,olbiatempio,or,oristano,ot,pa,padova,padua,palermo,parma,pavia,pc,pd,pe,perugia,pesaro-urbino,pesarourbino,pescara,pg,pi,piacenza,pisa,pistoia,pn,po,pordenone,potenza,pr,prato,pt,pu,pv,pz,ra,ragusa,ravenna,rc,re,reggio-calabria,reggio-emilia,reggiocalabria,reggioemilia,rg,ri,rieti,rimini,rm,rn,ro,roma,rome,rovigo,sa,salerno,sassari,savona,si,siena,siracusa,so,sondrio,sp,sr,ss,suedtirol,xn--sdtirol-n2a,sv,ta,taranto,te,tempio-olbia,tempioolbia,teramo,terni,tn,to,torino,tp,tr,trani-andria-barletta,trani-barletta-andria,traniandriabarletta,tranibarlettaandria,trapani,trento,treviso,trieste,ts,turin,tv,ud,udine,urbino-pesaro,urbinopesaro,va,varese,vb,vc,ve,venezia,venice,verbania,vercelli,verona,vi,vibo-valentia,vibovalentia,vicenza,viterbo,vr,vs,vt,vvco,net,org*com,org,net,edu,sch,gov,mil,nameac,ad,co,ed,go,gr,lg,ne,or,aichi>aisai,ama,anjo,asuke,chiryu,chita,fuso,gamagori,handa,hazu,hekinan,higashiura,ichinomiya,inazawa,inuyama,isshiki,iwakura,kanie,kariya,kasugai,kira,kiyosu,komaki,konan,kota,mihama,miyoshi,nishio,nisshin,obu,oguchi,oharu,okazaki,owariasahi,seto,shikatsu,shinshiro,shitara,tahara,takahama,tobishima,toei,togo,tokai,tokoname,toyoake,toyohashi,toyokawa,toyone,toyota,tsushima,yatomiakita,daisen,fujisato,gojome,hachirogata,happou,higashinaruse,honjo,honjyo,ikawa,kamikoani,kamioka,katagami,kazuno,kitaakita,kosaka,kyowa,misato,mitane,moriyoshi,nikaho,noshiro,odate,oga,ogata,semboku,yokote,yurihonjoaomori,gonohe,hachinohe,hashikami,hiranai,hirosaki,itayanagi,kuroishi,misawa,mutsu,nakadomari,noheji,oirase,owani,rokunohe,sannohe,shichinohe,shingo,takko,towada,tsugaru,tsurutaabiko,asahi,chonan,chosei,choshi,chuo,funabashi,futtsu,hanamigawa,ichihara,ichikawa,ichinomiya,inzai,isumi,kamagaya,kamogawa,kashiwa,katori,katsuura,kimitsu,kisarazu,kozaki,kujukuri,kyonan,matsudo,midori,mihama,minamiboso,mobara,mutsuzawa,nagara,nagareyama,narashino,narita,noda,oamishirasato,omigawa,onjuku,otaki,sakae,sakura,shimofusa,shirako,shiroi,shisui,sodegaura,sosa,tako,tateyama,togane,tohnosho,tomisato,urayasu,yachimata,yachiyo,yokaichiba,yokoshibahikari,yotsukaidoainan,honai,ikata,imabari,iyo,kamijima,kihoku,kumakogen,masaki,matsuno,matsuyama,namikata,niihama,ozu,saijo,seiyo,shikokuchuo,tobe,toon,uchiko,uwajima,yawatahamaechizen,eiheiji,fukui,ikeda,katsuyama,mihama,minamiechizen,obama,ohi,ono,sabae,sakai,takahama,tsuruga,wakasaashiya,buzen,chikugo,chikuho,chikujo,chikushino,chikuzen,chuo,dazaifu,fukuchi,hakata,higashi,hirokawa,hisayama,iizuka,inatsuki,kaho,kasuga,kasuya,kawara,keisen,koga,kurate,kurogi,kurume,minami,miyako,miyama,miyawaka,mizumaki,munakata,nakagawa,nakama,nishi,nogata,ogori,okagaki,okawa,oki,omuta,onga,onojo,oto,saigawa,sasaguri,shingu,shinyoshitomi,shonai,soeda,sue,tachiarai,tagawa,takata,toho,toyotsu,tsuiki,ukiha,umi,usui,yamada,yame,yanagawa,yukuhashiaizubange,aizumisato,aizuwakamatsu,asakawa,bandai,date,fukushima,furudono,futaba,hanawa,higashi,hirata,hirono,iitate,inawashiro,ishikawa,iwaki,izumizaki,kagamiishi,kaneyama,kawamata,kitakata,kitashiobara,koori,koriyama,kunimi,miharu,mishima,namie,nango,nishiaizu,nishigo,okuma,omotego,ono,otama,samegawa,shimogo,shirakawa,showa,soma,sukagawa,taishin,tamakawa,tanagura,tenei,yabuki,yamato,yamatsuri,yanaizu,yugawaanpachi,ena,gifu,ginan,godo,gujo,hashima,hichiso,hida,higashishirakawa,ibigawa,ikeda,kakamigahara,kani,kasahara,kasamatsu,kawaue,kitagata,mino,minokamo,mitake,mizunami,motosu,nakatsugawa,ogaki,sakahogi,seki,sekigahara,shirakawa,tajimi,takayama,tarui,toki,tomika,wanouchi,yamagata,yaotsu,yoroannaka,chiyoda,fujioka,higashiagatsuma,isesaki,itakura,kanna,kanra,katashina,kawaba,kiryu,kusatsu,maebashi,meiwa,midori,minakami,naganohara,nakanojo,nanmoku,numata,oizumi,ora,ota,shibukawa,shimonita,shinto,showa,takasaki,takayama,tamamura,tatebayashi,tomioka,tsukiyono,tsumagoi,ueno,yoshiokaasaminami,daiwa,etajima,fuchu,fukuyama,hatsukaichi,higashihiroshima,hongo,jinsekikogen,kaita,kui,kumano,kure,mihara,miyoshi,naka,onomichi,osakikamijima,otake,saka,sera,seranishi,shinichi,shobara,takeharaabashiri,abira,aibetsu,akabira,akkeshi,asahikawa,ashibetsu,ashoro,assabu,atsuma,bibai,biei,bifuka,bihoro,biratori,chippubetsu,chitose,date,ebetsu,embetsu,eniwa,erimo,esan,esashi,fukagawa,fukushima,furano,furubira,haboro,hakodate,hamatonbetsu,hidaka,higashikagura,higashikawa,hiroo,hokuryu,hokuto,honbetsu,horokanai,horonobe,ikeda,imakane,ishikari,iwamizawa,iwanai,kamifurano,kamikawa,kamishihoro,kamisunagawa,kamoenai,kayabe,kembuchi,kikonai,kimobetsu,kitahiroshima,kitami,kiyosato,koshimizu,kunneppu,kuriyama,kuromatsunai,kushiro,kutchan,kyowa,mashike,matsumae,mikasa,minamifurano,mombetsu,moseushi,mukawa,muroran,naie,nakagawa,nakasatsunai,nakatombetsu,nanae,nanporo,nayoro,nemuro,niikappu,niki,nishiokoppe,noboribetsu,numata,obihiro,obira,oketo,okoppe,otaru,otobe,otofuke,otoineppu,oumu,ozora,pippu,rankoshi,rebun,rikubetsu,rishiri,rishirifuji,saroma,sarufutsu,shakotan,shari,shibecha,shibetsu,shikabe,shikaoi,shimamaki,shimizu,shimokawa,shinshinotsu,shintoku,shiranuka,shiraoi,shiriuchi,sobetsu,sunagawa,taiki,takasu,takikawa,takinoue,teshikaga,tobetsu,tohma,tomakomai,tomari,toya,toyako,toyotomi,toyoura,tsubetsu,tsukigata,urakawa,urausu,uryu,utashinai,wakkanai,wassamu,yakumo,yoichiaioi,akashi,ako,amagasaki,aogaki,asago,ashiya,awaji,fukusaki,goshiki,harima,himeji,ichikawa,inagawa,itami,kakogawa,kamigori,kamikawa,kasai,kasuga,kawanishi,miki,minamiawaji,nishinomiya,nishiwaki,ono,sanda,sannan,sasayama,sayo,shingu,shinonsen,shiso,sumoto,taishi,taka,takarazuka,takasago,takino,tamba,tatsuno,toyooka,yabu,yashiro,yoka,yokawaami,asahi,bando,chikusei,daigo,fujishiro,hitachi,hitachinaka,hitachiomiya,hitachiota,ibaraki,ina,inashiki,itako,iwama,joso,kamisu,kasama,kashima,kasumigaura,koga,miho,mito,moriya,naka,namegata,oarai,ogawa,omitama,ryugasaki,sakai,sakuragawa,shimodate,shimotsuma,shirosato,sowa,suifu,takahagi,tamatsukuri,tokai,tomobe,tone,toride,tsuchiura,tsukuba,uchihara,ushiku,yachiyo,yamagata,yawara,yukianamizu,hakui,hakusan,kaga,kahoku,kanazawa,kawakita,komatsu,nakanoto,nanao,nomi,nonoichi,noto,shika,suzu,tsubata,tsurugi,uchinada,wajimafudai,fujisawa,hanamaki,hiraizumi,hirono,ichinohe,ichinoseki,iwaizumi,iwate,joboji,kamaishi,kanegasaki,karumai,kawai,kitakami,kuji,kunohe,kuzumaki,miyako,mizusawa,morioka,ninohe,noda,ofunato,oshu,otsuchi,rikuzentakata,shiwa,shizukuishi,sumita,tanohata,tono,yahaba,yamadaayagawa,higashikagawa,kanonji,kotohira,manno,marugame,mitoyo,naoshima,sanuki,tadotsu,takamatsu,tonosho,uchinomi,utazu,zentsujiakune,amami,hioki,isa,isen,izumi,kagoshima,kanoya,kawanabe,kinko,kouyama,makurazaki,matsumoto,minamitane,nakatane,nishinoomote,satsumasendai,soo,tarumizu,yusuiaikawa,atsugi,ayase,chigasaki,ebina,fujisawa,hadano,hakone,hiratsuka,isehara,kaisei,kamakura,kiyokawa,matsuda,minamiashigara,miura,nakai,ninomiya,odawara,oi,oiso,sagamihara,samukawa,tsukui,yamakita,yamato,yokosuka,yugawara,zama,zushiaki,geisei,hidaka,higashitsuno,ino,kagami,kami,kitagawa,kochi,mihara,motoyama,muroto,nahari,nakamura,nankoku,nishitosa,niyodogawa,ochi,okawa,otoyo,otsuki,sakawa,sukumo,susaki,tosa,tosashimizu,toyo,tsuno,umaji,yasuda,yusuharaamakusa,arao,aso,choyo,gyokuto,kamiamakusa,kikuchi,kumamoto,mashiki,mifune,minamata,minamioguni,nagasu,nishihara,oguni,ozu,sumoto,takamori,uki,uto,yamaga,yamato,yatsushiroayabe,fukuchiyama,higashiyama,ide,ine,joyo,kameoka,kamo,kita,kizu,kumiyama,kyotamba,kyotanabe,kyotango,maizuru,minami,minamiyamashiro,miyazu,muko,nagaokakyo,nakagyo,nantan,oyamazaki,sakyo,seika,tanabe,uji,ujitawara,wazuka,yamashina,yawataasahi,inabe,ise,kameyama,kawagoe,kiho,kisosaki,kiwa,komono,kumano,kuwana,matsusaka,meiwa,mihama,minamiise,misugi,miyama,nabari,shima,suzuka,tado,taiki,taki,tamaki,toba,tsu,udono,ureshino,watarai,yokkaichifurukawa,higashimatsushima,ishinomaki,iwanuma,kakuda,kami,kawasaki,marumori,matsushima,minamisanriku,misato,murata,natori,ogawara,ohira,onagawa,osaki,rifu,semine,shibata,shichikashuku,shikama,shiogama,shiroishi,tagajo,taiwa,tome,tomiya,wakuya,watari,yamamoto,zaoaya,ebino,gokase,hyuga,kadogawa,kawaminami,kijo,kitagawa,kitakata,kitaura,kobayashi,kunitomi,kushima,mimata,miyakonojo,miyazaki,morotsuka,nichinan,nishimera,nobeoka,saito,shiiba,shintomi,takaharu,takanabe,takazaki,tsunoachi,agematsu,anan,aoki,asahi,azumino,chikuhoku,chikuma,chino,fujimi,hakuba,hara,hiraya,iida,iijima,iiyama,iizuna,ikeda,ikusaka,ina,karuizawa,kawakami,kiso,kisofukushima,kitaaiki,komagane,komoro,matsukawa,matsumoto,miasa,minamiaiki,minamimaki,minamiminowa,minowa,miyada,miyota,mochizuki,nagano,nagawa,nagiso,nakagawa,nakano,nozawaonsen,obuse,ogawa,okaya,omachi,omi,ookuwa,ooshika,otaki,otari,sakae,sakaki,saku,sakuho,shimosuwa,shinanomachi,shiojiri,suwa,suzaka,takagi,takamori,takayama,tateshina,tatsuno,togakushi,togura,tomi,ueda,wada,yamagata,yamanouchi,yasaka,yasuokachijiwa,futsu,goto,hasami,hirado,iki,isahaya,kawatana,kuchinotsu,matsuura,nagasaki,obama,omura,oseto,saikai,sasebo,seihi,shimabara,shinkamigoto,togitsu,tsushima,unzenando,gose,heguri,higashiyoshino,ikaruga,ikoma,kamikitayama,kanmaki,kashiba,kashihara,katsuragi,kawai,kawakami,kawanishi,koryo,kurotaki,mitsue,miyake,nara,nosegawa,oji,ouda,oyodo,sakurai,sango,shimoichi,shimokitayama,shinjo,soni,takatori,tawaramoto,tenkawa,tenri,uda,yamatokoriyama,yamatotakada,yamazoe,yoshinoaga,agano,gosen,itoigawa,izumozaki,joetsu,kamo,kariwa,kashiwazaki,minamiuonuma,mitsuke,muika,murakami,myoko,nagaoka,niigata,ojiya,omi,sado,sanjo,seiro,seirou,sekikawa,shibata,tagami,tainai,tochio,tokamachi,tsubame,tsunan,uonuma,yahiko,yoita,yuzawabeppu,bungoono,bungotakada,hasama,hiji,himeshima,hita,kamitsue,kokonoe,kuju,kunisaki,kusu,oita,saiki,taketa,tsukumi,usa,usuki,yufuakaiwa,asakuchi,bizen,hayashima,ibara,kagamino,kasaoka,kibichuo,kumenan,kurashiki,maniwa,misaki,nagi,niimi,nishiawakura,okayama,satosho,setouchi,shinjo,shoo,soja,takahashi,tamano,tsuyama,wake,yakageaguni,ginowan,ginoza,gushikami,haebaru,higashi,hirara,iheya,ishigaki,ishikawa,itoman,izena,kadena,kin,kitadaito,kitanakagusuku,kumejima,kunigami,minamidaito,motobu,nago,naha,nakagusuku,nakijin,nanjo,nishihara,ogimi,okinawa,onna,shimoji,taketomi,tarama,tokashiki,tomigusuku,tonaki,urasoe,uruma,yaese,yomitan,yonabaru,yonaguni,zamamiabeno,chihayaakasaka,chuo,daito,fujiidera,habikino,hannan,higashiosaka,higashisumiyoshi,higashiyodogawa,hirakata,ibaraki,ikeda,izumi,izumiotsu,izumisano,kadoma,kaizuka,kanan,kashiwara,katano,kawachinagano,kishiwada,kita,kumatori,matsubara,minato,minoh,misaki,moriguchi,neyagawa,nishi,nose,osakasayama,sakai,sayama,sennan,settsu,shijonawate,shimamoto,suita,tadaoka,taishi,tajiri,takaishi,takatsuki,tondabayashi,toyonaka,toyono,yaoariake,arita,fukudomi,genkai,hamatama,hizen,imari,kamimine,kanzaki,karatsu,kashima,kitagata,kitahata,kiyama,kouhoku,kyuragi,nishiarita,ogi,omachi,ouchi,saga,shiroishi,taku,tara,tosu,yoshinogariarakawa,asaka,chichibu,fujimi,fujimino,fukaya,hanno,hanyu,hasuda,hatogaya,hatoyama,hidaka,higashichichibu,higashimatsuyama,honjo,ina,iruma,iwatsuki,kamiizumi,kamikawa,kamisato,kasukabe,kawagoe,kawaguchi,kawajima,kazo,kitamoto,koshigaya,kounosu,kuki,kumagaya,matsubushi,minano,misato,miyashiro,miyoshi,moroyama,nagatoro,namegawa,niiza,ogano,ogawa,ogose,okegawa,omiya,otaki,ranzan,ryokami,saitama,sakado,satte,sayama,shiki,shiraoka,soka,sugito,toda,tokigawa,tokorozawa,tsurugashima,urawa,warabi,yashio,yokoze,yono,yorii,yoshida,yoshikawa,yoshimiaisho,gamo,higashiomi,hikone,koka,konan,kosei,koto,kusatsu,maibara,moriyama,nagahama,nishiazai,notogawa,omihachiman,otsu,ritto,ryuoh,takashima,takatsuki,torahime,toyosato,yasuakagi,ama,gotsu,hamada,higashiizumo,hikawa,hikimi,izumo,kakinoki,masuda,matsue,misato,nishinoshima,ohda,okinoshima,okuizumo,shimane,tamayu,tsuwano,unnan,yakumo,yasugi,yatsukaarai,atami,fuji,fujieda,fujikawa,fujinomiya,fukuroi,gotemba,haibara,hamamatsu,higashiizu,ito,iwata,izu,izunokuni,kakegawa,kannami,kawanehon,kawazu,kikugawa,kosai,makinohara,matsuzaki,minamiizu,mishima,morimachi,nishiizu,numazu,omaezaki,shimada,shimizu,shimoda,shizuoka,susono,yaizu,yoshidaashikaga,bato,haga,ichikai,iwafune,kaminokawa,kanuma,karasuyama,kuroiso,mashiko,mibu,moka,motegi,nasu,nasushiobara,nikko,nishikata,nogi,ohira,ohtawara,oyama,sakura,sano,shimotsuke,shioya,takanezawa,tochigi,tsuga,ujiie,utsunomiya,yaitaaizumi,anan,ichiba,itano,kainan,komatsushima,matsushige,mima,minami,miyoshi,mugi,nakagawa,naruto,sanagochi,shishikui,tokushima,wajikiadachi,akiruno,akishima,aogashima,arakawa,bunkyo,chiyoda,chofu,chuo,edogawa,fuchu,fussa,hachijo,hachioji,hamura,higashikurume,higashimurayama,higashiyamato,hino,hinode,hinohara,inagi,itabashi,katsushika,kita,kiyose,kodaira,koganei,kokubunji,komae,koto,kouzushima,kunitachi,machida,meguro,minato,mitaka,mizuho,musashimurayama,musashino,nakano,nerima,ogasawara,okutama,ome,oshima,ota,setagaya,shibuya,shinagawa,shinjuku,suginami,sumida,tachikawa,taito,tama,toshimachizu,hino,kawahara,koge,kotoura,misasa,nanbu,nichinan,sakaiminato,tottori,wakasa,yazu,yonagoasahi,fuchu,fukumitsu,funahashi,himi,imizu,inami,johana,kamiichi,kurobe,nakaniikawa,namerikawa,nanto,nyuzen,oyabe,taira,takaoka,tateyama,toga,tonami,toyama,unazuki,uozu,yamadaarida,aridagawa,gobo,hashimoto,hidaka,hirogawa,inami,iwade,kainan,kamitonda,katsuragi,kimino,kinokawa,kitayama,koya,koza,kozagawa,kudoyama,kushimoto,mihama,misato,nachikatsuura,shingu,shirahama,taiji,tanabe,wakayama,yuasa,yuraasahi,funagata,higashine,iide,kahoku,kaminoyama,kaneyama,kawanishi,mamurogawa,mikawa,murayama,nagai,nakayama,nanyo,nishikawa,obanazawa,oe,oguni,ohkura,oishida,sagae,sakata,sakegawa,shinjo,shirataka,shonai,takahata,tendo,tozawa,tsuruoka,yamagata,yamanobe,yonezawa,yuzaabu,hagi,hikari,hofu,iwakuni,kudamatsu,mitou,nagato,oshima,shimonoseki,shunan,tabuse,tokuyama,toyota,ube,yuuchuo,doshi,fuefuki,fujikawa,fujikawaguchiko,fujiyoshida,hayakawa,hokuto,ichikawamisato,kai,kofu,koshu,kosuge,minami-alps,minobu,nakamichi,nanbu,narusawa,nirasaki,nishikatsura,oshino,otsuki,showa,tabayama,tsuru,uenohara,yamanakako,yamanashi*,!city*,!city*,!city*,!city*,!city*,!city*,!city<ac,co,go,info,me,mobi,ne,or,scorg,net,com,edu,gov,mil*edu,biz,net,org,gov,info,comorg,nom,gov,prd,tm,edu,mil,ass,com,coop,asso,presse,medecin,notaires,pharmaciens,veterinaire,gouvnet,org,edu,govcom,edu,gov,org,rep,traac,co,es,go,hs,kg,mil,ms,ne,or,pe,re,sc,busan,chungbuk,chungnam,daegu,daejeon,gangwon,gwangju,gyeongbuk,gyeonggi,gyeongnam,incheon,jeju,jeonbuk,jeonnam,seoul,ulsancom,edu,emb,gov,ind,net,orgcom,edu,net,orgorg,edu,net,gov,mil,comint,net,info,edu,gov,per,com,orgcom,edu,gov,net,orgcom,net,co,org,edu,govgov,sch,net,int,com,org,edu,ngo,soc,web,ltd,assn,grp,hotel,accom,edu,gov,org,netac,biz,co,edu,gov,info,net,org,scgovcom,edu,gov,org,mil,id,net,asn,confcom,net,gov,plc,edu,sch,med,org,idco,net,gov,org,ac,presstm,assoco,net,org,edu,ac,gov,its,privorg,nom,gov,prd,tm,edu,mil,com,cocom,org,net,edu,gov,inf,namecom,edu,gouv,gov,net,org,presse*gov,edu,orgcom,net,org,edu,govgovcom,edu,gov,net,orgcom,edu,net,orgcom,net,org,gov,ac,co,oraero,biz,com,coop,edu,gov,info,int,mil,museum,name,net,org,proac,biz,co,com,coop,edu,gov,int,museum,net,orgcom,org,gob,edu,netbiz,com,edu,gov,mil,name,net,orgac,adv,co,edu,gov,mil,net,orginfo,pro,name,school,or,dr,us,mx,ca,in,cc,tv,ws,mobi,co,com,orgasso,nomcom,net,per,rec,web,arts,firm,info,other,storecom,edu,gov,i,mil,mobi,name,net,org,schac,biz,co,com,edu,gob,in,info,int,mil,net,nom,org,webfhs,vgs,fylkesbibl,folkebibl,museum,idrett,priv,mil,stat,dep,kommune,herad,aa>gsgsgsgsgsgsgsgsgsgsgs
      gsgsgsgsgsgsgsgsgsgsbo,xn--b-5gabo,xn--b-5ga,heroy,xn--hery-iraheroy,sandexn--hery-ira,sandenesnesos,valer,xn--vler-qoaossandevalerxn--vler-qoa<*biz,info,gov,edu,org,net,comac,co,cri,geek,gen,govt,health,iwi,kiwi,maori,mil,xn--mori-qsa,net,org,parliament,schoolco,com,edu,gov,med,museum,net,org,proac,gob,com,org,sld,edu,net,ing,abo,med,nomedu,gob,nom,mil,org,com,netcom,org,edu*com,net,org,gov,edu,ngo,mil,iac,biz,com,edu,fam,gkp,gob,gog,gok,gon,gop,gos,gov,net,org,webcom,net,org,aid,agro,atm,auto,biz,edu,gmina,gsm,info,mail,miasta,media,mil,nieruchomosci,nom,pc,powiat,priv,realestate,rel,sex,shop,sklep,sos,szkola,targi,tm,tourism,travel,turystyka,gov>ap,griw,ic,is,kmpsp,konsulat,kppsp,kwp,kwpsp,mup,mw,oia,oirm,oke,oow,oschr,oum,pa,pinb,piw,po,pr,psp,psse,pup,rzgw,sa,sdn,sko,so,sr,starostwo,ug,ugim,um,umig,upow,uppo,us,uw,uzs,wif,wiih,winb,wios,witd,wiw,wkz,wsa,wskr,wsse,wuoz,wzmiuw,zp,zpisdngov,co,org,edu,netcom,net,org,gov,edu,isla,pro,biz,info,name,est,prof,acaaa,aca,acct,avocat,bar,cpa,eng,jur,law,med,rechtedu,gov,sec,plo,com,org,netnet,gov,org,edu,int,publ,com,nomeco,ne,or,ed,go,belaucom,coop,edu,gov,mil,net,orgcom,edu,gov,mil,name,net,org,schasso,com,nomarts,com,firm,info,nom,nt,org,rec,store,tm,wwwac,co,edu,gov,in,orgac,co,coop,gov,mil,net,orgcom,net,org,gov,med,pub,edu,schcom,edu,gov,net,orgcom,gov,net,org,educom,net,org,edu,med,tv,gov,infoa,ac,b,bd,brand,c,d,e,f,fh,fhsk,fhv,g,h,i,k,komforb,kommunalforbund,komvux,l,lanbib,m,n,naturbruksgymn,o,org,p,parti,pp,press,r,s,t,tm,u,w,x,y,zcom,net,org,gov,edu,percom,net,gov,org,milcom,net,edu,gov,orgart,com,edu,gouv,org,perso,univcom,edu,gov,me,net,orgbiz,com,edu,gov,me,net,org,schco,com,consulado,edu,embaixada,mil,net,org,principe,saotome,storecom,edu,gob,org,redgovedu,gov,net,mil,com,orgco,ac,orgac,co,go,in,mi,net,orac,biz,co,com,edu,go,gov,int,mil,name,net,nic,org,test,webgovcom,co,org,net,nom,gov,mil,educom,ens,fin,gov,ind,info,intl,mincom,nat,net,org,perso,tourismcom,gov,net,org,edu,milav,bbs,bel,biz,com,dr,edu,gen,gov,info,mil,k12,kep,name,net,org,pol,tel,tsk,tv,web,nc>gov<co,com,org,net,biz,info,pro,int,coop,jobs,mobi,travel,museum,aero,name,gov,eduedu,gov,mil,com,net,org,idv,game,ebiz,club,xn--zf0ao64a,xn--uc0atv,xn--czrw28bac,co,go,hotel,info,me,mil,mobi,ne,or,sc,tvcom,edu,gov,in,net,org,cherkassy,cherkasy,chernigov,chernihiv,chernivtsi,chernovtsy,ck,cn,cr,crimea,cv,dn,dnepropetrovsk,dnipropetrovsk,donetsk,dp,if,ivano-frankivsk,kh,kharkiv,kharkov,kherson,khmelnitskiy,khmelnytskyi,kiev,kirovograd,km,kr,kropyvnytskyi,krym,ks,kv,kyiv,lg,lt,lugansk,luhansk,lutsk,lv,lviv,mk,mykolaiv,nikolaev,od,odesa,odessa,pl,poltava,rivne,rovno,rv,sb,sebastopol,sevastopol,sm,sumy,te,ternopil,uz,uzhgorod,uzhhorod,vinnica,vinnytsia,vn,volyn,yalta,zakarpattia,zaporizhzhe,zaporizhzhia,zhitomir,zhytomyr,zp,ztco,or,ac,sc,go,ne,com,orgac,co,gov,ltd,me,net,nhs,org,plc,police,sch>*<dni,fed,isa,kids,nsn,ak>k12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcck12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12>pvt,chtr,parochk12,cc,libk12,cc,libk12,cc,lib,ann-arbor,cog,dst,eaton,gen,mus,tec,washtenawk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcc,libk12,cc,libcc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libk12,cc,libcck12,cc,lib<com,edu,gub,mil,net,orgco,com,net,orgcom,net,org,gov,mil,eduarts,bib,co,com,e12,edu,firm,gob,gov,info,int,mil,net,nom,org,rar,rec,store,tec,webco,com,k12,net,orgac,ai,biz,com,edu,gov,health,id,info,int,io,name,net,org,pro,angiang,bacgiang,backan,baclieu,bacninh,baria-vungtau,bentre,binhdinh,binhduong,binhphuoc,binhthuan,camau,cantho,caobang,daklak,daknong,danang,dienbien,dongnai,dongthap,gialai,hagiang,haiduong,haiphong,hanam,hanoi,hatinh,haugiang,hoabinh,hungyen,khanhhoa,kiengiang,kontum,laichau,lamdong,langson,laocai,longan,namdinh,nghean,ninhbinh,ninhthuan,phutho,phuyen,quangbinh,quangnam,quangngai,quangninh,quangtri,soctrang,sonla,tayninh,thaibinh,thainguyen,thanhhoa,thanhphohochiminh,thuathienhue,tiengiang,travinh,tuyenquang,vinhlong,vinhphuc,yenbaicom,edu,net,orgcom,net,org,gov,eduxn--55qx5d,xn--wcvs22d,xn--mxtq1m,xn--gmqw5a,xn--od0alg,xn--uc0atvxn--o1ac,xn--c1avg,xn--90azh,xn--d1at,xn--o1ach,xn--80auxn--12c1fe0br,xn--12co0c3b4eva,xn--h3cuzk1di,xn--o3cyx2a,xn--m3ch0j3a,xn--12cfi8ixb8lcom,edu,gov,net,mil,orgac,agric,alt,co,edu,gov,grondar,law,mil,net,ngo,nic,nis,nom,org,school,tm,webac,biz,co,com,edu,gov,info,mil,net,org,schac,co,gov,mil,orgco,eduart,gliwice,krakow,poznan,wroc,zakopane,beep,ecommerce-shop,cfolks,dfirma,dkonto,you2,shoparena,homesklep,sdscloud,unicloud,krasnik,leczna,lubartow,lublin,poniatowa,swidnik,co,torun,simplesite,myspreadshop,gda,gdansk,gdynia,med,sopot,bielskode>libphxgh,gl12chars,panel,autocode,lcl>****relay*user>*<archer,bones,canary,global,hacker,id,janeway,kim,kira,kirk,odo,paris,picard,pike,prerelease,reed,riker,sisko,spock,staging,sulu,tarpit,teams,tucker,wesley,worfd>********<*<12chars,blogspot,ibxos,iliadboxos,neen>jcopen>jelastic>cloud<<<16-b,32-b,64-b,123homepage,myspreadshop,syncloud12chars,cloudns,dnstrace>bcicc,inf,ltd,cx,ie,biz,co,pp,v611,oya,x0,quickconnect>directa2hosted,cpserver,adobeaemcloud>dev>*<af-south-1>execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websiteexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspointwebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipswebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipsexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fipsexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-accesspoint-fips,s3-fips,s3-websitewebview-assetsvfs,webview-assets<**af-south-1>*****************************<accesspoint>mrap<*<af-south-1>authauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauthauth,auth-fipsauth,auth-fipsauth-fipsauth,auth-fipsauth,auth-fips<*af-south-1,ap-east-1,ap-northeast-1,ap-northeast-2,ap-northeast-3,ap-south-1,ap-southeast-1,ap-southeast-2,ap-southeast-3,ca-central-1,eu-central-1,eu-north-1,eu-south-1,eu-west-1,eu-west-2,eu-west-3,il-central-1,me-south-1,sa-east-1,us-east-1,us-east-2,us-gov-east-1,us-gov-west-1,us-west-1,us-west-2services>*<*,oci>***<demo,instance*eu-1,eu-2,eu-3,eu-4,us-1,us-2,us-3,us-4*r>*<paasrag-cloud,rag-cloud-chjcloud,jcloud-ver-jpcdemopaasjed,lon,rydcns>*<members,nodebalancer>*<*ipappseucaracal,customer,fentiger,lynx,ocelot,oncilla,onza,sphinx,vs,x,yalicloud<4u,nfshost,ar,hu,kr,no,qc,uy,3utilities,blogsyte,ciscofreak,damnserver,ddnsking,ditchyourip,dnsiskinky,dynns,geekgalaxy,health-carereform,homesecuritymac,homesecuritypc,myactivedirectory,mysecuritycamera,myvnc,net-freaks,onthewifi,point2this,quicksytes,securitytactics,servebeer,servecounterstrike,serveexchange,serveftp,servegame,servehalflife,servehttp,servehumour,serveirc,servemp3,servep2p,servepics,servequake,servesarcasm,stufftoread,unusualperson,workisboring,001www,ddnslive,myiphost,observableusercontent>static*xeneu*app<180r,dojin,sakuratan,sakuraweb,x0,code>builder>***<platform>code-builder-stg>test>001>*<<<<alpha,betaapimediasitepro*pagesjsu2,u2-localaaaon-acorn>*app,backyards>*<s>*<uk0dyndnsid*paassekd1cloud-fr1*ap,au,eu,in,jp,sa,usstagemocksys>*<site**devicesclientapps**dev>cust,reservdcust,reservdcustcust,reservd<activetrail,cloudns,jozi,dyndns,for-better,for-more,for-some,for-the,selfip,webhop,orx,mmafan,myftp,no-ip,dscloudadaptable,beget>*previewrelaystaging*****id*,privatelink>*<previewaem,hlx,ewp>*<adobeaemcloud,adobeio-static,adobeioruntime,akadns,akamai,akamai-staging,akamaiedge,akamaiedge-staging,akamaihd,akamaihd-staging,akamaiorigin,akamaiorigin-staging,akamaized,akamaized-staging,edgekey,edgekey-staging,edgesuite,edgesuite-staging,alwaysdata,myamaze,cloudfront,appudo,atlassian-dev>prod>cdn<rcdncdncdncdn*ufreetls,map,prod>a,globala,b,global<mapfra1-de,west1-usjls-sto1,jls-sto2,jls-sto3paas>fr-1,lon-1,lon-2,ny-1,ny-2,sg-1<jelastic,nordeste-idcjjelastic1,2,3,4,5,6,7,centralus,eastasia,eastus2,westeurope,westus2core>blobsnhosting>**<jelastic>atl,njs,ric<soc,userbetac>*<pagesstorage,websiteaem,hlx,hlx3,translated,codeberg,prvcy,rocky,magnet,pdns,pleskairkitapps,mycd,cloudns,dogado>jelastic*barsy,awdev>*compute>*<alces>*altervista,pimienta,poivron,potager,sweetpepper,cdn77>c,rscorigin>ssl<go,homeal,asso,at,au,be,bg,ca,cd,ch,cn,cy,cz,de,dk,edu,ee,es,fi,fr,gr,hr,hu,ie,il,in,int,is,it,jp,kr,lt,lu,lv,mc,me,mk,mt,my,net,ng,nl,no,nz,paris,pl,pt,q-a,ro,ru,se,si,sk,tr,uk,uscloud,os>appos>app<<s3com>amazonaws>cn-north-1>execute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint,s3-websiteexecute-api,emrappui-prod,emrnotebooks-prod,emrstudio-prod,dualstack>s3,s3-accesspoint*cn-north-1>**<cn-north-1,cn-northwest-1*<cn-north-1>notebook,studionotebook,studio<<my>*<asdirect<sagemaker>ap-northeast-1>labeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,notebook-fips,studiolabeling,notebook,notebook-fips,studionotebook,studionotebook,studionotebook,studionotebooknotebook,studionotebooknotebook,notebook-fipsnotebooknotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,studionotebook,notebook-fips,studio,studio-fipsnotebook,notebook-fips,studio,studio-fipsnotebook,notebook-fips,studio*<private>*<<eero,eero-stage,websitebuilder,barsyf5,gitapp,gitpage,blogspotne>aseinet>userisk01>s3s3<rs,usergv>d<0e,mydnsparty>user<myfritz,cyon,nftstorage>ipfs*<advisor>*banzai>*eu*es-1viparuba>eur>it1<cstn,ukukca,uk,usch,de**baremetal>fr-par-1,fr-par-2,nl-ams-1cockpit,fnc>functionsnodespriv,pubcockpit,k8s>nodescockpit,k8s>nodesruns*base,officialbase,hoplix,barsy,barsyonlinepagesbnrbip,hashbang,platform>ent,eu,usofsquare7,cloudns,cloudscale>cust,lpg>objectsobjects<ae>alp1*,svc>*<<12hp,2ix,4lima,lima-citybplaced,square7,com,cosidns>dyndyn,dyndnsdyn*it>pages<customer*brendly>shopbrendly>shopradio,blogspotradio,user>*<co>bytemark>dh,vmjcustapi,campaign,serviceglug,lug,lugs,affinitylottery,raffleentry,weeklylotterycanva>my>*<***drr,feedback,formsuwu,framercarrd,crd,otap>*blogspot*ididjucontentproxy9>rsccloud>*cloud>flt,usr<<za,mydns,gsjcom,blogspot,conf,iopsys,123minsida,itcouldbewor,myspreadshopdiscoursediscourse,jelasticcleverapps,cloudns,ftpaccess,game-server,myphotos,scrapping,twmail,csx,fantasyleague,spawn>instances<cleverappscloudns,daemon,dixcloudns,webhosting,blogspot,interhostsolutions>cloudezproxy<123website,myspreadshop,transurl>*<cloudns,blogspotcloudns,jele,barsycloudns,ath,info,assessments,calculators,funnels,paynow,quizzes,researched,testscloudns,blogspot,barsy,web,supabasecloudns,dynamic-dns,barrel-of-knowledge,barrell-of-knowledge,dyndns,for-our,groks-the,groks-this,here-for-more,knowsitall,selfip,webhop,barsy,mayfirst,dvrcam,ilovecollege,no-ip,forumz,nsupdate,dnsupdate,v-infocloudns,co>blogspot<cloudnscloudns,x443c66,craft,daplie>localhostsitecloud66,hs,triton>*cloudaccess,freesite,easypanel,fastvps,myfast,tempurl,wpmudev,jele,mircloud,wp2,halfcnpyco,hosting-cluster,blogspot,gov,khplay,123website,myspreadshop,transurl>*co,blogspot,123hjemmeside,myspreadshopac,edu,gov,int,mil,test,eurodir,adygeya,bashkiria,bir,cbg,com,dagestan,grozny,kalmykia,kustanai,marine,mordovia,msk,mytis,nalchik,nov,pyatigorsk,spb,vladikavkaz,vladimir,blogspot,na4u,mircloud,regruhosting>jelastichosting>****<hbvpscrisp>onpp<biz,co,firm,reg,store,blogspot,123hjemmeside,myspreadshopdapps>*,bzz>*<<usmy>rss>*<blogspotdiher>*<online,shopdy,blogspot,xn--hkkinen-5wa,iki,cloudplatform>fidemo,paasher>forgotforgot<merseine,mine,shacknet,enterprisecloudbetter-than,dyndns,on-the-web,worse-than,from,sakuramyddns,stackit,lima-city,webspaceblogsite,localzone,crafting,zapto,telebit>*<onred>staging*com>mymaileremf>at<rtelementor,deen-root,fbx-os,fbxos,freebox-os,freeboxos,blogspot,goupile,123siteweb,on-web,chirurgiens-dentistes-en-france,dedibox,aeroport,avocat,chambagri,chirurgiens-dentistes,experts-comptables,medecin,notaires,pharmacien,port,veterinaire,myspreadshop,ynhabkhazia,adygeya,aktyubinsk,arkhangelsk,armenia,ashgabad,azerbaijan,balashov,bashkiria,bryansk,bukhara,chimkent,dagestan,east-kazakhstan,exnet,georgia,grozny,ivanovo,jambyl,kalmykia,kaluga,karacol,karaganda,karelia,khakassia,krasnodar,kurgan,kustanai,lenug,mangyshlak,mordovia,msk,murmansk,nalchik,navoi,north-kazakhstan,nov,obninsk,penza,pokrovsk,sochi,spb,tashkent,termez,togliatti,troitsk,tselinograd,tula,tuva,vladikavkaz,vladimir,vologdamyfast,heiyu,app-ionos,uber,xs4allframerframerframerframerfunkfeuer>wien*,ex>**<ex>**<blogspotlab,minisitecorpnetnog,ravendb,myforumco,shop,blogspot,barsygraphic,bssblogspotblogspotcom>blogspot<com>blogspot,cloudlets>melblogspot,rsblogspot,barsyblogspot
      com>blogspot,simplesiteac,al,am,ap,ba,ce,df,es,go,ma,mg,ms,mt,pa,pb,pe,pi,pr,rj,rn,ro,rr,rs,sc,se,sp,to<com>blogspotblogspotblogspotcom>blogspot,scaleforce>j<<com>blogspot<com>blogspot<com>blogspot<123miweb,myspreadshopcloud,translate,usercontent>*<blogspot,barsy,simplesiteblogspot,secaas,inc,ltdblogspotblogspot,myspreadshopco>blogspot,ravpage,mytabit,tabitorder<blogspotco>blogspot<blogspot
    1. blogspot,caablogspotblogspot,123websiteblogspot,irblogspotblogspotcom>blogspot<blogspotblogspotcom>blogspotblogspotblogspot,123paginawebblogspotblogspot,canblogspot,enscaledblogspotblogspotblogspotcom>blogspot<blogspotcom>blogspot<blogspotco>blogspot<cloudapps>london<finhs,development,ravendb,servers,build>****express,webhelioho,kirara,nohoid>**bizedu,gov>service<sch,surveysjcloud,kazteleport>upaas<orangecloudkaas,stackit,panel>daemon<knightpointkoobin,colibp2pcococococoweloginlinebarsy,barsyonlinebarsy,dscloudbarsy,sellfy,shopware,storebasebarsyhranabu>ui<ngroknoticeablenow-dns,ntdll,wadl>*<nerdpolnycoblomgopencrafttechown,nameowo>*<oypley,sheezycoprequalifymecloudsiteaus,nzrit>git-pages<xn--90amc,xn--j1aef,xn--j1ael8b,xn--h1ahn,xn--j1adp,xn--c1avg,xn--80aaa0cvac,xn--h1aliz,xn--90a1af,xn--41aindstorj1337clanschbiz,schorgrouterofficialyboyboyboyboybo");const a=Tn(n,go),i=Tn(n,bo);if(0===a.length&&0===i.length)return{type:po.NotListed,hostname:o,labels:n};const s=n.length-Math.max(i.length,a.length)-1,c=n.length-a.length-1;return Object.assign({type:po.Listed,hostname:o,labels:n,icann:yo(n,c)},yo(n,s))},wo=/^[a-z][*+.a-z-]+:\/\//i,ko=/^([a-z][*+.a-z-]+:\/\/)([^[][^/?]*:[^/?]*:[^/?]*)(.*)/i,xo=Symbol("NO_HOSTNAME");function jo(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */jo=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==_o(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function _o(t){return _o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_o(t)}function Eo(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Lo(t){var e;if(!t||!So(t))return t?Se(t).substring(0,20):"";var r=vo((t=>{if("function"!=typeof URL)throw new Error("Looks like the new URL() constructor is not globally available in your environment. Please make sure to use a polyfill.");if("string"!=typeof t)return xo;let e=t.startsWith("//")?`http:${t}`:t.startsWith("/")||wo.test(t)?t:`http://${t}`;e=e.replace(ko,"$1[$2]$3");try{return new URL(e).hostname}catch(t){return xo}})(t));return r.domain+"."+(null===(e=r.topLevelDomains)||void 0===e?void 0:e.join("."))}function Oo(t){try{return new URL(t).hostname}catch(e){return t?Se(t).substring(0,20):""}}var So=function(t){return/^(http:\/\/|https:\/\/).*$/.test(t)};function zo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function Ao(t){return Po.apply(this,arguments)}function Po(){var t;return t=jo().mark((function t(e){var r,n,o,a,i;return jo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(i=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",i.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),Po=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Eo(a,n,o,i,s,"next",t)}function s(t){Eo(a,n,o,i,s,"throw",t)}i(void 0)}))},Po.apply(this,arguments)}const Io=function(t,e,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),e)};const Co=function(t){return t};const To=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var Fo=Math.max;const Do=function(t,e,r){return e=Fo(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,a=Fo(n.length-e,0),i=Array(a);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(qo);const Mo=function(t,e){return $o(Do(t,e,Co),t+"")};var Ro=/\s/;const Uo=function(t){for(var e=t.length;e--&&Ro.test(t.charAt(e)););return e};var Vo=/^\s+/;const Wo=function(t){return t?t.slice(0,Uo(t)+1).replace(Vo,""):t};var Yo=/^[-+]0x[0-9a-f]+$/i,Ho=/^0b[01]+$/i,Ko=/^0o[0-7]+$/i,Qo=parseInt;const Jo=function(t){if("number"==typeof t)return t;if(xt(t))return NaN;if(Lt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Lt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Wo(t);var r=Ho.test(t);return r||Ko.test(t)?Qo(t.slice(2),r?2:8):Yo.test(t)?NaN:+t};const Xo=Mo((function(t,e,r){return Io(t,Jo(e)||0,r)})),Zo=t=>(e,r,n)=>{const o=n.subscribe;n.subscribe=(t,e,r)=>{let a=t;if(e){const o=(null==r?void 0:r.equalityFn)||Object.is;let i=t(n.getState());a=r=>{const n=t(r);if(!o(i,n)){const t=i;e(i=n,t)}},(null==r?void 0:r.fireImmediately)&&e(i,i)}return o(a)};return t(e,r,n)};const ta=function(){return lt.Date.now()};var ea=Math.max,ra=Math.min;const na=function(t,e,r){var n,o,a,i,s,c,u=0,l=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,a=o;return n=o=void 0,u=e,i=t.apply(a,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-u>=a}function m(){var t=ta();if(d(t))return y(t);s=setTimeout(m,function(t){var r=e-(t-c);return f?ra(r,a-(t-u)):r}(t))}function y(t){return s=void 0,h&&n?p(t):(n=o=void 0,i)}function g(){var t=ta(),r=d(t);if(n=arguments,o=this,c=t,r){if(void 0===s)return function(t){return u=t,s=setTimeout(m,e),l?p(t):i}(c);if(f)return clearTimeout(s),s=setTimeout(m,e),p(c)}return void 0===s&&(s=setTimeout(m,e)),i}return e=Jo(e)||0,Lt(r)&&(l=!!r.leading,a=(f="maxWait"in r)?ea(Jo(r.maxWait)||0,e):a,h="trailing"in r?!!r.trailing:h),g.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=c=o=s=void 0},g.flush=function(){return void 0===s?i:y(ta())},g};const oa=function(t,e){for(var r=-1,n=e.length,o=t.length;++r0&&n(c)?r>1?t(c,r-1,n,o,a):oa(a,c):o||(a[a.length]=c)}return a};const pa=function(){this.__data__=new ce,this.size=0};const da=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const ma=function(t){return this.__data__.get(t)};const ya=function(t){return this.__data__.has(t)};const ga=function(t,e){var r=this.__data__;if(r instanceof ce){var n=r.__data__;if(!ue||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new be(n)}return r.set(t,e),this.size=r.size,this};function ba(t){var e=this.__data__=new ce(t);this.size=e.size}ba.prototype.clear=pa,ba.prototype.delete=da,ba.prototype.get=ma,ba.prototype.has=ya,ba.prototype.set=ga;const va=ba;const wa=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const ka=function(t){return this.__data__.has(t)};function xa(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new be;++es))return!1;var u=a.get(t),l=a.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,p=2&r?new ja:void 0;for(a.set(t,e),a.set(e,t);++f-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var Ha={};Ha["[object Float32Array]"]=Ha["[object Float64Array]"]=Ha["[object Int8Array]"]=Ha["[object Int16Array]"]=Ha["[object Int32Array]"]=Ha["[object Uint8Array]"]=Ha["[object Uint8ClampedArray]"]=Ha["[object Uint16Array]"]=Ha["[object Uint32Array]"]=!0,Ha["[object Arguments]"]=Ha["[object Array]"]=Ha["[object ArrayBuffer]"]=Ha["[object Boolean]"]=Ha["[object DataView]"]=Ha["[object Date]"]=Ha["[object Error]"]=Ha["[object Function]"]=Ha["[object Map]"]=Ha["[object Number]"]=Ha["[object Object]"]=Ha["[object RegExp]"]=Ha["[object Set]"]=Ha["[object String]"]=Ha["[object WeakMap]"]=!1;const Ka=function(t){return kt(t)&&Ya(t.length)&&!!Ha[wt(t)]};const Qa=function(t){return function(e){return t(e)}};var Ja="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xa=Ja&&"object"==typeof module&&module&&!module.nodeType&&module,Za=Xa&&Xa.exports===Ja&&ct.process,ti=function(){try{var t=Xa&&Xa.require&&Xa.require("util").types;return t||Za&&Za.binding&&Za.binding("util")}catch(t){}}();var ei=ti&&ti.isTypedArray;const ri=ei?Qa(ei):Ka;var ni=Object.prototype.hasOwnProperty;const oi=function(t,e){var r=st(t),n=!r&&ua(t),o=!r&&!n&&Ua(t),a=!r&&!n&&!o&&ri(t),i=r||n||o||a,s=i?qa(t.length,String):[],c=s.length;for(var u in t)!e&&!ni.call(t,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Wa(u,c))||s.push(u);return s};var ai=Object.prototype;const ii=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ai)};const si=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object);var ci=Object.prototype.hasOwnProperty;const ui=function(t){if(!ii(t))return si(t);var e=[];for(var r in Object(t))ci.call(t,r)&&"constructor"!=r&&e.push(r);return e};const li=function(t){return null!=t&&Ya(t.length)&&!Ot(t)};const fi=function(t){return li(t)?oi(t):ui(t)};const hi=function(t){return Ca(t,fi,Na)};var pi=Object.prototype.hasOwnProperty;const di=function(t,e,r,n,o,a){var i=1&r,s=hi(t),c=s.length;if(c!=hi(e).length&&!i)return!1;for(var u=c;u--;){var l=s[u];if(!(i?l in e:pi.call(e,l)))return!1}var f=a.get(t),h=a.get(e);if(f&&h)return f==e&&h==t;var p=!0;a.set(t,e),a.set(e,t);for(var d=i;++ue||a&&i&&c&&!s&&!u||n&&i&&c||!r&&c||!o)return 1;if(!n&&!a&&!u&&t=s?c:c*("desc"==r[n]?-1:1)}return t.index-e.index};const rs=function(t,e,r){e=e.length?_e(e,(function(t){return st(t)?function(e){return Pe(e,1===t.length?t[0]:t)}:t})):[Co];var n=-1;e=_e(e,Qa(Ki));var o=Xi(t,(function(t,r,o){return{criteria:_e(e,(function(e){return e(t)})),index:++n,value:t}}));return Zi(o,(function(t,e){return es(t,e,r)}))};const ns=function(t,e,r){if(!Lt(r))return!1;var n=typeof e;return!!("number"==n?li(r)&&Wa(e,r.length):"string"==n&&e in r)&&te(r[e],t)};const os=Mo((function(t,e){if(null==t)return[];var r=e.length;return r>1&&ns(t,e[0],e[1])?e=[]:r>2&&ns(e[0],e[1],e[2])&&(e=[e[0]]),rs(t,ha(e,1),[])}));const as=function(t,e,r){"__proto__"==e&&No?No(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var is=Object.prototype.hasOwnProperty;const ss=function(t,e,r){var n=t[e];is.call(t,e)&&te(n,r)&&(void 0!==r||e in t)||as(t,e,r)};const cs=function(t,e,r,n){if(!Lt(t))return t;for(var o=-1,a=(e=ze(e,t)).length,i=a-1,s=t;null!=s&&++o=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function ms(t){return function(t){if(Array.isArray(t))return gs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ys(t)||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 ys(t,e){if(t){if("string"==typeof t)return gs(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gs(t,e):void 0}}function gs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xs(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function js(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){xs(a,n,o,i,s,"next",t)}function s(t){xs(a,n,o,i,s,"throw",t)}i(void 0)}))}}var _s=function(){var t=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,sr("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Es=function(){var t=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,sr("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ls=sn(Zo(Jr((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(u=js(ks().mark((function t(){return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)}),loadTabs:(c=js(ks().mark((function r(){return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var i=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,s=a.map((function(t){return vs(vs({},gc(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:i,tabs:s,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(s),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return c.apply(this,arguments)}),loadTabsMetadata:(s=js(ks().mark((function e(r){var n,o,a;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return Is(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),a=r.map((function(t){var e=o.get(t.tabId);return e?vs(vs({},t),e):t})),t({tabs:a});case 6:case"end":return e.stop()}}),e)}))),function(t){return s.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?vs(vs({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=vs(vs({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=ms(t.tabs);return o[n]=vs(vs({},o[n]),r),{tabs:o}}return{tabs:[].concat(ms(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return vs(vs({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),zs(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(i=js(ks().mark((function e(r){return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,As(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return i.apply(this,arguments)}),resortTabs:na(js(ks().mark((function t(){var r,n,o,a;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=ds(r),t.prev=4,a=ks().mark((function t(){var r,n;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(a(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=js(ks().mark((function e(){var r;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=vs(vs({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=ms(t.groups);return o[r]=vs(vs({},o[r]),n),{groups:o}}return{groups:[].concat(ms(t.groups),[n])}}))}},initQuickAccess:(o=js(ks().mark((function e(){var r,n,o;return ks().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,Es();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:n=e.sent,o=os(n,"sortIndex"),t({quickAccess:o}),Date.now();case 11:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=js(ks().mark((function r(n,o){var a,i,s,c,u,l,f;return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=vs(vs({},hs(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=16;break}if(!o.url.startsWith("http")){r.next=15;break}return r.prev=3,r.next=6,Ao(o.url);case 6:o.favIconUrl=r.sent,r.next=13;break;case 9:r.prev=9,r.t0=r.catch(3),o.favIconUrl=zo(o.url);case 13:r.next=16;break;case 15:o.favIconUrl=zo(o.url);case 16:return a=os(e().quickAccess,"sortIndex"),i=a.findIndex((function(t){return t.uuid===n})),-1!==(s=a.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((c=ms(a))[s]=vs(vs({},c[s]),o),t({quickAccess:c})):-1!==i?((u=ms(a))[i]=vs(vs({},u[i]),o),t({quickAccess:u})):(l=Math.max.apply(Math,ms(a.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(ms(a),[vs(vs({},o),{},{sortIndex:l+1})])})),r.next=22,Es();case 22:return f=r.sent,r.next=25,f.set("quickAccess",e().quickAccess);case 25:case"end":return r.stop()}}),r,null,[[3,9]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=js(ks().mark((function r(n){var o,a,i;return ks().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,a=o.filter((function(t){return t.uuid!==n})),t({quickAccess:a}),r.next=5,Es();case 5:return i=r.sent,r.next=8,i.set("quickAccess",a);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,i,s,c,u}))),cn),Os=new Map,Ss=function(){var t=js(ks().mark((function t(e){var r,n;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},Os.set("tabid_".concat(e),r),t.next=4,_s();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),zs=function(){var t=js(ks().mark((function t(e,r,n){var o,a,i;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_s();case 3:if(o=t.sent,t.t1=Os.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return a=t.t0,i=vs(vs({},a),{},ws(ws({},r,n),"tabId",e)),Os.set("tabid_".concat(e),i),t.next=18,o.set("tabid_".concat(e),i);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),As=function(){var t=js(ks().mark((function t(e){var r;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Os.delete("tabid_".concat(e)),t.next=3,_s();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ps=function(){var t=js(ks().mark((function t(e,r){var n,o;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_s();case 2:if(n=t.sent,t.t0=Os.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Is=function(){var t=js(ks().mark((function t(e){var r,n,o,a,i,s,c,u,l,f;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_s();case 2:if(r=t.sent,t.t1=Os.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,a=void 0===o?Date.now():o,i=n.created_time,s=void 0===i?Date.now():i,c=n.thumbnail,u=n.pipSupport,l=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:a,created_time:s,thumbnail:c,pipSupport:u,pipOn:l,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();var Cs=Math.floor,Ts=Math.random;const Fs=function(t,e){return t+Cs(Ts()*(e-t+1))};const Ds=function(t){var e=t.length;return e?t[Fs(0,e-1)]:void 0};const Gs=function(t,e){return _e(e,(function(e){return t[e]}))};const Ns=function(t){return null==t?[]:Gs(t,fi(t))};const qs=function(t){return Ds(Ns(t))};const Bs=function(t){return(st(t)?Ds:qs)(t)};var $s=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],Ms=$s.filter((function(t){return t.color!==t.tabGroupColor})),Rs=$s.filter((function(t){return t.color===t.tabGroupColor})),Us=function(){return Bs($s)};function Vs(t){return Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vs(t)}function Ws(t){return function(t){if(Array.isArray(t))return Ys(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ys(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ys(t,e):void 0}}(t)||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 Ys(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Xs(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Zs(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Xs(a,n,o,i,s,"next",t)}function s(t){Xs(a,n,o,i,s,"throw",t)}i(void 0)}))}}var tc=function(){var t=Zs(Js().mark((function t(){return Js().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",sr("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ec=sn(Zo(Jr((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(a=Zs(Js().mark((function e(){var r,n;return Js().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tc();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),getSiteConfig:(o=Zs(Js().mark((function t(r){var n,o;return Js().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,tc();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=Zs(Js().mark((function e(r,n){var o,a,i;return Js().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=Ks(Ks({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=Ws(t.sites);return n[e]=Ks(Ks({},n[e]),o),{sites:n}}return{sites:[].concat(Ws(t.sites),[o])}})),e.next=10,tc();case 10:return a=e.sent,e.next=13,a.get("site_config_".concat(r));case 13:return i=e.sent,e.next=16,a.set("site_config_".concat(r),Ks(Ks({},i),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=Zs(Js().mark((function r(n){var o;return Js().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,tc();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a}))),cn);function rc(t){return rc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rc(t)}function nc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oc(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function lc(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function fc(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){lc(a,n,o,i,s,"next",t)}function s(t){lc(a,n,o,i,s,"throw",t)}i(void 0)}))}}var hc=function(){var t=fc(uc().mark((function t(e,r){return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Re("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:Ls.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return Ls.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){Re("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();var pc=function(){var t=fc(uc().mark((function t(e){return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,mc(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:Ls.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,Xo(yc,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),dc=new Set,mc=function(){var t=fc(uc().mark((function t(e){var r,n;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return dc.add(e),t.next=3,Re("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(ic(r),[e]),t.next=10,Re("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),yc=function(){var t=fc(uc().mark((function t(e){var r;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return dc.delete(e),t.next=3,Re("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,Re("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),gc=function(t){var e=oc({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),n=r.hostname,o=r.origin;return e.hostname=n,e.origin=o,e.hostname=So(e.url)?n:e.url,e.tabId=t.id,e.color=Ms[t.id%Ms.length],e},bc=function(){var t=fc(uc().mark((function t(e){var r,n,o,a,i=arguments;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={windowType:"normal",url:["http://*/*","https://*/*"]},void 0!==(r=i.length>1&&void 0!==i[1]?i[1]:{}).windowId&&(n.windowId=r.windowId),t.next=5,chrome.tabs.query(n);case 5:return o=t.sent,a=o.map((function(t){return x(t.id,e,r)})),t.next=9,Promise.all(a);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),vc=function(){var t=fc(uc().mark((function t(e){var r,n,o,a,i,s;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=bn.getState().settings,n=r.tabPreviewEnable,o=r.tabPreviewImage,n&&o){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if(So(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((i=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(i.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return s=t.sent,t.abrupt("return",s);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),wc=function(){var t=fc(uc().mark((function t(e,r,n){var o,a,i;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ar("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,Ps(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return a=t.sent,t.next=18,ec.getState().getSiteConfig(new URL(a.url).hostname);case 18:if(!1!==(null==(i=t.sent)?void 0:i.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,x(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),kc=function(){var t=fc(uc().mark((function t(e,r,n){var o,a,i;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ps(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,zs(e,"pipMap",oc(oc({},o),{},ac({},r,n)));case 6:return t.next=8,xc(e,"pipSupport");case 8:return a=t.sent,t.next=11,zs(e,"pipSupport",a);case 11:return t.next=13,xc(e,"pipOn");case 13:return i=t.sent,t.next=16,zs(e,"pipOn",i);case 16:return t.abrupt("return",{pipMap:o,pipSupport:a,pipOn:i});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),xc=function(){var t=fc(uc().mark((function t(e,r){var n,o;return uc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ps(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=uc().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();function jc(t){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(t)}function _c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(t,e)||Oc(t,e)||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 Ec(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ec=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==jc(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Lc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Oc(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Oc(t,e){if(t){if("string"==typeof t)return Sc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sc(t,e):void 0}}function Sc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=47;break}return t.prev=31,g=Rs[f%Rs.length].color,t.next=35,chrome.tabs.group({tabIds:y.map((function(t){return t.id})),createProperties:{windowId:y[0].windowId}});case 35:return b=t.sent,t.next=38,chrome.tabGroups.update(b,{title:m,color:g,collapsed:!0});case 38:return f++,t.next=41,new Promise((function(t){return setTimeout(t,100)}));case 41:t.next=47;break;case 43:t.prev=43,t.t1=t.catch(31),r.push("".concat(t.t1.message));case 47:h++,t.next=28;break;case 50:t.next=17;break;case 52:t.next=57;break;case 54:t.prev=54,t.t2=t.catch(15),i.e(t.t2);case 57:return t.prev=57,i.f(),t.finish(57);case 60:t.next=66;break;case 62:t.prev=62,t.t3=t.catch(1),r.push("".concat(t.t3.message));case 66:if(!(r.length>0)){t.next=68;break}throw new Error(r.join("\n"));case 68:case"end":return t.stop()}}),t,null,[[1,62],[15,54,57,60],[31,43]])})));return function(e){return t.apply(this,arguments)}}(),Ic=function(){var t=Ac(Ec().mark((function t(e){var r,n,o,a,i,s,c,u,l,f,h,p,d;return Ec().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ar("user_settings");case 3:return r=t.sent,n={windowType:"normal",currentWindow:r.onlyCurrentWindowTabs||!1,pinned:!r.groupFilterOutPinnedTabs&&void 0,windowId:e||void 0},t.next=7,chrome.tabs.query(n);case 7:if((o=t.sent)&&0!==o.length){t.next=10;break}return t.abrupt("return");case 10:a=o.reduce((function(t,e){if(-1!==e.groupId)return t;var r=Lo(e.url);return t[r]||(t[r]=[]),t[r].push(e),t}),{}),i=0,s=Object.keys(a).sort(),c=Lc(s),t.prev=14,c.s();case 16:if((u=c.n()).done){t.next=39;break}l=u.value,f=a[l],h=Lc(f),t.prev=20,h.s();case 22:if((p=h.n()).done){t.next=29;break}return d=p.value,t.next=26,chrome.tabs.move(d.id,{index:i});case 26:i++;case 27:t.next=22;break;case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(20),h.e(t.t0);case 34:return t.prev=34,h.f(),t.finish(34);case 37:t.next=16;break;case 39:t.next=44;break;case 41:t.prev=41,t.t1=t.catch(14),c.e(t.t1);case 44:return t.prev=44,c.f(),t.finish(44);case 47:t.next=52;break;case 49:t.prev=49,t.t2=t.catch(0);case 52:case"end":return t.stop()}}),t,null,[[0,49],[14,41,44,47],[20,31,34,37]])})));return function(e){return t.apply(this,arguments)}}(),Cc=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},Tc=function(){var t=Ac(Ec().mark((function t(e){var r,n,o,a,i,s;return Ec().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,ar("user_settings");case 9:if(null==(n=t.sent)||!n.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return o=Cc(r.url),t.next=16,chrome.tabGroups.query({title:o,windowId:r.windowId});case 16:if((a=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return i=t.sent,t.next=24,chrome.tabGroups.update(i,{title:o,color:Rs[i%Rs.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(s=a[0].id,-1!==r.groupId&&r.groupId===s){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:s});case 31:return t.next=33,hc(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),Fc=new Map,Dc=function(t){return!!t&&Fc.has("sidepanel_".concat(t))};function Gc(t){return Gc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gc(t)}function Nc(t){return function(t){if(Array.isArray(t))return Mc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||$c(t)||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 qc(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Gc(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Bc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=$c(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function $c(t,e){if(t){if("string"==typeof t)return Mc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mc(t,e):void 0}}function Mc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=142;break}return t.next=142,chrome.tabs.ungroup(_.map((function(t){return t.id})));case 142:n({success:!0,data:i}),t.next=149;break;case 145:t.prev=145,t.t7=t.catch(135),n({success:!1,error:t.t7.message});case 149:return t.abrupt("break",260);case 150:return chrome.windows.create({type:"normal"},(function(t){chrome.tabGroups.move(a.groupId,{index:-1,windowId:t.id}).then((function(){chrome.tabs.query({windowId:t.id,index:0}).then((function(t){pc(t.map((function(t){return t.id}))[0])}))}))})),n({success:!0,data:i}),t.abrupt("break",260);case 153:return chrome.windows.create({type:"normal"},(function(t){chrome.tabs.move(a.tabIds,{index:-1,windowId:t.id}).then((function(){chrome.tabs.query({windowId:t.id,index:0}).then((function(t){pc(t.map((function(t){return t.id}))[0])}))}))})),n({success:!0,data:i}),t.abrupt("break",260);case 156:return t.prev=156,t.next=159,Pc(a.windowId);case 159:n({success:!0,data:i}),t.next=166;break;case 162:t.prev=162,t.t8=t.catch(156),n({success:!1,error:t.t8.message});case 166:return t.abrupt("break",260);case 167:return t.next=169,Ic(a.windowId);case 169:return n({success:!0,data:i}),t.abrupt("break",260);case 171:return c={windowType:"normal",active:!1,discarded:!1,pinned:!1},a.windowId&&(c.windowId=a.windowId),t.next=175,chrome.tabs.query(c);case 175:s=t.sent,E=Bc(s);try{for(E.s();!(L=E.n()).done;)O=L.value,chrome.tabs.discard(O.id)}catch(t){E.e(t)}finally{E.f()}return n({success:!0,data:i}),t.abrupt("break",260);case 180:return c={windowType:"normal",active:!1,discarded:!0,pinned:!1},a.windowId&&(c.windowId=a.windowId),t.next=184,chrome.tabs.query(c);case 184:s=t.sent,S=Bc(s);try{for(S.s();!(z=S.n()).done;)A=z.value,pc(A.id)}catch(t){S.e(t)}finally{S.f()}return n({success:!0,data:i}),t.abrupt("break",260);case 189:return a.windowId&&(c.windowId=a.windowId),t.next=192,chrome.tabGroups.query(c);case 192:P=t.sent,I=[],C=Bc(P),t.prev=195,C.s();case 197:if((T=C.n()).done){t.next=213;break}return F=T.value,t.prev=199,t.next=202,chrome.tabs.query({groupId:F.id});case 202:return D=t.sent,t.next=205,chrome.tabs.ungroup(D.map((function(t){return t.id})));case 205:t.next=211;break;case 207:t.prev=207,t.t9=t.catch(199),I.push(t.t9.message);case 211:t.next=197;break;case 213:t.next=218;break;case 215:t.prev=215,t.t10=t.catch(195),C.e(t.t10);case 218:return t.prev=218,C.f(),t.finish(218);case 221:return I.length>0?n({success:!1,error:I}):n({success:!0,data:i}),t.abrupt("break",260);case 223:return vn.getState().updateSetting("sidebarWidth",a.width),bc("updateSidebarWidth",a),n({success:!0}),t.abrupt("break",260);case 227:return t.next=229,hc(a.tabId);case 229:return n({success:!0}),t.abrupt("break",260);case 231:return t.next=233,chrome.tabs.create({active:!0});case 233:return n({success:!0}),t.abrupt("break",260);case 235:return vn.getState().updateSetting("sidebarEnabled",!1),bc("update_setting",{key:"sidebarEnabled",value:!1}),n({success:!0}),t.abrupt("break",260);case 239:return vn.getState().updateSetting("sidebarPosition",a.position),bc("update_setting",{key:"sidebarPosition",value:a.position}),n({success:!0}),t.abrupt("break",260);case 243:return t.next=245,ec.getState().setSiteConfig(e.data.hostname,e.data.config);case 245:return n({success:!0}),t.abrupt("break",260);case 247:return t.next=249,vn.getState().updateSetting(e.data.key,e.data.value);case 249:return t.next=251,bc("update_setting",e.data);case 251:return n({success:!0}),t.abrupt("break",260);case 253:return N=vn.getState().settings,t.next=256,ec.getState().getSiteConfig(Oo(null===(G=r.tab)||void 0===G?void 0:G.url));case 256:return q=t.sent,n({success:!0,data:{settings:N,siteConfigs:q,tab:r.tab,frameId:r.frameId}}),t.abrupt("break",260);case 259:return t.abrupt("break",260);case 260:t.next=266;break;case 262:t.prev=262,t.t11=t.catch(0),n({success:!1,error:t.t11.message});case 266:case"end":return t.stop()}}),t,null,[[0,262],[19,30,33,36],[45,55,58,61],[69,81,84,87],[90,100,103,106],[108,116],[124,130],[135,145],[156,162],[195,215,218,221],[199,207]])}))),Wc.apply(this,arguments)}var Yc=function(){var t=Uc(qc().mark((function t(e,r,n){var o,a,i,s,c,u,l,f,h,p,d,m,y,g,b,v;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Dc(null===(o=r.tab)||void 0===o?void 0:o.windowId)){t.next=2;break}return t.abrupt("return");case 2:a={},t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"open_sidepanel"===t.t0?8:"open_popup"===t.t0?14:"page_video_intersection_changed"===t.t0?18:"addQuickAccess"===t.t0?31:44;break;case 6:return n({success:!0,data:{is_sidepanel_opened:Dc(null===(i=r.tab)||void 0===i?void 0:i.windowId)}}),t.abrupt("break",44);case 8:if(null===(s=r.tab)||void 0===s||!s.windowId||Dc(null===(c=r.tab)||void 0===c?void 0:c.windowId)){t.next=12;break}return null===(u=chrome.sidePanel)||void 0===u||u.setOptions({enabled:!0,path:"sidepanel.html"}),t.next=12,null===(l=chrome.sidePanel)||void 0===l?void 0:l.open({tabId:r.tab.id,windowId:r.tab.windowId});case 12:return n({success:!0,data:a}),t.abrupt("break",44);case 14:return parseInt(/Chrome\/(\d+)/.exec(navigator.userAgent)[1],10)>127&&(null===(f=chrome.action)||void 0===f||f.openPopup()),n({success:!0}),t.abrupt("break",44);case 18:if(null===(h=r.tab)||void 0===h||!h.id){t.next=29;break}if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=24;break}return t.next=22,wc(r.tab.id,"scroll","exitPictureInPicture");case 22:t.next=27;break;case 24:if(e.data.paused||e.data.muted){t.next=27;break}return t.next=27,wc(r.tab.id,"scroll","enterPictureInPicture");case 27:return t.next=29,Ls.getState().setTabConfig(r.tab.id,{video_visiable:e.data.video_visiable});case 29:return n({success:!0}),t.abrupt("break",44);case 31:p=e.data.items,d=Ls.getState().quickAccess,m=Bc(d);try{for(m.s();!(y=m.n()).done;)g=y.value,Vc.add(g.url)}catch(t){m.e(t)}finally{m.f()}b=qc().mark((function t(){var e;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=p[v],-1!==d.findIndex((function(t){return t.url===e.url}))||Vc.has(e.url)){t.next=5;break}return t.next=4,Ls.getState().setQuickAccess(crypto.randomUUID(),e);case 4:Vc.add(e.url);case 5:case"end":return t.stop()}}),t)})),v=0;case 37:if(!(vt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function uu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function lu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){uu(a,n,o,i,s,"next",t)}function s(t){uu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var fu=function(){var t=lu(cu().mark((function t(){return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,sr("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),hu=sn(Zo(Jr((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(i=lu(cu().mark((function e(){var r,n,o;return cu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fu();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),fetchSnapshot:(a=lu(cu().mark((function t(e){var r;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fu();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return a.apply(this,arguments)}),addSnapshot:(o=lu(cu().mark((function r(){var n,o,a,i,s,c,u,l,f=arguments;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=f.length>0&&void 0!==f[0]?f[0]:null,o=tu(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return a=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return i=r.sent,a=a.map((function(t){return iu(iu({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):i.filter((function(e){return e.windowId===t.id}))})})),s=(null==n?void 0:n.createdAt)||Date.now(),c={id:o,createdAt:s,windowCount:(null==n?void 0:n.windowCount)||a.length,tabCount:(null==n?void 0:n.tabCount)||a.reduce((function(t,e){return t+e.tabs.length}),0)},u=iu(iu({},c),{},{windows:a}),t({summaries:[].concat(nu(e().summaries),[c])}),r.next=18,fu();case 18:return l=r.sent,r.next=21,l.set("snapshot_summary_".concat(o),c);case 21:return r.next=23,l.set("snapshot_detail_".concat(o),u);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=lu(cu().mark((function r(n){var o;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fu();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=lu(cu().mark((function r(n){var o,a,i,s,c,u,l,f,h;return cu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,a=n.createdAt,i=n.windowCount,s=n.tabCount,c=n.windows,l=iu(iu({},u={id:o,createdAt:a,windowCount:i,tabCount:s}),{},{windows:c}),f=e().summaries.find((function(t){return t.id===o})),!f){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(nu(e().summaries),[u])}),r.next=11,fu();case 11:return h=r.sent,r.next=14,h.set("snapshot_summary_".concat(o),u);case 14:return r.next=16,h.set("snapshot_detail_".concat(o),l);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=iu({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=iu({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,a,i})),cn)),pu=eu(lu(cu().mark((function t(){var e,r,n,o,a,i,s;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return iu(iu({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((a=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return i={createdAt:n,windowCount:o.length,tabCount:a,tabGroupCount:r.length},t.next=14,fu();case 14:return s=t.sent,t.next=17,s.set("cachedWindows",iu(iu({},i),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),du=function(){var t=lu(cu().mark((function t(){var e;return cu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fu();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const mu=hu;function yu(t){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(t)}function gu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */gu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==yu(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function bu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var vu=function(){var t,e=(t=gu().mark((function t(){return gu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,_s();case 3:t.sent.prune(),du().then((function(t){t&&mu.getState().addSnapshot(t)}));case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){bu(a,n,o,i,s,"next",t)}function s(t){bu(a,n,o,i,s,"throw",t)}i(void 0)}))});return function(){return e.apply(this,arguments)}}();const wu=function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a-1};const Eu=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n=200){var u=e?null:Su(t);if(u)return za(u);i=!1,o=Ea,c=new ja}else c=e?[]:s;t:for(;++nt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Nu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function qu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Nu(a,n,o,i,s,"next",t)}function s(t){Nu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var Bu,$u,Mu=function(){var t=qu(Gu().mark((function t(){return Gu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",sr("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ru=new Map,Uu=sn(Jr((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(o=qu(Gu().mark((function e(){var r,n,o,a,i,s;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ar("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,o=void 0===n?3:n,e.next=10,Mu();case 10:return a=e.sent,e.next=13,a.all();case 13:i=e.sent,s=i.filter((function(t){return t.closed_time>=Date.now()-1e3*o*60*60*24})),t({histories:s,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),addHistory:(n=qu(Gu().mark((function e(r){var n,o,a,i,s,c,u;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,ar("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,o=n.tabIntoHistoryNeedAliveSeconds,!(Date.now()t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Qu(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ju(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Qu(a,n,o,i,s,"next",t)}function s(t){Qu(a,n,o,i,s,"throw",t)}i(void 0)}))}}var Xu=function(){var t=Ju(Ku().mark((function t(e){var r,n,o,a;return Ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ar("user_settings");case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0={};case 5:r=t.t0,n=r.saveMemoryAction,o=r.discardInactiveTabsMinutes,a=r.closeInactiveTabsMinutes,t.t1=n,t.next="close"===t.t1?12:"discard"===t.t1?14:16;break;case 12:return chrome.alarms.create("tab_delay_close_".concat(e),{delayInMinutes:a}),t.abrupt("break",17);case 14:return chrome.alarms.create("tab_delay_discard_".concat(e),{delayInMinutes:o}),t.abrupt("break",17);case 16:return t.abrupt("break",17);case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Zu=function(){var t=Ju(Ku().mark((function t(e){return Ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.alarms.clear("tab_delay_close_".concat(e));case 2:return t.next=4,chrome.alarms.clear("tab_delay_discard_".concat(e));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function tl(t){return tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tl(t)}function el(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */el=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new A(n||[]);return o(i,"_invoke",{value:L(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function g(){}function b(){}function v(){}var w={};u(w,i,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(P([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=v.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,s){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==tl(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,r,n){var o=h;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function rl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nl(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function il(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function El(t,e,r,n,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}chrome.runtime.onConnect.addListener((function(t){if(t.name.startsWith("sidepanel_")){Fc.set(t.name,t);var e=parseInt(t.name.split("_")[1]);bc("sidepanel_opened",{name:t.name,windowId:e}),t.onDisconnect.addListener((function(){return function(t,e){Fc.delete(t.name),bc("sidepanel_closed",{name:t.name,windowId:e})}(t,e)}))}})),chrome.tabs.onCreated.addListener(dl),chrome.tabs.onUpdated.addListener(ml),chrome.tabs.onActivated.addListener(yl),chrome.tabs.onRemoved.addListener(gl),chrome.tabs.onReplaced.addListener(bl),chrome.tabs.onZoomChange.addListener(vl),chrome.tabGroups.onMoved.addListener(wl),chrome.tabGroups.onCreated.addListener(wl),chrome.tabGroups.onUpdated.addListener(wl),chrome.tabGroups.onRemoved.addListener(wl),chrome.windows.onRemoved.addListener(kl),chrome.windows.onFocusChanged.addListener(xl,{windowTypes:["normal"]}),chrome.runtime.onMessage.addListener((function(t,e,r){return function(t,e,r){Wc.apply(this,arguments)}(t,e,r),Yc(t,e,r),!0})),hl(),chrome.alarms.onAlarm.addListener(function(){var t=Ju(Ku().mark((function t(e){var r,n,o,a,i,s,c,u;return Ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.name.startsWith("tab_delay")){t.next=29;break}return t.next=4,ar("user_settings");case 4:return r=t.sent,n=r.saveMemoryAction,o=e.name.split("_"),a=Yu(o,4),i=a[2],s=a[3],c=parseInt(s),t.next=10,chrome.tabs.get(c);case 10:if((u=t.sent)&&n===i){t.next=15;break}return t.next=14,Zu(c);case 14:case 18:return t.abrupt("return");case 15:if(!u.audible&&!u.active&&u.autoDiscardable){t.next=19;break}return t.next=18,Xu(c);case 19:t.t0=i,t.next="close"===t.t0?22:"discard"===t.t0?25:28;break;case 22:return t.next=24,pc(c);case 24:case 27:return t.abrupt("break",29);case 25:return t.next=27,chrome.tabs.discard(c);case 28:case 29:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),chrome.action.onClicked.addListener((function(t){"sidePanel"in chrome?chrome.windows.create({url:chrome.runtime.getURL("popup.html#/clickIcon"),type:"popup",width:300,height:300,tabId:t.id}):chrome.action.setPopup({popup:"popup.html"})})),chrome.runtime.onInstalled.addListener(function(){var t,e=(t=_l().mark((function t(e){var r;return _l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,Re("local");case 3:r=t.sent,t.t0=e.reason,t.next="install"===t.t0?7:"update"===t.t0?20:23;break;case 7:return t.next=9,r.get("uuid");case 9:if(t.sent){t.next=18;break}return t.t1=r,t.next=15,ir();case 15:return t.t2=t.sent,t.next=18,t.t1.set.call(t.t1,"uuid",t.t2);case 18:return chrome.runtime.setUninstallURL("https://docs.google.com/forms/d/e/1FAIpQLScw0nAcGOEIe4Anfte6REcgQ2jxzsiLG8OAUs2KUrVMLId-0A/viewform?usp=sf_link"),t.abrupt("break",24);case 20:return t.next=22,ir();case 22:case 23:return t.abrupt("break",24);case 24:In(),Cn();case 26:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){El(a,n,o,i,s,"next",t)}function s(t){El(a,n,o,i,s,"throw",t)}i(void 0)}))});return function(t){return e.apply(this,arguments)}}()),chrome.runtime.onStartup.addListener(vu),chrome.commands.onCommand.addListener((function(t){switch(t){case"openSidePanel":chrome.tabs.query({active:!0,currentWindow:!0},(function(t){var e=t[0].id,r=t[0].windowId;Dc(r)?k("close_sidepanel"):chrome.sidePanel.open({tabId:e})}));break;case"openPopup":chrome.action.setPopup({popup:"popup.html"}),chrome.action.openPopup()}}))})(); //# sourceMappingURL=background.js.map \ No newline at end of file diff --git a/build/contentScript.js b/build/contentScript.js index edd4a22..c644168 100644 --- a/build/contentScript.js +++ b/build/contentScript.js @@ -1,2 +1,2 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f0b4fabd-23cd-4a89-a556-03c0d4a2c437",t._sentryDebugIdIdentifier="sentry-dbid-f0b4fabd-23cd-4a89-a556-03c0d4a2c437")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{"use strict";const t=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const e="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const n=e||r||Function("return this")();const o=function(){return n.Date.now()};var i=/\s/;const a=function(t){for(var e=t.length;e--&&i.test(t.charAt(e)););return e};var c=/^\s+/;const u=function(t){return t?t.slice(0,a(t)+1).replace(c,""):t};const s=n.Symbol;var l=Object.prototype,f=l.hasOwnProperty,h=l.toString,d=s?s.toStringTag:void 0;const p=function(t){var e=f.call(t,d),r=t[d];try{t[d]=void 0;var n=!0}catch(t){}var o=h.call(t);return n&&(e?t[d]=r:delete t[d]),o};var v=Object.prototype.toString;const y=function(t){return v.call(t)};var m=s?s.toStringTag:void 0;const g=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":m&&m in Object(t)?p(t):y(t)};const b=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||b(t)&&"[object Symbol]"==g(t)};var x=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,L=/^0o[0-7]+$/i,_=parseInt;const k=function(e){if("number"==typeof e)return e;if(w(e))return NaN;if(t(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=t(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=u(e);var n=E.test(e);return n||L.test(e)?_(e.slice(2),n?2:8):x.test(e)?NaN:+e};var S=Math.max,O=Math.min;const j=function(e,r,n){var i,a,c,u,s,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=i,n=a;return i=a=void 0,f=t,u=e.apply(n,r)}function y(t){var e=t-l;return void 0===l||e>=r||e<0||d&&t-f>=c}function m(){var t=o();if(y(t))return g(t);s=setTimeout(m,function(t){var e=r-(t-l);return d?O(e,c-(t-f)):e}(t))}function g(t){return s=void 0,p&&i?v(t):(i=a=void 0,u)}function b(){var t=o(),e=y(t);if(i=arguments,a=this,l=t,e){if(void 0===s)return function(t){return f=t,s=setTimeout(m,r),h?v(t):u}(l);if(d)return clearTimeout(s),s=setTimeout(m,r),v(l)}return void 0===s&&(s=setTimeout(m,r)),u}return r=k(r)||0,t(n)&&(h=!!n.leading,c=(d="maxWait"in n)?S(k(n.maxWait)||0,r):c,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==s&&clearTimeout(s),f=0,i=l=a=s=void 0},b.flush=function(){return void 0===s?u:g(o())},b};const P=function(t,e,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),e)};const T=function(t){return t};const I=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var N=Math.max;const A=function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=N(n.length-e,0),a=Array(i);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(K);const et=function(t,e){return tt(A(t,e,T),t+"")}((function(t,e,r){return P(t,k(e)||0,r)}));function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==rt(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))}}var at=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],ct=function(t){return at.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},ut=function(){var t=it(nt().mark((function t(e){var r,n,o,i,a=arguments;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=a.length>2?a[2]:void 0,o=a.length>3?a[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return i=t.sent,t.abrupt("return",i);case 10:return t.prev=10,t.t0=t.catch(3),ct(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function lt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return ft(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ft(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function dt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){dt(i,n,o,a,c,"next",t)}function c(t){dt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var vt=null;function yt(){var t=document.querySelectorAll("video");if(!(t.length>0))return null;for(var e=0;ee.height&&e.height/e.width>2.4)&&!!(t.duration>=10||t.duration===1/0||isNaN(t.duration))}function gt(){vt=null,document.removeEventListener("fullscreenchange",Rt,!1),document.addEventListener("fullscreenchange",Rt,!1),window.removeEventListener("enterpictureinpicture",Ft),window.addEventListener("enterpictureinpicture",Ft),window.removeEventListener("leavepictureinpicture",kt),window.addEventListener("leavepictureinpicture",kt);var t=document.querySelectorAll("video");if(t.length>0){for(var e=0;e0&&void 0!==n[0]?n[0]:10,navigator.userActivation.isActive,null!==(r=vt||yt())&&!0!==(null==r?void 0:r.paused)&&!0!==(null==r?void 0:r.muted)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!r){t.next=24;break}if(r.hasAttribute("disablePictureInPicture")&&r.removeAttribute("disablePictureInPicture"),!document.pictureInPictureElement){t.next=10;break}return t.abrupt("return",!1);case 10:if(0===r.readyState){t.next=21;break}return t.prev=11,t.next=14,r.requestPictureInPicture();case 14:t.next=19;break;case 16:t.prev=16,t.t0=t.catch(11);case 19:t.next=24;break;case 21:if(!(e<=0)){t.next=23;break}return t.abrupt("return",!1);case 23:setTimeout((function(){Mt(e--)}),500);case 24:return t.abrupt("return",!1);case 25:case"end":return t.stop()}}),t,null,[[11,16]])}))),Ht.apply(this,arguments)}function qt(){return(qt=pt(ht().mark((function t(){var e;return ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(e=vt||yt())){t.next=4;break}return t.abrupt("return",!1);case 4:if(!e){t.next=14;break}return e.hasAttribute("disablePictureInPicture")&&e.removeAttribute("disablePictureInPicture"),t.prev=6,t.next=9,e.requestPictureInPicture();case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(6);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[6,11]])})))).apply(this,arguments)}var Bt=function(t){vt&&(vt.volume=t,Pt(vt,"volumeChange"))},Dt=function(t){vt&&(vt.playbackRate=t,Pt(vt,"playbackRateChange"))},Rt=function(){document.fullscreenElement&&we.fullScreenHideSidePanel&&(Le&&Pe(),ut("page_enter_fullscreen"))};function Wt(){for(var t={},e=0;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Xt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Ut(){if(!document.getElementById("sidepanel-ball-container")){var t=function(t){var e=s+t.clientY-u,r=window.innerHeight-n.clientHeight;e>=0&&e<=r&&(n.style.top=e+"px")},e=function(){var r=n.offsetTop/window.innerHeight*100+"%";localStorage.setItem("sidepanelBallTopPercent",r),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",e)},r=function(){document.fullscreenElement||setTimeout((function(){a(),setTimeout((function(){c()}),2e3)}),1e3)},n=document.createElement("div");n.id="sidepanel-ball-container",n.style.position="fixed",n.style.top="30%",n.style.right="0px",n.style.zIndex="2147483647";var o=document.createElement("div");o.id="fab",o.style.width="32px",o.style.height="32px",o.style.backgroundColor="#ff4081",o.style.borderRadius="32px 0 0 32px",o.style.display="flex",o.style.alignItems="center",o.style.justifyContent="flex-start",o.style.boxShadow="0px 3px 5px rgba(0,0,0,0.3)",o.style.cursor="pointer",o.style.transition="transform 0.3s",o.style.opacity="0.1";var i=document.createElement("div");i.id="fab-icon",i.style.width="24px",i.style.height="24px",i.style.display="flex",i.style.alignItems="center",i.style.justifyContent="center",i.style.margin="0 8px",i.innerHTML='',o.appendChild(i),n.appendChild(o),document.body.appendChild(n);var a=function(){o.style.width="54px",o.style.transition="width 0.2s",setTimeout((function(){o.style.opacity="1"}),300)},c=function(){o.style.width="32px",o.style.transition="width 0.2s",o.style.opacity="0.3"};setTimeout((function(){c()}),1500),o.addEventListener("mouseenter",a),o.addEventListener("mouseleave",c),o.addEventListener("click",Xt(Zt().mark((function t(){return Zt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o.style.transform="scale(1)",je(),n.remove();case 3:case"end":return t.stop()}}),t)}))));var u,s,l=localStorage.getItem("sidepanelBallTopPercent");null!==l&&(n.style.top=l),o.addEventListener("mousedown",(function(r){u=r.clientY,s=n.offsetTop,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)})),document.addEventListener("mouseup",(function(){document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",e)})),document.removeEventListener("fullscreenchange",r),document.addEventListener("fullscreenchange",r)}}function zt(){var t=document.getElementById("sidepanel-ball-container");t&&t.remove()}function Jt(t){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(t)}function Kt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==Jt(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Qt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function te(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Qt(i,n,o,a,c,"next",t)}function c(t){Qt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var ee=null;function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;try{if(t===document&&(t=document.documentElement),!(t instanceof HTMLElement))throw new Error("Invalid element provided");ee=t;var e=t===document.documentElement||t===document.body,r=e?window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop,n=e?Math.max(document.documentElement.scrollHeight,document.body.scrollHeight):t.scrollHeight,o=e?window.innerHeight:t.clientHeight;if(n<=o)return 0;if(n/o<((null==we?void 0:we.scrollHeightRatio)||2))return 0;var i=r/(n-o)*100;return parseFloat(Math.min(Math.max(i,0),100).toFixed(1))}catch(t){return 0}}var ne=j(function(){var t=te(Kt().mark((function t(e){return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ie(e.target);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),100),oe=function(){var t=te(Kt().mark((function t(){return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==_e){t.next=3;break}return t.next=3,ie();case 3:window.removeEventListener("scroll",ne),window.addEventListener("scroll",ne,!0);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ie(t){return ae.apply(this,arguments)}function ae(){return(ae=te(Kt().mark((function t(e){var r;return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,null==we||!we.readingProgressBar||null!==vt){t.next=7;break}return r=re(e),t.next=5,ut("page_scrolled",{scrollProgress:r});case 5:t.next=9;break;case 7:return t.next=9,ut("page_scrolled",{scrollProgress:0});case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))).apply(this,arguments)}var ce=function(t,e,r){if(("audible"in e||"mutedInfo"in e)&&(gt(),Gt()),"status"in e)switch(e.status){case"loading":break;case"complete":ke()}},ue=function(){var t;null!=xe&&xe.linkSettings?(null===(t=xe.linkOpenOptions)||void 0===t?void 0:t.length)>0?se(xe.linkOpenOptions):le():le()},se=function(t){document.querySelectorAll("a").forEach((function(e){if(e.href!==window.location.href){var r=t.find((function(t){try{return new RegExp(t.regex).test(e.href)}catch(r){return e.href.includes(t.regex)}}));r&&(e.setAttribute("link_target_backup",e.getAttribute("target")||""),e.setAttribute("target",r.target))}}))},le=function(){document.querySelectorAll("a[link_target_backup]").forEach((function(t){t.setAttribute("target",t.getAttribute("link_target_backup")),t.removeAttribute("link_target_backup")}))};function fe(t){return fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fe(t)}function he(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=fe(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fe(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var de=function(t,e,r){var n=document.createElement("div");return n.innerHTML=e,n.title=chrome.i18n.getMessage(t),Object.assign(n.style,{cursor:"pointer",fontSize:"14px",color:"dark"===we.theme?"#ccc":"#666",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"0",backgroundColor:"transparent",transition:"color 0.3s ease, transform 0.3s ease"}),n.addEventListener("mouseenter",(function(){n.style.color="dark"===we.theme?"#ff6666":"#ff9999",n.style.transform="scale(1.1)"})),n.addEventListener("mouseleave",(function(){n.style.color="dark"===we.theme?"#ccc":"#666",n.style.transform="scale(1)"})),n.addEventListener("click",r),n},pe=function(){if(we.sidebarEnabled&&!document.getElementById("customSidebar")){var t="left"===we.sidebarPosition,e=document.createElement("div");e.id="customSidebar";var r=document.createElement("div");r.id="sidebarHeader",r.innerHTML="".concat(chrome.i18n.getMessage("appShortName"),""),Object.assign(r.style,{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"10px",backgroundColor:"dark"===we.theme?"#333":"#f0f0f0",color:"dark"===we.theme?"#fff":"#000",boxShadow:"0 2px 5px rgba(0,0,0,0.1)",zIndex:"10000",cursor:"pointer"});var n=document.createElement("div");Object.assign(n.style,{display:"flex",alignItems:"center",gap:"10px"}),n.appendChild(de("disableSidebar",'',(function(){return confirm(chrome.i18n.getMessage("disableSidebarAlert"))&&ut("disable_sidebar")}))),n.appendChild(de("toggleSidebarPosition",t?'':'',(function(){return ut("update_sidebar_position",{position:t?"right":"left"})}))),n.appendChild(de("closeSidebar",'',(function(){return e.style.transform="translateX(".concat(t?"-100%":"100%",")")}))),r.appendChild(n),e.appendChild(r);var o=document.createElement("iframe");o.src=chrome.runtime.getURL("sidebar.html"),o.setAttribute("tabindex","-1"),Object.assign(o.style,{height:"calc(100% - 50px)",width:"100%",border:"none",overflowY:"hidden"}),e.appendChild(o),o.onload=function(){o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_LOADED"},"*"),r.addEventListener("click",(function(){o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_LOADED"},"*")}))},Object.assign(e.style,he(he(he(he(he(he(he(he(he({position:"fixed",top:"0"},t?"left":"right","0"),"height","100%"),"zIndex","99999"),"backgroundColor","dark"===we.theme?"#222":"#ffffff"),"color","dark"===we.theme?"#fff":"#000"),"boxShadow",t?"2px 0 5px rgba(0,0,0,0.1)":"-2px 0 5px rgba(0,0,0,0.1)"),"transition","transform 0.3s ease, width 0.3s ease"),"width",we.sidebarWidth||"300px"),"transform","translateX(".concat(t?"-100%":"100%",")")));var i=document.createElement("div");Object.assign(i.style,he(he(he(he(he(he({position:"absolute",top:"0"},t?"right":"left","-5px"),"width","10px"),"height","100%"),"cursor","ew-resize"),"backgroundColor","transparent"),"transition","background-color 0.3s ease")),e.appendChild(i);var a,c,u=!1,s=!1,l=function(){e.style.transform="translateX(0)",o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_SHOWN"},"*")},f=function(){u||s||(e.style.transform="translateX(".concat(t?"-100%":"100%",")"),o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_HIDDEN"},"*"))};i.addEventListener("mousedown",(function(t){a=t.clientX,c=parseInt(getComputedStyle(e).width,10),document.documentElement.addEventListener("mousemove",h),document.documentElement.addEventListener("mouseup",d),i.style.backgroundColor="rgba(0,0,0,0.1)",e.style.pointerEvents="none"}));var h=function(r){var n=t?r.clientX-a:a-r.clientX,o=Math.max(45,Math.min(c+n,window.innerWidth/2));e.style.width="".concat(o,"px")},d=function(){document.documentElement.removeEventListener("mousemove",h),document.documentElement.removeEventListener("mouseup",d),i.style.backgroundColor="transparent",localStorage.setItem("sidebarWidth",e.style.width),e.style.pointerEvents="auto",ut("updateSidebarWidth",{width:e.style.width})};e.addEventListener("mouseenter",(function(){u=!0,l()})),e.addEventListener("mouseleave",(function(){u=!1,s||setTimeout(f,300)})),e.addEventListener("mousedown",(function(){return s=!0})),e.addEventListener("mouseup",(function(){s=!1,u||setTimeout(f,300)}));var p=function(e){(t?e.clientX<=20:e.clientX>=document.body.offsetWidth-20)?l():!u&&!s&&f()};document.addEventListener("mousemove",p),document.addEventListener("touchmove",(function(t){return p(t.touches[0])})),document.body.appendChild(e),chrome.runtime.onMessage.addListener((function(t){"updateSidebarWidth"===t.action&&(e.style.width=t.data.width)}))}},ve=function(){var t=document.getElementById("customSidebar");t&&t.remove()};function ye(t){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(t)}function me(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */me=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==ye(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ge(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function be(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ge(i,n,o,a,c,"next",t)}function c(t){ge(i,n,o,a,c,"throw",t)}a(void 0)}))}}var we={},xe={},Ee={},Le=!1,_e=null,ke=(new Map,function(){var t=be(me().mark((function t(){return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Se();case 2:Gt(),et((function(){oe(),gt()||et(gt,5e3)}),1e3);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),Se=function(){var t=be(me().mark((function t(){var e,r,n,o,i;return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut("get_settings");case 2:return null!=(o=t.sent)&&o.success&&null!==(e=o.data)&&void 0!==e&&e.settings&&(we=o.data.settings,xe=o.data.siteConfigs,Ee=o.data.tab,_e=o.data.frameId,xe&&ue()),t.next=7,ut("is_sidepanel_opened");case 7:i=t.sent,Le=(null==i?void 0:i.success)&&!0===i.data.is_sidepanel_opened,null!=i&&i.data&&null!==(r=we)&&void 0!==r&&r.floatBall&&0===_e&&(i.data.is_sidepanel_opened?zt():Ut()),null!=i&&i.data&&null!==(n=we)&&void 0!==n&&n.sidebarEnabled&&0===_e&&(i.data.is_sidepanel_opened?ve():pe());case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Oe=function(){var t=be(me().mark((function t(e,r,n){var o,i,a,c,u,s,l,f,h,d;return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,t.t0=e.action,t.next="update_setting"===t.t0?4:"update_site_config"===t.t0?9:"tabUpdated"===t.t0?13:"tab_url_updated"===t.t0?16:"save_tab_session"===t.t0?20:"clear_browsing_data"===t.t0?24:"play_video"===t.t0?27:"pause_video"===t.t0?30:"video_jump_to_time"===t.t0?33:"volume_change"===t.t0?36:"playback_rate_change"===t.t0?39:"video_switch_mute"===t.t0?42:"switch_pip"===t.t0?45:"enterPictureInPicture"===t.t0?48:"exitPictureInPicture"===t.t0?51:"openPopup"===t.t0?54:"sidepanel_opened"===t.t0?58:"sidepanel_closed"===t.t0?65:"scroll_to_top"===t.t0?70:"scroll_to_bottom"===t.t0?73:76;break;case 4:return we[e.data.key]=e.data.value,"floatBall"===e.data.key&&(null!=we&&we.floatBall?Le?zt():Ut():zt()),"theme"!==e.data.key&&"sidebarEnabled"!==e.data.key&&"sidebarPosition"!==e.data.key||(ve(),pe()),n({success:!0}),t.abrupt("break",78);case 9:return xe[e.data.key]=e.data.value,ue(),n({success:!0}),t.abrupt("break",78);case 13:return ce(e.data.tabId,e.data.changeInfo,e.data.tab),n({success:!0}),t.abrupt("break",78);case 16:return t.next=18,ke();case 18:return n({success:!0}),t.abrupt("break",78);case 20:return h=Wt(),d=Vt(),n({localStorageItems:h,sessionStorageItems:d}),t.abrupt("break",78);case 24:return localStorage.clear(),sessionStorage.clear(),n({success:!0}),t.abrupt("break",78);case 27:return m=void 0,null===(m=vt)||void 0===m||m.play(),Pt(vt,"playVideo"),n({success:!0}),t.abrupt("break",78);case 30:return y=void 0,null===(y=vt)||void 0===y||y.pause(),Pt(vt,"pauseVideo"),n({success:!0}),t.abrupt("break",78);case 33:return v=e.data.value,vt&&(vt.fastSeek?vt.fastSeek(v):vt.currentTime=v,Pt(vt,"jumpToTime")),n({success:!0}),t.abrupt("break",78);case 36:return Bt(e.data.value),n({success:!0}),t.abrupt("break",78);case 39:return Dt(e.data.value),n({success:!0}),t.abrupt("break",78);case 42:return vt&&(vt.muted=!vt.muted,Pt(vt,"switchMute"),setTimeout((function(){!1!==vt.muted&&0===vt.volume&&(vt.volume=.1)}),1e3)),n({success:!0}),t.abrupt("break",78);case 45:return Ct(),n({success:!0}),t.abrupt("break",78);case 48:return Mt(),n({success:!0}),t.abrupt("break",78);case 51:return document.pictureInPictureElement&&document.exitPictureInPicture(),n({success:!0}),t.abrupt("break",78);case 54:return t.next=56,ut("update_setting",{key:"clickExtensionIconAction",value:"openPopup"});case 56:return n({success:!0}),t.abrupt("break",78);case 58:if((null===(o=e.data)||void 0===o?void 0:o.name)==="sidepanel_".concat(null===(i=Ee)||void 0===i?void 0:i.windowId)&&(zt(),ve(),Le=!0),Te(),we){t.next=63;break}return t.next=63,ke();case 63:return n({success:!0}),t.abrupt("break",78);case 65:return Le=!1,null!==(a=we)&&void 0!==a&&a.floatBall&&(null===(c=e.data)||void 0===c?void 0:c.name)==="sidepanel_".concat(null===(u=Ee)||void 0===u?void 0:u.windowId)&&0===_e&&Ut(),null!==(s=we)&&void 0!==s&&s.sidebarEnabled&&(null===(l=e.data)||void 0===l?void 0:l.name)==="sidepanel_".concat(null===(f=Ee)||void 0===f?void 0:f.windowId)&&0===_e&&pe(),n({success:!0}),t.abrupt("break",78);case 70:return p=void 0,null===(p=ee)||void 0===p||p.scrollTo({top:0,left:0,behavior:"smooth"}),n({success:!0}),t.abrupt("break",78);case 73:return r=void 0,null===(r=ee)||void 0===r||r.scrollTo({top:ee.scrollHeight,left:0,behavior:"smooth"}),n({success:!0}),t.abrupt("break",78);case 76:return n({success:!1,error:"Unknown action"}),t.abrupt("break",78);case 78:t.next=84;break;case 80:t.prev=80,t.t1=t.catch(0);try{n({success:!1,error:t.t1.message})}catch(t){}case 84:case"end":return t.stop()}var r,p,v,y,m}),t,null,[[0,80]])})));return function(e,r,n){return t.apply(this,arguments)}}(),je=function(){var t=be(me().mark((function t(){return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut("open_sidepanel");case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Pe=function(){["keydown","mousedown","pointerdown","pointerup","touchend"].forEach((function(t){return document.addEventListener(t,je,{once:!0})}))},Te=function(){["keydown","mousedown","pointerdown","pointerup","touchend"].forEach((function(t){return document.removeEventListener(t,je,{once:!0})}))},Ie=function(){ke(),chrome.runtime.onMessage.addListener((function(t,e,r){return Oe(t,e,r),!0}))};window.addEventListener("DOMContentLoaded",Ie),window.addEventListener("pageshow",(function(t){t.persisted?Ie():ke()}))})(); +!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="596bd19b-f26b-4d68-a491-2c3c227bbc04",t._sentryDebugIdIdentifier="sentry-dbid-596bd19b-f26b-4d68-a491-2c3c227bbc04")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"29ba52ca662501e3df5439703f917863c97bfb4c"},(()=>{"use strict";const t=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const e="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const n=e||r||Function("return this")();const o=function(){return n.Date.now()};var i=/\s/;const a=function(t){for(var e=t.length;e--&&i.test(t.charAt(e)););return e};var c=/^\s+/;const u=function(t){return t?t.slice(0,a(t)+1).replace(c,""):t};const s=n.Symbol;var l=Object.prototype,f=l.hasOwnProperty,h=l.toString,d=s?s.toStringTag:void 0;const p=function(t){var e=f.call(t,d),r=t[d];try{t[d]=void 0;var n=!0}catch(t){}var o=h.call(t);return n&&(e?t[d]=r:delete t[d]),o};var v=Object.prototype.toString;const y=function(t){return v.call(t)};var m=s?s.toStringTag:void 0;const g=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":m&&m in Object(t)?p(t):y(t)};const b=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||b(t)&&"[object Symbol]"==g(t)};var x=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,L=/^0o[0-7]+$/i,_=parseInt;const k=function(e){if("number"==typeof e)return e;if(w(e))return NaN;if(t(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=t(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=u(e);var n=E.test(e);return n||L.test(e)?_(e.slice(2),n?2:8):x.test(e)?NaN:+e};var S=Math.max,O=Math.min;const j=function(e,r,n){var i,a,c,u,s,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=i,n=a;return i=a=void 0,f=t,u=e.apply(n,r)}function y(t){var e=t-l;return void 0===l||e>=r||e<0||d&&t-f>=c}function m(){var t=o();if(y(t))return g(t);s=setTimeout(m,function(t){var e=r-(t-l);return d?O(e,c-(t-f)):e}(t))}function g(t){return s=void 0,p&&i?v(t):(i=a=void 0,u)}function b(){var t=o(),e=y(t);if(i=arguments,a=this,l=t,e){if(void 0===s)return function(t){return f=t,s=setTimeout(m,r),h?v(t):u}(l);if(d)return clearTimeout(s),s=setTimeout(m,r),v(l)}return void 0===s&&(s=setTimeout(m,r)),u}return r=k(r)||0,t(n)&&(h=!!n.leading,c=(d="maxWait"in n)?S(k(n.maxWait)||0,r):c,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==s&&clearTimeout(s),f=0,i=l=a=s=void 0},b.flush=function(){return void 0===s?u:g(o())},b};const P=function(t,e,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),e)};const T=function(t){return t};const I=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var N=Math.max;const A=function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=N(n.length-e,0),a=Array(i);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(K);const et=function(t,e){return tt(A(t,e,T),t+"")}((function(t,e,r){return P(t,k(e)||0,r)}));function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==rt(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))}}var at=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],ct=function(t){return at.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},ut=function(){var t=it(nt().mark((function t(e){var r,n,o,i,a=arguments;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=a.length>2?a[2]:void 0,o=a.length>3?a[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return i=t.sent,t.abrupt("return",i);case 10:return t.prev=10,t.t0=t.catch(3),ct(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function lt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return ft(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ft(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function dt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){dt(i,n,o,a,c,"next",t)}function c(t){dt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var vt=null;function yt(){var t=document.querySelectorAll("video");if(!(t.length>0))return null;for(var e=0;ee.height&&e.height/e.width>2.4)&&!!(t.duration>=10||t.duration===1/0||isNaN(t.duration))}function gt(){vt=null,document.removeEventListener("fullscreenchange",Rt,!1),document.addEventListener("fullscreenchange",Rt,!1),window.removeEventListener("enterpictureinpicture",Ft),window.addEventListener("enterpictureinpicture",Ft),window.removeEventListener("leavepictureinpicture",kt),window.addEventListener("leavepictureinpicture",kt);var t=document.querySelectorAll("video");if(t.length>0){for(var e=0;e0&&void 0!==n[0]?n[0]:10,navigator.userActivation.isActive,null!==(r=vt||yt())&&!0!==(null==r?void 0:r.paused)&&!0!==(null==r?void 0:r.muted)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!r){t.next=24;break}if(r.hasAttribute("disablePictureInPicture")&&r.removeAttribute("disablePictureInPicture"),!document.pictureInPictureElement){t.next=10;break}return t.abrupt("return",!1);case 10:if(0===r.readyState){t.next=21;break}return t.prev=11,t.next=14,r.requestPictureInPicture();case 14:t.next=19;break;case 16:t.prev=16,t.t0=t.catch(11);case 19:t.next=24;break;case 21:if(!(e<=0)){t.next=23;break}return t.abrupt("return",!1);case 23:setTimeout((function(){Mt(e--)}),500);case 24:return t.abrupt("return",!1);case 25:case"end":return t.stop()}}),t,null,[[11,16]])}))),Ht.apply(this,arguments)}function qt(){return(qt=pt(ht().mark((function t(){var e;return ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(e=vt||yt())){t.next=4;break}return t.abrupt("return",!1);case 4:if(!e){t.next=14;break}return e.hasAttribute("disablePictureInPicture")&&e.removeAttribute("disablePictureInPicture"),t.prev=6,t.next=9,e.requestPictureInPicture();case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(6);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[6,11]])})))).apply(this,arguments)}var Bt=function(t){vt&&(vt.volume=t,Pt(vt,"volumeChange"))},Dt=function(t){vt&&(vt.playbackRate=t,Pt(vt,"playbackRateChange"))},Rt=function(){document.fullscreenElement&&we.fullScreenHideSidePanel&&(Le&&Pe(),ut("page_enter_fullscreen"))};function Wt(){for(var t={},e=0;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Xt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Ut(){if(!document.getElementById("sidepanel-ball-container")){var t=function(t){var e=s+t.clientY-u,r=window.innerHeight-n.clientHeight;e>=0&&e<=r&&(n.style.top=e+"px")},e=function(){var r=n.offsetTop/window.innerHeight*100+"%";localStorage.setItem("sidepanelBallTopPercent",r),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",e)},r=function(){document.fullscreenElement||setTimeout((function(){a(),setTimeout((function(){c()}),2e3)}),1e3)},n=document.createElement("div");n.id="sidepanel-ball-container",n.style.position="fixed",n.style.top="30%",n.style.right="0px",n.style.zIndex="2147483647";var o=document.createElement("div");o.id="fab",o.style.width="32px",o.style.height="32px",o.style.backgroundColor="#ff4081",o.style.borderRadius="32px 0 0 32px",o.style.display="flex",o.style.alignItems="center",o.style.justifyContent="flex-start",o.style.boxShadow="0px 3px 5px rgba(0,0,0,0.3)",o.style.cursor="pointer",o.style.transition="transform 0.3s",o.style.opacity="0.1";var i=document.createElement("div");i.id="fab-icon",i.style.width="24px",i.style.height="24px",i.style.display="flex",i.style.alignItems="center",i.style.justifyContent="center",i.style.margin="0 8px",i.innerHTML='',o.appendChild(i),n.appendChild(o),document.body.appendChild(n);var a=function(){o.style.width="54px",o.style.transition="width 0.2s",setTimeout((function(){o.style.opacity="1"}),300)},c=function(){o.style.width="32px",o.style.transition="width 0.2s",o.style.opacity="0.3"};setTimeout((function(){c()}),1500),o.addEventListener("mouseenter",a),o.addEventListener("mouseleave",c),o.addEventListener("click",Xt(Zt().mark((function t(){return Zt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o.style.transform="scale(1)",je(),n.remove();case 3:case"end":return t.stop()}}),t)}))));var u,s,l=localStorage.getItem("sidepanelBallTopPercent");null!==l&&(n.style.top=l),o.addEventListener("mousedown",(function(r){u=r.clientY,s=n.offsetTop,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)})),document.addEventListener("mouseup",(function(){document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",e)})),document.removeEventListener("fullscreenchange",r),document.addEventListener("fullscreenchange",r)}}function zt(){var t=document.getElementById("sidepanel-ball-container");t&&t.remove()}function Jt(t){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(t)}function Kt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==Jt(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Qt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function te(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Qt(i,n,o,a,c,"next",t)}function c(t){Qt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var ee=null;function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;try{if(t===document&&(t=document.documentElement),!(t instanceof HTMLElement))throw new Error("Invalid element provided");ee=t;var e=t===document.documentElement||t===document.body,r=e?window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop,n=e?Math.max(document.documentElement.scrollHeight,document.body.scrollHeight):t.scrollHeight,o=e?window.innerHeight:t.clientHeight;if(n<=o)return 0;if(n/o<((null==we?void 0:we.scrollHeightRatio)||2))return 0;var i=r/(n-o)*100;return parseFloat(Math.min(Math.max(i,0),100).toFixed(1))}catch(t){return 0}}var ne=j(function(){var t=te(Kt().mark((function t(e){return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ie(e.target);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),100),oe=function(){var t=te(Kt().mark((function t(){return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==_e){t.next=3;break}return t.next=3,ie();case 3:window.removeEventListener("scroll",ne),window.addEventListener("scroll",ne,!0);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ie(t){return ae.apply(this,arguments)}function ae(){return(ae=te(Kt().mark((function t(e){var r;return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,null==we||!we.readingProgressBar||null!==vt){t.next=7;break}return r=re(e),t.next=5,ut("page_scrolled",{scrollProgress:r});case 5:t.next=9;break;case 7:return t.next=9,ut("page_scrolled",{scrollProgress:0});case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))).apply(this,arguments)}var ce=function(t,e,r){if(("audible"in e||"mutedInfo"in e)&&(gt(),Gt()),"status"in e)switch(e.status){case"loading":break;case"complete":ke()}},ue=function(){var t;null!=xe&&xe.linkSettings?(null===(t=xe.linkOpenOptions)||void 0===t?void 0:t.length)>0?se(xe.linkOpenOptions):le():le()},se=function(t){document.querySelectorAll("a").forEach((function(e){if(e.href!==window.location.href){var r=t.find((function(t){try{return new RegExp(t.regex).test(e.href)}catch(r){return e.href.includes(t.regex)}}));r&&(e.setAttribute("link_target_backup",e.getAttribute("target")||""),e.setAttribute("target",r.target))}}))},le=function(){document.querySelectorAll("a[link_target_backup]").forEach((function(t){t.setAttribute("target",t.getAttribute("link_target_backup")),t.removeAttribute("link_target_backup")}))};function fe(t){return fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fe(t)}function he(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=fe(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fe(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var de=function(t,e,r){var n=document.createElement("div");return n.innerHTML=e,n.title=chrome.i18n.getMessage(t),Object.assign(n.style,{cursor:"pointer",fontSize:"14px",color:"dark"===we.theme?"#ccc":"#666",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"0",backgroundColor:"transparent",transition:"color 0.3s ease, transform 0.3s ease"}),n.addEventListener("mouseenter",(function(){n.style.color="dark"===we.theme?"#ff6666":"#ff9999",n.style.transform="scale(1.1)"})),n.addEventListener("mouseleave",(function(){n.style.color="dark"===we.theme?"#ccc":"#666",n.style.transform="scale(1)"})),n.addEventListener("click",r),n},pe=function(){if(we.sidebarEnabled&&!document.getElementById("customSidebar")){var t="left"===we.sidebarPosition,e=document.createElement("div");e.id="customSidebar";var r=document.createElement("div");r.id="sidebarHeader",r.innerHTML="".concat(chrome.i18n.getMessage("appShortName"),""),Object.assign(r.style,{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"10px",backgroundColor:"transparent",color:"dark"===we.theme?"#fff":"#000",boxShadow:"0 2px 5px rgba(0,0,0,0.1)",zIndex:"10000",cursor:"pointer"});var n=document.createElement("div");Object.assign(n.style,{display:"flex",alignItems:"center",gap:"10px"}),n.appendChild(de("disableSidebar",'',(function(){return confirm(chrome.i18n.getMessage("disableSidebarAlert"))&&ut("disable_sidebar")}))),n.appendChild(de("toggleSidebarPosition",t?'':'',(function(){return ut("update_sidebar_position",{position:t?"right":"left"})}))),n.appendChild(de("closeSidebar",'',(function(){return e.style.transform="translateX(".concat(t?"-100%":"100%",")")}))),r.appendChild(n),e.appendChild(r);var o=document.createElement("iframe");o.src=chrome.runtime.getURL("sidebar.html"),o.setAttribute("tabindex","-1"),Object.assign(o.style,{height:"calc(100% - 50px)",width:"100%",border:"none",overflowY:"hidden"}),e.appendChild(o),o.onload=function(){o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_LOADED"},"*"),r.addEventListener("click",(function(){o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_LOADED"},"*")}))},Object.assign(e.style,he(he(he(he(he(he(he(he(he(he({position:"fixed",top:"0"},t?"left":"right","0"),"height","100%"),"zIndex","99999"),"backgroundColor","dark"===we.theme?"#222":"rgba(255,255,255,0.75)"),"backdropFilter","blur(15px)"),"color","dark"===we.theme?"#fff":"#000"),"boxShadow",t?"2px 0 5px rgba(0,0,0,0.1)":"-2px 0 5px rgba(0,0,0,0.1)"),"transition","transform 0.3s ease, width 0.3s ease"),"width",we.sidebarWidth||"300px"),"transform","translateX(".concat(t?"-100%":"100%",")")));var i=document.createElement("div");Object.assign(i.style,he(he(he(he(he(he({position:"absolute",top:"0"},t?"right":"left","-5px"),"width","10px"),"height","100%"),"cursor","ew-resize"),"backgroundColor","transparent"),"transition","background-color 0.3s ease")),e.appendChild(i);var a,c,u=!1,s=!1,l=function(){e.style.transform="translateX(0)",o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_SHOWN"},"*")},f=function(){u||s||(e.style.transform="translateX(".concat(t?"-100%":"100%",")"),o.contentWindow&&o.contentWindow.postMessage({type:"SIDEBAR_HIDDEN"},"*"))};i.addEventListener("mousedown",(function(t){a=t.clientX,c=parseInt(getComputedStyle(e).width,10),document.documentElement.addEventListener("mousemove",h),document.documentElement.addEventListener("mouseup",d),i.style.backgroundColor="rgba(0,0,0,0.1)",e.style.pointerEvents="none"}));var h=function(r){var n=t?r.clientX-a:a-r.clientX,o=Math.max(45,Math.min(c+n,window.innerWidth/2));e.style.width="".concat(o,"px")},d=function(){document.documentElement.removeEventListener("mousemove",h),document.documentElement.removeEventListener("mouseup",d),i.style.backgroundColor="transparent",localStorage.setItem("sidebarWidth",e.style.width),e.style.pointerEvents="auto",ut("updateSidebarWidth",{width:e.style.width})};e.addEventListener("mouseenter",(function(){u=!0,l()})),e.addEventListener("mouseleave",(function(){u=!1,s||setTimeout(f,300)})),e.addEventListener("mousedown",(function(){return s=!0})),e.addEventListener("mouseup",(function(){s=!1,u||setTimeout(f,300)}));var p=function(e){(t?e.clientX<=20:e.clientX>=document.body.offsetWidth-20)?l():!u&&!s&&f()};document.addEventListener("mousemove",p),document.addEventListener("touchmove",(function(t){return p(t.touches[0])})),document.body.appendChild(e),chrome.runtime.onMessage.addListener((function(t){"updateSidebarWidth"===t.action&&(e.style.width=t.data.width)}))}},ve=function(){var t=document.getElementById("customSidebar");t&&t.remove()};function ye(t){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(t)}function me(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */me=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==ye(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ge(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function be(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ge(i,n,o,a,c,"next",t)}function c(t){ge(i,n,o,a,c,"throw",t)}a(void 0)}))}}var we={},xe={},Ee={},Le=!1,_e=null,ke=(new Map,function(){var t=be(me().mark((function t(){return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Se();case 2:Gt(),et((function(){oe(),gt()||et(gt,5e3)}),1e3);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),Se=function(){var t=be(me().mark((function t(){var e,r,n,o,i;return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut("get_settings");case 2:return null!=(o=t.sent)&&o.success&&null!==(e=o.data)&&void 0!==e&&e.settings&&(we=o.data.settings,xe=o.data.siteConfigs,Ee=o.data.tab,_e=o.data.frameId,xe&&ue()),t.next=7,ut("is_sidepanel_opened");case 7:i=t.sent,Le=(null==i?void 0:i.success)&&!0===i.data.is_sidepanel_opened,null!=i&&i.data&&null!==(r=we)&&void 0!==r&&r.floatBall&&0===_e&&(i.data.is_sidepanel_opened?zt():Ut()),null!=i&&i.data&&null!==(n=we)&&void 0!==n&&n.sidebarEnabled&&0===_e&&(i.data.is_sidepanel_opened?ve():pe());case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Oe=function(){var t=be(me().mark((function t(e,r,n){var o,i,a,c,u,s,l,f,h,d;return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,t.t0=e.action,t.next="update_setting"===t.t0?4:"update_site_config"===t.t0?9:"tabUpdated"===t.t0?13:"tab_url_updated"===t.t0?16:"save_tab_session"===t.t0?20:"clear_browsing_data"===t.t0?24:"play_video"===t.t0?27:"pause_video"===t.t0?30:"video_jump_to_time"===t.t0?33:"volume_change"===t.t0?36:"playback_rate_change"===t.t0?39:"video_switch_mute"===t.t0?42:"switch_pip"===t.t0?45:"enterPictureInPicture"===t.t0?48:"exitPictureInPicture"===t.t0?51:"openPopup"===t.t0?54:"sidepanel_opened"===t.t0?58:"sidepanel_closed"===t.t0?65:"scroll_to_top"===t.t0?70:"scroll_to_bottom"===t.t0?73:76;break;case 4:return we[e.data.key]=e.data.value,"floatBall"===e.data.key&&(null!=we&&we.floatBall?Le?zt():Ut():zt()),"theme"!==e.data.key&&"sidebarEnabled"!==e.data.key&&"sidebarPosition"!==e.data.key||(ve(),pe()),n({success:!0}),t.abrupt("break",78);case 9:return xe[e.data.key]=e.data.value,ue(),n({success:!0}),t.abrupt("break",78);case 13:return ce(e.data.tabId,e.data.changeInfo,e.data.tab),n({success:!0}),t.abrupt("break",78);case 16:return t.next=18,ke();case 18:return n({success:!0}),t.abrupt("break",78);case 20:return h=Wt(),d=Vt(),n({localStorageItems:h,sessionStorageItems:d}),t.abrupt("break",78);case 24:return localStorage.clear(),sessionStorage.clear(),n({success:!0}),t.abrupt("break",78);case 27:return m=void 0,null===(m=vt)||void 0===m||m.play(),Pt(vt,"playVideo"),n({success:!0}),t.abrupt("break",78);case 30:return y=void 0,null===(y=vt)||void 0===y||y.pause(),Pt(vt,"pauseVideo"),n({success:!0}),t.abrupt("break",78);case 33:return v=e.data.value,vt&&(vt.fastSeek?vt.fastSeek(v):vt.currentTime=v,Pt(vt,"jumpToTime")),n({success:!0}),t.abrupt("break",78);case 36:return Bt(e.data.value),n({success:!0}),t.abrupt("break",78);case 39:return Dt(e.data.value),n({success:!0}),t.abrupt("break",78);case 42:return vt&&(vt.muted=!vt.muted,Pt(vt,"switchMute"),setTimeout((function(){!1!==vt.muted&&0===vt.volume&&(vt.volume=.1)}),1e3)),n({success:!0}),t.abrupt("break",78);case 45:return Ct(),n({success:!0}),t.abrupt("break",78);case 48:return Mt(),n({success:!0}),t.abrupt("break",78);case 51:return document.pictureInPictureElement&&document.exitPictureInPicture(),n({success:!0}),t.abrupt("break",78);case 54:return t.next=56,ut("update_setting",{key:"clickExtensionIconAction",value:"openPopup"});case 56:return n({success:!0}),t.abrupt("break",78);case 58:if((null===(o=e.data)||void 0===o?void 0:o.name)==="sidepanel_".concat(null===(i=Ee)||void 0===i?void 0:i.windowId)&&(zt(),ve(),Le=!0),Te(),we){t.next=63;break}return t.next=63,ke();case 63:return n({success:!0}),t.abrupt("break",78);case 65:return Le=!1,null!==(a=we)&&void 0!==a&&a.floatBall&&(null===(c=e.data)||void 0===c?void 0:c.name)==="sidepanel_".concat(null===(u=Ee)||void 0===u?void 0:u.windowId)&&0===_e&&Ut(),null!==(s=we)&&void 0!==s&&s.sidebarEnabled&&(null===(l=e.data)||void 0===l?void 0:l.name)==="sidepanel_".concat(null===(f=Ee)||void 0===f?void 0:f.windowId)&&0===_e&&pe(),n({success:!0}),t.abrupt("break",78);case 70:return p=void 0,null===(p=ee)||void 0===p||p.scrollTo({top:0,left:0,behavior:"smooth"}),n({success:!0}),t.abrupt("break",78);case 73:return r=void 0,null===(r=ee)||void 0===r||r.scrollTo({top:ee.scrollHeight,left:0,behavior:"smooth"}),n({success:!0}),t.abrupt("break",78);case 76:return n({success:!1,error:"Unknown action"}),t.abrupt("break",78);case 78:t.next=84;break;case 80:t.prev=80,t.t1=t.catch(0);try{n({success:!1,error:t.t1.message})}catch(t){}case 84:case"end":return t.stop()}var r,p,v,y,m}),t,null,[[0,80]])})));return function(e,r,n){return t.apply(this,arguments)}}(),je=function(){var t=be(me().mark((function t(){return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut("open_sidepanel");case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Pe=function(){["keydown","mousedown","pointerdown","pointerup","touchend"].forEach((function(t){return document.addEventListener(t,je,{once:!0})}))},Te=function(){["keydown","mousedown","pointerdown","pointerup","touchend"].forEach((function(t){return document.removeEventListener(t,je,{once:!0})}))},Ie=function(){ke(),chrome.runtime.onMessage.addListener((function(t,e,r){return Oe(t,e,r),!0}))};window.addEventListener("DOMContentLoaded",Ie),window.addEventListener("pageshow",(function(t){t.persisted?Ie():ke()}))})(); //# sourceMappingURL=contentScript.js.map \ No newline at end of file diff --git a/build/manifest.json b/build/manifest.json index 6a2e402..904cc88 100644 --- a/build/manifest.json +++ b/build/manifest.json @@ -1 +1 @@ -{"description":"__MSG_appDescription__","version":"2.6.0","action":{"default_icon":{"16":"images/16x16.png","32":"images/32x32.png","48":"images/48x48.png","128":"images/128x128.png"}},"side_panel":{"default_path":"sidepanel.html"},"author":"ColorfulTabs","background":{"service_worker":"background.js","type":"module"},"content_scripts":[{"matches":["","file:///*","*://*/*"],"all_frames":true,"js":["contentScript.js"],"run_at":"document_start"}],"default_locale":"en","icons":{"16":"images/16x16.png","32":"images/32x32.png","48":"images/48x48.png","128":"images/128x128.png"},"minimum_chrome_version":"116","manifest_version":3,"name":"__MSG_appName__","options_page":"options.html","host_permissions":[""],"optional_permissions":["history","search","bookmarks"],"permissions":["tabs","tabGroups","sidePanel","alarms","readingList","cookies","storage","unlimitedStorage","favicon"],"web_accessible_resources":[{"resources":["_favicon/*","sidebar.html"],"matches":[""],"extension_ids":["*"]}],"short_name":"__MSG_appShortName__","commands":{"openSidePanel":{"suggested_key":{"default":"Ctrl+Shift+S","mac":"MacCtrl+Command+S"},"description":"__MSG_openSidePanel__"},"_execute_action":{"suggested_key":{"default":"Ctrl+Shift+X","mac":"MacCtrl+Command+X"}}}} \ No newline at end of file +{"description":"__MSG_appDescription__","version":"2.7.0","action":{"default_icon":{"16":"images/16x16.png","32":"images/32x32.png","48":"images/48x48.png","128":"images/128x128.png"}},"side_panel":{"default_path":"sidepanel.html"},"author":"ColorfulTabs","background":{"service_worker":"background.js","type":"module"},"content_scripts":[{"matches":["","file:///*","*://*/*"],"all_frames":true,"js":["contentScript.js"],"run_at":"document_start"}],"default_locale":"en","icons":{"16":"images/16x16.png","32":"images/32x32.png","48":"images/48x48.png","128":"images/128x128.png"},"minimum_chrome_version":"116","manifest_version":3,"name":"__MSG_appName__","options_page":"options.html","host_permissions":[""],"optional_permissions":["history","search","bookmarks","readingList","cookies"],"permissions":["tabs","tabGroups","sidePanel","alarms","storage","unlimitedStorage","favicon"],"web_accessible_resources":[{"resources":["_favicon/*","sidebar.html"],"matches":[""],"extension_ids":["*"]}],"short_name":"__MSG_appShortName__","commands":{"openSidePanel":{"suggested_key":{"default":"Ctrl+Shift+S","mac":"MacCtrl+Command+S"},"description":"__MSG_openSidePanel__"},"_execute_action":{"suggested_key":{"default":"Ctrl+Shift+X","mac":"MacCtrl+Command+X"}}}} \ No newline at end of file diff --git a/build/options.js b/build/options.js index 28f5633..25cd427 100644 --- a/build/options.js +++ b/build/options.js @@ -1,2 +1,2 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="21f7cf54-c6d7-478f-983a-352d58f34887",t._sentryDebugIdIdentifier="sentry-dbid-21f7cf54-c6d7-478f-983a-352d58f34887")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{var t,e,r,n,o,i,a,c={1084:(t,e,r)=>{"use strict";r.d(e,{BW:()=>l,UN:()=>h,Y_:()=>c,Yv:()=>p,Zw:()=>u,eZ:()=>i,gh:()=>o,kQ:()=>s,oK:()=>n,sj:()=>f,te:()=>a});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center "},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center "},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center "},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center "},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center "},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center "},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center "},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center "},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center "},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center "},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center "},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center "},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center "},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center "},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center "},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center "},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center "},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center "},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"center "},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"center "}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"flex-start"},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:0,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=[chrome.runtime.getURL("images/bg.jpg")],a={fontScale:.75,fontWeight:600,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"},c={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},u={tabSwitchPip:!0,scrollSwitchPip:!1},l={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},s={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},f={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},h={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},p={rememberSiteZoom:!0}},86670:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&i.call(k,u)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},67744:(t,e,r)=>{"use strict";r.d(e,{uR:()=>y,vf:()=>p});var n=r(94252),o=(r(54098),r(5708),r(11094),r(50637)),i=(r(73356),r(51742),r(86670));function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function f(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function h(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){f(i,n,o,a,c,"next",t)}function c(t){f(i,n,o,a,c,"throw",t)}a(void 0)}))}}new Set;var p=function(t){var e=u({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),i=r.hostname,a=r.origin;return e.hostname=i,e.origin=a,e.hostname=(0,n.AY)(e.url)?i:e.url,e.tabId=t.id,e.color=o.u0[t.id%o.u0.length],e},y=function(){var t=h(s().mark((function t(e){var r,n,o,a,c=arguments;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={windowType:"normal",url:["http://*/*","https://*/*"]},void 0!==(r=c.length>1&&void 0!==c[1]?c[1]:{}).windowId&&(n.windowId=r.windowId),t.next=5,chrome.tabs.query(n);case 5:return o=t.sent,a=o.map((function(t){return(0,i.h)(t.id,e,r)})),t.next=9,Promise.all(a);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},83486:(t,e,r)=>{"use strict";r.d(e,{DT:()=>d,Hg:()=>v,Xn:()=>b,eq:()=>m});var n=r(1084),o=r(86670),i=(r(73356),r(11094));function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||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 u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,c,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,c)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||s(t,e)||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 s(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{D:()=>g,i:()=>m});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},93919:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>x,oG:()=>b});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x));(0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4);const x=w},5708:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>T,aK:()=>A});var n=r(39897),o=r(73356),i=r(67744),a=r(30554),c=r(63413),u=r(91278),l=r(39392),s=r(61530),f=r(78698),h=r(94252);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var k=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return P(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),_(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,O(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},closeGroup:function(e){t((function(t){return{groups:t.groups.filter((function(t){return t.groupId!==e}))}}))},initQuickAccess:(o=L(x().mark((function e(){var r,n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,A();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:if(n=e.sent){e.next=14;break}return e.next=10,r.all();case 10:return o=e.sent,n=o.map(function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.uuid){t.next=4;break}return t.next=3,r.delete(e.uuid);case 3:return t.abrupt("return",b(b({},e),{},{id:e.uuid}));case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e.next=14,r.set("quickAccess",n);case 14:i=(0,s.A)(n,"sortIndex"),t({quickAccess:i}),Date.now();case 18:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=12;break}return r.prev=2,r.next=5,(0,h.fL)(o.url);case 5:o.favIconUrl=r.sent,r.next=12;break;case 8:r.prev=8,r.t0=r.catch(2),o.favIconUrl=(0,h.Qr)(o.url);case 12:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=18,A();case 18:return y=r.sent,r.next=21,y.set("quickAccess",e().quickAccess);case 21:case"end":return r.stop()}}),r,null,[[2,8]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,A();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),j=new Map,_=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,k();case 3:if(o=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),j.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),O=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return j.delete("tabid_".concat(e)),t.next=3,k();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k();case 2:if(r=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const T=S},11094:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m,qk:()=>d});var n=r(39897),o=r(73356),i=r(63413),a=r(30554),c=r(1084);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{$m:()=>v,RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>m});var n=r(64946),o=r(54098),i=r(40492),a=r(70369);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(e){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.delete(e),t.next=3,f.remove(e);case 3:return t.abrupt("return",!0);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),m=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,d();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},77405:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(71393),i=r(62398),a=r(49673),c=r(26565),u=(r(94045),r(71331)),l=r(11094),s=r(39191);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(51742).D.getState().loadSiteConfigs()},72780:(t,e,r)=>{"use strict";r.d(e,{A:()=>q});var n=r(30758),o=r(81191),i=r(92711),a=r(421),c=r(98054),u=r(25790),l=r(67463),s=r(37749),f=r(14805),h=r(43044),p=r(77678),y=r(31597),v=r(63803),d=r(12285),m=r(46369);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(t,e):void 0}}(t,e)||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 b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(t,e)||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 T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,c,"next",t)}function c(t){Y(i,n,o,a,c,"throw",t)}a(void 0)}))}}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return R(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(t,e):void 0}}(t,e)||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 R(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r$1").replace(/\[(.*?)\]\((.*?)\)/g,(function(t,e,r){var n=r.startsWith("/options.html");return'").concat(e,"")})).replace(/\s*-\s+(.*?)(?=\n|$)/gm,"
    2. $1
    3. ").replace(/\n/g,"
      ")}catch(e){return t}};return n.createElement(o.A,{sx:{width:"100%",mb:2}},r&&n.createElement(o.A,{sx:{width:"100%",my:1}},n.createElement(x.A,{severity:"warning",action:n.createElement(C.A,{onClick:L},n.createElement(F.A,null)),sx:{width:"100%"}},n.createElement(l.A,null,t("screenSizeWarningMessage",{percent:y}).split("\n")[0],n.createElement(u.A,{onClick:function(){return b(!g)}},g?n.createElement(B.A,null):n.createElement(D.A,null),t(g?"showLess":"showMore"))),n.createElement(E.A,{in:g},n.createElement(l.A,{sx:{mt:2},dangerouslySetInnerHTML:{__html:k(t("screenSizeWarningMessage",{percent:y}).split("\n").slice(1).join("\n"))}}),h>1&&n.createElement(l.A,{sx:{mt:2},dangerouslySetInnerHTML:{__html:k(t("scaleWarningMessage",{scale:100*h}))}})))),r&&c&&n.createElement(o.A,{sx:{width:"100%",my:1}},n.createElement(x.A,{severity:"success",action:n.createElement(C.A,{onClick:w},n.createElement(F.A,null)),sx:{width:"100%"}},n.createElement(l.A,{dangerouslySetInnerHTML:{__html:k(t("pageSidebarRelase",{percent:y}))}}))))};function q(t){var e=t.children,r=(0,m.W)().t,s=(0,N.Ay)((function(t){return{updateSetting:t.updateSetting}})).updateSetting,f=(0,I.D)((function(t){return{loadSiteConfigs:t.loadSiteConfigs}})).loadSiteConfigs;(0,n.useEffect)((function(){return f(),chrome.runtime.onMessage.addListener(h),function(){chrome.runtime.onMessage.removeListener(h)}}),[]);var h=function(t,e,r){var n=t.data;if("update_setting"===t.action)s(n.key,n.value),r({success:!0})},p=navigator.userAgent.includes("Edg")?"https://microsoftedge.microsoft.com/addons/detail/".concat(chrome.runtime.id):"https://chromewebstore.google.com/detail/".concat(chrome.runtime.id),y=[{name:"releases",label:r("Changelog",{ns:"translation"}),url:"https://github.com/RabbitPair/colorful_sidepanel_tabs_extension/releases"},{name:"feedback",label:r("SubmitSuggestionsOrIssues",{ns:"translation"}),url:"https://github.com/RabbitPair/colorful_sidepanel_tabs_extension/issues/new/choose"},{name:"donation",label:r("Donation",{ns:"translation"}),url:"https://ko-fi.com/rabbitpair"},{name:"rateExtension",label:r("RateExtension",{ns:"translation"}),url:p}];return n.createElement(o.A,{sx:{flexGrow:1,backgroundImage:"none",minHeight:"100vh",display:"flex",flexDirection:"column"}},n.createElement(i.A,{maxWidth:"lg",sx:{mt:4,mb:4,flex:1}},n.createElement(a.Ay,{container:!0,spacing:2},n.createElement(G,null),n.createElement(H,null)),n.createElement(a.Ay,{container:!0,spacing:2},n.createElement(a.Ay,{item:!0,xs:2},n.createElement(w,null)),n.createElement(a.Ay,{item:!0,xs:10},e))),n.createElement(o.A,{component:"footer",sx:{py:3,px:2,mt:"auto"}},n.createElement(i.A,{maxWidth:"lg"},n.createElement(c.A,{direction:"row",spacing:4,justifyContent:"center",alignItems:"center"},y.map((function(t){return n.createElement(u.A,{key:t.name,href:t.url,target:"_blank",sx:{textTransform:"none"}},n.createElement(l.A,{variant:"body2",sx:{fontWeight:600}},t.label))}))))))}},20963:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(77405),a=(r(14852),r(72780)),c=r(63803),u=r(43983),l=r(14132),s=r(99733),f=r(53742),h=r(74425),p=r(73036),y=r(71973),v=r(45298),d=r(48555),m=r(8e3),g=r(8860),b=r(80792),w=r(3632),x=r(75285),E=r(34187),L=r(63405),k=r(46369),A=r(31072),S=r(76051),j=r(42807),_=t([l,j]);[l,j]=_.then?(await _)():_,(0,w.ig)();var O=document.getElementById("root"),P=(0,o.H)(O);(0,x.ae)(document.body,{scrollbars:{autoHide:"scroll"}});var T=(0,c.Ge)([{path:"/",element:n.createElement(a.A,null,n.createElement(u.A,null))},{path:"beautify",element:n.createElement(a.A,null,n.createElement(p.A,null))},{path:"tabs",element:n.createElement(a.A,null,n.createElement(l.A,null))},{path:"history",element:n.createElement(a.A,null,n.createElement(s.A,null))},{path:"quickAccess",element:n.createElement(a.A,null,n.createElement(j.A,null))},{path:"shortcuts",element:n.createElement(a.A,null,n.createElement(y.A,null))},{path:"pip",element:n.createElement(a.A,null,n.createElement(f.A,null))},{path:"chromeTabGroup",element:n.createElement(a.A,null,n.createElement(h.A,null))},{path:"progressBar",element:n.createElement(a.A,null,n.createElement(v.A,null))},{path:"floatball",element:n.createElement(a.A,null,n.createElement(d.A,null))},{path:"performance",element:n.createElement(a.A,null,n.createElement(m.A,null))},{path:"tabSidebarOnPages",element:n.createElement(a.A,null,n.createElement(A.A,null))},{path:"sites",element:n.createElement(a.A,null,n.createElement(b.A,null))},{path:"sites/:hostname",element:n.createElement(a.A,null,n.createElement(g.A,null))},{path:"import_export",element:n.createElement(a.A,null,n.createElement(E.A,null))},{path:"snapshots",element:n.createElement(a.A,null,n.createElement(L.A,null))}]);P.render(n.createElement(S.Z,null,n.createElement(i.A,null,n.createElement(w.WP,null,n.createElement(k.D,{defaultNS:"options"},n.createElement(c.pg,{router:T})))))),e()}catch(t){e(t)}}))},43983:(t,e,r)=>{"use strict";r.d(e,{A:()=>Zt});var n=r(30758),o=r(421),i=r(67463),a=r(59184),c=r(25492),u=r(55469),l=r(46369);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function h(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function p(){var t=(0,l.W)({keyPrefix:"settings.appearance.language"}),e=t.t,r=t.language,s=t.changeLanguage,p=function(){var t,e=(t=f().mark((function t(e,r){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r&&r.lang&&s(r.lang);case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,c,"next",t)}function c(t){h(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},e("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},e("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(a.A,{options:u.HK,getOptionKey:function(t){return null==t?void 0:t.lang},defaultValue:function(){return u.HK.find((function(t){return r.indexOf(t.lang)>-1}))},onChange:p,renderInput:function(t){return n.createElement(c.A,t)}})))}var y=r(11094),v=r(63922),d=r(39361),m=r(24717),g=r(90619),b=r(86670);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.theme"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,theme:t.settings.theme}})),r=e.updateSetting,a=e.theme,c=function(){var t,e=(t=x().mark((function t(e,n){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("theme",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"theme",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"light",onClick:c},n.createElement(m.A,null)),n.createElement(d.A,{value:"dark",onClick:c},n.createElement(g.A,null)))))}var k=r(34078),A=r(55143);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==S(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.rtl"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,rtl:t.settings.rtl}})),r=e.updateSetting,a=e.rtl,c=function(){var t,e=(t=j().mark((function t(e){return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("rtl",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"rtl",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_(i,n,o,a,c,"next",t)}function c(t){_(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(k.A,{control:n.createElement(A.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}var P=r(7166),T=r(22026),G=r(31155);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==N(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.searchBoxPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,searchBoxPosition:t.settings.searchBoxPosition}})),r=e.updateSetting,a=e.searchBoxPosition,c=function(){var t,e=(t=I().mark((function t(e,n){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("searchBoxPosition",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"searchBoxPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"top",onClick:c},n.createElement(T.A,null)," ",n.createElement(i.A,{variant:"body1"},t("top"))),n.createElement(d.A,{value:"bottom",onClick:c},n.createElement(P.A,null),n.createElement(i.A,{variant:"body1"},t("bottom"))),n.createElement(d.A,{value:"hide",onClick:c},n.createElement(G.A,null),n.createElement(i.A,{variant:"body1"},t("hide"))))))}var B=r(63294);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.extAction"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,clickExtensionIconAction:t.settings.clickExtensionIconAction}})),r=e.updateSetting,a=e.clickExtensionIconAction,c=function(){var t,e=(t=U().mark((function t(e,n){var o;return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("clickExtensionIconAction",n);case 2:if("openSidePanel"!==n){t.next=8;break}if(!("sidePanel"in chrome)){t.next=6;break}return t.next=6,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){}));case 6:t.next=14;break;case 8:if(!("sidePanel"in chrome)){t.next=11;break}return t.next=11,null===(o=chrome.sidePanel)||void 0===o?void 0:o.setPanelBehavior({openPanelOnActionClick:!1}).catch((function(t){}));case 11:if("openPopup"!==n){t.next=14;break}return t.next=14,chrome.action.setPopup({popup:"popup.html"});case 14:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"openSidePanel",onClick:c},n.createElement(i.A,{variant:"body1"},t("openSidePanel"))),n.createElement(d.A,{value:"openPopup",onClick:c},n.createElement(i.A,{variant:"body1"},t("openPopup"))))),n.createElement(o.Ay,{item:!0,xs:12,mt:1},n.createElement(B.A,{severity:"info"},t("SmallWindowAlert"))))}var z=r(58448),M=r(57385);function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function H(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */H=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==R(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function q(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Z(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.buttonPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,buttonPosition:t.settings.buttonPosition}})),r=e.updateSetting,a=e.buttonPosition,c=function(){var t,e=(t=H().mark((function t(e,n){return H().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("buttonPosition",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"buttonPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){q(i,n,o,a,c,"next",t)}function c(t){q(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"row-reverse",onClick:c},n.createElement(M.A,null)," ",n.createElement(i.A,{variant:"body1"},t("left"))),n.createElement(d.A,{value:"row",onClick:c},n.createElement(i.A,{variant:"body1"},t("right"))," ",n.createElement(z.A,null)))))}var K=r(25790),$=r(39805),Q=r(82441),V=r(64009),J=r(77678),X=r(24453),tt=r(94041),et=r(51464),rt=r(61793),nt=r(14397);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function at(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ht(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ht(t,e):void 0}}(t,e)||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 ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ot(i,n,o,a,c,"next",t)}function c(t){Ot(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Gt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gt(t,e):void 0}}(t,e)||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 Gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ft(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Bt(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.fullScreenHideSidePanel"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,fullScreenHideSidePanel:t.settings.fullScreenHideSidePanel}})),r=e.updateSetting,a=e.fullScreenHideSidePanel,c=function(){var t,e=(t=Ct().mark((function t(e){return Ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fullScreenHideSidePanel",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"fullScreenHideSidePanel",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ft(i,n,o,a,c,"next",t)}function c(t){Ft(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(k.A,{control:n.createElement(A.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}function Dt(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.SidePanelPosition"}).t;return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(K.A,{variant:"contained",color:"error",onClick:function(t,e){chrome.tabs.create({url:"chrome://settings/appearance#:~:text=side%20panel",active:!0})}},t("goToBrowserSettings"))))}var Ut=r(83486);function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}function Yt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function zt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Mt(){var t=(0,l.W)().t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),r=e.updateSetting,a=e.AlwaysShowCloseButton,c=function(){var t,e=(t=Yt().mark((function t(e){return Yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("AlwaysShowCloseButton",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"AlwaysShowCloseButton",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){zt(i,n,o,a,c,"next",t)}function c(t){zt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("settings.appearance.alwaysShowCloseButton.label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("settings.appearance.alwaysShowCloseButton.description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(k.A,{control:n.createElement(A.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function qt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const Zt=(0,n.memo)((function(){var t=(0,l.W)("options",{keyPrefix:"settings"}).t,e=function(){var t,e=(t=Ht().mark((function t(){return Ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Ut.Hg)();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qt(i,n,o,a,c,"next",t)}function c(t){qt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(yt.A,null,n.createElement(o.Ay,{container:!0,alignItems:"center",mb:5},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h1"},t("modules.appearance"))),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(K.A,{color:"error",onClick:e},t("resetCurrentPageSettings")))),n.createElement(vt.A,{spacing:2,divider:n.createElement(J.A,{orientation:"horizontal",flexItem:!0})},n.createElement(p,null),n.createElement(L,null),n.createElement(O,null),n.createElement(Y,null),!navigator.userAgent.includes("Edg")&&n.createElement(Dt,null),n.createElement(F,null),n.createElement(pt,null),n.createElement(Nt,null),n.createElement(Z,null),n.createElement(Mt,null),n.createElement(Bt,null)))}))},73036:(t,e,r)=>{"use strict";r.d(e,{A:()=>Oe});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(25790),u=r(98054),l=r(77678),s=r(46369),f=r(83486),h=r(11094),p=r(34078),y=r(55143),v=r(86670),d=r(84303),m=r(48462),g=r(60718),b=r(42848),w=r(27117),x=r(47047),E=r(30818);(0,d.X$)([m.A,g.A,b.A,w.A,x.A,E.A]);var L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:125,r=(0,d.Mj)(t).desaturate(.12).lighten(.12),n=r.rotate(-57).saturate(.16).lighten(.03),o=r.rotate(64).saturate(.39).darken(.11);return"linear-gradient(".concat(e,"deg, ").concat(n.toHex()," 0%, ").concat(r.toHex()," 50%, ").concat(o.toHex()," 100%)")},k=function(t){return"transparent"===t?"inherit":(0,d.Mj)(t).isLight()?"#333":"#fff"},A=function(t){var e=document.createElement("canvas"),r=e.getContext("2d");e.width=t.width,e.height=t.height,r.drawImage(t,0,0,e.width,e.height);for(var n=r.getImageData(0,0,e.width,e.height).data,o={},i="",a=0,c=0;ca&&(a=o[u],i=u)}return"rgb(".concat(i,")")};function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==S(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_(i,n,o,a,c,"next",t)}function c(t){_(i,n,o,a,c,"throw",t)}a(void 0)}))}}function P(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.coloredbackground"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,colorfulBackground:t.settings.colorfulBackground,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundColor:t.settings.backgroundColor}})),r=e.updateSetting,o=e.colorfulBackground,c=e.backgroundImageUrl,u=e.backgroundColor,l=function(){var t=O(j().mark((function t(e){var n,o,i;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.target.checked,t.next=3,r("colorfulBackground",n);case 3:return t.next=5,(0,v.U)("update_setting",{key:"colorfulBackground",value:n});case 5:if(n){t.next=12;break}return t.next=8,r("fontColor","inherit");case 8:return t.next=10,(0,v.U)("update_setting",{key:"fontColor",value:"inherit"});case 10:t.next=23;break;case 12:if(c.match(/(?:png|jpe?g|gif|unsplash)/)||c.startsWith("data:image/")){t.next=19;break}return o=k(u),t.next=16,r("fontColor",o);case 16:return t.next=18,(0,v.U)("update_setting",{key:"fontColor",value:o});case 18:return t.abrupt("return");case 19:(i=new Image).crossOrigin="Anonymous",i.src=c,i.onload=O(j().mark((function t(){var e,n;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=A(i),n=k(e),t.next=4,r("fontColor",n);case 4:return t.next=6,(0,v.U)("update_setting",{key:"fontColor",value:n});case 6:case"end":return t.stop()}}),t)})));case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(p.A,{control:n.createElement(y.A,{color:"error",checked:o,onChange:l}),labelPlacement:"start"})))}var T=r(63922),G=r(39361);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==N(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.listBottomBorder"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,listBottomBorder:t.settings.listBottomBorder}})),r=e.updateSetting,o=e.listBottomBorder,c=function(){var t,e=(t=I().mark((function t(e,n){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("listBottomBorder",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"listBottomBorder",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(T.A,{size:"small",value:o,exclusive:!0},["none","dashed","solid"].map((function(e,r){return n.createElement(G.A,{key:r,value:e,onClick:c},n.createElement(a.A,{style:{borderBottom:"1px ".concat(e)},variant:"body1"},t(e)))})))))}var B=r(57333);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}function z(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageTransparency"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageFade,c=(e.backgroundImageUrl,function(){var t=Y(U().mark((function t(e,n){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageFade",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),l=function(){var t=Y(U().mark((function t(e,r){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageFade",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:1,value:o,color:"error",valueLabelFormat:function(t){return"".concat(Math.round(100*t),"%")},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var M=r(62219),R=r(49251),H=r(99967),q=r(12619),Z=r(39805),K=r(64009),$=r(82441),Q=r(61793),V=r(27979),J=r(90156),X=r(60777),tt=r(73356),et=r(26565),rt=r(51219),nt=r.n(rt);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(t){return function(t){if(Array.isArray(t))return ft(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||st(t)||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 at(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */at=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ot(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ct(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ut(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ct(i,n,o,a,c,"next",t)}function c(t){ct(i,n,o,a,c,"throw",t)}a(void 0)}))}}function lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||st(t,e)||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 st(t,e){if(t){if("string"==typeof t)return ft(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ft(t,e):void 0}}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function vt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function dt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){vt(i,n,o,a,c,"next",t)}function c(t){vt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function mt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.listBackgroundTransparency"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,listBackgroundAlpha:t.settings.listBackgroundAlpha}})),r=e.updateSetting,o=e.listBackgroundAlpha,c=function(){var t=dt(yt().mark((function t(e,n){return yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("listBackgroundAlpha",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=dt(yt().mark((function t(e,r){return yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"listBackgroundAlpha",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.05,marks:!0,min:0,max:1,value:o,color:"error",valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var gt=r(37281),bt=r(50637);function wt(t){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(t)}function xt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Et(i,n,o,a,c,"next",t)}function c(t){Et(i,n,o,a,c,"throw",t)}a(void 0)}))}}function kt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return At(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?At(t,e):void 0}}(t,e)||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 At(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Tt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Pt(i,n,o,a,c,"next",t)}function c(t){Pt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Gt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageBlur"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageBlur,c=e.backgroundImageUrl,l=function(){var t=Tt(Ot().mark((function t(e,n){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageBlur",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),f=function(){var t=Tt(Ot().mark((function t(e,r){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageBlur",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:50,value:o,color:"error",disabled:""===c,valueLabelDisplay:"auto",onChange:l,onChangeCommitted:f}))))}function Nt(t){return Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(t)}function It(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */It=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Nt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ct(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ft(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ct(i,n,o,a,c,"next",t)}function c(t){Ct(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Bt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageBrightness"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageBrightness:t.settings.backgroundImageBrightness,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageBrightness,c=(e.backgroundImageUrl,function(){var t=Ft(It().mark((function t(e,n){return It().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageBrightness",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),l=function(){var t=Ft(It().mark((function t(e,r){return It().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageBrightness",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:2,value:o,color:"error",valueLabelFormat:function(t){return"".concat((100*t).toFixed(0),"%")},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}function Dt(t){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dt(t)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Dt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Wt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Yt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Wt(i,n,o,a,c,"next",t)}function c(t){Wt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function zt(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontSize"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontScale:t.settings.fontScale}})),r=e.updateSetting,o=e.fontScale,c=function(){var t=Yt(Ut().mark((function t(e,n){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontScale",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Yt(Ut().mark((function t(e,r){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"fontScale",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(a.A,{sx:{fontSize:12}},t("small")),n.createElement(B.Ay,{size:"small",step:.0625,marks:!0,min:.5625,max:1.25,value:o,color:"error",valueLabelFormat:function(t){return 16*t+"px"},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}),n.createElement(a.A,{sx:{fontSize:16}},t("large")))))}function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Rt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Rt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ht(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ht(i,n,o,a,c,"next",t)}function c(t){Ht(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Zt(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontWeight"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontWeight:t.settings.fontWeight}})),r=e.updateSetting,o=e.fontWeight,c=function(){var t=qt(Rt().mark((function t(e,n){return Rt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontWeight",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=qt(Rt().mark((function t(e,r){return Rt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"fontWeight",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",step:100,marks:!0,min:100,max:900,value:o,color:"error",valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var Kt=r(75013),$t=r(59184),Qt=r(25492);function Vt(t){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vt(t)}function Jt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Jt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Vt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Xt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function te(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontFamily"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontFamily:t.settings.fontFamily}})),r=e.updateSetting,o=e.fontFamily,c=[{label:"System",value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'},{label:"Roboto",value:"Roboto, Arial, sans-serif"},{label:"Open Sans",value:'"Open Sans", Arial, sans-serif'},{label:"Noto Sans",value:'"Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", "Noto Sans Arabic", sans-serif'},{label:"Montserrat",value:"Montserrat, Arial, sans-serif"},{label:"Lato",value:"Lato, Arial, sans-serif"},{label:"Inter",value:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Source Sans Pro",value:'"Source Sans Pro", Arial, sans-serif'},{label:"Poppins",value:'Poppins, "Segoe UI", Tahoma, Geneva, sans-serif'},{label:"PT Sans",value:'"PT Sans", Arial, sans-serif'},{label:"Merriweather",value:'Merriweather, Georgia, "Times New Roman", Times, serif'},{label:"Raleway",value:"Raleway, Arial, sans-serif"},{label:"Playfair Display",value:'"Playfair Display", Georgia, serif'},{label:"Nunito",value:"Nunito, Arial, sans-serif"},{label:"Fira Sans",value:'"Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Work Sans",value:'"Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Georgia",value:'Georgia, "Times New Roman", Times, serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Helvetica",value:'"Helvetica Neue", Helvetica, Arial, sans-serif'},{label:"Courier New",value:'"Courier New", Courier, monospace'},{label:"Microsoft YaHei",value:'"Microsoft YaHei", 微软雅黑, sans-serif'},{label:"STXihei",value:'STXihei, "华文细黑", sans-serif'},{label:"SimSun",value:"SimSun, 宋体, sans-serif"},{label:"SimHei",value:"SimHei, 黑体, sans-serif"},{label:"Noto Sans CJK SC",value:'"Noto Sans CJK SC", sans-serif'},{label:"Yu Gothic",value:'"Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif'},{label:"MS Mincho",value:'"MS Mincho", "Hiragino Mincho ProN", serif'},{label:"Malgun Gothic",value:'"Malgun Gothic", "Apple SD Gothic Neo", sans-serif'},{label:"Nanum Gothic",value:'"Nanum Gothic", "Apple SD Gothic Neo", sans-serif'},{label:"Verdana",value:"Verdana, Geneva, sans-serif"},{label:"Dubai",value:'"Dubai", "Arial", sans-serif'},{label:"Tahoma",value:"Tahoma, Geneva, sans-serif"}],u=function(){var t,e=(t=Jt().mark((function t(e,n){return Jt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontFamily",null==n?void 0:n.value);case 2:return t.next=4,(0,v.U)("update_setting",{key:"fontFamily",value:null==n?void 0:n.value});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Xt(i,n,o,a,c,"next",t)}function c(t){Xt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(Kt.A,{variant:"standard",fullWidth:!0,sx:{m:1,minWidth:200}},n.createElement($t.A,{fullWidth:!0,options:c,getOptionLabel:function(t){return null==t?void 0:t.label},defaultValue:c.find((function(t){return t.value===o})),value:c.find((function(t){return t.value===o})),onChange:u,renderInput:function(t){return n.createElement(Qt.A,t)}}))))}var ee=r(47235),re=r(59161),ne=r(59937),oe=r(52079);function ie(t){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(t)}function ae(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ae=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ie(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ce(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ue(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ce(i,n,o,a,c,"next",t)}function c(t){ce(i,n,o,a,c,"throw",t)}a(void 0)}))}}function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ve(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function de(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ve(i,n,o,a,c,"next",t)}function c(t){ve(i,n,o,a,c,"throw",t)}a(void 0)}))}}function me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ge(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ge(t,e):void 0}}(t,e)||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 ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r.75?(0,d.yT)().toHslString():r>.5?(0,d.yT)().toRgbString():(0,d.yT)().toHex(),k(e);case 2:case"end":return t.stop()}var r}),t)})));return function(){return t.apply(this,arguments)}}(),_=Boolean(m),O=_?"color-picker-popover":void 0,P=""!==p;return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4,sx:{cursor:P?"not-allowed":"pointer"}},n.createElement(gt.A,{title:P?t("backgroundImageConfigured"):""},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(o.A,{"aria-describedby":O,sx:{width:24,height:24,backgroundColor:c,border:"1px solid #000",pointerEvents:P?"none":"auto"},onClick:function(t){g(t.currentTarget)}}),n.createElement(ee.Ay,{id:O,open:_,anchorEl:m,onClose:function(){g(null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{sx:{padding:2,overflow:"hidden"}}}},n.createElement(ne.p9,{color:(0,d.Mj)(w).toRgbString(),onChange:k}),n.createElement(o.A,{sx:{display:"flex",flexWrap:"wrap",mt:2}},be.map((function(t){return n.createElement(o.A,{key:t,sx:{width:10,height:24,backgroundColor:t,border:"1px solid #000",cursor:"pointer",margin:"2px",flex:"0 0 calc(20% - 4px)"},onClick:function(){return S(t)}})})))),n.createElement(re.A,{type:"text",value:w,onChange:function(t){return k(t.target.value)},autoFocus:!0,disabled:P,endAdornment:n.createElement(n.Fragment,null,n.createElement(gt.A,{title:t("random")},n.createElement("span",null,n.createElement(H.A,{onClick:j,disabled:P},n.createElement(he.A,null)))),n.createElement(gt.A,{title:t("clear")},n.createElement("span",null,n.createElement(H.A,{onClick:A,disabled:P},n.createElement(oe.A,null)))))})))))}function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function Ee(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ee=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==xe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Le(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ke(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Le(i,n,o,a,c,"next",t)}function c(t){Le(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Ae(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundGradient"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundGradient:t.settings.backgroundGradient,backgroundGradientDeg:t.settings.backgroundGradientDeg,backgroundColor:t.settings.backgroundColor}})),r=e.updateSetting,o=e.backgroundGradient,c=e.backgroundGradientDeg,u=e.backgroundColor,l=function(){var t=ke(Ee().mark((function t(e){var n,o;return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.target.checked,t.next=3,r("backgroundGradient",n);case 3:return t.next=5,(0,v.U)("update_setting",{key:"backgroundGradient",value:n});case 5:return o=n?L(u,c):u,t.next=8,r("background",o);case 8:return t.next=10,(0,v.U)("update_setting",{key:"background",value:o});case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=ke(Ee().mark((function t(e,n){return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundGradientDeg",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=ke(Ee().mark((function t(e,n){var i;return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundGradientDeg",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"backgroundGradientDeg",value:n});case 4:if(!o){t.next=10;break}return i=L(u,n),t.next=8,r("background",i);case 8:return t.next=10,(0,v.U)("update_setting",{key:"background",value:i});case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:1},n.createElement(p.A,{control:n.createElement(y.A,{color:"error",checked:o,onChange:l}),labelPlacement:"start"})),n.createElement(i.Ay,{item:!0,xs:3},o&&n.createElement(B.Ay,{min:0,max:360,step:1,onChange:f,onChangeCommitted:d,size:"small",sx:{width:"calc(100% - 60px)",marginLeft:"10px"},value:c,color:"error",valueLabelDisplay:"auto",valueLabelFormat:function(t){return"".concat(t,"°")}})))}function Se(t){return Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Se(t)}function je(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */je=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Se(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _e(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Oe(){var t=(0,s.W)("options",{keyPrefix:"settings"}).t,e=(0,h.Ay)((function(t){return{colorfulBackground:t.settings.colorfulBackground}})).colorfulBackground,r=function(){var t,e=(t=je().mark((function t(){return je().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.eq)();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_e(i,n,o,a,c,"next",t)}function c(t){_e(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,alignItems:"center",sx:{marginBottom:"30px"}},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.beautify"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(c.A,{variant:"outlined",color:"error",onClick:r},t("resetCurrentPageSettings")))),n.createElement(u.A,{spacing:2,divider:n.createElement(l.A,{orientation:"horizontal",flexItem:!0})},n.createElement(te,null),n.createElement(zt,null),n.createElement(Zt,null),n.createElement(fe,null),n.createElement(P,null),e&&n.createElement(we,null),e&&n.createElement(Ae,null),e&&n.createElement(ht,null),e&&n.createElement(z,null),e&&n.createElement(Gt,null),e&&n.createElement(Bt,null),n.createElement(mt,null),n.createElement(St,null),n.createElement(F,null),n.createElement(jt,null)))}},74425:(t,e,r)=>{"use strict";r.d(e,{A:()=>k});var n=r(30758),o=r(81191),i=r(67463),a=r(85219),c=r(82845),u=r(421),l=r(61649),s=r(77678),f=r(34078),h=r(55143),p=r(46369),y=r(11094),v=r(86670);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(){var t=(0,p.W)("options",{keyPrefix:"settings.chromeTabGroupAdvanced.autoCreateOrJoinSameDomainGroup"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,autoCreateOrJoinSameDomainGroup:t.settings.autoCreateOrJoinSameDomainGroup}})),r=e.updateSetting,a=e.autoCreateOrJoinSameDomainGroup,c=function(){var t,e=(t=m().mark((function t(e){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("autoCreateOrJoinSameDomainGroup",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"autoCreateOrJoinSameDomainGroup",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("label")),n.createElement(i.A,{variant:"body1",component:"p",sx:{mb:2,whiteSpace:"pre-wrap",wordBreak:"break-all"}},t("description")),n.createElement(s.A,null),n.createElement(f.A,{control:n.createElement(h.A,{color:"error",checked:a,onChange:c}),label:t(a?"enabled":"disabled"),labelPlacement:"end"}))}function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(){var t=(0,p.W)("options",{keyPrefix:"settings.chromeTabGroupAdvanced.groupFilterOutPinnedTabs"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,groupFilterOutPinnedTabs:t.settings.groupFilterOutPinnedTabs}})),r=e.updateSetting,a=e.groupFilterOutPinnedTabs,c=function(){var t,e=(t=x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("groupFilterOutPinnedTabs",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"groupFilterOutPinnedTabs",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("description")),n.createElement(s.A,null),n.createElement(f.A,{control:n.createElement(h.A,{color:"error",checked:a,onChange:c}),label:t(a?"enabled":"disabled"),labelPlacement:"end"}))}function k(){var t=(0,p.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.A,{variant:"h1"},t("modules.chromeTabGroupAdvanced")),n.createElement(a.A,{sx:{display:"flex",padding:"20px",justifyContent:"space-around"}},n.createElement(c.A,{component:"img",sx:{width:320,objectFit:"cover",objectPosition:"center"},image:chrome.runtime.getURL("/images/helps/chromeGroup1.jpg")}),n.createElement(u.Ay,{item:!0,xs:6},n.createElement(l.A,null,n.createElement(s.A,{sx:{my:"15px"}}),n.createElement(b,null),n.createElement(s.A,{sx:{my:"15px"}}),n.createElement(L,null)))))}},48555:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(81191),i=r(67463),a=r(421),c=r(82845),u=r(46369),l=r(34078),s=r(55143),f=r(11094),h=r(86670);r(67744);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(){var t=(0,u.W)("options",{keyPrefix:"settings.floatBall.enableFloatBall"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,floatBall:t.settings.floatBall}})),r=e.updateSetting,o=e.floatBall,c=function(){var t,e=(t=y().mark((function t(e){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("floatBall",e.target.checked);case 2:return t.next=4,(0,h.U)("update_setting",{key:"floatBall",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(l.A,{control:n.createElement(s.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function m(){var t=(0,u.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.A,{variant:"h1"},t("modules.floatBall")),n.createElement(a.Ay,{container:!0,alignItems:"space-around"},n.createElement(a.Ay,{item:!0,xs:4},n.createElement(c.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/floatball.jpg")})),n.createElement(a.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(d,null))))}},99733:(t,e,r)=>{"use strict";r.d(e,{A:()=>ot});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(25790),u=r(98054),l=r(77678),s=r(46369),f=r(11094),h=r(34078),p=r(55143),y=r(86670);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(){var t=(0,s.W)("options",{keyPrefix:"settings.history.saveRecentlyTabs"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory}})),r=e.updateSetting,o=e.enableHistory,c=function(){var t,e=(t=d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("enableHistory",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"enableHistory",value:e.target.checked});case 4:if(e.target.checked){t.next=9;break}return t.next=7,r("activeTabIndex",0);case 7:return t.next=9,(0,y.U)("update_setting",{key:"activeTabIndex",value:0});case 9:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==b(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(){var t=(0,s.W)("options",{keyPrefix:"settings.history.showInSidePanel"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,showHistoryTabs:t.settings.showHistoryTabs}})),r=e.updateSetting,o=e.enableHistory,c=e.showHistoryTabs,u=function(){var t,e=(t=w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("showHistoryTabs",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"showHistoryTabs",value:e.target.checked});case 4:if(e.target.checked){t.next=9;break}return t.next=7,r("activeTabIndex",0);case 7:return t.next=9,(0,y.U)("update_setting",{key:"activeTabIndex",value:0});case 9:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o&&c,onChange:u}),labelPlacement:"start"})))}function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function k(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var A=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function S(){var t=(0,s.W)("options",{keyPrefix:"settings.history.showInTabSearchResults"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabSearchShowHistory:t.settings.tabSearchShowHistory}})),r=e.updateSetting,o=e.enableHistory,c=e.tabSearchShowHistory,u=function(){var t,e=(t=k().mark((function t(e){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabSearchShowHistory",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"tabSearchShowHistory",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o&&c,onChange:u}),labelPlacement:"start"})))}var j=r(75013),_=r(12647),O=r(57637);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function T(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */T=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==P(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function G(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(){var t=(0,s.W)("options",{keyPrefix:"settings.history.keepDays"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyKeepDays:t.settings.historyKeepDays}})),r=e.updateSetting,o=e.enableHistory,c=e.historyKeepDays,u=function(){var t,e=(t=T().mark((function t(e){return T().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historyKeepDays",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historyKeepDays",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){G(i,n,o,a,c,"next",t)}function c(t){G(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(_.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:365,min:1,step:1},endAdornment:n.createElement(O.A,{position:"end"},t("days")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}function C(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==I(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function F(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(){var t=(0,s.W)("options",{keyPrefix:"settings.history.openDuration"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabIntoHistoryNeedAliveSeconds:t.settings.tabIntoHistoryNeedAliveSeconds}})),r=e.updateSetting,o=e.enableHistory,c=e.tabIntoHistoryNeedAliveSeconds,u=function(){var t,e=(t=C().mark((function t(e){return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabIntoHistoryNeedAliveSeconds",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"tabIntoHistoryNeedAliveSeconds",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){F(i,n,o,a,c,"next",t)}function c(t){F(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(_.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:365,min:1,step:1},endAdornment:n.createElement(O.A,{position:"end"},t("seconds")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(){var t=(0,s.W)("options",{keyPrefix:"settings.history.saveRecentlyTabsLimit"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyKeepCount:t.settings.historyKeepCount}})),r=e.updateSetting,o=e.enableHistory,c=e.historyKeepCount,u=function(){var t,e=(t=U().mark((function t(e){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historyKeepCount",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historyKeepCount",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(_.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:999,min:1,step:1},onChange:u}))))}var z=r(83486),M=r(63922),R=r(39361),H=r(63294),q=r(678),Z=r(34253),K=r(26565);function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function Q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==$(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function J(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){V(i,n,o,a,c,"next",t)}function c(t){V(i,n,o,a,c,"throw",t)}a(void 0)}))}}function X(){var t=(0,s.W)("options",{keyPrefix:"settings.history.dataSource"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyDataSource:t.settings.historyDataSource}})),r=e.updateSetting,o=e.enableHistory,c=e.historyDataSource,u=function(){var e=J(Q().mark((function e(n,o){return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("chrome"!==o){e.next=4;break}chrome.permissions.contains({permissions:["history"]},function(){var e=J(Q().mark((function e(n){return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}chrome.permissions.request({permissions:["history"]},function(){var e=J(Q().mark((function e(n){var o;return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n?"chrome":"recentTabs",n||K.oR.error(t("deniedMessage")),e.next=4,r("historyDataSource",o);case 4:return e.next=6,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("historyDataSource",o);case 6:return e.next=8,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("historyDataSource",o);case 6:return e.next=8,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(M.A,{disabled:!o,size:"small",value:c,exclusive:!0},n.createElement(R.A,{value:"recentTabs",onClick:u},n.createElement(Z.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("recentlyClosedTabs"))),n.createElement(R.A,{value:"chrome",onClick:u},n.createElement(q.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("chromeHistory"))))),n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(H.A,{severity:"warning"},n.createElement(a.A,{component:"p"},t("alert")," "))))}function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}function et(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */et=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==tt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nt(){var t=(0,s.W)("options",{keyPrefix:"settings.history.limitSearchResults"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabSearchShowHistory:t.settings.tabSearchShowHistory,historySearchLimitCount:t.settings.historySearchLimitCount}})),r=e.updateSetting,o=e.enableHistory,c=e.tabSearchShowHistory,u=e.historySearchLimitCount,l=function(){var t,e=(t=et().mark((function t(e){return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historySearchLimitCount",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historySearchLimitCount",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rt(i,n,o,a,c,"next",t)}function c(t){rt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(_.A,{disabled:!o||!c,value:u,inputProps:{itemType:"number",max:50,min:1,step:1},onChange:l}))),n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(H.A,{severity:"warning"},n.createElement(a.A,{component:"p"},t("alert")," "))))}function ot(){var t=(0,s.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.history"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(c.A,{color:"error",onClick:function(){(0,z.Xn)()}},t("resetCurrentPageSettings")))),n.createElement(u.A,{spacing:2,divider:n.createElement(l.A,{orientation:"horizontal",flexItem:!0})},n.createElement(g,null),n.createElement(X,null),n.createElement(E,null),n.createElement(S,null),n.createElement(nt,null),n.createElement(Y,null),n.createElement(N,null),n.createElement(B,null)))}},34187:(t,e,r)=>{"use strict";r.d(e,{A:()=>Et});var n=r(30758),o=r(92711),i=r(81191),a=r(25790),c=r(39805),u=r(82441),l=r(64009),s=r(96729),f=r(77678),h=r(94041),p=r(421),y=r(34078),v=r(51464),d=r(63294),m=r(61793),g=r(26565),b=r(73356),w=r(28874),x=r(46369),E=r(11094),L=r(93919),k=r(5708),A=r(51742),S=r(39897),j=r(30554),_=r(63413),O=r(78698),P=r(40875),T=r(40492),G=r(50637);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function I(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}var z=function(){var t=Y(U().mark((function t(){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,b.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),M=new Map,R=(0,_.h)((0,S.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(o=Y(U().mark((function e(){var r,n,o,i,a,c;return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,o=void 0===n?3:n,e.next=10,z();case 10:return i=e.sent,e.next=13,i.all();case 13:a=e.sent,c=a.filter((function(t){return t.closed_time>=Date.now()-1e3*o*60*60*24})),t({histories:c,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),addHistory:(n=Y(U().mark((function e(r){var n,o,i,a,c,u,l;return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,b.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,o=n.tabIntoHistoryNeedAliveSeconds,!(Date.now()t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var rt=function(){var t=et(X().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return X().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r={},!e.preferences){t.next=19;break}return t.next=4,new Promise((function(t){chrome.storage.local.get(null,(function(e){t(e)}))}));case 4:return r.preferences=t.sent,t.next=7,(0,E.qk)();case 7:return n=t.sent,t.next=10,n.get("backgroundImageUrl");case 10:return o=t.sent,r.preferences.user_settings.backgroundImageUrl=o,t.next=14,n.get("background_image_urls");case 14:if(t.t0=t.sent,t.t0){t.next=17;break}t.t0=[];case 17:i=t.t0,r.preferences.background_image_urls=i;case 19:if(!e.quickAccess){t.next=26;break}return t.next=22,(0,k.aK)();case 22:return a=t.sent,t.next=25,a.get("quickAccess");case 25:r.quickAccess=t.sent;case 26:if(!e.siteConfig){t.next=33;break}return t.next=29,(0,A.i)();case 29:return c=t.sent,t.next=32,c.all();case 32:r.siteConfig=t.sent;case 33:if(!e.recentlyTabs){t.next=40;break}return t.next=36,z();case 36:return u=t.sent,t.next=39,u.all();case 39:r.recentlyTabs=t.sent;case 40:if(!e.snapshots){t.next=51;break}return t.next=43,(0,L.oG)();case 43:return l=t.sent,t.next=46,l.keys();case 46:return s=t.sent,f=s.filter((function(t){return t.startsWith("snapshot_detail_")})),t.next=50,Promise.all(f.map((function(t){return l.get(t)})));case 50:r.snapshots=t.sent;case 51:return t.abrupt("return",r);case 52:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const nt=function(){var t=(0,x.W)("options",{keyPrefix:"settings.importAndExport"}).t,e=V((0,n.useState)(!1),2),r=e[0],b=e[1],E=V((0,n.useState)({preferences:!0,quickAccess:!0,siteConfig:!0,recentlyTabs:!0,snapshots:!0}),2),L=E[0],k=E[1],A=function(){b(!1)},S=function(t){k($($({},L),{},Q({},t.target.name,t.target.checked)))},j=function(){var e=et(X().mark((function e(){var r,n,o,i,a,c;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,rt(L);case 3:r=e.sent,n=JSON.stringify(r,null,2),o=new Blob([n],{type:"application/json"}),i=URL.createObjectURL(o),(a=document.createElement("a")).href=i,c=(new Date).toLocaleString("sv-SE",{hour12:!1}).replace(/[:]/g,"").replace(/[ ]/g,"_"),a.download="vertiTab_extension_export_".concat(c,".json"),document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i),A(),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(0),g.oR.error(t("export.exportFailed"));case 22:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}();return n.createElement(o.A,{maxWidth:"sm"},n.createElement(i.A,{textAlign:"center"},n.createElement(a.A,{variant:"contained",color:"error",onClick:function(){b(!0)},startIcon:n.createElement(w.A,null),style:{padding:"8px 24px"}},t("export.label"))),n.createElement(c.A,{open:r,onClose:function(t,e){"backdropClick"!==e&&b(!1)}},n.createElement(u.A,{variant:"h3"},t("export.label")),n.createElement(l.A,null,n.createElement(s.A,{variant:"h4",color:"textSecondary",gutterBottom:!0},t("export.formTips")),n.createElement(f.A,{sx:{my:1}}),n.createElement(h.A,null,n.createElement(p.Ay,{container:!0,spacing:0},n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.preferences,onChange:S,name:"preferences",color:"error"}),label:t("options.preferences")}),n.createElement(d.A,{severity:"info"},t("options.preferencesInfo"))),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.quickAccess,onChange:S,name:"quickAccess",color:"error"}),label:t("options.quickAccess")})),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.siteConfig,onChange:S,name:"siteConfig",color:"error"}),label:t("options.siteConfig")}),n.createElement(d.A,{severity:"info"},t("options.siteConfigInfo"))),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.recentlyTabs,onChange:S,name:"recentlyTabs",color:"error"}),label:t("options.recentlyTabs")})),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.snapshots,onChange:S,name:"snapshots",color:"error"}),label:t("options.snapshots")}))))),n.createElement(m.A,null,n.createElement(a.A,{onClick:A,color:"error"},t("cancelBtn")),n.createElement(a.A,{onClick:j,color:"error",variant:"contained",disabled:!Object.values(L).some(Boolean)},t("exportBtn")))))};var ot=r(67463),it=r(26059),at=r(86670),ct=r(27475);function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function st(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function pt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function yt(t){return function(t){if(Array.isArray(t))return bt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gt(t)||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 vt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function dt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){vt(i,n,o,a,c,"next",t)}function c(t){vt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function mt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||gt(t,e)||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 gt(t,e){if(t){if("string"==typeof t)return bt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bt(t,e):void 0}}function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1)){t.next=25;break}return t.next=15,(0,E.qk)();case 15:return u=t.sent,t.next=18,u.get("background_image_urls");case 18:if(t.t2=t.sent,t.t2){t.next=21;break}t.t2=[];case 21:return l=t.t2,f=Array.from(new Set([].concat(yt(n.preferences.background_image_urls),yt(l)))),t.next=25,u.set("background_image_urls",f);case 25:t.next=31;break;case 27:throw t.prev=27,t.t3=t.catch(0),t.t3;case 31:if(t.prev=31,!o.quickAccess||!n.quickAccess){t.next=35;break}return t.next=35,(0,at.U)("addQuickAccess",{items:n.quickAccess});case 35:t.next=41;break;case 37:throw t.prev=37,t.t4=t.catch(31),t.t4;case 41:if(t.prev=41,!o.siteConfig||!n.siteConfig){t.next=63;break}h=pt(n.siteConfig),t.prev=44,h.s();case 46:if((p=h.n()).done){t.next=55;break}return y=p.value,v=y.hostname,t.next=51,r(v,y);case 51:return t.next=53,(0,at.U)("update_site_config",{hostname:v,config:y});case 53:t.next=46;break;case 55:t.next=60;break;case 57:t.prev=57,t.t5=t.catch(44),h.e(t.t5);case 60:return t.prev=60,h.f(),t.finish(60);case 63:t.next=69;break;case 65:throw t.prev=65,t.t6=t.catch(41),t.t6;case 69:if(t.prev=69,!o.recentlyTabs||!n.recentlyTabs){t.next=88;break}d=pt(n.recentlyTabs),t.prev=72,d.s();case 74:if((m=d.n()).done){t.next=80;break}return g=m.value,t.next=78,s(g);case 78:t.next=74;break;case 80:t.next=85;break;case 82:t.prev=82,t.t7=t.catch(72),d.e(t.t7);case 85:return t.prev=85,d.f(),t.finish(85);case 88:t.next=94;break;case 90:throw t.prev=90,t.t8=t.catch(69),t.t8;case 94:if(!o.snapshots||!n.snapshots){t.next=118;break}w=pt(n.snapshots),t.prev=96,w.s();case 98:if((x=w.n()).done){t.next=110;break}return L=x.value,t.prev=100,t.next=103,b(L);case 103:t.next=108;break;case 105:return t.prev=105,t.t9=t.catch(100),t.abrupt("continue",108);case 108:t.next=98;break;case 110:t.next=115;break;case 112:t.prev=112,t.t10=t.catch(96),w.e(t.t10);case 115:return t.prev=115,w.f(),t.finish(115);case 118:case"end":return t.stop()}}),t,null,[[0,27],[31,37],[41,65],[44,57,60,63],[69,90],[72,82,85,88],[96,112,115,118],[100,105]])})));return function(e,r){return t.apply(this,arguments)}}(),W=function(t){C(st(st({},I),{},ft({},t.target.name,t.target.checked)))},Y=function(){var e=dt(ht().mark((function e(){return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_){e.next=3;break}return g.oR.error(t("fileError")),e.abrupt("return");case 3:return G(!0),e.prev=4,e.next=7,U(_,I);case 7:g.oR.success(t("import.importSuccess")),D(!1),S(null),O(null),C({}),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(4),g.oR.error(t("import.importFailed"));case 18:return e.prev=18,G(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[4,14,18,21]])})));return function(){return e.apply(this,arguments)}}(),z=function(){D(!1),G(!1)};return n.createElement(o.A,{maxWidth:"sm"},n.createElement(i.A,{textAlign:"center",mb:3},n.createElement(a.A,{component:"label",color:"error",variant:"contained",startIcon:n.createElement(ct.A,null),href:"#file-upload"},t("import.label"),n.createElement("input",{accept:".json",id:"import-file",type:"file",onChange:function(t){S(t.target.files[0]),t.target.value=null},style:{display:"none"}}))),n.createElement(c.A,{open:B,onClose:function(t,e){"backdropClick"!==e&&z()}},n.createElement(u.A,{variant:"h3"},t("import.label")),n.createElement(l.A,null,n.createElement(ot.A,{variant:"h4",color:"textSecondary",gutterBottom:!0},t("import.formTips")),n.createElement(f.A,{sx:{my:1}}),n.createElement(h.A,null,n.createElement(p.Ay,{container:!0,spacing:0},(null==_?void 0:_.preferences)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.preferences,onChange:W,name:"preferences",color:"error"}),label:"".concat(t("options.preferences")," ( ").concat(Object.keys(_.preferences.user_settings||{}).length," )")}),n.createElement(d.A,{severity:"info"},t("options.preferencesInfo"))),(null==_?void 0:_.quickAccess)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.quickAccess,onChange:W,name:"quickAccess",color:"error"}),label:"".concat(t("options.quickAccess")," (").concat(Object.keys(_.quickAccess||{}).length,")")}),n.createElement(d.A,{severity:"warning"},t("options.quickAccessWarning"))),(null==_?void 0:_.siteConfig)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.siteConfig,onChange:W,name:"siteConfig",color:"error"}),label:"".concat(t("options.siteConfig")," (").concat(Object.keys(_.siteConfig||{}).length,")")}),n.createElement(d.A,{severity:"info"},t("options.siteConfigInfo"))),(null==_?void 0:_.recentlyTabs)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.recentlyTabs,onChange:W,name:"recentlyTabs",color:"error"}),label:"".concat(t("options.recentlyTabs")," (").concat(_.recentlyTabs?_.recentlyTabs.length:0,")")})),(null==_?void 0:_.snapshots)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.snapshots,onChange:W,name:"snapshots",color:"error"}),label:"".concat(t("options.snapshots")," (").concat(_.snapshots?_.snapshots.length:0,")")}))))),n.createElement(m.A,null,n.createElement(a.A,{onClick:z,color:"error"},t("cancelBtn")),n.createElement(a.A,{variant:"contained",color:"error",onClick:Y,startIcon:T?n.createElement(it.A,{size:24,color:"inherit"}):"",disabled:T||!Object.values(I).some(Boolean)},t(T?"importing":"importBtn")))))};var xt=r(98054);const Et=function(){var t=(0,x.W)("options",{keyPrefix:"settings.importAndExport"}).t;return n.createElement(i.A,null,n.createElement(p.Ay,{container:!0,alignItems:"center",sx:{marginBottom:"30px"}},n.createElement(p.Ay,{item:!0,xs:8},n.createElement(ot.A,{variant:"h1"},t("title"))),n.createElement(p.Ay,{item:!0,xs:4})),n.createElement(xt.A,{direction:"row",justifyContent:"flex-start",alignItems:"flex-start",spacing:2,divider:n.createElement(f.A,{orientation:"vertical",flexItem:!0})},n.createElement(nt,null),n.createElement(wt,null)))}},8e3:(t,e,r)=>{"use strict";r.d(e,{A:()=>U});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(98054),u=r(77678),l=r(11094),s=r(46369),f=r(63922),h=r(39361),p=r(63294),y=r(86670),v=(r(26565),r(70546)),d=r(90856),m=r(77020);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==g(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.saveMemoryAction"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction}})),r=e.updateSetting,o=e.saveMemoryAction,c=function(){var t,e=(t=b().mark((function t(e,n){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("saveMemoryAction",n);case 2:return t.next=4,(0,y.U)("update_setting",{key:"saveMemoryAction",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){w(i,n,o,a,c,"next",t)}function c(t){w(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8,sx:{paddingRight:"8px"}},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(f.A,{size:"small",value:o,exclusive:!0},n.createElement(h.A,{value:"disabled",onClick:c},n.createElement(m.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("disabled"))),n.createElement(h.A,{value:"discard",onClick:c},n.createElement(d.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("discardTabs"))),n.createElement(h.A,{value:"close",onClick:c},n.createElement(v.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("closeTabs"))))),"discard"===o&&n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(p.A,{icon:!1,severity:"info"},n.createElement(a.A,null,t("discardTips")," "))))}var E=r(75013),L=r(12647),k=r(57637);function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==A(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.discardInactiveTabsMinutes"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction,discardInactiveTabsMinutes:t.settings.discardInactiveTabsMinutes}})),r=e.updateSetting,o=e.saveMemoryAction,c=e.discardInactiveTabsMinutes,u=function(){var t,e=(t=S().mark((function t(e){return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("discardInactiveTabsMinutes",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"discardInactiveTabsMinutes",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(E.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(L.A,{disabled:"disabled"===o,value:c,inputProps:{itemType:"number",max:1e4,min:1,step:1},endAdornment:n.createElement(k.A,{position:"end"},t("minutes")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function G(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.closeInactiveTabsMinutes"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction,closeInactiveTabsMinutes:t.settings.closeInactiveTabsMinutes}})),r=e.updateSetting,o=e.saveMemoryAction,c=e.closeInactiveTabsMinutes,u=function(){var t,e=(t=P().mark((function t(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("closeInactiveTabsMinutes",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"closeInactiveTabsMinutes",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(E.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(L.A,{disabled:"disabled"===o,value:c,inputProps:{itemType:"number",max:1e4,min:1,step:1},endAdornment:n.createElement(k.A,{position:"end"},t("minutes")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}var N=r(34078),I=r(55143);function C(t){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==C(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function B(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function D(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.disableAnimations"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,disableAnimations:t.settings.disableAnimations}})),r=e.updateSetting,o=e.disableAnimations,c=function(){var t,e=(t=F().mark((function t(e){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("disableAnimations",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"disableAnimations",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){B(i,n,o,a,c,"next",t)}function c(t){B(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(N.A,{control:n.createElement(I.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function U(){var t=(0,s.W)("options",{keyPrefix:"settings.performance"}).t,e=(0,l.Ay)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction}})),r=(e.updateSetting,e.saveMemoryAction);return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("label"))),n.createElement(i.Ay,{item:!0,xs:4})),n.createElement(c.A,{spacing:2,divider:n.createElement(u.A,{orientation:"horizontal",flexItem:!0})},n.createElement(x,null),"discard"===r&&n.createElement(_,null),"close"===r&&n.createElement(G,null),n.createElement(D,null)))}},53742:(t,e,r)=>{"use strict";r.d(e,{A:()=>k});var n=r(30758),o=r(81191),i=r(67463),a=r(85219),c=r(82845),u=r(61649),l=r(77678),s=r(34078),f=r(55143),h=r(46369),p=r(11094),y=r(63294),v=r(46215),d=r(62219);function m(){var t=(0,h.W)().t;return n.createElement(y.A,{severity:"warning"},n.createElement(v.A,null,t("settings.userActivitionAlert.title")),n.createElement(i.A,{component:"p"},t("settings.userActivitionAlert.tips_1")," "),n.createElement(i.A,{component:"li"},t("settings.userActivitionAlert.tips_2")," => ",t("click"),"/",t("contextmenu"),"/",t("dblclick")," "),n.createElement(i.A,{component:"strong"},t("settings.userActivitionAlert.tips_3")," "),n.createElement(i.A,{component:"p"},t("settings.userActivitionAlert.tips_4"),n.createElement(d.A,{href:"https://developer.mozilla.org/en-US/docs/Web/Security/User_activation",target:"_blank",rel:"noopener noreferrer"},"https://developer.mozilla.org/en-US/docs/Web/Security/User_activation")," "))}var g=r(86670),b=r(67744);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}function k(){var t=(0,h.W)("options",{keyPrefix:"settings.picture_in_picture"}).t,e=(0,p.Zz)((function(t){return{updateSetting:t.updateSetting,tabSwitchPip:t.settings.tabSwitchPip,scrollSwitchPip:t.settings.scrollSwitchPip}})),r=e.updateSetting,y=e.tabSwitchPip,v=e.scrollSwitchPip,d=function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabSwitchPip",e.target.checked);case 2:return t.next=4,(0,g.U)("update_setting",{key:"tabSwitchPip",value:e.target.checked});case 4:return t.next=6,(0,b.uR)("update_setting",{key:"tabSwitchPip",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),w=function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("scrollSwitchPip",e.target.checked);case 2:return t.next=4,(0,g.U)("update_setting",{key:"scrollSwitchPip",value:e.target.checked});case 4:return t.next=6,(0,b.uR)("update_setting",{key:"scrollSwitchPip",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{sx:{mb:2},variant:"h1"},t("Picture-in-picture")),n.createElement(m,null),n.createElement(a.A,{sx:{display:"flex",padding:"20px",justifyContent:"space-around"}},n.createElement(c.A,{component:"img",sx:{width:320,objectFit:"cover",objectPosition:"center"},image:chrome.runtime.getURL("/images/helps/picture-in-picture.jpg")}),n.createElement(o.A,null,n.createElement(u.A,null,n.createElement(l.A,{sx:{my:"15px"}}),n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("tabSwitch.label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("tabSwitch.description")),n.createElement(l.A,null),n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:y,onChange:d}),label:t(y?"tabSwitch.enabled":"tabSwitch.disabled"),labelPlacement:"end"}),n.createElement(l.A,{sx:{my:"15px"}}),n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("scrollSwitch.label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("scrollSwitch.description")),n.createElement(l.A,null),n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:v,onChange:w}),label:t(v?"tabSwitch.enabled":"tabSwitch.disabled"),labelPlacement:"end"})))))}},30659:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>D});var o=r(30758),i=r(25790),a=r(39805),c=r(82441),u=r(64009),l=r(25492),s=r(67463),f=r(37749),h=r(43044),p=r(23355),y=r(51464),v=r(65395),d=r(14805),m=r(49251),g=r(61793),b=r(5708),w=r(94252),x=r(26565),E=r(46369),L=r(86670),k=r(14397);function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function S(){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 j(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _(t){if(Array.isArray(t))return C(t)}function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==A(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){P(i,n,o,a,c,"next",t)}function c(t){P(i,n,o,a,c,"throw",t)}a(void 0)}))}}function G(t,e){return B(t)||F(t,e)||I(t,e)||N()}function N(){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 I(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&M.length{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>m});var o=r(30758),i=r(11094),a=r(46369),c=r(421),u=r(67463),l=r(34078),s=r(55143),f=r(86670),h=r(30659),p=t([h]);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(){var t=(0,a.W)("options",{keyPrefix:"settings.quickAccess.enableQuickAccess"}).t,e=(0,i.Zz)((function(t){return{updateSetting:t.updateSetting,pinToQuickAccess:t.settings.pinToQuickAccess}})),r=e.updateSetting,n=e.pinToQuickAccess,p=function(){var t,e=(t=v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("pinToQuickAccess",e.target.checked);case 2:return t.next=4,(0,f.U)("update_setting",{key:"pinToQuickAccess",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return o.createElement(c.Ay,{container:!0,alignItems:"center"},o.createElement(c.Ay,{item:!0,xs:8},o.createElement(u.A,{variant:"h3",mb:1},t("label")),o.createElement(u.A,{variant:"body1",color:"text.secondary"},t("description")," ")),o.createElement(c.Ay,{item:!0,xs:2},o.createElement(l.A,{control:o.createElement(s.A,{color:"error",checked:n,onChange:p}),labelPlacement:"start"})),n&&o.createElement(c.Ay,{item:!0,xs:2},o.createElement(h.A,null)))}h=(p.then?(await p)():p)[0],n()}catch(g){n(g)}}))},42807:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>p});var o=r(30758),i=r(81191),a=r(421),c=r(67463),u=r(98054),l=r(77678),s=r(46369),f=r(34651),h=t([f]);function p(){var t=(0,s.W)("options",{keyPrefix:"settings.quickAccess"}).t;return o.createElement(i.A,null,o.createElement(a.Ay,{container:!0,alignItems:"center",mb:5},o.createElement(a.Ay,{item:!0,xs:8},o.createElement(c.A,{variant:"h1"},t("title"))),o.createElement(a.Ay,{item:!0,xs:4})),o.createElement(u.A,{spacing:2,divider:o.createElement(l.A,{orientation:"horizontal",flexItem:!0})},o.createElement(f.A,null)))}f=(h.then?(await h)():h)[0],n()}catch(y){n(y)}}))},45298:(t,e,r)=>{"use strict";r.d(e,{A:()=>N});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(77678),u=r(82845),l=r(46369),s=r(34078),f=r(55143),h=r(11094),p=r(86670),y=r(67744);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.enableProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.updateSetting,c=function(){var t,e=(t=d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o("enableProgressBar",e.target.checked);case 2:return t.next=4,(0,p.U)("update_setting",{key:"enableProgressBar",value:e.target.checked});case 4:return t.next=6,(0,y.uR)("update_setting",{key:"enableProgressBar",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:9},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:3},n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:r,onChange:c}),labelPlacement:"start"})))}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==b(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.readingProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,readingProgressBar:t.settings.readingProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.readingProgressBar,c=e.updateSetting,u=function(){var t,e=(t=w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.target.checked,t.next=3,c("readingProgressBar",r);case 3:return t.next=5,(0,p.U)("update_setting",{key:"readingProgressBar",value:r});case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(s.A,{disabled:!r,control:n.createElement(f.A,{color:"error",checked:r&&o,onChange:u}),labelPlacement:"start"})))}function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function k(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var A=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function S(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.playingProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,playingProgressBar:t.settings.playingProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.playingProgressBar,c=e.updateSetting,u=function(){var t,e=(t=k().mark((function t(e){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c("playingProgressBar",e.target.checked);case 2:return t.next=4,(0,p.U)("update_setting",{key:"playingProgressBar",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(s.A,{disabled:!r,control:n.createElement(f.A,{color:"error",checked:r&&o,onChange:u}),labelPlacement:"start"})))}var j=r(75013),_=r(12647);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function G(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.scrollHeightRatio"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,enableProgressBar:t.settings.enableProgressBar,scrollHeightRatio:t.settings.scrollHeightRatio}})),r=e.updateSetting,o=e.enableProgressBar,c=e.scrollHeightRatio,u=function(){var t,e=(t=P().mark((function t(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("scrollHeightRatio",e.target.value);case 2:return t.next=4,(0,p.U)("update_setting",{key:"scrollHeightRatio",value:e.target.value});case 4:return t.next=6,(0,y.uR)("update_setting",{key:"scrollHeightRatio",value:e.target.value});case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(_.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:100,min:1,step:.1},"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function N(){var t=(0,l.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,alignItems:"center",mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.progressBar")))),n.createElement(g,null),n.createElement(c.A,{sx:{my:2}}),n.createElement(i.Ay,{container:!0,alignItems:"space-around"},n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/readingProgressBar.jpg")})),n.createElement(i.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(E,null),n.createElement(c.A,{sx:{my:2}}),n.createElement(G,null))),n.createElement(c.A,{sx:{my:2}}),n.createElement(i.Ay,{container:!0,alignItems:"space-around"},n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/playingProgressBar.jpg")})),n.createElement(i.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(S,null))),n.createElement(c.A,{sx:{my:2}}))}},71973:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(98054),u=r(77678),l=r(63294),s=r(25790),f=r(46369),h=r(75013),p=r(12647);function y(t){var e=t.command,r=(0,f.W)("options",{keyPrefix:"settings.shortcuts"}).t,o=e.name;return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},r(o))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{sx:{m:1,width:"100%"},variant:"outlined"},n.createElement(p.A,{disabled:!0,value:e.shortcut}))))}var v=r(90630);function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t,e)||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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>vt});var n=r(30758),o=r(81191),i=r(98054),a=r(67463),c=r(77678),u=r(421),l=r(46369),s=r(34078),f=r(55143),h=r(86670),p=r(51742),y=r(77);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return g(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.playingProgressBar"}).t,o=(0,E.Ay)((function(t){return{globalPlayingProgressBar:t.settings.playingProgressBar&&t.settings.enableProgressBar}})).globalPlayingProgressBar,i=(0,p.D)((function(t){var r;return{playingProgressBar:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.playingProgressBar,setSiteConfig:t.setSiteConfig}})),c=i.playingProgressBar,y=i.setSiteConfig,v=function(){var t,r=(t=A().mark((function t(r){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{playingProgressBar:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{playingProgressBar:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{disabled:!o,color:"error",checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/progressBar"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==_(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.readingProgressBar"}).t,o=(0,E.Ay)((function(t){return{globalReadingProgressBar:t.settings.readingProgressBar&&t.settings.enableProgressBar}})).globalReadingProgressBar,i=(0,p.D)((function(t){var r;return{readingProgressBar:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.readingProgressBar,setSiteConfig:t.setSiteConfig}})),c=i.readingProgressBar,y=i.setSiteConfig,v=function(){var t,r=(t=O().mark((function t(r){return O().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{readingProgressBar:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{readingProgressBar:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){P(i,n,o,a,c,"next",t)}function c(t){P(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{color:"error",disabled:!o,checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/progressBar"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function N(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */N=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function I(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function C(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.tabSwitchPip"}).t,o=(0,E.Ay)((function(t){return{globalTabSwitchPip:t.settings.tabSwitchPip}})).globalTabSwitchPip,i=(0,p.D)((function(t){var r;return{tabSwitchPip:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.tabSwitchPip,setSiteConfig:t.setSiteConfig}})),c=i.tabSwitchPip,y=i.setSiteConfig,v=function(){var t,r=(t=N().mark((function t(r){return N().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{tabSwitchPip:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{tabSwitchPip:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){I(i,n,o,a,c,"next",t)}function c(t){I(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{disabled:!o,color:"error",checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/pip"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}var F=r(99967),B=r(30272),D=r(25790);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function W(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.browserSettings"}).t,o=function(){var t,r=(t=W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.create({url:"chrome://settings/content/siteDetails?site=https://".concat(e),active:!0});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,c,"next",t)}function c(t){Y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(D.A,{variant:"contained",color:"error",onClick:o},r("goToBrowserSettings"))))}var M=r(39805),R=r(82441),H=r(64009),q=r(89928),Z=r(75013),K=r(25492),$=r(77524),Q=r(9104),V=r(61793),J=r(37140),X=r(90127),tt=r(78797),et=r(20395),rt=r(37893),nt=r(14397);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(){return it=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ht(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||ht(t,e)||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 ht(t,e){if(t){if("string"==typeof t)return pt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(t,e):void 0}}function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&n.createElement(o.A,{border:1,borderColor:"grey.300",borderRadius:2,p:2,mb:2},n.createElement(a.A,{variant:"body2",color:"textSecondary",gutterBottom:!0},i("listTips")),n.createElement(u.Ay,{container:!0,alignItems:"center",spacing:2,sx:{borderBottom:"1px solid grey",paddingBottom:"10px"}},n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,{variant:"h4"},i("linkMatchContent"))),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,{variant:"h4"},i("linkOpenMethod"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(a.A,{variant:"h4"},i("edit"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(a.A,{variant:"h4"},i("delete")))),n.createElement(tt.Mp,{collisionDetection:tt.fp,onDragEnd:I,sensors:B},n.createElement(et.gB,{items:_,strategy:et._G},_.map((function(t){return n.createElement(C,{key:t.id,id:t.id},n.createElement(u.Ay,{container:!0,alignItems:"center",spacing:1},n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,null,t.regex)),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,null,"_self"===t.target&&i("target_self"),"_blank"===t.target&&i("target_blank"),"_parent"===t.target&&i("target_parent"),"_top"===t.target&&i("target_top"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(F.A,{color:"primary",onClick:function(){return function(t){var e=_.find((function(e){return e.id===t}));L(e.regex),S(e.target)}(t.id)}},n.createElement(J.A,null))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(F.A,{color:"error",onClick:function(){return N(t.id)}},n.createElement(X.A,null)))))}))))),n.createElement(q.A,{variant:"outlined",style:{padding:"16px",marginTop:"16px"}},n.createElement(a.A,{variant:"h4",gutterBottom:!0},i("linkMatchContent")),n.createElement(a.A,{variant:"body2",color:"textSecondary",gutterBottom:!0},i("linkMatchContentTips")),n.createElement(Z.A,{fullWidth:!0,margin:"normal"},n.createElement(K.A,{value:E,autoComplete:"off",onChange:function(t){return L(t.target.value)},variant:"standard"})),n.createElement(a.A,{variant:"h4"},i("linkOpenMethod")),n.createElement(Z.A,{component:"fieldset",fullWidth:!0,margin:"normal"},n.createElement($.A,{row:!0,value:A,onChange:function(t){return S(t.target.value)}},n.createElement(s.A,{value:"_self",control:n.createElement(Q.A,null),label:i("target_self")}),n.createElement(s.A,{value:"_blank",control:n.createElement(Q.A,null),label:i("target_blank")}),n.createElement(s.A,{value:"_parent",control:n.createElement(Q.A,null),label:i("target_parent")}),n.createElement(s.A,{value:"_top",control:n.createElement(Q.A,null),label:i("target_top")}))),n.createElement(D.A,{onClick:G,color:"error",variant:"contained",style:{marginTop:"16px"},disabled:!E},i("save")))),n.createElement(V.A,null,n.createElement(D.A,{onClick:T,color:"error"},i("close"))))))}function vt(t){var e=t.hostname,r=(0,y.g)();e=e||r.hostname,(0,l.W)("options",{keyPrefix:"settings.site"});var s=(0,p.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===e})),setSiteConfig:t.setSiteConfig}})),f=s.siteConfig,h=s.setSiteConfig;e&&!f&&h(e,{hostname:e}),(0,n.useEffect)((function(){}),[e]);(0,l.W)("options",{keyPrefix:"settings.site"}).t;return n.createElement(o.A,null,n.createElement(u.Ay,{container:!0,mb:3},n.createElement(i.A,{direction:"row",justifyContent:"center",alignItems:"flex-start",spacing:1},n.createElement(L.N_,{to:"/sites"},n.createElement(F.A,null,n.createElement(B.A,null))),n.createElement(a.A,{variant:"h1"},e))),n.createElement(i.A,{spacing:2,divider:n.createElement(c.A,{orientation:"horizontal",flexItem:!0})},n.createElement(w,{hostname:e}),n.createElement(T,{hostname:e}),n.createElement(j,{hostname:e}),n.createElement(C,{hostname:e}),n.createElement(z,{hostname:e}),n.createElement(yt,{hostname:e})))}},80792:(t,e,r)=>{"use strict";r.d(e,{A:()=>F});var n=r(30758),o=r(81191),i=r(51742),a=r(98054),c=r(67463),u=r(49251),l=r(62473),s=r(90630),f=r(23563),h=r(94252),p=r(99967),y=(r(8860),r(77)),v=r(63803);function d(t){var e=t.hostname,r=(0,y.g)();e=e||r.hostname;var o=(0,i.D)((function(t){return{deleteSiteConfig:t.deleteSiteConfig}})).deleteSiteConfig,d=(0,h.Qr)("https://".concat(e))||"https://via.placeholder.com/60x60.png?text=".concat(e);return n.createElement(v.N_,{to:"/sites/".concat(e)},n.createElement(a.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:2,sx:{}},n.createElement(u.A,{variant:"square",src:d,sx:{width:"20px",height:"20px",alignContent:"center"}},n.createElement(l.A,{sx:{fontSize:"20px"},color:"primary"})),n.createElement(c.A,{variant:"h3",component:"div",sx:{flexGrow:1}},e),n.createElement(p.A,null,n.createElement(s.A,null)),n.createElement(p.A,{onClick:function(t){t.stopPropagation(),t.preventDefault(),o(e)}},n.createElement(f.A,null))))}var m=r(421),g=r(77678),b=r(46369),w=r(86168),x=r(25492);function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t,e)||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 L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&n.createElement(p.A,{onClick:function(t){return i.D.setState({searchText:""}),void r(!1)}},n.createElement(f.A,{sx:{fontSize:"1rem"}}))},onChange:function(t){return function(t){t.preventDefault();var e=o.current.value;i.D.setState({searchText:e})}(t)},onFocus:function(){return r(!0)},onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)}}))}var A=r(60777),S=r(25790),j=r(39805),_=r(82441),O=r(64009),P=r(96729),T=r(61793),G=r(26565);function N(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return I(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(t,e):void 0}}(t,e)||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 I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0){var u=a.trim().toLowerCase().split(" ").filter(Boolean);r=r.filter((function(t){return Object.values(t).filter((function(t){return"string"==typeof t})).some((function(t){return u.every((function(e){return t.toLowerCase().includes(e)}))}))}))}return(0,n.useEffect)((function(){}),[]),n.createElement(o.A,null,n.createElement(m.Ay,{container:!0,mb:1,alignItems:"center",justifyContent:"space-between"},n.createElement(m.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h1"},t("label"))),n.createElement(m.Ay,{item:!0,xs:4}," ",n.createElement(k,null))),n.createElement(g.A,null,n.createElement(C,null)),n.createElement(o.A,{my:2},r.map((function(t,e){return n.createElement(d,{key:e,hostname:t.hostname})}))))}},63405:(t,e,r)=>{"use strict";r.d(e,{A:()=>X});var n=r(81191),o=r(421),i=r(67463),a=r(30758),c=r(25790),u=r(77678),l=r(98054),s=r(46369),f=r(93919),h=r(70546),p=r(14805),y=r(99967),v=r(94252),d=r(26565);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function w(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))}}function x(t){var e=t.summary,r=(0,s.W)("options",{keyPrefix:"snapshots"}).t,n=(0,f.Ay)((function(t){return t.selectdSnapshotId})),o=function(){var t=w(g().mark((function t(r){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.stopPropagation(),f.Ay.setState({selectdSnapshotId:e.id,selectedTabs:[]});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=w(g().mark((function t(n){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.stopPropagation(),t.prev=1,t.next=4,f.Ay.getState().removeSnapshot(e.id);case 4:d.oR.success(r("snapshotDeletedSuccess")),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),d.oR.error(r("snapshotDeletedFailed"));case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e){return t.apply(this,arguments)}}();return a.createElement(p.A,{onClick:o,sx:{flexGrow:1,flexDirection:"column",alignItems:"flex-start",borderRadius:"6px"},selected:e.id===n},a.createElement(l.A,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%"},spacing:1},a.createElement(l.A,{direction:"column",alignItems:"flex-start",spacing:1},a.createElement(i.A,{variant:"h3"},(0,v._K)(e.createdAt)),a.createElement(i.A,{variant:"body2"},r("windowCount",{count:e.windowCount})," / ",r("tabCount",{count:e.tabCount}))),a.createElement(y.A,{onClick:c},a.createElement(h.A,{color:"error"}))))}var E=r(38521);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function k(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var A=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return S(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&f.Ay.setState({selectdSnapshotId:e[0].id})}),[e]);var o=function(){var t=_(k().mark((function t(){var e,n,o,i,a,c,u,l;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=1,t.next=4,f.Ay.getState().addSnapshot();case 4:e=f.Ay.getState().summaries.sort((function(t,e){return e.createdAt-t.createdAt}))[0],f.Ay.setState({selectdSnapshotId:e.id,selectedTabs:[]}),n=f.Ay.getState().summaries.sort((function(t,e){return e.createdAt-t.createdAt})),o=n.slice(0,50),i=Date.now()-7776e6,a=n.filter((function(t){return!o.includes(t)||t.createdAt=i}))}),d.oR.success(r("snapshotCreatedSuccess")),t.next=34;break;case 31:t.prev=31,t.t1=t.catch(1),d.oR.error(r("snapshotCreatedFailed"));case 34:case"end":return t.stop()}}),t,null,[[1,31],[11,21,24,27]])})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=_(k().mark((function t(e){var n,o;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=e.target.files[0])&&((o=new FileReader).onload=function(){var t=_(k().mark((function t(e){var n,o,i,a,c,u;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n=JSON.parse(e.target.result),!Array.isArray(n.snapshots)){t.next=25;break}o=0,i=0,a=A(n.snapshots),t.prev=6,u=k().mark((function t(){var e;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=c.value,!f.Ay.getState().summaries.find((function(t){return t.id===e.id}))){t.next=6;break}i++,t.next=15;break;case 6:return t.prev=6,t.next=9,f.Ay.getState().addImportedSnapshot(e);case 9:o++,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6),i++;case 15:case"end":return t.stop()}}),t,null,[[6,12]])})),a.s();case 9:if((c=a.n()).done){t.next=13;break}return t.delegateYield(u(),"t0",11);case 11:t.next=9;break;case 13:t.next=18;break;case 15:t.prev=15,t.t1=t.catch(6),a.e(t.t1);case 18:return t.prev=18,a.f(),t.finish(18);case 21:o>0&&d.oR.success(r("snapshotImportedSuccess",{count:o,error:""})),i>0&&d.oR.error(r("snapshotImportFailed",{count:i,error:""})),t.next=33;break;case 25:if(!f.Ay.getState().summaries.find((function(t){return t.id===n.id}))){t.next=30;break}d.oR.error(r("snapshotImportFailedDuplicate")),t.next=33;break;case 30:return t.next=32,f.Ay.getState().addImportedSnapshot(n);case 32:d.oR.success(r("snapshotImportedSuccess",{count:1}));case 33:t.next=39;break;case 35:t.prev=35,t.t2=t.catch(0),d.oR.error(r("snapshotImportFailed",{count:0,error:t.t2.message}));case 39:case"end":return t.stop()}}),t,null,[[0,35],[6,15,18,21]])})));return function(e){return t.apply(this,arguments)}}(),o.readAsText(n));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return a.createElement(n.A,null,a.createElement(n.A,{mb:2},a.createElement(c.A,{size:"large",variant:"contained",color:"error",onClick:o},r("createSnapshot"))),a.createElement(n.A,{mb:2},a.createElement(c.A,{size:"large",variant:"contained",component:"label"},r("importSnapshot"),a.createElement("input",{type:"file",accept:".json",hidden:!0,onChange:h}))),a.createElement(u.A,null,a.createElement(i.A,{variant:"h4",sx:{py:2}},r("title"),":",e.length)),a.createElement(E.r,{defer:!0,style:{maxHeight:"60vh"}},a.createElement(l.A,{direction:"column",spacing:1,alignItems:"center",justifyContent:"center"},e.map((function(t){return a.createElement(x,{key:t.id,summary:t})})))))}f.Ay.getState().fetchSummaries();var P=r(92711),T=r(34078),G=r(51464),N=r(89928),I=r(43044),C=r(62473),F=r(15393),B=r(49251),D=r(11094);const U=(0,a.memo)((function(t){var e=t.avatarUrl,r=(0,D.Ay)((function(t){return{avatorSize:Math.floor(("visual"===t.settings.view?28:20)*t.settings.fontScale),buttonPosition:t.settings.buttonPosition}})),n=r.avatorSize,o=r.buttonPosition;return a.createElement(F.A,{sx:{display:"flex",justifyContent:"center",minWidth:n,padding:o?"0 5px 0 10px":"0 10px 0 5px"}},a.createElement(B.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:n,height:n,alignContent:"center"},"aria-label":"recipe",src:e},a.createElement(C.A,{sx:{fontSize:n},color:"primary"})))}));const W=function(t){var e,r=t.item,o=((0,s.W)("options",{keyPrefix:"snapshots"}).t,(0,f.Ay)((function(t){return{selectedTabs:t.selectedTabs,addSelectdTabId:t.addSelectdTabId,removeSelectTabId:t.removeSelectTabId}}))),c=o.selectedTabs,u=o.addSelectdTabId,h=o.removeSelectTabId,y=(null===(e=c[r.windowId])||void 0===e?void 0:e.includes(r.id))||!1;return a.createElement(I.Ay,{disablePadding:!0},a.createElement(p.A,{selected:y,component:"div",disableGutters:!0,onClick:function(){chrome.tabs.create({url:r.url,active:!1})}},a.createElement(l.A,{direction:"row",sx:{width:"100%",paddingX:"10px"},alignItems:"center",justifyContent:"space-between",spacing:1},a.createElement(U,{avatarUrl:r.favIconUrl||(0,v.Qr)(r.url)}),a.createElement(n.A,{sx:{minWidth:0,flex:1}},a.createElement(i.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"4px",paddingBottom:"4px"}},r.title),a.createElement(i.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",opacity:.75}},(0,v.Wj)(r.url))),a.createElement(G.A,{checked:y,onChange:function(t){t.target.checked?u(r.id,r.windowId):h(r.id,r.windowId)},onClick:function(t){t.stopPropagation()}}))))};function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=Y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Y(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const R=function(t){var e=t.windowIndex,r=t.window,o=t.restoreWindowSize,u=(0,s.W)("options",{keyPrefix:"snapshots"}).t,h=(0,f.Ay)((function(t){return{selectdWindowTabs:t.selectedTabs[r.id]||[],selectedTabsCount:(t.selectedTabs[r.id]||[]).length}})),p=h.selectdWindowTabs,y=h.selectedTabsCount;return a.createElement(N.A,{elevation:3,style:{margin:"16px 0",padding:"16px"}},a.createElement(l.A,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"16px"}},a.createElement(l.A,{direction:"row",spacing:2,alignItems:"center",justifyContent:"flex-start"},a.createElement(i.A,{variant:"h3"},u("Window")," ",e+1),a.createElement(i.A,{variant:"h5"},"(",u("tabCount",{count:r.tabs.length}),")")),a.createElement(l.A,{direction:"row",spacing:1,alignItems:"center",justifyContent:"flex-end"},a.createElement(c.A,{variant:"outlined",color:"primary",onClick:function(){var t=p.length>0?p.map((function(t){return r.tabs.find((function(e){return e.id===t}))})):r.tabs,e={};t.forEach((function(t,r){setTimeout((function(){chrome.tabs.create({url:t.url,active:!1},(function(r){t.groupId>0&&(e[t.groupId]||(e[t.groupId]=[]),e[t.groupId].push(r.id))}))}),250*r)})),0===p.length&&setTimeout((function(){Object.keys(e).forEach((function(t){if(t&&r.tabGroups){var n=r.tabGroups.find((function(e){return e.id===parseInt(t)}));n&&chrome.tabs.group({tabIds:e[t]},(function(t){chrome.tabGroups.update(t,{color:n.color,title:n.title})}))}}))}),250*t.length+500)},style:{marginLeft:"8px"}},u("OpenInCurrentWindow")," ",y?" (".concat(y,")"):""),a.createElement(c.A,{variant:"outlined",color:"error",onClick:function(){var t=p.length>0?p.map((function(t){return r.tabs.find((function(e){return e.id===t}))})):r.tabs,e=function(t){for(var e=1;e0&&(n[t.groupId]||(n[t.groupId]=[]),n[t.groupId].push(e.id))}))}),250*r)})),0===p.length&&setTimeout((function(){Object.keys(n).forEach((function(t){if(t&&r.tabGroups){var o=r.tabGroups.find((function(e){return e.id===parseInt(t)}));o&&chrome.tabs.group({tabIds:n[t],createProperties:{windowId:e.id}},(function(t){chrome.tabGroups.update(t,{color:o.color,title:o.title})}))}}))}),250*t.length+500)}))}},u("OpenInNewWindow")," ",y?" (".concat(y,")"):""),y>0&&a.createElement(c.A,{variant:"outlined",color:"secondary",onClick:function(){r.tabs.forEach((function(t){f.Ay.getState().removeSelectTabId(t.id,r.id)}))}},u("ResetSelection")))),a.createElement(n.A,null,r.tabs.map((function(t,e){return a.createElement(W,{key:t.id,tabIndex:e,item:t})}))))};function H(t){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},H(t)}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Z(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function K(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */K=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==H(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return V(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}(t,e)||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 V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0?e.map((function(e){return t.tabs.find((function(t){return t.id===e}))})):t.tabs,o=function(t){for(var e=1;e0&&(o[t.groupId]||(o[t.groupId]=[]),o[t.groupId].push(e.id))}))}),250*e)})),0===e.length&&setTimeout((function(){Object.keys(o).forEach((function(e){if(e&&t.tabGroups){var n=t.tabGroups.find((function(t){return t.id===parseInt(e)}));n&&chrome.tabs.group({tabIds:o[e],createProperties:{windowId:r.id}},(function(t){chrome.tabGroups.update(t,{color:n.color,title:n.title})}))}}))}),250*n.length+500)}))}))}},n>0?"".concat(t("openSelectedInNewWindow")," (").concat(n,")"):t("openAllWindows")),n>0&&a.createElement(c.A,{variant:"outlined",color:"error",onClick:function(){u&&u.windows.forEach((function(t){var e=r[t.id]||[];e.length>0&&e.map((function(e){return t.tabs.find((function(t){return t.id===e}))})).forEach((function(t,e){setTimeout((function(){chrome.tabs.create({url:t.url,active:!1},(function(t){}))}),250*e)}))}))}},t("openSelectedInCurrentWindow")," (",n,")")),null==u?void 0:u.windows.map((function(t,e){return a.createElement(R,{key:e,window:t,windowIndex:e,restoreWindowSize:y})}))):null};function X(){var t=(0,s.W)("options",{keyPrefix:"snapshots"}).t,e=(0,f.Ay)((function(t){return t.summaries}));return(0,a.useEffect)((function(){e.length>0&&f.Ay.setState({selectdSnapshotId:e[0].id})}),[]),a.createElement(n.A,null,a.createElement(o.Ay,{container:!0,mb:5},a.createElement(o.Ay,{item:!0,xs:8},a.createElement(i.A,{variant:"h1"},t("title"))),a.createElement(o.Ay,{item:!0,xs:4})),a.createElement(o.Ay,{container:!0},a.createElement(o.Ay,{item:!0,xs:3},a.createElement(O,null)),a.createElement(o.Ay,{item:!0,xs:9},a.createElement(J,null))))}},31072:(t,e,r)=>{"use strict";r.d(e,{A:()=>P});var n=r(30758),o=r(81191),i=r(421),a=r(67463),c=r(63294),u=r(77678),l=r(98054),s=r(89928),f=r(46369),h=r(34078),p=r(55143),y=r(11094),v=r(86670);r(67744);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.sidebarEnabled"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,sidebarEnabled:t.settings.sidebarEnabled}})),r=e.updateSetting,o=e.sidebarEnabled,c=function(){var t,e=(t=m().mark((function t(e){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("sidebarEnabled",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"sidebarEnabled",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}var w=r(63922),x=r(39361),E=r(58448),L=r(57385);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==k(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.sidebarPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,sidebarPosition:t.settings.sidebarPosition}})),r=e.updateSetting,o=e.sidebarPosition,c=function(){var t,e=(t=A().mark((function t(e,n){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("sidebarPosition",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"sidebarPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(w.A,{size:"small",value:o,exclusive:!0},n.createElement(x.A,{value:"left",onClick:c},n.createElement(L.A,null)," ",n.createElement(a.A,{variant:"body1"},t("left"))),n.createElement(x.A,{value:"right",onClick:c},n.createElement(a.A,{variant:"body1"},t("right"))," ",n.createElement(E.A,null)))))}var _=r(46215);const O=function(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.contentScriptWarning"}).t,e=function(t){var e=/(https?:\/\/[^\s]+)/g;return t.split(e).map((function(t,r){return e.test(t)?n.createElement("a",{key:r,href:t,target:"_blank",rel:"noopener noreferrer"},t):t}))};return n.createElement(c.A,{severity:"warning"},n.createElement(_.A,null,e(t("warningTitle"))),e(t("warningMessage")),n.createElement(o.A,{mt:2},n.createElement("ul",null,n.createElement("li",null,n.createElement(a.A,null,e(t("webStore")))),n.createElement("li",null,n.createElement(a.A,null,e(t("internalPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("fileUrls")))),n.createElement("li",null,n.createElement(a.A,null,e(t("extensionsPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("protectedPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("newTabPage")))),n.createElement("li",null,n.createElement(a.A,null,e(t("pdfViewer")))))))};function P(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("title"))),n.createElement(i.Ay,{item:!0,xs:4})),n.createElement(i.Ay,{item:!0,xs:12,sx:{mt:2}},n.createElement(c.A,{severity:"info"},t("description"))),n.createElement(u.A,{sx:{my:2}}),n.createElement(l.A,{spacing:2,divider:n.createElement(u.A,{orientation:"horizontal",flexItem:!0})},n.createElement(b,null),n.createElement(j,null)),n.createElement(u.A,{sx:{my:2,color:"red"}},t("usageRestrictions")),n.createElement(s.A,null,n.createElement(O,null)))}},87906:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>D});var o=r(30758),i=r(25790),a=r(39805),c=r(82441),u=r(64009),l=r(25492),s=r(67463),f=r(37749),h=r(43044),p=r(23355),y=r(51464),v=r(65395),d=r(14805),m=r(49251),g=r(61793),b=r(5708),w=r(94252),x=r(26565),E=r(46369),L=r(86670),k=r(14397);function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function S(){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 j(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _(t){if(Array.isArray(t))return C(t)}function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==A(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){P(i,n,o,a,c,"next",t)}function c(t){P(i,n,o,a,c,"throw",t)}a(void 0)}))}}function G(t,e){return B(t)||F(t,e)||I(t,e)||N()}function N(){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 I(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&M.length{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(86670);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.collapsedGroupShowTabIcons"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,GroupCollapsedShowIcon:t.settings.GroupCollapsedShowIcon}})),r=e.updateSetting,f=e.GroupCollapsedShowIcon,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("GroupCollapsedShowIcon",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"GroupCollapsedShowIcon",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},24673:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(86670);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.currentWindowOnly"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),r=e.updateSetting,f=e.onlyCurrentWindowTabs,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("onlyCurrentWindowTabs",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"onlyCurrentWindowTabs",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},31791:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>m});var o=r(30758),i=r(11094),a=r(46369),c=r(421),u=r(67463),l=r(34078),s=r(55143),f=r(86670),h=r(87906),p=t([h]);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(){var t=(0,a.W)("options",{keyPrefix:"settings.tabs.pinToQuickAccess"}).t,e=(0,i.Zz)((function(t){return{updateSetting:t.updateSetting,pinToQuickAccess:t.settings.pinToQuickAccess}})),r=e.updateSetting,n=e.pinToQuickAccess,p=function(){var t,e=(t=v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("pinToQuickAccess",e.target.checked);case 2:return t.next=4,(0,f.U)("update_setting",{key:"pinToQuickAccess",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return o.createElement(c.Ay,{container:!0,alignItems:"center"},o.createElement(c.Ay,{item:!0,xs:8},o.createElement(u.A,{variant:"h3",mb:1},t("label")),o.createElement(u.A,{variant:"body1",color:"text.secondary"},t("description")," ")),o.createElement(c.Ay,{item:!0,xs:2},o.createElement(l.A,{control:o.createElement(s.A,{color:"error",checked:n,onChange:p}),labelPlacement:"start"})),n&&o.createElement(c.Ay,{item:!0,xs:2},o.createElement(h.A,null)))}h=(p.then?(await p)():p)[0],n()}catch(g){n(g)}}))},31316:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(86670);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.pinedTabsAsIcons"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons}})),r=e.updateSetting,f=e.PinnedTabsAsIcons,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("PinnedTabsAsIcons",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"PinnedTabsAsIcons",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},27187:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(86670);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.showFullUrl"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,showFullUrl:t.settings.showFullUrl}})),r=e.updateSetting,f=e.showFullUrl,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("showFullUrl",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"showFullUrl",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},78992:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(86670);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.hoverPreview"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable}})),r=e.updateSetting,f=e.tabPreviewEnable,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabPreviewEnable",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"tabPreviewEnable",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},8470:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(34078),l=r(55143),s=r(63294),f=r(86670),h=r(26565);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}function m(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.previewWithThumbnail"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewImage:t.settings.tabPreviewImage}})),r=e.updateSetting,p=e.tabPreviewEnable,v=e.tabPreviewImage,m=function(){var e=d(y().mark((function e(n){var o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(o=n.target.checked)){e.next=5;break}chrome.permissions.contains({origins:[""]},function(){var e=d(y().mark((function e(n){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}chrome.permissions.request({origins:[""]},function(){var e=d(y().mark((function e(n){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=8;break}return e.next=3,r("tabPreviewImage",!1);case 3:return e.next=5,(0,f.U)("update_setting",{key:"tabPreviewImage",value:!1});case 5:h.oR.error(t("deniedMessage")),e.next=12;break;case 8:return e.next=10,r("tabPreviewImage",!0);case 10:return e.next=12,(0,f.U)("update_setting",{key:"tabPreviewImage",value:!0});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("tabPreviewImage",o);case 6:return e.next=8,(0,f.U)("update_setting",{key:"tabPreviewImage",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=9;break;case 5:return e.next=7,r("tabPreviewImage",n.target.checked);case 7:return e.next=9,(0,f.U)("update_setting",{key:"tabPreviewImage",value:n.target.checked});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:v&&p,onChange:m}),labelPlacement:"start"})),n.createElement(a.Ay,{item:!0,xs:12},n.createElement(s.A,{severity:"warning"},n.createElement(c.A,{component:"p"},t("alert")," "))))}},55239:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(30758),o=r(11094),i=r(46369),a=r(421),c=r(67463),u=r(75013),l=r(12647),s=r(57637),f=r(86670);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==h(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.previewDelay"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds}})),r=e.updateSetting,h=e.tabPreviewEnable,v=e.tabPreviewWaitSeconds,d=function(){var t,e=(t=p().mark((function t(e){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabPreviewWaitSeconds",e.target.value);case 2:return t.next=4,(0,f.U)("update_setting",{key:"tabPreviewWaitSeconds",value:e.target.value});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(l.A,{disabled:!h,value:v,type:"text",endAdornment:n.createElement(s.A,{position:"end"},t("seconds")),"aria-describedby":"",onChange:d}))))}},62846:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(30758),o=r(46369),i=r(421),a=r(67463),c=r(81191),u=r(23650),l=r(34882),s=r(37281),f=r(25790),h=r(99967),p=r(17283),y=r(30254),v=r(98890),d=r(23355),m=r(65395),g=r(11094),b=r(86670),w=r(11061);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function E(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(w=k);var A=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==x(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function L(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t,e)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>j});var n=r(30758),o=r(46369),i=r(421),a=r(67463),c=r(81191),u=r(23650),l=r(34882),s=r(37281),f=r(25790),h=r(99967),p=r(17283),y=r(30254),v=r(98890),d=r(23355),m=r(65395),g=r(11094),b=r(86670),w=r(92896);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function E(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(w=k);var A=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==x(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function L(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t,e)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(30758),o=r(421),i=r(67463),a=r(63922),c=r(39361),u=r(11094),l=r(86941),s=r(28864),f=r(46369),h=r(86670);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&n.call(k,a)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(){var t=(0,f.W)("options",{keyPrefix:"settings.tabs.listView"}).t,e=(0,u.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view}})),r=e.updateSetting,p=e.view,d=function(){var t,e=(t=y().mark((function t(e,n){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=5;break}return t.next=3,r("view",n);case 3:return t.next=5,(0,h.U)("update_setting",{key:"view",value:n});case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(a.A,{size:"small",value:p,exclusive:!0},n.createElement(c.A,{value:"list",onClick:d},n.createElement(l.A,null),n.createElement(i.A,{variant:"body1"},t("compact"))),n.createElement(c.A,{value:"visual",onClick:d},n.createElement(s.A,null),n.createElement(i.A,{variant:"body1"},t("visual"))))))}},14132:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>A});var o=r(30758),i=r(81191),a=r(421),c=r(67463),u=r(25790),l=r(98054),s=r(77678),f=r(46369),h=r(39433),p=r(31316),y=r(28958),v=r(78992),d=r(8470),m=r(55239),g=r(62846),b=r(62828),w=r(83486),x=r(24673),E=r(27187),L=r(31791),k=t([L]);function A(){var t=(0,f.W)("options",{keyPrefix:"settings"}).t;return o.createElement(i.A,null,o.createElement(a.Ay,{container:!0,alignItems:"center",mb:5},o.createElement(a.Ay,{item:!0,xs:8},o.createElement(c.A,{variant:"h1"},t("modules.tabs"))),o.createElement(a.Ay,{item:!0,xs:4},o.createElement(u.A,{color:"error",onClick:function(){(0,w.DT)()}},t("resetCurrentPageSettings")))),o.createElement(l.A,{spacing:2,divider:o.createElement(s.A,{orientation:"horizontal",flexItem:!0})},o.createElement(h.A,null),o.createElement(g.A,null),o.createElement(b.A,null),o.createElement(E.A,null),o.createElement(x.A,null),o.createElement(p.A,null),o.createElement(L.A,null),o.createElement(y.A,null),o.createElement(v.A,null),o.createElement(d.A,null),o.createElement(m.A,null)))}L=(k.then?(await k)():k)[0],n()}catch(S){n(S)}}))},76051:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});var n=r(30758),o=r(11094),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)}},46369:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(68964),i=r(55469),a=r(11094),c=r(86670);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},71331:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(81191),o=r(26059),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},39191:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(26797),o=r(46546),i=r(4507),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},54098:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(m=l(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},i=r,(o=f(o=e))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,i}),t,this)}))),function(t,e){return m.apply(this,arguments)})},{key:"get",value:(d=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"getOrSet",value:(v=l(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return v.apply(this,arguments)})},{key:"remove",value:(y=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return y.apply(this,arguments)})},{key:"delete",value:(p=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"clear",value:(h=l(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"prune",value:(u=l(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return u.apply(this,arguments)})},{key:"keys",value:(a=l(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"whereIn",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return o.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,o,a,u,h,p,y,v,d,m}();const y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(h.has(t))return h.get(t);var e=new p(t);return h.set(t,e),e}},50637:(t,e,r)=>{"use strict";r.d(e,{FQ:()=>a,ql:()=>i,u0:()=>c});var n=r(94252),o={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},i=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],a=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,n.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.hex,i/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(o.hex,i),", ").concat((0,n.E2)(o.hex,i/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.hex,i/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.complementary,i),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.analogous[0],i),", ").concat((0,n.E2)(t.analogous[1],i),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.triadic[0],i),", ").concat((0,n.E2)(t.triadic[1],i),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.tetradic[0],i),",").concat((0,n.E2)(t.tetradic[1],i),", ").concat((0,n.E2)(t.tetradic[2],i),")")}return a},c=i.filter((function(t){return t.color!==t.tabGroupColor}));i.filter((function(t){return t.color===t.tabGroupColor}))},40492:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&i.call(k,u)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,sc:()=>u})},94252:(t,e,r)=>{"use strict";function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(N([])));k&&k!==r&&i.call(k,u)&&(E=k);var A=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(n,a,c,u){var l=p(t[n],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==o(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var n;a(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function _(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{AY:()=>a,E2:()=>c,Qr:()=>s,Wj:()=>p,_K:()=>l,fL:()=>f,kU:()=>u});var a=function(t){return/^(http:\/\/|https:\/\/).*$/.test(t)};function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}function u(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var l=function(t){var e=new Date(t);if(isNaN(e))return"";var r=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),i=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),c=String(e.getSeconds()).padStart(2,"0");return"".concat(r,"-").concat(n,"-").concat(o," ").concat(i,":").concat(a,":").concat(c)};function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function f(t){return h.apply(this,arguments)}function h(){var t;return t=n().mark((function t(e){var r,o,i,a,c;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(o=t.sent,i=new DOMParser,a=i.parseFromString(o,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),h=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))},h.apply(this,arguments)}var p=function(t){try{return decodeURIComponent(t)}catch(e){return t}}},55469:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h,HK:()=>l});var n=r(4008),o=r(68964),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.db=null,this.cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this.ensureDbConnection();case 5:return t.next=7,this.db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return k.apply(this,arguments)})},{key:"get",value:(L=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return L.apply(this,arguments)})},{key:"getOrSet",value:(E=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return E.apply(this,arguments)})},{key:"remove",value:(x=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return x.apply(this,arguments)})},{key:"delete",value:(w=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return w.apply(this,arguments)})},{key:"prune",value:(b=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return b.apply(this,arguments)})},{key:"clear",value:(g=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return g.apply(this,arguments)})},{key:"keys",value:(m=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return m.apply(this,arguments)})},{key:"length",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return d.apply(this,arguments)})},{key:"whereIn",value:(v=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return v.apply(this,arguments)})},{key:"all",value:(y=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return y.apply(this,arguments)})},{key:"batchSet",value:(p=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return u.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],o=[{key:"create",value:(a=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})}],r&&f(e.prototype,r),o&&f(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,k,A,S,j}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},70369:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":29361,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":21497,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},u={};function l(t){var e=u[t];if(void 0!==e)return e.exports;var r=u[t]={exports:{}};return c[t].call(r.exports,r,r.exports,l),r.exports}l.m=c,t="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},l.a=(o,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=o.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[e]=h,p[t]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),o.exports=p,i((o=>{var i;u=(o=>o.map((o=>{if(null!==o&&"object"==typeof o){if(o[t])return o;if(o.then){var i=[];i.d=0,o.then((t=>{a[e]=t,n(i)}),(t=>{a[r]=t,n(i)}));var a={};return a[t]=t=>t(i),a}}var c={};return c[t]=t=>{},c[e]=o,c})))(o);var a=()=>u.map((t=>{if(t[r])throw t[r];return t[e]})),l=new Promise((e=>{(i=()=>e(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((e=>e[t](r)))}));return i.r?l:a()}),(t=>(t?s(p[r]=t):l(h),n(c)))),c&&c.d<0&&(c.d=0)},o=[],l.O=(t,e,r,n)=>{if(!e){var i=1/0;for(s=0;s=n)&&Object.keys(l.O).every((t=>l.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&o[s-1][2]>n;s--)o[s]=o[s-1];o[s]=[e,r,n]},l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},a=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,l.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);l.r(r);var n={};i=i||[null,a({}),a([]),a(a)];for(var o=2&e&&t;"object"==typeof o&&!~i.indexOf(o);o=a(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,l.d(r,n),r},l.d=(t,e)=>{for(var r in e)l.o(e,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.j=575,(()=>{var t={575:0};l.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)l.o(a,n)&&(l.m[n]=a[n]);if(c)var s=c(l)}for(e&&e(r);ul(20963)));s=l.O(s)})(); +!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="75589ad9-a81c-4cf0-aead-5e9772ca9417",t._sentryDebugIdIdentifier="sentry-dbid-75589ad9-a81c-4cf0-aead-5e9772ca9417")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"29ba52ca662501e3df5439703f917863c97bfb4c"},(()=>{var t,e,r,n,o,i,a,c={11804:(t,e,r)=>{"use strict";r.d(e,{BW:()=>l,UN:()=>h,Y_:()=>c,Yv:()=>p,Zw:()=>u,eZ:()=>i,ee:()=>y,gh:()=>o,kQ:()=>s,oK:()=>n,sj:()=>f,te:()=>a});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showTabNavs:!1,tabNavOptions:{delimiter:!1,navs:[{id:1,name:"OpenTabs",enable:!0,sort:1,showCount:!0,align:"center"},{id:2,name:"bookmarks",enable:!0,sort:2,showCount:!0,align:"center",permission:"bookmarks"},{id:3,name:"history",enable:!1,sort:3,showCount:!0,days:1,align:"center",permission:"history"},{id:4,name:"RecentlyTabs",enable:!1,sort:4,showCount:!0,days:1,align:"center"},{id:5,name:"quickAccess",enable:!1,sort:5,showCount:!0,align:"center"},{id:6,name:"readingList",enable:!1,sort:6,showCount:!0,align:"center",permission:"readingList"}]},showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center"},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center"},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center"},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center"},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center"},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center"},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center"}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:1,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=[chrome.runtime.getURL("images/bg.jpg")],a={fontScale:.75,fontWeight:400,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"},c={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},u={tabSwitchPip:!0,scrollSwitchPip:!1},l={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},s={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},f={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},h={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},p={rememberSiteZoom:!0},y={bookmarkViewMode:"tree",bookmarkHideEmptyFolders:!1,bookmarkSortOrder:"default",bookmarkExpandAll:!1,bookmarkTreeConnectorLines:!0,bookmarkShowUrl:!1}},63534:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&i.call(A,u)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},24032:(t,e,r)=>{"use strict";r.d(e,{uR:()=>y,vf:()=>p});var n=r(42444),o=(r(98258),r(23436),r(26166),r(26157)),i=(r(95532),r(20574),r(63534));function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function f(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function h(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){f(i,n,o,a,c,"next",t)}function c(t){f(i,n,o,a,c,"throw",t)}a(void 0)}))}}new Set;var p=function(t){var e=u({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),i=r.hostname,a=r.origin;return e.hostname=i,e.origin=a,e.hostname=(0,n.AY)(e.url)?i:e.url,e.tabId=t.id,e.color=o.u0[t.id%o.u0.length],e},y=function(){var t=h(s().mark((function t(e){var r,n,o,a,c=arguments;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={windowType:"normal",url:["http://*/*","https://*/*"]},void 0!==(r=c.length>1&&void 0!==c[1]?c[1]:{}).windowId&&(n.windowId=r.windowId),t.next=5,chrome.tabs.query(n);case 5:return o=t.sent,a=o.map((function(t){return(0,i.h)(t.id,e,r)})),t.next=9,Promise.all(a);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},11326:(t,e,r)=>{"use strict";r.d(e,{DT:()=>d,Hg:()=>v,Xn:()=>b,eq:()=>m});var n=r(11804),o=r(63534),i=(r(95532),r(26166));function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||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 u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,c,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,c)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||s(t,e)||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 s(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{D:()=>g,i:()=>m});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},16383:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>x,oG:()=>b});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x));(0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4);const x=w},23436:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>T,aK:()=>k});var n=r(32762),o=r(95532),i=r(24032),a=r(42935),c=r(72832),u=r(71905),l=r(39392),s=r(61530),f=r(78698),h=r(42444);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var A=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),k=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return P(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),O(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,_(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},initQuickAccess:(o=L(x().mark((function e(){var r,n,o;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,k();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:n=e.sent,o=(0,s.A)(n,"sortIndex"),t({quickAccess:o}),Date.now();case 11:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=16;break}if(!o.url.startsWith("http")){r.next=15;break}return r.prev=3,r.next=6,(0,h.fL)(o.url);case 6:o.favIconUrl=r.sent,r.next=13;break;case 9:r.prev=9,r.t0=r.catch(3),o.favIconUrl=(0,h.Qr)(o.url);case 13:r.next=16;break;case 15:o.favIconUrl=(0,h.Qr)(o.url);case 16:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=22,k();case 22:return y=r.sent,r.next=25,y.set("quickAccess",e().quickAccess);case 25:case"end":return r.stop()}}),r,null,[[3,9]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,k();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),j=new Map,O=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,A();case 3:if(o=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),j.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),_=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return j.delete("tabid_".concat(e)),t.next=3,A();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A();case 2:if(r=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const T=S},26166:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m,qk:()=>d});var n=r(32762),o=r(95532),i=r(72832),a=r(42935),c=r(11804);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{$m:()=>v,RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>m});var n=r(52850),o=r(98258),i=r(69100),a=r(96033);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(e){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.delete(e),t.next=3,f.remove(e);case 3:return t.abrupt("return",!0);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),m=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,d();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},25725:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(20678),i=r(89797),a=r(45007),c=r(26565),u=(r(99212),r(77667)),l=r(26166),s=r(97399);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(20574).D.getState().loadSiteConfigs()},59016:(t,e,r)=>{"use strict";r.d(e,{A:()=>Z});var n=r(30758),o=r(63606),i=r(38662),a=r(64364),c=r(39718),u=r(58459),l=r(64858),s=r(42132),f=r(51678),h=r(32453),p=r(32894),y=r(8992),v=r(16578),d=r(27700),m=r(39969),g=r(37132);function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t,e)||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 w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(t,e):void 0}}(t,e)||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 N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))}}function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return H(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}(t,e)||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 H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r$1").replace(/\[(.*?)\]\((.*?)\)/g,(function(t,e,r){var n=r.startsWith("/options.html");return'").concat(e,"")})).replace(/\s*-\s+(.*?)(?=\n|$)/gm,"
    4. $1
    5. ").replace(/\n/g,"
      ")}catch(e){return t}};return n.createElement(o.A,{sx:{width:"100%",mb:2}},r&&n.createElement(o.A,{sx:{width:"100%",my:1}},n.createElement(E.A,{severity:"warning",action:n.createElement(F.A,{onClick:x},n.createElement(B.A,null)),sx:{width:"100%"}},n.createElement(l.A,null,t("screenSizeWarningMessage",{percent:y}).split("\n")[0],n.createElement(u.A,{onClick:function(){return b(!g)}},g?n.createElement(D.A,null):n.createElement(U.A,null),t(g?"showLess":"showMore"))),n.createElement(L.A,{in:g},n.createElement(l.A,{sx:{mt:2},dangerouslySetInnerHTML:{__html:A(t("screenSizeWarningMessage",{percent:y}).split("\n").slice(1).join("\n"))}}),h>1&&n.createElement(l.A,{sx:{mt:2},dangerouslySetInnerHTML:{__html:A(t("scaleWarningMessage",{scale:100*h}))}})))),r&&c&&n.createElement(o.A,{sx:{width:"100%",my:1}},n.createElement(E.A,{severity:"success",action:n.createElement(F.A,{onClick:w},n.createElement(B.A,null)),sx:{width:"100%"}},n.createElement(l.A,{dangerouslySetInnerHTML:{__html:A(t("pageSidebarRelase",{percent:y}))}}))))};function Z(t){var e=t.children,r=(0,m.W)().t,s=(0,I.Ay)((function(t){return{updateSetting:t.updateSetting}})).updateSetting,f=(0,C.D)((function(t){return{loadSiteConfigs:t.loadSiteConfigs}})).loadSiteConfigs;(0,n.useEffect)((function(){return f(),chrome.runtime.onMessage.addListener(h),function(){chrome.runtime.onMessage.removeListener(h)}}),[]);var h=function(t,e,r){var n=t.data;if("update_setting"===t.action)s(n.key,n.value),r({success:!0})},p=navigator.userAgent.includes("Edg")?"https://microsoftedge.microsoft.com/addons/detail/".concat(chrome.runtime.id):"https://chromewebstore.google.com/detail/".concat(chrome.runtime.id),y=[{name:"releases",label:r("Changelog",{ns:"translation"}),url:"https://github.com/RabbitPair/colorful_sidepanel_tabs_extension/releases"},{name:"feedback",label:r("SubmitSuggestionsOrIssues",{ns:"translation"}),url:"https://github.com/RabbitPair/colorful_sidepanel_tabs_extension/issues/new/choose"},{name:"donation",label:r("Donation",{ns:"translation"}),url:"https://ko-fi.com/rabbitpair"},{name:"rateExtension",label:r("RateExtension",{ns:"translation"}),url:p}];return n.createElement(o.A,{sx:{flexGrow:1,backgroundImage:"none",minHeight:"100vh",display:"flex",flexDirection:"column"}},n.createElement(i.A,{maxWidth:"lg",sx:{mt:4,mb:4,flex:1}},n.createElement(a.Ay,{container:!0,spacing:2},(parseInt(/Chrome\/(\d+)/.exec(navigator.userAgent)[1],10)>=127||"sidePanel"in chrome)&&n.createElement(G,null),"sidePanel"in chrome&&n.createElement(q,null)),n.createElement(a.Ay,{container:!0,spacing:2},n.createElement(a.Ay,{item:!0,xs:2},n.createElement(x,null)),n.createElement(a.Ay,{item:!0,xs:10},e))),n.createElement(o.A,{component:"footer",sx:{py:3,px:2,mt:"auto"}},n.createElement(i.A,{maxWidth:"lg"},n.createElement(c.A,{direction:"row",spacing:4,justifyContent:"center",alignItems:"center"},y.map((function(t){return n.createElement(u.A,{key:t.name,href:t.url,target:"_blank",sx:{textTransform:"none"}},n.createElement(l.A,{variant:"body2",sx:{fontWeight:600}},t.label))}))))))}},77219:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(25725),a=(r(88045),r(59016)),c=r(16578),u=r(58972),l=r(87508),s=r(9627),f=r(49792),h=r(65199),p=r(26357),y=r(46273),v=r(32757),d=r(19889),m=r(1316),g=r(23051),b=r(9029),w=r(73392),x=r(75285),E=r(79436),L=r(99867),A=r(39969),k=r(55607),S=r(7155),j=r(89975),O=r(9113),_=t([l,j]);[l,j]=_.then?(await _)():_,(0,w.ig)();var P=document.getElementById("root"),T=(0,o.H)(P);(0,x.ae)(document.body,{scrollbars:{autoHide:"scroll"}});var N=(0,c.Ge)([{path:"/",element:n.createElement(a.A,null,n.createElement(u.A,null))},{path:"beautify",element:n.createElement(a.A,null,n.createElement(p.A,null))},{path:"tabs",element:n.createElement(a.A,null,n.createElement(l.A,null))},{path:"history",element:n.createElement(a.A,null,n.createElement(s.A,null))},{path:"quickAccess",element:n.createElement(a.A,null,n.createElement(j.A,null))},{path:"shortcuts",element:n.createElement(a.A,null,n.createElement(y.A,null))},{path:"pip",element:n.createElement(a.A,null,n.createElement(f.A,null))},{path:"chromeTabGroup",element:n.createElement(a.A,null,n.createElement(h.A,null))},{path:"progressBar",element:n.createElement(a.A,null,n.createElement(v.A,null))},{path:"floatball",element:n.createElement(a.A,null,n.createElement(d.A,null))},{path:"performance",element:n.createElement(a.A,null,n.createElement(m.A,null))},{path:"tabSidebarOnPages",element:n.createElement(a.A,null,n.createElement(k.A,null))},{path:"sites",element:n.createElement(a.A,null,n.createElement(b.A,null))},{path:"sites/:hostname",element:n.createElement(a.A,null,n.createElement(g.A,null))},{path:"import_export",element:n.createElement(a.A,null,n.createElement(E.A,null))},{path:"snapshots",element:n.createElement(a.A,null,n.createElement(L.A,null))},{path:"premium",element:n.createElement(a.A,null,n.createElement(O.A,null))}]);T.render(n.createElement(S.Z,null,n.createElement(i.A,null,n.createElement(w.WP,null,n.createElement(A.D,{defaultNS:"options"},n.createElement(c.pg,{router:N})))))),e()}catch(t){e(t)}}))},9113:(t,e,r)=>{"use strict";r.d(e,{A:()=>j});var n=r(30758),o=r(38662),i=r(64364),a=r(64858),c=r(39718),u=r(39969),l=r(84480),s=r(38954),f=r(74365),h=r(63606),p=r(90520),y=r(26134),v=r(10858),d=r(8992),m=r(58459),g=r(37132),b=r(8636),w=r(18854),x=r(38799),E=r(34097),L=r(56493),A=r(83470),k=r(50557);const S=function(){var t=(0,l.Bd)().t,e=[{icon:n.createElement(s.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M600-120v-120H440v-400h-80v120H80v-320h280v120h240v-120h280v320H600v-120h-80v320h80v-120h280v320H600ZM160-760v160-160Zm520 400v160-160Zm0-400v160-160Zm0 160h120v-160H680v160Zm0 400h120v-160H680v160ZM160-600h120v-160H160v160Z"}))),label:t("treeTabs")},{icon:n.createElement(b.A,null),label:t("tabHistory")},{icon:n.createElement(w.A,null),label:t("cloudSync")},{icon:n.createElement(x.A,null),label:t("advancedPictureInPicture")},{icon:n.createElement(E.A,null),label:t("APIAccess")},{icon:n.createElement(L.A,null),label:t("customizeMenu")},{icon:n.createElement(A.A,null),label:t("Automation")},{icon:n.createElement(k.A,null),label:t("More")}];return n.createElement(o.A,{maxWidth:"md"},n.createElement(f.A,{elevation:1},n.createElement(h.A,{sx:{p:2}},n.createElement(h.A,{sx:{mb:4}},n.createElement(a.A,{variant:"h2",sx:{py:2}},t("premiumAccessFeatures")),n.createElement(a.A,{variant:"h3",color:"text.secondary"},t("premiumFeaturesPreOrderDescription"))),n.createElement(h.A,{my:4},n.createElement(a.A,{variant:"h4",sx:{py:2}},t("upcomingFeatures")),n.createElement(i.Ay,{container:!0,spacing:2},e.map((function(t,e){return n.createElement(i.Ay,{item:!0,xs:12,sm:6,md:3,key:e},n.createElement(p.A,null,n.createElement(y.A,null,n.createElement(h.A,{display:"flex",alignItems:"center"},n.createElement(v.A,{sx:{bgcolor:"error.main",mr:2}},t.icon),n.createElement(a.A,{variant:"body1"},t.label)))))})))),n.createElement(h.A,{sx:{m:5,maxWidth:400,margin:"auto"}},n.createElement(p.A,{elevation:3,sx:{borderRadius:2,overflow:"visible",background:"linear-gradient(135deg, #fff 0%, #eee 100%)"}},n.createElement(y.A,null,n.createElement(h.A,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},n.createElement(c.A,{direction:"row",alignItems:"center",spacing:1},n.createElement(g.A,null),n.createElement(a.A,{variant:"h5",component:"div",fontWeight:"bold",ml:1},t("earlyBirdTicket")),n.createElement(a.A,{sx:{fontStyle:"italic",color:"warning.main"}},"US$9.99")),n.createElement(d.A,{label:t("limited"),color:"warning"})),n.createElement(a.A,{variant:"h4",paragraph:!0,sx:{fontWeight:400,color:"primary.main"}},t("earlyBirdTicketDesc")),n.createElement(a.A,{variant:"body2",paragraph:!0,sx:{color:"error.main"}},t("afterPurchase")),n.createElement(h.A,{display:"flex",justifyContent:"center",mt:2},n.createElement(m.A,{variant:"contained",color:"error",sx:{padding:"10px 20px",fontWeight:"bold"},onClick:function(){chrome.tabs.create({url:"https://book.stripe.com/28oeWz4GfdzL9MY145",active:!0})}},t("PreOrderPremiumNow")))))))))};const j=function(){var t=(0,u.W)().t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("premiumEdition",{ns:"translation"}))),n.createElement(i.Ay,{item:!0,xs:4})),n.createElement(c.A,{spacing:2},n.createElement(S,null)))}},58972:(t,e,r)=>{"use strict";r.d(e,{A:()=>ve});var n=r(30758),o=r(64364),i=r(64858),a=r(20649),c=r(95437),u=r(80973),l=r(39969);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function h(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function p(){var t=(0,l.W)({keyPrefix:"settings.appearance.language"}),e=t.t,r=t.language,s=t.changeLanguage,p=function(){var t,e=(t=f().mark((function t(e,r){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r&&r.lang&&s(r.lang);case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,c,"next",t)}function c(t){h(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},e("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},e("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(a.A,{options:u.HK,getOptionKey:function(t){return null==t?void 0:t.lang},defaultValue:function(){return u.HK.find((function(t){return r.indexOf(t.lang)>-1}))},onChange:p,renderInput:function(t){return n.createElement(c.A,t)}})))}var y=r(26166),v=r(14447),d=r(59234),m=r(11823),g=r(34101),b=r(63534);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.theme"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,theme:t.settings.theme}})),r=e.updateSetting,a=e.theme,c=function(){var t,e=(t=x().mark((function t(e,n){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("theme",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"theme",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"light",onClick:c},n.createElement(m.A,null)),n.createElement(d.A,{value:"dark",onClick:c},n.createElement(g.A,null)))))}var A=r(40715),k=r(56238);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==S(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.rtl"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,rtl:t.settings.rtl}})),r=e.updateSetting,a=e.rtl,c=function(){var t,e=(t=j().mark((function t(e){return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("rtl",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"rtl",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){O(i,n,o,a,c,"next",t)}function c(t){O(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(A.A,{control:n.createElement(k.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}var P=r(81448),T=r(78368),N=r(11949);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.searchBoxPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,searchBoxPosition:t.settings.searchBoxPosition}})),r=e.updateSetting,a=e.searchBoxPosition,c=function(){var t,e=(t=I().mark((function t(e,n){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("searchBoxPosition",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"searchBoxPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"top",onClick:c},n.createElement(T.A,null)," ",n.createElement(i.A,{variant:"body1"},t("top"))),n.createElement(d.A,{value:"bottom",onClick:c},n.createElement(P.A,null),n.createElement(i.A,{variant:"body1"},t("bottom"))),n.createElement(d.A,{value:"hide",onClick:c},n.createElement(N.A,null),n.createElement(i.A,{variant:"body1"},t("hide"))))))}var B=r(20859);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.extAction"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,clickExtensionIconAction:t.settings.clickExtensionIconAction}})),r=e.updateSetting,a=e.clickExtensionIconAction,c=function(){var t,e=(t=U().mark((function t(e,n){var o;return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("clickExtensionIconAction",n);case 2:if("openSidePanel"!==n){t.next=8;break}return"sidePanel"in chrome&&chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){})),t.next=6,(0,b.U)("open_sidepanel");case 6:t.next=12;break;case 8:return"sidePanel"in chrome&&(null===(o=chrome.sidePanel)||void 0===o||o.setPanelBehavior({openPanelOnActionClick:!1}).catch((function(t){}))),"openPopup"===n&&chrome.action.setPopup({popup:"popup.html"}),t.next=12,(0,b.U)("open_popup");case 12:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return"sidePanel"in chrome?n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"openSidePanel",onClick:c},n.createElement(i.A,{variant:"body1"},t("openSidePanel"))),n.createElement(d.A,{value:"openPopup",onClick:c},n.createElement(i.A,{variant:"body1"},t("openPopup"))))),n.createElement(o.Ay,{item:!0,xs:12,mt:1},n.createElement(B.A,{severity:"info"},t("SmallWindowAlert")))):null}var M=r(33798),Y=r(41991);function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function H(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */H=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==R(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function q(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Z(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.buttonPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,buttonPosition:t.settings.buttonPosition}})),r=e.updateSetting,a=e.buttonPosition,c=function(){var t,e=(t=H().mark((function t(e,n){return H().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("buttonPosition",n);case 2:return t.next=4,(0,b.U)("update_setting",{key:"buttonPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){q(i,n,o,a,c,"next",t)}function c(t){q(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(v.A,{size:"small",value:a,exclusive:!0},n.createElement(d.A,{value:"row-reverse",onClick:c},n.createElement(Y.A,null)," ",n.createElement(i.A,{variant:"body1"},t("left"))),n.createElement(d.A,{value:"row",onClick:c},n.createElement(i.A,{variant:"body1"},t("right"))," ",n.createElement(M.A,null)))))}var Q=r(58459),$=r(94512),K=r(21054),V=r(42606),J=r(32894),X=r(34690),tt=r(10806),et=r(45433),rt=r(97950),nt=r(8011);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function at(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ht(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ht(t,e):void 0}}(t,e)||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 ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Nt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Tt(i,n,o,a,c,"next",t)}function c(t){Tt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Gt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return It(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?It(t,e):void 0}}(t,e)||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 It(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Dt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ut(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.fullScreenHideSidePanel"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,fullScreenHideSidePanel:t.settings.fullScreenHideSidePanel}})),r=e.updateSetting,a=e.fullScreenHideSidePanel,c=function(){var t,e=(t=Bt().mark((function t(e){return Bt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fullScreenHideSidePanel",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"fullScreenHideSidePanel",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Dt(i,n,o,a,c,"next",t)}function c(t){Dt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(A.A,{control:n.createElement(k.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}function Wt(){var t=(0,l.W)("options",{keyPrefix:"settings.appearance.SidePanelPosition"}).t;return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(Q.A,{variant:"contained",color:"error",onClick:function(t,e){chrome.tabs.create({url:"chrome://settings/appearance#:~:text=side%20panel",active:!0})}},t("goToBrowserSettings"))))}var zt=r(11326);function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Yt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Rt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ht(){var t=(0,l.W)().t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),r=e.updateSetting,a=e.AlwaysShowCloseButton,c=function(){var t,e=(t=Yt().mark((function t(e){return Yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("AlwaysShowCloseButton",e.target.checked);case 2:return t.next=4,(0,b.U)("update_setting",{key:"AlwaysShowCloseButton",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Rt(i,n,o,a,c,"next",t)}function c(t){Rt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("settings.appearance.alwaysShowCloseButton.label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("settings.appearance.alwaysShowCloseButton.description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(A.A,{control:n.createElement(k.A,{color:"error",checked:a,onChange:c}),labelPlacement:"start"})))}var qt=r(17116),Zt=r(75552);function Qt(t){return Qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(t)}function $t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$t=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Qt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Kt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Vt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Kt(i,n,o,a,c,"next",t)}function c(t){Kt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xt(t,e):void 0}}(t,e)||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 Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ce(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ue(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ce(i,n,o,a,c,"next",t)}function c(t){ce(i,n,o,a,c,"throw",t)}a(void 0)}))}}function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ye(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const ve=(0,n.memo)((function(){var t=(0,l.W)("options",{keyPrefix:"settings"}).t,e=function(){var t,e=(t=pe().mark((function t(){return pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,zt.Hg)();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ye(i,n,o,a,c,"next",t)}function c(t){ye(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(mt.A,null,n.createElement(o.Ay,{container:!0,alignItems:"center",mb:5},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h1"},t("modules.appearance"))),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(Q.A,{color:"error",onClick:e},t("resetCurrentPageSettings")))),n.createElement(dt.A,{spacing:2,divider:n.createElement(J.A,{orientation:"horizontal",flexItem:!0})},n.createElement(p,null),n.createElement(L,null),n.createElement(_,null),"sidePanel"in chrome&&n.createElement(z,null),"sidePanel"in chrome&&!navigator.userAgent.includes("Edg")&&n.createElement(Wt,null),n.createElement(F,null),n.createElement(pt,null),n.createElement(fe,null),n.createElement(Ct,null),n.createElement(Z,null),n.createElement(Ht,null),n.createElement(Ut,null)))}))},26357:(t,e,r)=>{"use strict";r.d(e,{A:()=>_e});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(58459),u=r(39718),l=r(32894),s=r(39969),f=r(11326),h=r(26166),p=r(40715),y=r(56238),v=r(63534),d=r(84303),m=r(48462),g=r(60718),b=r(42848),w=r(27117),x=r(47047),E=r(30818);(0,d.X$)([m.A,g.A,b.A,w.A,x.A,E.A]);var L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:125,r=(0,d.Mj)(t).desaturate(.12).lighten(.12),n=r.rotate(-57).saturate(.16).lighten(.03),o=r.rotate(64).saturate(.39).darken(.11);return"linear-gradient(".concat(e,"deg, ").concat(n.toHex()," 0%, ").concat(r.toHex()," 50%, ").concat(o.toHex()," 100%)")},A=function(t){return"transparent"===t?"inherit":(0,d.Mj)(t).isLight()?"#333":"#fff"},k=function(t){var e=document.createElement("canvas"),r=e.getContext("2d");e.width=t.width,e.height=t.height,r.drawImage(t,0,0,e.width,e.height);for(var n=r.getImageData(0,0,e.width,e.height).data,o={},i="",a=0,c=0;ca&&(a=o[u],i=u)}return"rgb(".concat(i,")")};function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==S(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){O(i,n,o,a,c,"next",t)}function c(t){O(i,n,o,a,c,"throw",t)}a(void 0)}))}}function P(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.coloredbackground"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,colorfulBackground:t.settings.colorfulBackground,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundColor:t.settings.backgroundColor}})),r=e.updateSetting,o=e.colorfulBackground,c=e.backgroundImageUrl,u=e.backgroundColor,l=function(){var t=_(j().mark((function t(e){var n,o,i;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.target.checked,t.next=3,r("colorfulBackground",n);case 3:return t.next=5,(0,v.U)("update_setting",{key:"colorfulBackground",value:n});case 5:if(n){t.next=12;break}return t.next=8,r("fontColor","inherit");case 8:return t.next=10,(0,v.U)("update_setting",{key:"fontColor",value:"inherit"});case 10:t.next=23;break;case 12:if(c.match(/(?:png|jpe?g|gif|unsplash)/)||c.startsWith("data:image/")){t.next=19;break}return o=A(u),t.next=16,r("fontColor",o);case 16:return t.next=18,(0,v.U)("update_setting",{key:"fontColor",value:o});case 18:return t.abrupt("return");case 19:(i=new Image).crossOrigin="Anonymous",i.src=c,i.onload=_(j().mark((function t(){var e,n;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=k(i),n=A(e),t.next=4,r("fontColor",n);case 4:return t.next=6,(0,v.U)("update_setting",{key:"fontColor",value:n});case 6:case"end":return t.stop()}}),t)})));case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(p.A,{control:n.createElement(y.A,{color:"error",checked:o,onChange:l}),labelPlacement:"start"})))}var T=r(14447),N=r(59234);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.listBottomBorder"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,listBottomBorder:t.settings.listBottomBorder}})),r=e.updateSetting,o=e.listBottomBorder,c=function(){var t,e=(t=I().mark((function t(e,n){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("listBottomBorder",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"listBottomBorder",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(T.A,{size:"small",value:o,exclusive:!0},["none","dashed","solid"].map((function(e,r){return n.createElement(N.A,{key:r,value:e,onClick:c},n.createElement(a.A,{style:{borderBottom:"1px ".concat(e)},variant:"body1"},t(e)))})))))}var B=r(49268);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}function M(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageTransparency"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageFade,c=(e.backgroundImageUrl,function(){var t=z(U().mark((function t(e,n){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageFade",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),l=function(){var t=z(U().mark((function t(e,r){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageFade",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:1,value:o,color:"error",valueLabelFormat:function(t){return"".concat(Math.round(100*t),"%")},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var Y=r(85478),R=r(10858),H=r(82794),q=r(60880),Z=r(94512),Q=r(42606),$=r(21054),K=r(97950),V=r(18389),J=r(63626),X=r(13387),tt=r(95532),et=r(26565),rt=r(51219),nt=r.n(rt);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(t){return function(t){if(Array.isArray(t))return ft(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||st(t)||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 at(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */at=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ot(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ct(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ut(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ct(i,n,o,a,c,"next",t)}function c(t){ct(i,n,o,a,c,"throw",t)}a(void 0)}))}}function lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||st(t,e)||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 st(t,e){if(t){if("string"==typeof t)return ft(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ft(t,e):void 0}}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function vt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function dt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){vt(i,n,o,a,c,"next",t)}function c(t){vt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function mt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.listBackgroundTransparency"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,listBackgroundAlpha:t.settings.listBackgroundAlpha}})),r=e.updateSetting,o=e.listBackgroundAlpha,c=function(){var t=dt(yt().mark((function t(e,n){return yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("listBackgroundAlpha",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=dt(yt().mark((function t(e,r){return yt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"listBackgroundAlpha",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.05,marks:!0,min:0,max:1,value:o,color:"error",valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var gt=r(17116),bt=r(26157);function wt(t){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(t)}function xt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Et(i,n,o,a,c,"next",t)}function c(t){Et(i,n,o,a,c,"throw",t)}a(void 0)}))}}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return kt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kt(t,e):void 0}}(t,e)||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 kt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Tt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Pt(i,n,o,a,c,"next",t)}function c(t){Pt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Nt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageBlur"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageBlur,c=e.backgroundImageUrl,l=function(){var t=Tt(_t().mark((function t(e,n){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageBlur",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),f=function(){var t=Tt(_t().mark((function t(e,r){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageBlur",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:50,value:o,color:"error",disabled:""===c,valueLabelDisplay:"auto",onChange:l,onChangeCommitted:f}))))}function Gt(t){return Gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gt(t)}function It(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */It=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Gt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ct(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ft(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ct(i,n,o,a,c,"next",t)}function c(t){Ct(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Bt(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundImageBrightness"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundImageBrightness:t.settings.backgroundImageBrightness,backgroundImageUrl:t.settings.backgroundImageUrl}})),r=e.updateSetting,o=e.backgroundImageBrightness,c=(e.backgroundImageUrl,function(){var t=Ft(It().mark((function t(e,n){return It().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundImageBrightness",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),l=function(){var t=Ft(It().mark((function t(e,r){return It().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"backgroundImageBrightness",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",sx:{width:"100%"},step:.01,min:0,max:2,value:o,color:"error",valueLabelFormat:function(t){return"".concat((100*t).toFixed(0),"%")},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}function Dt(t){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dt(t)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Dt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Wt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function zt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Wt(i,n,o,a,c,"next",t)}function c(t){Wt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Mt(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontSize"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontScale:t.settings.fontScale}})),r=e.updateSetting,o=e.fontScale,c=function(){var t=zt(Ut().mark((function t(e,n){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontScale",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=zt(Ut().mark((function t(e,r){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"fontScale",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(a.A,{sx:{fontSize:12}},t("small")),n.createElement(B.Ay,{size:"small",step:.0625,marks:!0,min:.5625,max:1.25,value:o,color:"error",valueLabelFormat:function(t){return 16*t+"px"},valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}),n.createElement(a.A,{sx:{fontSize:16}},t("large")))))}function Yt(t){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yt(t)}function Rt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Rt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Yt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ht(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ht(i,n,o,a,c,"next",t)}function c(t){Ht(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Zt(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontWeight"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontWeight:t.settings.fontWeight}})),r=e.updateSetting,o=e.fontWeight,c=function(){var t=qt(Rt().mark((function t(e,n){return Rt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontWeight",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=qt(Rt().mark((function t(e,r){return Rt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.U)("update_setting",{key:"fontWeight",value:r});case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(B.Ay,{size:"small",step:100,marks:!0,min:100,max:900,value:o,color:"error",valueLabelDisplay:"auto",onChange:c,onChangeCommitted:l}))))}var Qt=r(76392),$t=r(20649),Kt=r(95437);function Vt(t){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vt(t)}function Jt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Jt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Vt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Xt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function te(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.fontFamily"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,fontFamily:t.settings.fontFamily}})),r=e.updateSetting,o=e.fontFamily,c=[{label:"System",value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'},{label:"Roboto",value:"Roboto, Arial, sans-serif"},{label:"Open Sans",value:'"Open Sans", Arial, sans-serif'},{label:"Noto Sans",value:'"Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", "Noto Sans Arabic", sans-serif'},{label:"Montserrat",value:"Montserrat, Arial, sans-serif"},{label:"Lato",value:"Lato, Arial, sans-serif"},{label:"Inter",value:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Source Sans Pro",value:'"Source Sans Pro", Arial, sans-serif'},{label:"Poppins",value:'Poppins, "Segoe UI", Tahoma, Geneva, sans-serif'},{label:"PT Sans",value:'"PT Sans", Arial, sans-serif'},{label:"Merriweather",value:'Merriweather, Georgia, "Times New Roman", Times, serif'},{label:"Raleway",value:"Raleway, Arial, sans-serif"},{label:"Playfair Display",value:'"Playfair Display", Georgia, serif'},{label:"Nunito",value:"Nunito, Arial, sans-serif"},{label:"Fira Sans",value:'"Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Work Sans",value:'"Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif'},{label:"Georgia",value:'Georgia, "Times New Roman", Times, serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Helvetica",value:'"Helvetica Neue", Helvetica, Arial, sans-serif'},{label:"Courier New",value:'"Courier New", Courier, monospace'},{label:"Microsoft YaHei",value:'"Microsoft YaHei", 微软雅黑, sans-serif'},{label:"STXihei",value:'STXihei, "华文细黑", sans-serif'},{label:"SimSun",value:"SimSun, 宋体, sans-serif"},{label:"SimHei",value:"SimHei, 黑体, sans-serif"},{label:"Noto Sans CJK SC",value:'"Noto Sans CJK SC", sans-serif'},{label:"Yu Gothic",value:'"Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif'},{label:"MS Mincho",value:'"MS Mincho", "Hiragino Mincho ProN", serif'},{label:"Malgun Gothic",value:'"Malgun Gothic", "Apple SD Gothic Neo", sans-serif'},{label:"Nanum Gothic",value:'"Nanum Gothic", "Apple SD Gothic Neo", sans-serif'},{label:"Verdana",value:"Verdana, Geneva, sans-serif"},{label:"Dubai",value:'"Dubai", "Arial", sans-serif'},{label:"Tahoma",value:"Tahoma, Geneva, sans-serif"}],u=function(){var t,e=(t=Jt().mark((function t(e,n){return Jt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("fontFamily",null==n?void 0:n.value);case 2:return t.next=4,(0,v.U)("update_setting",{key:"fontFamily",value:null==n?void 0:n.value});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Xt(i,n,o,a,c,"next",t)}function c(t){Xt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(Qt.A,{variant:"standard",fullWidth:!0,sx:{m:1,minWidth:200}},n.createElement($t.A,{fullWidth:!0,options:c,getOptionLabel:function(t){return null==t?void 0:t.label},defaultValue:c.find((function(t){return t.value===o})),value:c.find((function(t){return t.value===o})),onChange:u,renderInput:function(t){return n.createElement(Kt.A,t)}}))))}var ee=r(20258),re=r(31454),ne=r(59937),oe=r(84865);function ie(t){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(t)}function ae(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ae=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ie(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ce(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ue(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ce(i,n,o,a,c,"next",t)}function c(t){ce(i,n,o,a,c,"throw",t)}a(void 0)}))}}function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ve(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function de(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ve(i,n,o,a,c,"next",t)}function c(t){ve(i,n,o,a,c,"throw",t)}a(void 0)}))}}function me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ge(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ge(t,e):void 0}}(t,e)||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 ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r.75?(0,d.yT)().toHslString():r>.5?(0,d.yT)().toRgbString():(0,d.yT)().toHex(),A(e);case 2:case"end":return t.stop()}var r}),t)})));return function(){return t.apply(this,arguments)}}(),O=Boolean(m),_=O?"color-picker-popover":void 0,P=""!==p;return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4,sx:{cursor:P?"not-allowed":"pointer"}},n.createElement(gt.A,{title:P?t("backgroundImageConfigured"):""},n.createElement(u.A,{spacing:2,direction:"row",sx:{mb:1},alignItems:"center"},n.createElement(o.A,{"aria-describedby":_,sx:{width:24,height:24,backgroundColor:c,border:"1px solid #000",pointerEvents:P?"none":"auto"},onClick:function(t){g(t.currentTarget)}}),n.createElement(ee.Ay,{id:_,open:O,anchorEl:m,onClose:function(){g(null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{sx:{padding:2,overflow:"hidden"}}}},n.createElement(ne.p9,{color:(0,d.Mj)(w).toRgbString(),onChange:A}),n.createElement(o.A,{sx:{display:"flex",flexWrap:"wrap",mt:2}},be.map((function(t){return n.createElement(o.A,{key:t,sx:{width:10,height:24,backgroundColor:t,border:"1px solid #000",cursor:"pointer",margin:"2px",flex:"0 0 calc(20% - 4px)"},onClick:function(){return S(t)}})})))),n.createElement(re.A,{type:"text",value:w,onChange:function(t){return A(t.target.value)},autoFocus:!0,disabled:P,endAdornment:n.createElement(n.Fragment,null,n.createElement(gt.A,{title:t("random")},n.createElement("span",null,n.createElement(H.A,{onClick:j,disabled:P},n.createElement(he.A,null)))),n.createElement(gt.A,{title:t("clear")},n.createElement("span",null,n.createElement(H.A,{onClick:k,disabled:P},n.createElement(oe.A,null)))))})))))}function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function Ee(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ee=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==xe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Le(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ae(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Le(i,n,o,a,c,"next",t)}function c(t){Le(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ke(){var t=(0,s.W)("options",{keyPrefix:"settings.beautify.backgroundGradient"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,backgroundGradient:t.settings.backgroundGradient,backgroundGradientDeg:t.settings.backgroundGradientDeg,backgroundColor:t.settings.backgroundColor}})),r=e.updateSetting,o=e.backgroundGradient,c=e.backgroundGradientDeg,u=e.backgroundColor,l=function(){var t=Ae(Ee().mark((function t(e){var n,o;return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.target.checked,t.next=3,r("backgroundGradient",n);case 3:return t.next=5,(0,v.U)("update_setting",{key:"backgroundGradient",value:n});case 5:return o=n?L(u,c):u,t.next=8,r("background",o);case 8:return t.next=10,(0,v.U)("update_setting",{key:"background",value:o});case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=Ae(Ee().mark((function t(e,n){return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundGradientDeg",n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=Ae(Ee().mark((function t(e,n){var i;return Ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("backgroundGradientDeg",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"backgroundGradientDeg",value:n});case 4:if(!o){t.next=10;break}return i=L(u,n),t.next=8,r("background",i);case 8:return t.next=10,(0,v.U)("update_setting",{key:"background",value:i});case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:1},n.createElement(p.A,{control:n.createElement(y.A,{color:"error",checked:o,onChange:l}),labelPlacement:"start"})),n.createElement(i.Ay,{item:!0,xs:3},o&&n.createElement(B.Ay,{min:0,max:360,step:1,onChange:f,onChangeCommitted:d,size:"small",sx:{width:"calc(100% - 60px)",marginLeft:"10px"},value:c,color:"error",valueLabelDisplay:"auto",valueLabelFormat:function(t){return"".concat(t,"°")}})))}function Se(t){return Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Se(t)}function je(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */je=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Se(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Oe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _e(){var t=(0,s.W)("options",{keyPrefix:"settings"}).t,e=(0,h.Ay)((function(t){return{colorfulBackground:t.settings.colorfulBackground}})).colorfulBackground,r=function(){var t,e=(t=je().mark((function t(){return je().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.eq)();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Oe(i,n,o,a,c,"next",t)}function c(t){Oe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,alignItems:"center",sx:{marginBottom:"30px"}},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.beautify"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(c.A,{variant:"outlined",color:"error",onClick:r},t("resetCurrentPageSettings")))),n.createElement(u.A,{spacing:2,divider:n.createElement(l.A,{orientation:"horizontal",flexItem:!0})},n.createElement(te,null),n.createElement(Mt,null),n.createElement(Zt,null),n.createElement(fe,null),n.createElement(P,null),e&&n.createElement(we,null),e&&n.createElement(ke,null),e&&n.createElement(ht,null),e&&n.createElement(M,null),e&&n.createElement(Nt,null),e&&n.createElement(Bt,null),n.createElement(mt,null),n.createElement(St,null),n.createElement(F,null),n.createElement(jt,null)))}},65199:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=r(30758),o=r(63606),i=r(64858),a=r(90520),c=r(43850),u=r(64364),l=r(26134),s=r(32894),f=r(40715),h=r(56238),p=r(39969),y=r(26166),v=r(63534);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(){var t=(0,p.W)("options",{keyPrefix:"settings.chromeTabGroupAdvanced.autoCreateOrJoinSameDomainGroup"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,autoCreateOrJoinSameDomainGroup:t.settings.autoCreateOrJoinSameDomainGroup}})),r=e.updateSetting,a=e.autoCreateOrJoinSameDomainGroup,c=function(){var t,e=(t=m().mark((function t(e){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("autoCreateOrJoinSameDomainGroup",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"autoCreateOrJoinSameDomainGroup",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("label")),n.createElement(i.A,{variant:"body1",component:"p",sx:{mb:2,whiteSpace:"pre-wrap",wordBreak:"break-all"}},t("description")),n.createElement(s.A,null),n.createElement(f.A,{control:n.createElement(h.A,{color:"error",checked:a,onChange:c}),label:t(a?"enabled":"disabled"),labelPlacement:"end"}))}function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(){var t=(0,p.W)("options",{keyPrefix:"settings.chromeTabGroupAdvanced.groupFilterOutPinnedTabs"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,groupFilterOutPinnedTabs:t.settings.groupFilterOutPinnedTabs}})),r=e.updateSetting,a=e.groupFilterOutPinnedTabs,c=function(){var t,e=(t=x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("groupFilterOutPinnedTabs",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"groupFilterOutPinnedTabs",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("description")),n.createElement(s.A,null),n.createElement(f.A,{control:n.createElement(h.A,{color:"error",checked:a,onChange:c}),label:t(a?"enabled":"disabled"),labelPlacement:"end"}))}function A(){var t=(0,p.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.A,{variant:"h1"},t("modules.chromeTabGroupAdvanced")),n.createElement(a.A,{sx:{display:"flex",padding:"20px",justifyContent:"space-around"}},n.createElement(c.A,{component:"img",sx:{width:320,objectFit:"cover",objectPosition:"center"},image:chrome.runtime.getURL("/images/helps/chromeGroup1.jpg")}),n.createElement(u.Ay,{item:!0,xs:6},n.createElement(l.A,null,n.createElement(s.A,{sx:{my:"15px"}}),n.createElement(b,null),n.createElement(s.A,{sx:{my:"15px"}}),n.createElement(L,null)))))}},19889:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(63606),i=r(64858),a=r(64364),c=r(43850),u=r(39969),l=r(40715),s=r(56238),f=r(26166),h=r(63534);r(24032);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(){var t=(0,u.W)("options",{keyPrefix:"settings.floatBall.enableFloatBall"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,floatBall:t.settings.floatBall}})),r=e.updateSetting,o=e.floatBall,c=function(){var t,e=(t=y().mark((function t(e){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("floatBall",e.target.checked);case 2:return t.next=4,(0,h.U)("update_setting",{key:"floatBall",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(l.A,{control:n.createElement(s.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function m(){var t=(0,u.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.A,{variant:"h1"},t("modules.floatBall")),n.createElement(a.Ay,{container:!0,alignItems:"space-around"},n.createElement(a.Ay,{item:!0,xs:4},n.createElement(c.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/floatball.jpg")})),n.createElement(a.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(d,null))))}},9627:(t,e,r)=>{"use strict";r.d(e,{A:()=>ct});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(58459),u=r(39718),l=r(32894),s=r(39969),f=r(26166),h=r(40715),p=r(56238),y=r(63534);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(){var t=(0,s.W)("options",{keyPrefix:"settings.history.saveRecentlyTabs"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory}})),r=e.updateSetting,o=e.enableHistory,c=function(){var t,e=(t=d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("enableHistory",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"enableHistory",value:e.target.checked});case 4:if(e.target.checked){t.next=9;break}return t.next=7,r("activeTabIndex",0);case 7:return t.next=9,(0,y.U)("update_setting",{key:"activeTabIndex",value:0});case 9:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==b(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function E(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(){var t=(0,s.W)("options",{keyPrefix:"settings.history.showInTabSearchResults"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabSearchShowHistory:t.settings.tabSearchShowHistory}})),r=e.updateSetting,o=e.enableHistory,c=e.tabSearchShowHistory,u=function(){var t,e=(t=j().mark((function t(e){return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabSearchShowHistory",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"tabSearchShowHistory",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){O(i,n,o,a,c,"next",t)}function c(t){O(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o&&c,onChange:u}),labelPlacement:"start"})))}var P=r(76392),T=r(59290),N=r(68752);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(){var t=(0,s.W)("options",{keyPrefix:"settings.history.keepDays"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyKeepDays:t.settings.historyKeepDays}})),r=e.updateSetting,o=e.enableHistory,c=e.historyKeepDays,u=function(){var t,e=(t=I().mark((function t(e){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historyKeepDays",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historyKeepDays",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(P.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(T.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:365,min:1,step:1},endAdornment:n.createElement(N.A,{position:"end"},t("days")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function D(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */D=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==B(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function U(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function W(){var t=(0,s.W)("options",{keyPrefix:"settings.history.openDuration"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabIntoHistoryNeedAliveSeconds:t.settings.tabIntoHistoryNeedAliveSeconds}})),r=e.updateSetting,o=e.enableHistory,c=e.tabIntoHistoryNeedAliveSeconds,u=function(){var t,e=(t=D().mark((function t(e){return D().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabIntoHistoryNeedAliveSeconds",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"tabIntoHistoryNeedAliveSeconds",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){U(i,n,o,a,c,"next",t)}function c(t){U(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(P.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(T.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:365,min:1,step:1},endAdornment:n.createElement(N.A,{position:"end"},t("seconds")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function z(t){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z(t)}function M(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */M=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==z(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(){var t=(0,s.W)("options",{keyPrefix:"settings.history.saveRecentlyTabsLimit"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyKeepCount:t.settings.historyKeepCount}})),r=e.updateSetting,o=e.enableHistory,c=e.historyKeepCount,u=function(){var t,e=(t=M().mark((function t(e){return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historyKeepCount",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historyKeepCount",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,c,"next",t)}function c(t){Y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(P.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(T.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:999,min:1,step:1},onChange:u}))))}var H=r(11326),q=r(14447),Z=r(59234),Q=r(20859),$=r(8636),K=r(91663),V=r(26565);function J(t){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(t)}function X(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */X=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==J(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function rt(){var t=(0,s.W)("options",{keyPrefix:"settings.history.dataSource"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,historyDataSource:t.settings.historyDataSource}})),r=e.updateSetting,o=e.enableHistory,c=e.historyDataSource,u=function(){var e=et(X().mark((function e(n,o){return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("chrome"!==o){e.next=4;break}chrome.permissions.contains({permissions:["history"]},function(){var e=et(X().mark((function e(n){return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}chrome.permissions.request({permissions:["history"]},function(){var e=et(X().mark((function e(n){var o;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n?"chrome":"recentTabs",n||V.oR.error(t("deniedMessage")),e.next=4,r("historyDataSource",o);case 4:return e.next=6,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("historyDataSource",o);case 6:return e.next=8,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("historyDataSource",o);case 6:return e.next=8,(0,y.U)("update_setting",{key:"historyDataSource",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(q.A,{disabled:!o,size:"small",value:c,exclusive:!0},n.createElement(Z.A,{value:"recentTabs",onClick:u},n.createElement(K.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("recentlyClosedTabs"))),n.createElement(Z.A,{value:"chrome",onClick:u},n.createElement($.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("chromeHistory"))))),n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(Q.A,{severity:"warning"},n.createElement(a.A,{component:"p"},t("alert")," "))))}function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function ot(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==nt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function it(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function at(){var t=(0,s.W)("options",{keyPrefix:"settings.history.limitSearchResults"}).t,e=(0,f.Zz)((function(t){return{updateSetting:t.updateSetting,enableHistory:t.settings.enableHistory,tabSearchShowHistory:t.settings.tabSearchShowHistory,historySearchLimitCount:t.settings.historySearchLimitCount}})),r=e.updateSetting,o=e.enableHistory,c=e.tabSearchShowHistory,u=e.historySearchLimitCount,l=function(){var t,e=(t=ot().mark((function t(e){return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("historySearchLimitCount",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"historySearchLimitCount",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){it(i,n,o,a,c,"next",t)}function c(t){it(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(P.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(T.A,{disabled:!o||!c,value:u,inputProps:{itemType:"number",max:50,min:1,step:1},onChange:l}))),n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(Q.A,{severity:"warning"},n.createElement(a.A,{component:"p"},t("alert")," "))))}function ct(){var t=(0,s.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.history"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(c.A,{color:"error",onClick:function(){(0,H.Xn)()}},t("resetCurrentPageSettings")))),n.createElement(u.A,{spacing:2,divider:n.createElement(l.A,{orientation:"horizontal",flexItem:!0})},n.createElement(g,null),n.createElement(rt,null),n.createElement(k,null),n.createElement(_,null),n.createElement(at,null),n.createElement(R,null),n.createElement(F,null),n.createElement(W,null)))}},79436:(t,e,r)=>{"use strict";r.d(e,{A:()=>At});var n=r(30758),o=r(38662),i=r(63606),a=r(58459),c=r(94512),u=r(21054),l=r(42606),s=r(58470),f=r(32894),h=r(10806),p=r(64364),y=r(40715),v=r(45433),d=r(20859),m=r(97950),g=r(26565),b=r(95532),w=r(50684),x=r(39969),E=r(26166),L=r(16383),A=r(23436),k=r(20574),S=r(32762),j=r(42935),O=r(72832),_=r(78698),P=r(40875),T=r(69100),N=r(26157);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function I(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}var M,Y,R=function(){var t=z(U().mark((function t(){return U().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,b.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),H=new Map,q=(0,O.h)((0,S.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(o=z(U().mark((function e(){var r,n,o,i,a,c;return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,o=void 0===n?3:n,e.next=10,R();case 10:return i=e.sent,e.next=13,i.all();case 13:a=e.sent,c=a.filter((function(t){return t.closed_time>=Date.now()-1e3*o*60*60*24})),t({histories:c,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),addHistory:(n=z(U().mark((function e(r){var n,o,i,a,c,u,l;return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,b.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,o=n.tabIntoHistoryNeedAliveSeconds,!(Date.now()t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rt(i,n,o,a,c,"next",t)}function c(t){rt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var ot=function(){var t=nt(et().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r={},!e.preferences){t.next=19;break}return t.next=4,new Promise((function(t){chrome.storage.local.get(null,(function(e){t(e)}))}));case 4:return r.preferences=t.sent,t.next=7,(0,E.qk)();case 7:return n=t.sent,t.next=10,n.get("backgroundImageUrl");case 10:return o=t.sent,r.preferences.user_settings.backgroundImageUrl=o,t.next=14,n.get("background_image_urls");case 14:if(t.t0=t.sent,t.t0){t.next=17;break}t.t0=[];case 17:i=t.t0,r.preferences.background_image_urls=i;case 19:if(!e.quickAccess){t.next=26;break}return t.next=22,(0,A.aK)();case 22:return a=t.sent,t.next=25,a.get("quickAccess");case 25:r.quickAccess=t.sent;case 26:if(!e.siteConfig){t.next=33;break}return t.next=29,(0,k.i)();case 29:return c=t.sent,t.next=32,c.all();case 32:r.siteConfig=t.sent;case 33:if(!e.recentlyTabs){t.next=40;break}return t.next=36,R();case 36:return u=t.sent,t.next=39,u.all();case 39:r.recentlyTabs=t.sent;case 40:if(!e.snapshots){t.next=51;break}return t.next=43,(0,L.oG)();case 43:return l=t.sent,t.next=46,l.keys();case 46:return s=t.sent,f=s.filter((function(t){return t.startsWith("snapshot_detail_")})),t.next=50,Promise.all(f.map((function(t){return l.get(t)})));case 50:r.snapshots=t.sent;case 51:return t.abrupt("return",r);case 52:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const it=function(){var t=(0,x.W)("options",{keyPrefix:"settings.importAndExport"}).t,e=X((0,n.useState)(!1),2),r=e[0],b=e[1],E=X((0,n.useState)({preferences:!0,quickAccess:!0,siteConfig:!0,recentlyTabs:!0,snapshots:!0}),2),L=E[0],A=E[1],k=function(){b(!1)},S=function(t){A(V(V({},L),{},J({},t.target.name,t.target.checked)))},j=function(){var e=nt(et().mark((function e(){var r,n,o,i,a,c;return et().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ot(L);case 3:r=e.sent,n=JSON.stringify(r,null,2),o=new Blob([n],{type:"application/json"}),i=URL.createObjectURL(o),(a=document.createElement("a")).href=i,c=(new Date).toLocaleString("sv-SE",{hour12:!1}).replace(/[:]/g,"").replace(/[ ]/g,"_"),a.download="vertiTab_extension_export_".concat(c,".json"),document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i),k(),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(0),g.oR.error(t("export.exportFailed"));case 22:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}();return n.createElement(o.A,{maxWidth:"sm"},n.createElement(i.A,{textAlign:"center"},n.createElement(a.A,{variant:"contained",color:"error",onClick:function(){b(!0)},startIcon:n.createElement(w.A,null),style:{padding:"8px 24px"}},t("export.label"))),n.createElement(c.A,{open:r,onClose:function(t,e){"backdropClick"!==e&&b(!1)}},n.createElement(u.A,{variant:"h3"},t("export.label")),n.createElement(l.A,null,n.createElement(s.A,{variant:"h4",color:"textSecondary",gutterBottom:!0},t("export.formTips")),n.createElement(f.A,{sx:{my:1}}),n.createElement(h.A,null,n.createElement(p.Ay,{container:!0,spacing:0},n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.preferences,onChange:S,name:"preferences",color:"error"}),label:t("options.preferences")}),n.createElement(d.A,{severity:"info"},t("options.preferencesInfo"))),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.quickAccess,onChange:S,name:"quickAccess",color:"error"}),label:t("options.quickAccess")})),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.siteConfig,onChange:S,name:"siteConfig",color:"error"}),label:t("options.siteConfig")}),n.createElement(d.A,{severity:"info"},t("options.siteConfigInfo"))),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.recentlyTabs,onChange:S,name:"recentlyTabs",color:"error"}),label:t("options.recentlyTabs")})),n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:L.snapshots,onChange:S,name:"snapshots",color:"error"}),label:t("options.snapshots")}))))),n.createElement(m.A,null,n.createElement(a.A,{onClick:k,color:"error"},t("cancelBtn")),n.createElement(a.A,{onClick:j,color:"error",variant:"contained",disabled:!Object.values(L).some(Boolean)},t("exportBtn")))))};var at=r(64858),ct=r(40222),ut=r(63534),lt=r(22273);function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ht(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function vt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=wt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function dt(t){return function(t){if(Array.isArray(t))return xt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||wt(t)||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 mt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function gt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){mt(i,n,o,a,c,"next",t)}function c(t){mt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function bt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||wt(t,e)||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 wt(t,e){if(t){if("string"==typeof t)return xt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xt(t,e):void 0}}function xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1)){t.next=25;break}return t.next=15,(0,E.qk)();case 15:return u=t.sent,t.next=18,u.get("background_image_urls");case 18:if(t.t2=t.sent,t.t2){t.next=21;break}t.t2=[];case 21:return l=t.t2,f=Array.from(new Set([].concat(dt(n.preferences.background_image_urls),dt(l)))),t.next=25,u.set("background_image_urls",f);case 25:t.next=31;break;case 27:throw t.prev=27,t.t3=t.catch(0),t.t3;case 31:if(t.prev=31,!o.quickAccess||!n.quickAccess){t.next=35;break}return t.next=35,(0,ut.U)("addQuickAccess",{items:n.quickAccess});case 35:t.next=41;break;case 37:throw t.prev=37,t.t4=t.catch(31),t.t4;case 41:if(t.prev=41,!o.siteConfig||!n.siteConfig){t.next=63;break}h=vt(n.siteConfig),t.prev=44,h.s();case 46:if((p=h.n()).done){t.next=55;break}return y=p.value,v=y.hostname,t.next=51,r(v,y);case 51:return t.next=53,(0,ut.U)("update_site_config",{hostname:v,config:y});case 53:t.next=46;break;case 55:t.next=60;break;case 57:t.prev=57,t.t5=t.catch(44),h.e(t.t5);case 60:return t.prev=60,h.f(),t.finish(60);case 63:t.next=69;break;case 65:throw t.prev=65,t.t6=t.catch(41),t.t6;case 69:if(t.prev=69,!o.recentlyTabs||!n.recentlyTabs){t.next=88;break}d=vt(n.recentlyTabs),t.prev=72,d.s();case 74:if((m=d.n()).done){t.next=80;break}return g=m.value,t.next=78,s(g);case 78:t.next=74;break;case 80:t.next=85;break;case 82:t.prev=82,t.t7=t.catch(72),d.e(t.t7);case 85:return t.prev=85,d.f(),t.finish(85);case 88:t.next=94;break;case 90:throw t.prev=90,t.t8=t.catch(69),t.t8;case 94:if(!o.snapshots||!n.snapshots){t.next=118;break}w=vt(n.snapshots),t.prev=96,w.s();case 98:if((x=w.n()).done){t.next=110;break}return L=x.value,t.prev=100,t.next=103,b(L);case 103:t.next=108;break;case 105:return t.prev=105,t.t9=t.catch(100),t.abrupt("continue",108);case 108:t.next=98;break;case 110:t.next=115;break;case 112:t.prev=112,t.t10=t.catch(96),w.e(t.t10);case 115:return t.prev=115,w.f(),t.finish(115);case 118:case"end":return t.stop()}}),t,null,[[0,27],[31,37],[41,65],[44,57,60,63],[69,90],[72,82,85,88],[96,112,115,118],[100,105]])})));return function(e,r){return t.apply(this,arguments)}}(),W=function(t){C(ht(ht({},I),{},pt({},t.target.name,t.target.checked)))},z=function(){var e=gt(yt().mark((function e(){return yt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O){e.next=3;break}return g.oR.error(t("fileError")),e.abrupt("return");case 3:return N(!0),e.prev=4,e.next=7,U(O,I);case 7:g.oR.success(t("import.importSuccess")),D(!1),S(null),_(null),C({}),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(4),g.oR.error(t("import.importFailed"));case 18:return e.prev=18,N(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[4,14,18,21]])})));return function(){return e.apply(this,arguments)}}(),M=function(){D(!1),N(!1)};return n.createElement(o.A,{maxWidth:"sm"},n.createElement(i.A,{textAlign:"center",mb:3},n.createElement(a.A,{component:"label",color:"error",variant:"contained",startIcon:n.createElement(lt.A,null),href:"#file-upload"},t("import.label"),n.createElement("input",{accept:".json",id:"import-file",type:"file",onChange:function(t){S(t.target.files[0]),t.target.value=null},style:{display:"none"}}))),n.createElement(c.A,{open:B,onClose:function(t,e){"backdropClick"!==e&&M()}},n.createElement(u.A,{variant:"h3"},t("import.label")),n.createElement(l.A,null,n.createElement(at.A,{variant:"h4",color:"textSecondary",gutterBottom:!0},t("import.formTips")),n.createElement(f.A,{sx:{my:1}}),n.createElement(h.A,null,n.createElement(p.Ay,{container:!0,spacing:0},(null==O?void 0:O.preferences)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.preferences,onChange:W,name:"preferences",color:"error"}),label:"".concat(t("options.preferences")," ( ").concat(Object.keys(O.preferences.user_settings||{}).length," )")}),n.createElement(d.A,{severity:"info"},t("options.preferencesInfo"))),(null==O?void 0:O.quickAccess)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.quickAccess,onChange:W,name:"quickAccess",color:"error"}),label:"".concat(t("options.quickAccess")," (").concat(Object.keys(O.quickAccess||{}).length,")")}),n.createElement(d.A,{severity:"warning"},t("options.quickAccessWarning"))),(null==O?void 0:O.siteConfig)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.siteConfig,onChange:W,name:"siteConfig",color:"error"}),label:"".concat(t("options.siteConfig")," (").concat(Object.keys(O.siteConfig||{}).length,")")}),n.createElement(d.A,{severity:"info"},t("options.siteConfigInfo"))),(null==O?void 0:O.recentlyTabs)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.recentlyTabs,onChange:W,name:"recentlyTabs",color:"error"}),label:"".concat(t("options.recentlyTabs")," (").concat(O.recentlyTabs?O.recentlyTabs.length:0,")")})),(null==O?void 0:O.snapshots)&&n.createElement(p.Ay,{item:!0,xs:12},n.createElement(y.A,{control:n.createElement(v.A,{checked:I.snapshots,onChange:W,name:"snapshots",color:"error"}),label:"".concat(t("options.snapshots")," (").concat(O.snapshots?O.snapshots.length:0,")")}))))),n.createElement(m.A,null,n.createElement(a.A,{onClick:M,color:"error"},t("cancelBtn")),n.createElement(a.A,{variant:"contained",color:"error",onClick:z,startIcon:T?n.createElement(ct.A,{size:24,color:"inherit"}):"",disabled:T||!Object.values(I).some(Boolean)},t(T?"importing":"importBtn")))))};var Lt=r(39718);const At=function(){var t=(0,x.W)("options",{keyPrefix:"settings.importAndExport"}).t;return n.createElement(i.A,null,n.createElement(p.Ay,{container:!0,alignItems:"center",sx:{marginBottom:"30px"}},n.createElement(p.Ay,{item:!0,xs:8},n.createElement(at.A,{variant:"h1"},t("title"))),n.createElement(p.Ay,{item:!0,xs:4})),n.createElement(Lt.A,{direction:"row",justifyContent:"flex-start",alignItems:"flex-start",spacing:2,divider:n.createElement(f.A,{orientation:"vertical",flexItem:!0})},n.createElement(it,null),n.createElement(Et,null)))}},1316:(t,e,r)=>{"use strict";r.d(e,{A:()=>U});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(39718),u=r(32894),l=r(26166),s=r(39969),f=r(14447),h=r(59234),p=r(20859),y=r(63534),v=(r(26565),r(62128)),d=r(54638),m=r(87546);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==g(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.saveMemoryAction"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction}})),r=e.updateSetting,o=e.saveMemoryAction,c=function(){var t,e=(t=b().mark((function t(e,n){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("saveMemoryAction",n);case 2:return t.next=4,(0,y.U)("update_setting",{key:"saveMemoryAction",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){w(i,n,o,a,c,"next",t)}function c(t){w(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8,sx:{paddingRight:"8px"}},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(f.A,{size:"small",value:o,exclusive:!0},n.createElement(h.A,{value:"disabled",onClick:c},n.createElement(m.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("disabled"))),n.createElement(h.A,{value:"discard",onClick:c},n.createElement(d.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("discardTabs"))),n.createElement(h.A,{value:"close",onClick:c},n.createElement(v.A,{sx:{mr:1}})," ",n.createElement(a.A,{variant:"body1"},t("closeTabs"))))),"discard"===o&&n.createElement(i.Ay,{item:!0,xs:12,mt:1},n.createElement(p.A,{icon:!1,severity:"info"},n.createElement(a.A,null,t("discardTips")," "))))}var E=r(76392),L=r(59290),A=r(68752);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==k(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.discardInactiveTabsMinutes"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction,discardInactiveTabsMinutes:t.settings.discardInactiveTabsMinutes}})),r=e.updateSetting,o=e.saveMemoryAction,c=e.discardInactiveTabsMinutes,u=function(){var t,e=(t=S().mark((function t(e){return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("discardInactiveTabsMinutes",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"discardInactiveTabsMinutes",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(E.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(L.A,{disabled:"disabled"===o,value:c,inputProps:{itemType:"number",max:1e4,min:1,step:1},endAdornment:n.createElement(A.A,{position:"end"},t("minutes")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==_(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.closeInactiveTabsMinutes"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction,closeInactiveTabsMinutes:t.settings.closeInactiveTabsMinutes}})),r=e.updateSetting,o=e.saveMemoryAction,c=e.closeInactiveTabsMinutes,u=function(){var t,e=(t=P().mark((function t(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("closeInactiveTabsMinutes",parseInt(e.target.value));case 2:return t.next=4,(0,y.U)("update_setting",{key:"closeInactiveTabsMinutes",value:parseInt(e.target.value)});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(E.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(L.A,{disabled:"disabled"===o,value:c,inputProps:{itemType:"number",max:1e4,min:1,step:1},endAdornment:n.createElement(A.A,{position:"end"},t("minutes")),"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}var G=r(40715),I=r(56238);function C(t){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==C(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function B(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function D(){var t=(0,s.W)("options",{keyPrefix:"settings.performance.disableAnimations"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,disableAnimations:t.settings.disableAnimations}})),r=e.updateSetting,o=e.disableAnimations,c=function(){var t,e=(t=F().mark((function t(e){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("disableAnimations",e.target.checked);case 2:return t.next=4,(0,y.U)("update_setting",{key:"disableAnimations",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){B(i,n,o,a,c,"next",t)}function c(t){B(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(G.A,{control:n.createElement(I.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}function U(){var t=(0,s.W)("options",{keyPrefix:"settings.performance"}).t,e=(0,l.Ay)((function(t){return{updateSetting:t.updateSetting,saveMemoryAction:t.settings.saveMemoryAction}})),r=(e.updateSetting,e.saveMemoryAction);return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("label"))),n.createElement(i.Ay,{item:!0,xs:4})),n.createElement(c.A,{spacing:2,divider:n.createElement(u.A,{orientation:"horizontal",flexItem:!0})},n.createElement(x,null),"discard"===r&&n.createElement(O,null),"close"===r&&n.createElement(N,null),n.createElement(D,null)))}},49792:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=r(30758),o=r(63606),i=r(64858),a=r(90520),c=r(43850),u=r(26134),l=r(32894),s=r(40715),f=r(56238),h=r(39969),p=r(26166),y=r(20859),v=r(79184),d=r(85478);function m(){var t=(0,h.W)().t;return n.createElement(y.A,{severity:"warning"},n.createElement(v.A,null,t("settings.userActivitionAlert.title")),n.createElement(i.A,{component:"p"},t("settings.userActivitionAlert.tips_1")," "),n.createElement(i.A,{component:"li"},t("settings.userActivitionAlert.tips_2")," => ",t("click"),"/",t("contextmenu"),"/",t("dblclick")," "),n.createElement(i.A,{component:"strong"},t("settings.userActivitionAlert.tips_3")," "),n.createElement(i.A,{component:"p"},t("settings.userActivitionAlert.tips_4"),n.createElement(d.A,{href:"https://developer.mozilla.org/en-US/docs/Web/Security/User_activation",target:"_blank",rel:"noopener noreferrer"},"https://developer.mozilla.org/en-US/docs/Web/Security/User_activation")," "))}var g=r(63534),b=r(24032);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=b.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}function A(){var t=(0,h.W)("options",{keyPrefix:"settings.picture_in_picture"}).t,e=(0,p.Zz)((function(t){return{updateSetting:t.updateSetting,tabSwitchPip:t.settings.tabSwitchPip,scrollSwitchPip:t.settings.scrollSwitchPip}})),r=e.updateSetting,y=e.tabSwitchPip,v=e.scrollSwitchPip,d=function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabSwitchPip",e.target.checked);case 2:return t.next=4,(0,g.U)("update_setting",{key:"tabSwitchPip",value:e.target.checked});case 4:return t.next=6,(0,b.uR)("update_setting",{key:"tabSwitchPip",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),w=function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("scrollSwitchPip",e.target.checked);case 2:return t.next=4,(0,g.U)("update_setting",{key:"scrollSwitchPip",value:e.target.checked});case 4:return t.next=6,(0,b.uR)("update_setting",{key:"scrollSwitchPip",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(o.A,null,n.createElement(i.A,{sx:{mb:2},variant:"h1"},t("Picture-in-picture")),n.createElement(m,null),n.createElement(a.A,{sx:{display:"flex",padding:"20px",justifyContent:"space-around"}},n.createElement(c.A,{component:"img",sx:{width:320,objectFit:"cover",objectPosition:"center"},image:chrome.runtime.getURL("/images/helps/picture-in-picture.jpg")}),n.createElement(o.A,null,n.createElement(u.A,null,n.createElement(l.A,{sx:{my:"15px"}}),n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("tabSwitch.label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("tabSwitch.description")),n.createElement(l.A,null),n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:y,onChange:d}),label:t(y?"tabSwitch.enabled":"tabSwitch.disabled"),labelPlacement:"end"}),n.createElement(l.A,{sx:{my:"15px"}}),n.createElement(i.A,{variant:"h2",sx:{mb:2}},t("scrollSwitch.label")),n.createElement(i.A,{variant:"body1",sx:{mb:2}},t("scrollSwitch.description")),n.createElement(l.A,null),n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:v,onChange:w}),label:t(v?"tabSwitch.enabled":"tabSwitch.disabled"),labelPlacement:"end"})))))}},11939:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>D});var o=r(30758),i=r(58459),a=r(94512),c=r(21054),u=r(42606),l=r(95437),s=r(64858),f=r(42132),h=r(32453),p=r(4880),y=r(45433),v=r(76740),d=r(51678),m=r(10858),g=r(97950),b=r(23436),w=r(42444),x=r(26565),E=r(39969),L=r(63534),A=r(8011);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function S(){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 j(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function O(t){if(Array.isArray(t))return C(t)}function _(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==k(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){P(i,n,o,a,c,"next",t)}function c(t){P(i,n,o,a,c,"throw",t)}a(void 0)}))}}function N(t,e){return B(t)||F(t,e)||I(t,e)||G()}function G(){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 I(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&Y.length{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>m});var o=r(30758),i=r(26166),a=r(39969),c=r(64364),u=r(64858),l=r(40715),s=r(56238),f=r(63534),h=r(11939),p=t([h]);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(){var t=(0,a.W)("options",{keyPrefix:"settings.quickAccess.enableQuickAccess"}).t,e=(0,i.Zz)((function(t){return{updateSetting:t.updateSetting,pinToQuickAccess:t.settings.pinToQuickAccess}})),r=e.updateSetting,n=e.pinToQuickAccess,p=function(){var t,e=(t=v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("pinToQuickAccess",e.target.checked);case 2:return t.next=4,(0,f.U)("update_setting",{key:"pinToQuickAccess",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return o.createElement(c.Ay,{container:!0,alignItems:"center"},o.createElement(c.Ay,{item:!0,xs:8},o.createElement(u.A,{variant:"h3",mb:1},t("label")),o.createElement(u.A,{variant:"body1",color:"text.secondary"},t("description")," ")),o.createElement(c.Ay,{item:!0,xs:2},o.createElement(l.A,{control:o.createElement(s.A,{color:"error",checked:n,onChange:p}),labelPlacement:"start"})),n&&o.createElement(c.Ay,{item:!0,xs:2},o.createElement(h.A,null)))}h=(p.then?(await p)():p)[0],n()}catch(g){n(g)}}))},89975:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>p});var o=r(30758),i=r(63606),a=r(64364),c=r(64858),u=r(39718),l=r(32894),s=r(39969),f=r(63387),h=t([f]);function p(){var t=(0,s.W)("options",{keyPrefix:"settings.quickAccess"}).t;return o.createElement(i.A,null,o.createElement(a.Ay,{container:!0,alignItems:"center",mb:5},o.createElement(a.Ay,{item:!0,xs:8},o.createElement(c.A,{variant:"h1"},t("title"))),o.createElement(a.Ay,{item:!0,xs:4})),o.createElement(u.A,{spacing:2,divider:o.createElement(l.A,{orientation:"horizontal",flexItem:!0})},o.createElement(f.A,null)))}f=(h.then?(await h)():h)[0],n()}catch(y){n(y)}}))},32757:(t,e,r)=>{"use strict";r.d(e,{A:()=>G});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(32894),u=r(43850),l=r(39969),s=r(40715),f=r(56238),h=r(26166),p=r(63534),y=r(24032);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.enableProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.updateSetting,c=function(){var t,e=(t=d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o("enableProgressBar",e.target.checked);case 2:return t.next=4,(0,p.U)("update_setting",{key:"enableProgressBar",value:e.target.checked});case 4:return t.next=6,(0,y.uR)("update_setting",{key:"enableProgressBar",value:e.target.checked});case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:9},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:3},n.createElement(s.A,{control:n.createElement(f.A,{color:"error",checked:r,onChange:c}),labelPlacement:"start"})))}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=m.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==b(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.readingProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,readingProgressBar:t.settings.readingProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.readingProgressBar,c=e.updateSetting,u=function(){var t,e=(t=w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.target.checked,t.next=3,c("readingProgressBar",r);case 3:return t.next=5,(0,p.U)("update_setting",{key:"readingProgressBar",value:r});case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description"))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(s.A,{disabled:!r,control:n.createElement(f.A,{color:"error",checked:r&&o,onChange:u}),labelPlacement:"start"})))}function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var k=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function S(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.playingProgressBar"}).t,e=(0,h.Zz)((function(t){return{enableProgressBar:t.settings.enableProgressBar,playingProgressBar:t.settings.playingProgressBar,updateSetting:t.updateSetting}})),r=e.enableProgressBar,o=e.playingProgressBar,c=e.updateSetting,u=function(){var t,e=(t=A().mark((function t(e){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c("playingProgressBar",e.target.checked);case 2:return t.next=4,(0,p.U)("update_setting",{key:"playingProgressBar",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,c,"next",t)}function c(t){k(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(s.A,{disabled:!r,control:n.createElement(f.A,{color:"error",checked:r&&o,onChange:u}),labelPlacement:"start"})))}var j=r(76392),O=r(59290);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==_(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(){var t=(0,l.W)("options",{keyPrefix:"settings.progressBar.scrollHeightRatio"}).t,e=(0,h.Zz)((function(t){return{updateSetting:t.updateSetting,enableProgressBar:t.settings.enableProgressBar,scrollHeightRatio:t.settings.scrollHeightRatio}})),r=e.updateSetting,o=e.enableProgressBar,c=e.scrollHeightRatio,u=function(){var t,e=(t=P().mark((function t(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("scrollHeightRatio",e.target.value);case 2:return t.next=4,(0,p.U)("update_setting",{key:"scrollHeightRatio",value:e.target.value});case 4:return t.next=6,(0,y.uR)("update_setting",{key:"scrollHeightRatio",value:e.target.value});case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(j.A,{sx:{m:1,width:"200px"},variant:"outlined"},n.createElement(O.A,{disabled:!o,value:c,inputProps:{itemType:"number",max:100,min:1,step:.1},"aria-describedby":"outlined-weight-helper-text",onChange:u}))))}function G(){var t=(0,l.W)("options",{keyPrefix:"settings"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,alignItems:"center",mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("modules.progressBar")))),n.createElement(g,null),n.createElement(c.A,{sx:{my:2}}),n.createElement(i.Ay,{container:!0,alignItems:"space-around"},n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/readingProgressBar.jpg")})),n.createElement(i.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(E,null),n.createElement(c.A,{sx:{my:2}}),n.createElement(N,null))),n.createElement(c.A,{sx:{my:2}}),n.createElement(i.Ay,{container:!0,alignItems:"space-around"},n.createElement(i.Ay,{item:!0,xs:4},n.createElement(u.A,{component:"img",sx:{width:"100%",padding:"8px"},image:chrome.runtime.getURL("/images/helps/playingProgressBar.jpg")})),n.createElement(i.Ay,{item:!0,xs:8,sx:{padding:"8px"}},n.createElement(S,null))),n.createElement(c.A,{sx:{my:2}}))}},46273:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(39718),u=r(32894),l=r(20859),s=r(58459),f=r(39969),h=r(76392),p=r(59290);function y(t){var e=t.command,r=(0,f.W)("options",{keyPrefix:"settings.shortcuts"}).t,o=e.name;return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},r(o))),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{sx:{m:1,width:"100%"},variant:"outlined"},n.createElement(p.A,{disabled:!0,value:e.shortcut}))))}var v=r(20824);function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t,e)||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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>vt});var n=r(30758),o=r(63606),i=r(39718),a=r(64858),c=r(32894),u=r(64364),l=r(39969),s=r(40715),f=r(56238),h=r(63534),p=r(20574),y=r(44286);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return g(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.playingProgressBar"}).t,o=(0,E.Ay)((function(t){return{globalPlayingProgressBar:t.settings.playingProgressBar&&t.settings.enableProgressBar}})).globalPlayingProgressBar,i=(0,p.D)((function(t){var r;return{playingProgressBar:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.playingProgressBar,setSiteConfig:t.setSiteConfig}})),c=i.playingProgressBar,y=i.setSiteConfig,v=function(){var t,r=(t=k().mark((function t(r){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{playingProgressBar:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{playingProgressBar:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{disabled:!o,color:"error",checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/progressBar"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function _(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function P(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.readingProgressBar"}).t,o=(0,E.Ay)((function(t){return{globalReadingProgressBar:t.settings.readingProgressBar&&t.settings.enableProgressBar}})).globalReadingProgressBar,i=(0,p.D)((function(t){var r;return{readingProgressBar:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.readingProgressBar,setSiteConfig:t.setSiteConfig}})),c=i.readingProgressBar,y=i.setSiteConfig,v=function(){var t,r=(t=_().mark((function t(r){return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{readingProgressBar:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{readingProgressBar:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){P(i,n,o,a,c,"next",t)}function c(t){P(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{color:"error",disabled:!o,checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/progressBar"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function G(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */G=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==N(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function I(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function C(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.tabSwitchPip"}).t,o=(0,E.Ay)((function(t){return{globalTabSwitchPip:t.settings.tabSwitchPip}})).globalTabSwitchPip,i=(0,p.D)((function(t){var r;return{tabSwitchPip:null===(r=t.sites.find((function(t){return t.hostname===e})))||void 0===r?void 0:r.tabSwitchPip,setSiteConfig:t.setSiteConfig}})),c=i.tabSwitchPip,y=i.setSiteConfig,v=function(){var t,r=(t=G().mark((function t(r){return G().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,{tabSwitchPip:r.target.checked});case 2:return t.next=4,(0,h.U)("update_site_config",{hostname:e,config:{tabSwitchPip:r.target.checked}});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){I(i,n,o,a,c,"next",t)}function c(t){I(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:12,md:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:12,md:4},n.createElement(s.A,{control:n.createElement(f.A,{disabled:!o,color:"error",checked:o&&!1!==c,onChange:v})})),!o&&n.createElement(L.N_,{target:"_blank",to:"/pip"},n.createElement(x.A,{severity:"warning"},r("globaldisabledTips"))))}var F=r(82794),B=r(51510),D=r(58459);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function W(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){var e=t.hostname,r=(0,l.W)("options",{keyPrefix:"settings.site.browserSettings"}).t,o=function(){var t,r=(t=W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.create({url:"chrome://settings/content/siteDetails?site=https://".concat(e),active:!0});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(u.Ay,{container:!0,alignItems:"center"},n.createElement(u.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},r("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},r("description")," ")),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(D.A,{variant:"contained",color:"error",onClick:o},r("goToBrowserSettings"))))}var Y=r(94512),R=r(21054),H=r(42606),q=r(74365),Z=r(76392),Q=r(95437),$=r(40720),K=r(40861),V=r(97950),J=r(25210),X=r(47749),tt=r(78797),et=r(20395),rt=r(37893),nt=r(8011);function ot(t){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(t)}function it(){return it=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ht(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||ht(t,e)||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 ht(t,e){if(t){if("string"==typeof t)return pt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(t,e):void 0}}function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&n.createElement(o.A,{border:1,borderColor:"grey.300",borderRadius:2,p:2,mb:2},n.createElement(a.A,{variant:"body2",color:"textSecondary",gutterBottom:!0},i("listTips")),n.createElement(u.Ay,{container:!0,alignItems:"center",spacing:2,sx:{borderBottom:"1px solid grey",paddingBottom:"10px"}},n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,{variant:"h4"},i("linkMatchContent"))),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,{variant:"h4"},i("linkOpenMethod"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(a.A,{variant:"h4"},i("edit"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(a.A,{variant:"h4"},i("delete")))),n.createElement(tt.Mp,{collisionDetection:tt.fp,onDragEnd:I,sensors:B},n.createElement(et.gB,{items:O,strategy:et._G},O.map((function(t){return n.createElement(C,{key:t.id,id:t.id},n.createElement(u.Ay,{container:!0,alignItems:"center",spacing:1},n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,null,t.regex)),n.createElement(u.Ay,{item:!0,xs:4},n.createElement(a.A,null,"_self"===t.target&&i("target_self"),"_blank"===t.target&&i("target_blank"),"_parent"===t.target&&i("target_parent"),"_top"===t.target&&i("target_top"))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(F.A,{color:"primary",onClick:function(){return function(t){var e=O.find((function(e){return e.id===t}));L(e.regex),S(e.target)}(t.id)}},n.createElement(J.A,null))),n.createElement(u.Ay,{item:!0,xs:2},n.createElement(F.A,{color:"error",onClick:function(){return G(t.id)}},n.createElement(X.A,null)))))}))))),n.createElement(q.A,{variant:"outlined",style:{padding:"16px",marginTop:"16px"}},n.createElement(a.A,{variant:"h4",gutterBottom:!0},i("linkMatchContent")),n.createElement(a.A,{variant:"body2",color:"textSecondary",gutterBottom:!0},i("linkMatchContentTips")),n.createElement(Z.A,{fullWidth:!0,margin:"normal"},n.createElement(Q.A,{value:E,autoComplete:"off",onChange:function(t){return L(t.target.value)},variant:"standard"})),n.createElement(a.A,{variant:"h4"},i("linkOpenMethod")),n.createElement(Z.A,{component:"fieldset",fullWidth:!0,margin:"normal"},n.createElement($.A,{row:!0,value:k,onChange:function(t){return S(t.target.value)}},n.createElement(s.A,{value:"_self",control:n.createElement(K.A,null),label:i("target_self")}),n.createElement(s.A,{value:"_blank",control:n.createElement(K.A,null),label:i("target_blank")}),n.createElement(s.A,{value:"_parent",control:n.createElement(K.A,null),label:i("target_parent")}),n.createElement(s.A,{value:"_top",control:n.createElement(K.A,null),label:i("target_top")}))),n.createElement(D.A,{onClick:N,color:"error",variant:"contained",style:{marginTop:"16px"},disabled:!E},i("save")))),n.createElement(V.A,null,n.createElement(D.A,{onClick:T,color:"error"},i("close"))))))}function vt(t){var e=t.hostname,r=(0,y.g)();e=e||r.hostname,(0,l.W)("options",{keyPrefix:"settings.site"});var s=(0,p.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===e})),setSiteConfig:t.setSiteConfig}})),f=s.siteConfig,h=s.setSiteConfig;e&&!f&&h(e,{hostname:e}),(0,n.useEffect)((function(){}),[e]);(0,l.W)("options",{keyPrefix:"settings.site"}).t;return n.createElement(o.A,null,n.createElement(u.Ay,{container:!0,mb:3},n.createElement(i.A,{direction:"row",justifyContent:"center",alignItems:"flex-start",spacing:1},n.createElement(L.N_,{to:"/sites"},n.createElement(F.A,null,n.createElement(B.A,null))),n.createElement(a.A,{variant:"h1"},e))),n.createElement(i.A,{spacing:2,divider:n.createElement(c.A,{orientation:"horizontal",flexItem:!0})},n.createElement(w,{hostname:e}),n.createElement(T,{hostname:e}),n.createElement(j,{hostname:e}),n.createElement(C,{hostname:e}),n.createElement(M,{hostname:e}),n.createElement(yt,{hostname:e})))}},9029:(t,e,r)=>{"use strict";r.d(e,{A:()=>F});var n=r(30758),o=r(63606),i=r(20574),a=r(39718),c=r(64858),u=r(10858),l=r(74199),s=r(20824),f=r(18613),h=r(42444),p=r(82794),y=(r(23051),r(44286)),v=r(16578);function d(t){var e=t.hostname,r=(0,y.g)();e=e||r.hostname;var o=(0,i.D)((function(t){return{deleteSiteConfig:t.deleteSiteConfig}})).deleteSiteConfig,d=(0,h.Qr)("https://".concat(e))||"https://via.placeholder.com/60x60.png?text=".concat(e);return n.createElement(v.N_,{to:"/sites/".concat(e)},n.createElement(a.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:2,sx:{}},n.createElement(u.A,{variant:"square",src:d,sx:{width:"20px",height:"20px",alignContent:"center"}},n.createElement(l.A,{sx:{fontSize:"20px"},color:"primary"})),n.createElement(c.A,{variant:"h3",component:"div",sx:{flexGrow:1}},e),n.createElement(p.A,null,n.createElement(s.A,null)),n.createElement(p.A,{onClick:function(t){t.stopPropagation(),t.preventDefault(),o(e)}},n.createElement(f.A,null))))}var m=r(64364),g=r(32894),b=r(39969),w=r(92802),x=r(95437);function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t,e)||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 L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&n.createElement(p.A,{onClick:function(t){return i.D.setState({searchText:""}),void r(!1)}},n.createElement(f.A,{sx:{fontSize:"1rem"}}))},onChange:function(t){return function(t){t.preventDefault();var e=o.current.value;i.D.setState({searchText:e})}(t)},onFocus:function(){return r(!0)},onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)}}))}var k=r(13387),S=r(58459),j=r(94512),O=r(21054),_=r(42606),P=r(58470),T=r(97950),N=r(26565);function G(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return I(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(t,e):void 0}}(t,e)||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 I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0){var u=a.trim().toLowerCase().split(" ").filter(Boolean);r=r.filter((function(t){return Object.values(t).filter((function(t){return"string"==typeof t})).some((function(t){return u.every((function(e){return t.toLowerCase().includes(e)}))}))}))}return(0,n.useEffect)((function(){}),[]),n.createElement(o.A,null,n.createElement(m.Ay,{container:!0,mb:1,alignItems:"center",justifyContent:"space-between"},n.createElement(m.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h1"},t("label"))),n.createElement(m.Ay,{item:!0,xs:4}," ",n.createElement(A,null))),n.createElement(g.A,null,n.createElement(C,null)),n.createElement(o.A,{my:2},r.map((function(t,e){return n.createElement(d,{key:e,hostname:t.hostname})}))))}},99867:(t,e,r)=>{"use strict";r.d(e,{A:()=>X});var n=r(63606),o=r(64364),i=r(64858),a=r(30758),c=r(58459),u=r(32894),l=r(39718),s=r(39969),f=r(16383),h=r(62128),p=r(51678),y=r(82794),v=r(42444),d=r(26565);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function w(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))}}function x(t){var e=t.summary,r=(0,s.W)("options",{keyPrefix:"snapshots"}).t,n=(0,f.Ay)((function(t){return t.selectdSnapshotId})),o=function(){var t=w(g().mark((function t(r){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.stopPropagation(),f.Ay.setState({selectdSnapshotId:e.id,selectedTabs:[]});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=w(g().mark((function t(n){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.stopPropagation(),t.prev=1,t.next=4,f.Ay.getState().removeSnapshot(e.id);case 4:d.oR.success(r("snapshotDeletedSuccess")),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),d.oR.error(r("snapshotDeletedFailed"));case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e){return t.apply(this,arguments)}}();return a.createElement(p.A,{onClick:o,sx:{flexGrow:1,flexDirection:"column",alignItems:"flex-start",borderRadius:"6px"},selected:e.id===n},a.createElement(l.A,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%"},spacing:1},a.createElement(l.A,{direction:"column",alignItems:"flex-start",spacing:1},a.createElement(i.A,{variant:"h3"},(0,v._K)(e.createdAt)),a.createElement(i.A,{variant:"body2"},r("windowCount",{count:e.windowCount})," / ",r("tabCount",{count:e.tabCount}))),a.createElement(y.A,{onClick:c},a.createElement(h.A,{color:"error"}))))}var E=r(38521);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var k=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return S(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&f.Ay.setState({selectdSnapshotId:e[0].id})}),[e]);var o=function(){var t=O(A().mark((function t(){var e,n,o,i,a,c,u,l;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=1,t.next=4,f.Ay.getState().addSnapshot();case 4:e=f.Ay.getState().summaries.sort((function(t,e){return e.createdAt-t.createdAt}))[0],f.Ay.setState({selectdSnapshotId:e.id,selectedTabs:[]}),n=f.Ay.getState().summaries.sort((function(t,e){return e.createdAt-t.createdAt})),o=n.slice(0,50),i=Date.now()-7776e6,a=n.filter((function(t){return!o.includes(t)||t.createdAt=i}))}),d.oR.success(r("snapshotCreatedSuccess")),t.next=34;break;case 31:t.prev=31,t.t1=t.catch(1),d.oR.error(r("snapshotCreatedFailed"));case 34:case"end":return t.stop()}}),t,null,[[1,31],[11,21,24,27]])})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=O(A().mark((function t(e){var n,o;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=e.target.files[0])&&((o=new FileReader).onload=function(){var t=O(A().mark((function t(e){var n,o,i,a,c,u;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n=JSON.parse(e.target.result),!Array.isArray(n.snapshots)){t.next=25;break}o=0,i=0,a=k(n.snapshots),t.prev=6,u=A().mark((function t(){var e;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=c.value,!f.Ay.getState().summaries.find((function(t){return t.id===e.id}))){t.next=6;break}i++,t.next=15;break;case 6:return t.prev=6,t.next=9,f.Ay.getState().addImportedSnapshot(e);case 9:o++,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6),i++;case 15:case"end":return t.stop()}}),t,null,[[6,12]])})),a.s();case 9:if((c=a.n()).done){t.next=13;break}return t.delegateYield(u(),"t0",11);case 11:t.next=9;break;case 13:t.next=18;break;case 15:t.prev=15,t.t1=t.catch(6),a.e(t.t1);case 18:return t.prev=18,a.f(),t.finish(18);case 21:o>0&&d.oR.success(r("snapshotImportedSuccess",{count:o,error:""})),i>0&&d.oR.error(r("snapshotImportFailed",{count:i,error:""})),t.next=33;break;case 25:if(!f.Ay.getState().summaries.find((function(t){return t.id===n.id}))){t.next=30;break}d.oR.error(r("snapshotImportFailedDuplicate")),t.next=33;break;case 30:return t.next=32,f.Ay.getState().addImportedSnapshot(n);case 32:d.oR.success(r("snapshotImportedSuccess",{count:1}));case 33:t.next=39;break;case 35:t.prev=35,t.t2=t.catch(0),d.oR.error(r("snapshotImportFailed",{count:0,error:t.t2.message}));case 39:case"end":return t.stop()}}),t,null,[[0,35],[6,15,18,21]])})));return function(e){return t.apply(this,arguments)}}(),o.readAsText(n));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return a.createElement(n.A,null,a.createElement(n.A,{mb:2},a.createElement(c.A,{size:"large",variant:"contained",color:"error",onClick:o},r("createSnapshot"))),a.createElement(n.A,{mb:2},a.createElement(c.A,{size:"large",variant:"contained",component:"label"},r("importSnapshot"),a.createElement("input",{type:"file",accept:".json",hidden:!0,onChange:h}))),a.createElement(u.A,null,a.createElement(i.A,{variant:"h4",sx:{py:2}},r("title"),":",e.length)),a.createElement(E.r,{defer:!0,style:{maxHeight:"60vh"}},a.createElement(l.A,{direction:"column",spacing:1,alignItems:"center",justifyContent:"center"},e.map((function(t){return a.createElement(x,{key:t.id,summary:t})})))))}f.Ay.getState().fetchSummaries();var P=r(38662),T=r(40715),N=r(45433),G=r(74365),I=r(32453),C=r(74199),F=r(74644),B=r(10858),D=r(26166);const U=(0,a.memo)((function(t){var e=t.avatarUrl,r=(0,D.Ay)((function(t){return{avatorSize:Math.floor(("visual"===t.settings.view?28:20)*t.settings.fontScale),buttonPosition:t.settings.buttonPosition}})),n=r.avatorSize,o=r.buttonPosition;return a.createElement(F.A,{sx:{display:"flex",justifyContent:"center",minWidth:n,padding:o?"0 5px 0 10px":"0 10px 0 5px"}},a.createElement(B.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:n,height:n,alignContent:"center"},"aria-label":"recipe",src:e},a.createElement(C.A,{sx:{fontSize:n},color:"primary"})))}));const W=function(t){var e,r=t.item,o=((0,s.W)("options",{keyPrefix:"snapshots"}).t,(0,f.Ay)((function(t){return{selectedTabs:t.selectedTabs,addSelectdTabId:t.addSelectdTabId,removeSelectTabId:t.removeSelectTabId}}))),c=o.selectedTabs,u=o.addSelectdTabId,h=o.removeSelectTabId,y=(null===(e=c[r.windowId])||void 0===e?void 0:e.includes(r.id))||!1;return a.createElement(I.Ay,{disablePadding:!0},a.createElement(p.A,{selected:y,component:"div",disableGutters:!0,onClick:function(){chrome.tabs.create({url:r.url,active:!1})}},a.createElement(l.A,{direction:"row",sx:{width:"100%",paddingX:"10px"},alignItems:"center",justifyContent:"space-between",spacing:1},a.createElement(U,{avatarUrl:r.favIconUrl||(0,v.Qr)(r.url)}),a.createElement(n.A,{sx:{minWidth:0,flex:1}},a.createElement(i.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"4px",paddingBottom:"4px"}},r.title),a.createElement(i.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",opacity:.75}},(0,v.Wj)(r.url))),a.createElement(N.A,{checked:y,onChange:function(t){t.target.checked?u(r.id,r.windowId):h(r.id,r.windowId)},onClick:function(t){t.stopPropagation()}}))))};function z(t){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const R=function(t){var e=t.windowIndex,r=t.window,o=t.restoreWindowSize,u=(0,s.W)("options",{keyPrefix:"snapshots"}).t,h=(0,f.Ay)((function(t){return{selectdWindowTabs:t.selectedTabs[r.id]||[],selectedTabsCount:(t.selectedTabs[r.id]||[]).length}})),p=h.selectdWindowTabs,y=h.selectedTabsCount;return a.createElement(G.A,{elevation:3,style:{margin:"16px 0",padding:"16px"}},a.createElement(l.A,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"16px"}},a.createElement(l.A,{direction:"row",spacing:2,alignItems:"center",justifyContent:"flex-start"},a.createElement(i.A,{variant:"h3"},u("Window")," ",e+1),a.createElement(i.A,{variant:"h5"},"(",u("tabCount",{count:r.tabs.length}),")")),a.createElement(l.A,{direction:"row",spacing:1,alignItems:"center",justifyContent:"flex-end"},a.createElement(c.A,{variant:"outlined",color:"primary",onClick:function(){var t=p.length>0?p.map((function(t){return r.tabs.find((function(e){return e.id===t}))})):r.tabs,e={};t.forEach((function(t,r){setTimeout((function(){chrome.tabs.create({url:t.url,active:!1},(function(r){t.groupId>0&&(e[t.groupId]||(e[t.groupId]=[]),e[t.groupId].push(r.id))}))}),250*r)})),0===p.length&&setTimeout((function(){Object.keys(e).forEach((function(t){if(t&&r.tabGroups){var n=r.tabGroups.find((function(e){return e.id===parseInt(t)}));n&&chrome.tabs.group({tabIds:e[t]},(function(t){chrome.tabGroups.update(t,{color:n.color,title:n.title})}))}}))}),250*t.length+500)},style:{marginLeft:"8px"}},u("OpenInCurrentWindow")," ",y?" (".concat(y,")"):""),a.createElement(c.A,{variant:"outlined",color:"error",onClick:function(){var t=p.length>0?p.map((function(t){return r.tabs.find((function(e){return e.id===t}))})):r.tabs,e=function(t){for(var e=1;e0&&(n[t.groupId]||(n[t.groupId]=[]),n[t.groupId].push(e.id))}))}),250*r)})),0===p.length&&setTimeout((function(){Object.keys(n).forEach((function(t){if(t&&r.tabGroups){var o=r.tabGroups.find((function(e){return e.id===parseInt(t)}));o&&chrome.tabs.group({tabIds:n[t],createProperties:{windowId:e.id}},(function(t){chrome.tabGroups.update(t,{color:o.color,title:o.title})}))}}))}),250*t.length+500)}))}},u("OpenInNewWindow")," ",y?" (".concat(y,")"):""),y>0&&a.createElement(c.A,{variant:"outlined",color:"secondary",onClick:function(){r.tabs.forEach((function(t){f.Ay.getState().removeSelectTabId(t.id,r.id)}))}},u("ResetSelection")))),a.createElement(n.A,null,r.tabs.map((function(t,e){return a.createElement(W,{key:t.id,tabIndex:e,item:t})}))))};function H(t){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},H(t)}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Z(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:S(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==H(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function K(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return V(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}(t,e)||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 V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0?e.map((function(e){return t.tabs.find((function(t){return t.id===e}))})):t.tabs,o=function(t){for(var e=1;e0&&(o[t.groupId]||(o[t.groupId]=[]),o[t.groupId].push(e.id))}))}),250*e)})),0===e.length&&setTimeout((function(){Object.keys(o).forEach((function(e){if(e&&t.tabGroups){var n=t.tabGroups.find((function(t){return t.id===parseInt(e)}));n&&chrome.tabs.group({tabIds:o[e],createProperties:{windowId:r.id}},(function(t){chrome.tabGroups.update(t,{color:n.color,title:n.title})}))}}))}),250*n.length+500)}))}))}},n>0?"".concat(t("openSelectedInNewWindow")," (").concat(n,")"):t("openAllWindows")),n>0&&a.createElement(c.A,{variant:"outlined",color:"error",onClick:function(){u&&u.windows.forEach((function(t){var e=r[t.id]||[];e.length>0&&e.map((function(e){return t.tabs.find((function(t){return t.id===e}))})).forEach((function(t,e){setTimeout((function(){chrome.tabs.create({url:t.url,active:!1},(function(t){}))}),250*e)}))}))}},t("openSelectedInCurrentWindow")," (",n,")")),null==u?void 0:u.windows.map((function(t,e){return a.createElement(R,{key:e,window:t,windowIndex:e,restoreWindowSize:y})}))):null};function X(){var t=(0,s.W)("options",{keyPrefix:"snapshots"}).t,e=(0,f.Ay)((function(t){return t.summaries}));return(0,a.useEffect)((function(){e.length>0&&f.Ay.setState({selectdSnapshotId:e[0].id})}),[]),a.createElement(n.A,null,a.createElement(o.Ay,{container:!0,mb:5},a.createElement(o.Ay,{item:!0,xs:8},a.createElement(i.A,{variant:"h1"},t("title"))),a.createElement(o.Ay,{item:!0,xs:4})),a.createElement(o.Ay,{container:!0},a.createElement(o.Ay,{item:!0,xs:3},a.createElement(_,null)),a.createElement(o.Ay,{item:!0,xs:9},a.createElement(J,null))))}},55607:(t,e,r)=>{"use strict";r.d(e,{A:()=>P});var n=r(30758),o=r(63606),i=r(64364),a=r(64858),c=r(20859),u=r(32894),l=r(39718),s=r(74365),f=r(39969),h=r(40715),p=r(56238),y=r(26166),v=r(63534);r(24032);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.sidebarEnabled"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,sidebarEnabled:t.settings.sidebarEnabled}})),r=e.updateSetting,o=e.sidebarEnabled,c=function(){var t,e=(t=m().mark((function t(e){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("sidebarEnabled",e.target.checked);case 2:return t.next=4,(0,v.U)("update_setting",{key:"sidebarEnabled",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(h.A,{control:n.createElement(p.A,{color:"error",checked:o,onChange:c}),labelPlacement:"start"})))}var w=r(14447),x=r(59234),E=r(33798),L=r(41991);function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function k(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==A(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.sidebarPosition"}).t,e=(0,y.Zz)((function(t){return{updateSetting:t.updateSetting,sidebarPosition:t.settings.sidebarPosition}})),r=e.updateSetting,o=e.sidebarPosition,c=function(){var t,e=(t=k().mark((function t(e,n){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("sidebarPosition",n);case 2:return t.next=4,(0,v.U)("update_setting",{key:"sidebarPosition",value:n});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(i.Ay,{container:!0,alignItems:"center"},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h3",mb:1},t("label")),n.createElement(a.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(i.Ay,{item:!0,xs:4},n.createElement(w.A,{size:"small",value:o,exclusive:!0},n.createElement(x.A,{value:"left",onClick:c},n.createElement(L.A,null)," ",n.createElement(a.A,{variant:"body1"},t("left"))),n.createElement(x.A,{value:"right",onClick:c},n.createElement(a.A,{variant:"body1"},t("right"))," ",n.createElement(E.A,null)))))}var O=r(79184);const _=function(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages.contentScriptWarning"}).t,e=function(t){var e=/(https?:\/\/[^\s]+)/g;return t.split(e).map((function(t,r){return e.test(t)?n.createElement("a",{key:r,href:t,target:"_blank",rel:"noopener noreferrer"},t):t}))};return n.createElement(c.A,{severity:"warning"},n.createElement(O.A,null,e(t("warningTitle"))),e(t("warningMessage")),n.createElement(o.A,{mt:2},n.createElement("ul",null,n.createElement("li",null,n.createElement(a.A,null,e(t("webStore")))),n.createElement("li",null,n.createElement(a.A,null,e(t("internalPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("fileUrls")))),n.createElement("li",null,n.createElement(a.A,null,e(t("extensionsPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("protectedPages")))),n.createElement("li",null,n.createElement(a.A,null,e(t("newTabPage")))),n.createElement("li",null,n.createElement(a.A,null,e(t("pdfViewer")))))))};function P(){var t=(0,f.W)("options",{keyPrefix:"settings.tabSidebarOnPages"}).t;return n.createElement(o.A,null,n.createElement(i.Ay,{container:!0,mb:5},n.createElement(i.Ay,{item:!0,xs:8},n.createElement(a.A,{variant:"h1"},t("title"))),n.createElement(i.Ay,{item:!0,xs:4})),n.createElement(i.Ay,{item:!0,xs:12,sx:{mt:2}},n.createElement(c.A,{severity:"info"},t("description"))),n.createElement(u.A,{sx:{my:2}}),n.createElement(l.A,{spacing:2,divider:n.createElement(u.A,{orientation:"horizontal",flexItem:!0})},n.createElement(b,null),n.createElement(j,null)),n.createElement(u.A,{sx:{my:2,color:"red"}},t("usageRestrictions")),n.createElement(s.A,null,n.createElement(_,null)))}},52130:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>U});var o=r(30758),i=r(63606),a=r(58459),c=r(94512),u=r(21054),l=r(42606),s=r(95437),f=r(64858),h=r(42132),p=r(32453),y=r(4880),v=r(45433),d=r(76740),m=r(51678),g=r(10858),b=r(97950),w=r(23436),x=r(42444),E=r(26565),L=r(39969),A=r(63534),k=r(8011);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function j(){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 O(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _(t){if(Array.isArray(t))return F(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(G([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==S(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))}}function G(t,e){return D(t)||B(t,e)||C(t,e)||I()}function I(){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 C(t,e){if(t){if("string"==typeof t)return F(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(t,e):void 0}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&R.length{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(63534);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.collapsedGroupShowTabIcons"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,GroupCollapsedShowIcon:t.settings.GroupCollapsedShowIcon}})),r=e.updateSetting,f=e.GroupCollapsedShowIcon,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("GroupCollapsedShowIcon",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"GroupCollapsedShowIcon",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},59553:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(63534);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.currentWindowOnly"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),r=e.updateSetting,f=e.onlyCurrentWindowTabs,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("onlyCurrentWindowTabs",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"onlyCurrentWindowTabs",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},69455:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>m});var o=r(30758),i=r(26166),a=r(39969),c=r(64364),u=r(64858),l=r(40715),s=r(56238),f=r(63534),h=r(52130),p=t([h]);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(){var t=(0,a.W)("options",{keyPrefix:"settings.tabs.pinToQuickAccess"}).t,e=(0,i.Zz)((function(t){return{updateSetting:t.updateSetting,pinToQuickAccess:t.settings.pinToQuickAccess}})),r=e.updateSetting,n=e.pinToQuickAccess,p=function(){var t,e=(t=v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("pinToQuickAccess",e.target.checked);case 2:return t.next=4,(0,f.U)("update_setting",{key:"pinToQuickAccess",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return o.createElement(c.Ay,{container:!0,alignItems:"center"},o.createElement(c.Ay,{item:!0,xs:8},o.createElement(u.A,{variant:"h3",mb:1},t("label")),o.createElement(u.A,{variant:"body1",color:"text.secondary"},t("description")," ")),o.createElement(c.Ay,{item:!0,xs:2},o.createElement(l.A,{control:o.createElement(s.A,{color:"error",checked:n,onChange:p}),labelPlacement:"start"})),n&&o.createElement(c.Ay,{item:!0,xs:2},o.createElement(h.A,null)))}h=(p.then?(await p)():p)[0],n()}catch(g){n(g)}}))},9076:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(63534);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.pinedTabsAsIcons"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons}})),r=e.updateSetting,f=e.PinnedTabsAsIcons,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("PinnedTabsAsIcons",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"PinnedTabsAsIcons",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},93907:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(63534);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.showFullUrl"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,showFullUrl:t.settings.showFullUrl}})),r=e.updateSetting,f=e.showFullUrl,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("showFullUrl",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"showFullUrl",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},79952:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(63534);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.hoverPreview"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable}})),r=e.updateSetting,f=e.tabPreviewEnable,y=function(){var t,e=(t=h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabPreviewEnable",e.target.checked);case 2:return t.next=4,(0,s.U)("update_setting",{key:"tabPreviewEnable",value:e.target.checked});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:f,onChange:y}),labelPlacement:"start"})))}},50262:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(40715),l=r(56238),s=r(20859),f=r(63534),h=r(26565);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}function m(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.previewWithThumbnail"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewImage:t.settings.tabPreviewImage}})),r=e.updateSetting,p=e.tabPreviewEnable,v=e.tabPreviewImage,m=function(){var e=d(y().mark((function e(n){var o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(o=n.target.checked)){e.next=5;break}chrome.permissions.contains({origins:[""]},function(){var e=d(y().mark((function e(n){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}chrome.permissions.request({origins:[""]},function(){var e=d(y().mark((function e(n){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=8;break}return e.next=3,r("tabPreviewImage",!1);case 3:return e.next=5,(0,f.U)("update_setting",{key:"tabPreviewImage",value:!1});case 5:h.oR.error(t("deniedMessage")),e.next=12;break;case 8:return e.next=10,r("tabPreviewImage",!0);case 10:return e.next=12,(0,f.U)("update_setting",{key:"tabPreviewImage",value:!0});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8;break;case 4:return e.next=6,r("tabPreviewImage",o);case 6:return e.next=8,(0,f.U)("update_setting",{key:"tabPreviewImage",value:o});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=9;break;case 5:return e.next=7,r("tabPreviewImage",n.target.checked);case 7:return e.next=9,(0,f.U)("update_setting",{key:"tabPreviewImage",value:n.target.checked});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{control:n.createElement(l.A,{color:"error",checked:v&&p,onChange:m}),labelPlacement:"start"})),n.createElement(a.Ay,{item:!0,xs:12},n.createElement(s.A,{severity:"warning"},n.createElement(c.A,{component:"p"},t("alert")," "))))}},45575:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(30758),o=r(26166),i=r(39969),a=r(64364),c=r(64858),u=r(76392),l=r(59290),s=r(68752),f=r(63534);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==h(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(){var t=(0,i.W)("options",{keyPrefix:"settings.tabs.previewDelay"}).t,e=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds}})),r=e.updateSetting,h=e.tabPreviewEnable,v=e.tabPreviewWaitSeconds,d=function(){var t,e=(t=p().mark((function t(e){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r("tabPreviewWaitSeconds",e.target.value);case 2:return t.next=4,(0,f.U)("update_setting",{key:"tabPreviewWaitSeconds",value:e.target.value});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return n.createElement(a.Ay,{container:!0,alignItems:"center"},n.createElement(a.Ay,{item:!0,xs:8},n.createElement(c.A,{variant:"h3",mb:1},t("label")),n.createElement(c.A,{variant:"body2",color:"text.secondary"},t("description")," ")),n.createElement(a.Ay,{item:!0,xs:4},n.createElement(u.A,{sx:{m:1,width:"100px"},variant:"outlined"},n.createElement(l.A,{disabled:!h,value:v,type:"text",endAdornment:n.createElement(s.A,{position:"end"},t("seconds")),"aria-describedby":"",onChange:d}))))}},70605:(t,e,r)=>{"use strict";r.d(e,{A:()=>O});var n=r(30758),o=r(39969),i=r(64364),a=r(64858),c=r(63606),u=r(68688),l=r(99552),s=r(17116),f=r(58459),h=r(82794),p=r(91686),y=r(73923),v=r(38743),d=r(4880),m=r(76740),g=r(26166),b=r(63534),w=r(6487);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function E(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(w=A);var k=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==x(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function L(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>j});var n=r(30758),o=r(39969),i=r(64364),a=r(64858),c=r(63606),u=r(68688),l=r(99552),s=r(17116),f=r(58459),h=r(82794),p=r(91686),y=r(73923),v=r(38743),d=r(4880),m=r(76740),g=r(26166),b=r(63534),w=r(29394);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function E(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(w=A);var k=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==x(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function L(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(30758),o=r(64364),i=r(64858),a=r(14447),c=r(59234),u=r(26166),l=r(27055),s=r(15370),f=r(39969),h=r(63534);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&n.call(A,a)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==p(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(){var t=(0,f.W)("options",{keyPrefix:"settings.tabs.listView"}).t,e=(0,u.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view}})),r=e.updateSetting,p=e.view,d=function(){var t,e=(t=y().mark((function t(e,n){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=5;break}return t.next=3,r("view",n);case 3:return t.next=5,(0,h.U)("update_setting",{key:"view",value:n});case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();return n.createElement(o.Ay,{container:!0,alignItems:"center"},n.createElement(o.Ay,{item:!0,xs:8},n.createElement(i.A,{variant:"h3",mb:1},t("label")),n.createElement(i.A,{variant:"body1",color:"text.secondary"},t("description")," ")),n.createElement(o.Ay,{item:!0,xs:4},n.createElement(a.A,{size:"small",value:p,exclusive:!0},n.createElement(c.A,{value:"list",onClick:d},n.createElement(l.A,null),n.createElement(i.A,{variant:"body1"},t("compact"))),n.createElement(c.A,{value:"visual",onClick:d},n.createElement(s.A,null),n.createElement(i.A,{variant:"body1"},t("visual"))))))}},87508:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>k});var o=r(30758),i=r(63606),a=r(64364),c=r(64858),u=r(58459),l=r(39718),s=r(32894),f=r(39969),h=r(99177),p=r(9076),y=r(21182),v=r(79952),d=r(50262),m=r(45575),g=r(70605),b=r(34423),w=r(11326),x=r(59553),E=r(93907),L=r(69455),A=t([L]);function k(){var t=(0,f.W)("options",{keyPrefix:"settings"}).t;return o.createElement(i.A,null,o.createElement(a.Ay,{container:!0,alignItems:"center",mb:5},o.createElement(a.Ay,{item:!0,xs:8},o.createElement(c.A,{variant:"h1"},t("modules.tabs"))),o.createElement(a.Ay,{item:!0,xs:4},o.createElement(u.A,{color:"error",onClick:function(){(0,w.DT)()}},t("resetCurrentPageSettings")))),o.createElement(l.A,{spacing:2,divider:o.createElement(s.A,{orientation:"horizontal",flexItem:!0})},o.createElement(h.A,null),o.createElement(g.A,null),o.createElement(b.A,null),o.createElement(E.A,null),o.createElement(x.A,null),o.createElement(p.A,null),o.createElement(L.A,null),o.createElement(y.A,null),o.createElement(v.A,null),o.createElement(d.A,null),o.createElement(m.A,null)))}L=(A.then?(await A)():A)[0],n()}catch(S){n(S)}}))},7155:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});var n=r(30758),o=r(26166),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)}},39969:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(84480),i=r(80973),a=r(26166),c=r(63534);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},37132:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(30758);const o=function(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px"},n.createElement("defs",null,n.createElement("linearGradient",{id:"gold-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%"},n.createElement("stop",{offset:"0%",style:{stopColor:"#FFD700",stopOpacity:1}}),n.createElement("stop",{offset:"100%",style:{stopColor:"#FF8C00",stopOpacity:1}}))),n.createElement("path",{fill:"url(#gold-gradient)",d:"m387-412 35-114-92-74h114l36-112 36 112h114l-93 74 35 114-92-71-93 71ZM240-40v-309q-38-42-59-96t-21-115q0-134 93-227t227-93q134 0 227 93t93 227q0 61-21 115t-59 96v309l-240-80-240 80Zm240-280q100 0 170-70t70-170q0-100-70-170t-170-70q-100 0-170 70t-70 170q0 100 70 170t170 70ZM320-159l160-41 160 41v-124q-35 20-75.5 31.5T480-240q-44 0-84.5-11.5T320-283v124Zm160-62Z"}))}},77667:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(63606),o=r(40222),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},97399:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(38962),o=r(67478),i=r(94094),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},98258:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(m=l(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},i=r,(o=f(o=e))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,i}),t,this)}))),function(t,e){return m.apply(this,arguments)})},{key:"get",value:(d=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"getOrSet",value:(v=l(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return v.apply(this,arguments)})},{key:"remove",value:(y=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return y.apply(this,arguments)})},{key:"delete",value:(p=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"clear",value:(h=l(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"prune",value:(u=l(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return u.apply(this,arguments)})},{key:"keys",value:(a=l(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"whereIn",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return o.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,o,a,u,h,p,y,v,d,m}();const y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(h.has(t))return h.get(t);var e=new p(t);return h.set(t,e),e}},26157:(t,e,r)=>{"use strict";r.d(e,{FQ:()=>a,ql:()=>i,u0:()=>c});var n=r(42444),o={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},i=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],a=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,n.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.hex,i/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(o.hex,i),", ").concat((0,n.E2)(o.hex,i/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.hex,i/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.complementary,i),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.analogous[0],i),", ").concat((0,n.E2)(t.analogous[1],i),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.triadic[0],i),", ").concat((0,n.E2)(t.triadic[1],i),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,n.E2)(t.hex,i),", ").concat((0,n.E2)(t.tetradic[0],i),",").concat((0,n.E2)(t.tetradic[1],i),", ").concat((0,n.E2)(t.tetradic[2],i),")")}return a},c=i.filter((function(t){return t.color!==t.tabGroupColor}));i.filter((function(t){return t.color===t.tabGroupColor}))},69100:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&i.call(A,u)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,sc:()=>u})},42444:(t,e,r)=>{"use strict";function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,A=L&&L(L(G([])));A&&A!==r&&i.call(A,u)&&(E=A);var k=x.prototype=b.prototype=Object.create(E);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(n,a,c,u){var l=p(t[n],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==o(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var n;a(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{AY:()=>a,E2:()=>c,Qr:()=>s,Wj:()=>p,_K:()=>l,fL:()=>f,kU:()=>u});var a=function(t){return/^(http:\/\/|https:\/\/).*$/.test(t)};function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}function u(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var l=function(t){var e=new Date(t);if(isNaN(e))return"";var r=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),i=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),c=String(e.getSeconds()).padStart(2,"0");return"".concat(r,"-").concat(n,"-").concat(o," ").concat(i,":").concat(a,":").concat(c)};function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function f(t){return h.apply(this,arguments)}function h(){var t;return t=n().mark((function t(e){var r,o,i,a,c;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(o=t.sent,i=new DOMParser,a=i.parseFromString(o,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),h=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))},h.apply(this,arguments)}var p=function(t){try{return decodeURIComponent(t)}catch(e){return t}}},80973:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h,HK:()=>l});var n=r(70804),o=r(84480),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._db=null,this._cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this._ensureDbConnection();case 5:return t.next=7,this._db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return A.apply(this,arguments)})},{key:"get",value:(L=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return L.apply(this,arguments)})},{key:"getOrSet",value:(E=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return E.apply(this,arguments)})},{key:"remove",value:(x=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return x.apply(this,arguments)})},{key:"delete",value:(w=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return w.apply(this,arguments)})},{key:"prune",value:(b=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return b.apply(this,arguments)})},{key:"clear",value:(g=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return g.apply(this,arguments)})},{key:"keys",value:(m=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return m.apply(this,arguments)})},{key:"length",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return d.apply(this,arguments)})},{key:"whereIn",value:(v=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return v.apply(this,arguments)})},{key:"all",value:(y=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return y.apply(this,arguments)})},{key:"batchSet",value:(p=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return u.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],o=[{key:"create",value:(a=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})}],r&&f(e.prototype,r),o&&f(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,A,k,S,j}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},96033:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":51742,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":43878,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},u={};function l(t){var e=u[t];if(void 0!==e)return e.exports;var r=u[t]={exports:{}};return c[t].call(r.exports,r,r.exports,l),r.exports}l.m=c,t="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},l.a=(o,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=o.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[e]=h,p[t]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),o.exports=p,i((o=>{var i;u=(o=>o.map((o=>{if(null!==o&&"object"==typeof o){if(o[t])return o;if(o.then){var i=[];i.d=0,o.then((t=>{a[e]=t,n(i)}),(t=>{a[r]=t,n(i)}));var a={};return a[t]=t=>t(i),a}}var c={};return c[t]=t=>{},c[e]=o,c})))(o);var a=()=>u.map((t=>{if(t[r])throw t[r];return t[e]})),l=new Promise((e=>{(i=()=>e(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((e=>e[t](r)))}));return i.r?l:a()}),(t=>(t?s(p[r]=t):l(h),n(c)))),c&&c.d<0&&(c.d=0)},o=[],l.O=(t,e,r,n)=>{if(!e){var i=1/0;for(s=0;s=n)&&Object.keys(l.O).every((t=>l.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&o[s-1][2]>n;s--)o[s]=o[s-1];o[s]=[e,r,n]},l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},a=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,l.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);l.r(r);var n={};i=i||[null,a({}),a([]),a(a)];for(var o=2&e&&t;"object"==typeof o&&!~i.indexOf(o);o=a(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,l.d(r,n),r},l.d=(t,e)=>{for(var r in e)l.o(e,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.j=575,(()=>{var t={575:0};l.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)l.o(a,n)&&(l.m[n]=a[n]);if(c)var s=c(l)}for(e&&e(r);ul(77219)));s=l.O(s)})(); //# sourceMappingURL=options.js.map \ No newline at end of file diff --git a/build/popup.js b/build/popup.js index 75525ae..674c19d 100644 --- a/build/popup.js +++ b/build/popup.js @@ -1,4 +1,4 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="af16c5e1-80f5-4856-9172-ea515d433482",t._sentryDebugIdIdentifier="sentry-dbid-af16c5e1-80f5-4856-9172-ea515d433482")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{var e,r,n,o,i,a,c,u={1084:(t,e,r)=>{"use strict";r.d(e,{BW:()=>u,UN:()=>f,Y_:()=>a,Yv:()=>h,Zw:()=>c,gh:()=>o,kQ:()=>l,oK:()=>n,sj:()=>s,te:()=>i});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center "},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center "},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center "},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center "},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center "},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center "},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center "},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center "},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center "},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center "},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center "},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center "},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center "},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center "},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center "},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center "},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center "},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center "},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"center "},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"center "}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"flex-start"},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:0,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=(chrome.runtime.getURL("images/bg.jpg"),{fontScale:.75,fontWeight:600,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"}),a={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},s={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},f={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},h={rememberSiteZoom:!0}},8926:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}r.d(e,{Ng:()=>h,UT:()=>s,d4:()=>p,rE:()=>y,x$:()=>f});var s=function(){return"readingList"in chrome},f=function(){var t=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.addEntry({hasBeenRead:!1,title:e.title,url:e.url});case 5:return t.abrupt("return",!0);case 8:t.prev=8,t.t0=t.catch(2);case 11:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",[]);case 2:return t.prev=2,t.next=5,chrome.readingList.query({});case 5:return e=t.sent,t.abrupt("return",e.sort((function(t,e){return e.creationTime-t.creationTime})));case 9:return t.prev=9,t.t0=t.catch(2),t.abrupt("return",[]);case 13:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.removeEntry({url:e});case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=l(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.updateEntry(i({url:e},r));case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e,r){return t.apply(this,arguments)}}()},86670:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},67744:(t,e,r)=>{"use strict";r.d(e,{D1:()=>G,EL:()=>k,I7:()=>j,Mt:()=>N,Z7:()=>P,_D:()=>F,bw:()=>O,e6:()=>L,vf:()=>C,xn:()=>T});var n=r(94252),o=r(8148),i=r(54098),a=r(5708),c=r(11094),u=r(50637),l=r(73356),s=r(51742),f=r(86670);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||g(t,e)||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 y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))}}function L(){return S.apply(this,arguments)}function S(){return(S=E(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({active:!0,url:["http://*/*","https://*/*"]});case 2:return e=t.sent,r=e[0],t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var j=function(){var t=E(w().mark((function t(e,r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,i.A)("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:a.D3.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return a.D3.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){(0,i.A)("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();function O(){return A.apply(this,arguments)}function A(){return(A=E(w().mark((function t(){var e,r,n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={active:!0,lastFocusedWindow:!0},t.next=3,chrome.tabs.query(e);case 3:return r=t.sent,n=p(r,1),o=n[0],t.abrupt("return",o);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var k=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,P(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:a.D3.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,(0,o.A)(I,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),_=new Set,P=function(){var t=E(w().mark((function t(e){var r,n;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.add(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(m(r),[e]),t.next=10,(0,i.A)("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!_.has(e)){t.next=2;break}return t.abrupt("return",!0);case 2:return t.next=4,(0,i.A)("session").get("tabRemoveList");case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=[];case 7:return t.t0.forEach((function(t){return _.add(t)})),t.abrupt("return",_.has(e));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=E(w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.delete(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,(0,i.A)("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=function(t){var e=v({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),o=r.hostname,i=r.origin;return e.hostname=o,e.origin=i,e.hostname=(0,n.AY)(e.url)?o:e.url,e.tabId=t.id,e.color=u.u0[t.id%u.u0.length],e},N=function(){var t=E(w().mark((function t(e){var r,o,i,a,u,l;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=c.Zz.getState().settings,o=r.tabPreviewEnable,i=r.tabPreviewImage,o&&i){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if((0,n.AY)(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((u=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(u.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return l=t.sent,t.abrupt("return",l);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),G=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.cE)("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,a.Kn)(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return i=t.sent,t.next=18,s.D.getState().getSiteConfig(new URL(i.url).hostname);case 18:if(!1!==(null==(c=t.sent)?void 0:c.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,(0,f.h)(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),F=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,(0,a.r4)(e,"pipMap",v(v({},o),{},d({},r,n)));case 6:return t.next=8,D(e,"pipSupport");case 8:return i=t.sent,t.next=11,(0,a.r4)(e,"pipSupport",i);case 11:return t.next=13,D(e,"pipOn");case 13:return c=t.sent,t.next=16,(0,a.r4)(e,"pipOn",c);case 16:return t.abrupt("return",{pipMap:o,pipSupport:i,pipOn:c});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),D=function(){var t=E(w().mark((function t(e,r){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=w().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},48367:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{u:()=>c});var a=null,c=function(){var t,e=(t=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return t.prev=2,t.next=5,chrome.windows.getCurrent();case 5:a=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}()},97773:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>j,O4:()=>E,vx:()=>S});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(78698),u=r(40875),l=r(40492),s=r(50637);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t)||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 p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))}}var w=function(){var t=b(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),x=new Map,E=(0,a.h)((0,n.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(i=b(m().mark((function e(){var r,n,i,a,c,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,i=void 0===n?3:n,e.next=10,w();case 10:return a=e.sent,e.next=13,a.all();case 13:c=e.sent,u=c.filter((function(t){return t.closed_time>=Date.now()-1e3*i*60*60*24})),t({histories:u,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),addHistory:(n=b(m().mark((function e(r){var n,i,a,u,f,p,y;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,o.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,i=n.tabIntoHistoryNeedAliveSeconds,!(Date.now(){"use strict";r.d(e,{W:()=>f});var n=r(39897),o=r(30554),i=r(63413),a=r(91278);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e{"use strict";r.d(e,{s:()=>c});var n=r(39897),o=r(30554),i=r(63413),a=r(91278),c=(0,i.h)((0,a.eh)((0,n.D)((function(t){return{waitForSelectTab:!1,selectedTabIds:[],popupPanelActived:!1,setWaitForSelectTab:function(e){t((function(t){t.waitForSelectTab=e,e||(t.selectedTabIds=[])}))},setSelectedTabIds:function(e){return t((function(t){t.selectedTabIds=e}))},addSelectedTabId:function(e){t((function(t){t.selectedTabIds.push(e)}))},deleteSelectedTabId:function(e){t((function(t){t.selectedTabIds=t.selectedTabIds.filter((function(t){return t!==e})),0===t.selectedTabIds.length&&(t.waitForSelectTab=!1)}))}}})),o.x))},51742:(t,e,r)=>{"use strict";r.d(e,{D:()=>g});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},93919:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>L,CM:()=>E,Gr:()=>x});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x)),x=((0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),E=function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.remove("cachedWindows");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const L=w},5708:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>G,D3:()=>O,H8:()=>k,Kn:()=>T,nw:()=>N,r4:()=>_});var n=r(39897),o=r(73356),i=r(67744),a=r(30554),c=r(63413),u=r(91278),l=r(39392),s=r(61530),f=r(78698),h=r(94252);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var S=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),j=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),O=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return I(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),_(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,P(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},closeGroup:function(e){t((function(t){return{groups:t.groups.filter((function(t){return t.groupId!==e}))}}))},initQuickAccess:(o=L(x().mark((function e(){var r,n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,j();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:if(n=e.sent){e.next=14;break}return e.next=10,r.all();case 10:return o=e.sent,n=o.map(function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.uuid){t.next=4;break}return t.next=3,r.delete(e.uuid);case 3:return t.abrupt("return",b(b({},e),{},{id:e.uuid}));case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e.next=14,r.set("quickAccess",n);case 14:i=(0,s.A)(n,"sortIndex"),t({quickAccess:i}),Date.now();case 18:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=12;break}return r.prev=2,r.next=5,(0,h.fL)(o.url);case 5:o.favIconUrl=r.sent,r.next=12;break;case 8:r.prev=8,r.t0=r.catch(2),o.favIconUrl=(0,h.Qr)(o.url);case 12:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=18,j();case 18:return y=r.sent,r.next=21,y.set("quickAccess",e().quickAccess);case 21:case"end":return r.stop()}}),r,null,[[2,8]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,j();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),A=new Map,k=function(){var t=L(x().mark((function t(e){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},A.set("tabid_".concat(e),r),t.next=4,S();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,S();case 3:if(o=t.sent,t.t1=A.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),A.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A.delete("tabid_".concat(e)),t.next=3,S();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=L(x().mark((function t(e,r){var n,o;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(n=t.sent,t.t0=A.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),I=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(r=t.sent,t.t1=A.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=null,N=function(){return C||(C=new IntersectionObserver((function(t){var e,r=y(t);try{for(r.s();!(e=r.n()).done;){var n=e.value;O.setState({isActiveTabIntersecting:n.isIntersecting})}}catch(t){r.e(t)}finally{r.f()}}),{threshold:.5}))};const G=O},11094:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m});var n=r(39897),o=r(73356),i=r(63413),a=r(30554),c=r(1084);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>d});var n=r(64946),o=r(54098),i=r(40492),a=r(70369);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,v();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},77405:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(71393),i=r(62398),a=r(49673),c=r(26565),u=(r(94045),r(71331)),l=r(11094),s=r(39191);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(51742).D.getState().loadSiteConfigs()},5711:(t,e,r)=>{"use strict";r.d(e,{c:()=>l});var n=r(50637),o=r(94252),i=r(11094),a=r(40492);function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=i.Ay.getState().settings,u=r.theme,l=r.colorfulBackground,s=r.listBottomBorder,f=r.listBackgroundAlpha,h=r.listBackgroundStyle,p=r.view,y=r.fontScale,v=r.fontColor,d=Math.floor(("visual"===p?6:4)*y),m=n.u0[isNaN(t)?(0,a.QR)(t)%n.u0.length:t%n.u0.length]||n.dw,g=c(h.split("|")),b=g[0],w=g[1],x=(0,n.FQ)(m,b,w,f);return{width:"100%",display:"flex",paddingTop:"".concat(d,"px"),paddingBottom:"".concat(d,"px"),flexDirection:"column",borderBottomStyle:s,borderBottomWidth:"1px",borderBottomColor:(0,o.E2)(m.hex,.5),background:x,mixBlendMode:"dark"===u?"difference":"normal",color:v||"text.primary",opacity:e?.6:1,"&:hover":{background:l?(0,o.E2)(m.hex,.25):"dark"===u?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:l?(0,o.E2)(m.hex,"dark"===u?.3:.15):"dark"===u?"#4a4a4a":"#eee",zIndex:1,color:v||"text.primary"}}}},43925:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(421),i=r(67463),a=r(77678),c=r(25790),u=(r(68964),r(77405)),l=r(11094),s=r(46369);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(){var t=(0,s.W)("options",{keyPrefix:"settings.appearance.extAction"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,clickExtensionIconAction:t.settings.clickExtensionIconAction}})),r=e.updateSetting,f=(e.clickExtensionIconAction,function(){var t,e=(t=h().mark((function t(e,n){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=16;break}return t.next=3,r("clickExtensionIconAction",n);case 3:if("openSidePanel"!==n){t.next=9;break}if(!("sidePanel"in chrome)){t.next=7;break}return t.next=7,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){}));case 7:t.next=15;break;case 9:if(!("sidePanel"in chrome)){t.next=12;break}return t.next=12,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!1}).catch((function(t){}));case 12:if("openPopup"!==n){t.next=15;break}return t.next=15,chrome.action.setPopup({popup:"popup.html"});case 15:setTimeout((function(){window.close()}),500);case 16:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}());return n.createElement(u.A,null,n.createElement(o.Ay,{container:!0,justifyContent:"space-around",alignItems:"center",sx:{width:"280px",height:"180px"}},n.createElement(o.Ay,{item:!0,xs:12,p:3},n.createElement(i.A,{variant:"h2",textAlign:"center"},t("label"))),n.createElement(a.A,null),n.createElement(o.Ay,{item:!0},n.createElement(c.A,{variant:"contained",onClick:function(t){return f(t,"openSidePanel")}},n.createElement(i.A,{variant:"body1"},t("openSidePanel")))),n.createElement(o.Ay,{item:!0,justifyContent:"center"},n.createElement(c.A,{variant:"contained",onClick:function(t){return f(t,"openPopup")}},n.createElement(i.A,{variant:"body1"},t("openPopup"))))))}},79649:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>c});var o=r(30758),i=r(23249),a=t([i]);function c(){return o.createElement(i.A,null)}i=(a.then?(await a)():a)[0],n()}catch(u){n(u)}}))},48491:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(63803),a=r(77),c=r(77405),u=r(79649),l=r(75285),s=(r(14852),r(43925)),f=r(3632),h=r(46369),p=r(76051),y=t([u]);u=(y.then?(await y)():y)[0],(0,f.ig)();var v=document.getElementById("root"),d=(0,o.H)(v);(0,l.ae)(document.body,{scrollbars:{autoHide:"scroll"}}),d.render(n.createElement(f.WP,null,n.createElement(p.Z,null,n.createElement(h.D,null,n.createElement(c.A,null,n.createElement(i.I9,null,n.createElement(a.BV,null,n.createElement(a.qh,{exact:!0,path:"/",element:n.createElement(u.A,null)}),n.createElement(a.qh,{exact:!0,path:"/clickIcon",element:n.createElement(s.A,null)})))))))),e()}catch(t){e(t)}}))},76051:(t,e,r)=>{"use strict";r.d(e,{M:()=>c,Z:()=>a});var n=r(30758),o=r(11094),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)},c=function(){var t=(0,n.useContext)(i);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t}},46369:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(68964),i=r(55469),a=r(11094),c=r(86670);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},44723:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(81191),o=r(30758),i=r(11094);const a=(0,o.memo)((function(){var t=(0,i.Ay)((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,a=t.background,c=t.backgroundImageUrl,u=t.backgroundImageFade,l=t.backgroundImageBlur,s=t.backgroundImageBrightness;return r?o.createElement(n.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||c?"":a}},o.createElement(n.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(c,")"),filter:c?"blur(".concat(l,"px) brightness(").concat(s,") opacity(").concat("light"===e?u:.75*u,")"):"none"}})):null}))},23249:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>_});var o=r(30758),i=r(81191),a=r(77678),c=r(75285),u=r(85007),l=r(42051),s=r(97737),f=r(11094),h=r(5708),p=r(44723),y=r(92987),v=r(78795),d=r(20976),m=r(29711),g=(r(46369),r(94252)),b=(r(51742),r(69549)),w=r(82376),x=r(55410),E=t([s]);function S(){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 j(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>_o});var n=r(30758),o=r(11094),i=r(81191),a=r(37749),c=r(5708),u=r(71331),l=r(60824),s=r(43044),f=r(98054),h=r(29738),p=r(77678),y=r(17283),v=r(11374),d=r(14397),m=r(8794),g=r(14805),b=r(67744),w=r(5711),x=r(72047),E=r(86670),L=r(51742),S=r(39392),j=r(76051),O=r(37281),A=r(67463),k=r(99967),_=r(44235),P=r(46369),T=r(94252),I=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,title:n.createElement(A.A,null,o(r))},n.createElement(k.A,{onClick:function(){(0,T.SH)()},sx:{padding:"4px",color:"inherit"}},n.createElement(_.A,{size:"small"})))};const C=(0,n.memo)(I);var N=r(70546);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var M=function(t){var e=t.tabId,r=(0,P.W)().t,o=(0,j.M)(),i=function(){var t,r=(t=F().mark((function t(r){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.stopPropagation(),t.next=3,(0,b.EL)(e);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.closeTab")),"aria-label":r("tabMenu.closeTab")},n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:o.AlwaysShowCloseButton?"flex":"none"},onClick:i},n.createElement(N.A,{size:"small"})))};const W=(0,n.memo)(M);var B=r(68202),q=function(t){var e=t.url,r=(0,j.M)(),o=r.theme,i=r.fontWeight,a=r.fontColor,c={whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:i-200<=0?100:i-200,color:"dark"===o?"text.secondary":a||"text.secondary",opacity:.75};return n.createElement(A.A,{variant:"h5",color:"text.secondary",sx:c},(0,T.Wj)(e))};const R=(0,n.memo)(q);var U=function(t){var e=t.title,r=t.url,o=t.hostname,a=t.lastAccessed,c=(0,j.M)(),u=c.view,l=c.theme,s=c.fontWeight,f=c.fontColor,h=c.showFullUrl;return o=o||(0,T.Hs)(r),n.createElement(i.A,{sx:{minWidth:0,flex:1}},n.createElement(A.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"5px",paddingBottom:"5px",fontWeight:s,color:"dark"===l?"text.primary":f||"text.primary"}},e),"visual"===u&&n.createElement(n.Fragment,null,h?n.createElement(R,{url:r}):n.createElement(B.A,{hostname:o,lastAccessed:a})))};const Y=(0,n.memo)(U);var Z=r(59769),H=r(63564);const z=function(t){var e=t.title,r=t.url,o=t.thumbnail,i=t.lastAccessed,a=t.children,c=(0,j.M)(),u=c.tabPreviewEnable,l=c.tabPreviewWaitSeconds;return n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(l),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:u?n.createElement(H.A,{title:e,thumbnail:o,url:r,lastAccessed:i}):""},a)};var Q=r(12619),$=r(50637),K=r(34049),X=r(58283),V=r(93431),J=function(t){var e=t.tabId,r=(0,P.W)().t,a=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),u=a.theme,l=a.fontColor,s=(0,c.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname})),f=(0,o.Ay)((function(t){return t.settings.readingProgressBar&&t.settings.enableProgressBar})),h=(0,L.D)((function(t){var e=t.sites.find((function(t){return t.hostname===s}));return!1!==(null==e?void 0:e.readingProgressBar)&&f})),p=(0,K.W)((function(t){var r;return null===(r=t.readingProgress.find((function(t){return t.tabId===e})))||void 0===r?void 0:r.progress}))||0,y=$.ql[e%$.ql.length];if(!h||p<=0)return null;"0px 0px 0px 8px ".concat("dark"===u?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)");return n.createElement(i.A,{sx:{width:"100%",display:"block"}},n.createElement(i.A,{sx:{display:"flex",alignItems:"center"}},n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("ScrollToTop"))},n.createElement(k.A,{sx:{marginLeft:"5px",padding:"5px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_top")}},n.createElement(X.A,{size:"small"}))),n.createElement(i.A,{sx:{width:"100%",mx:1}},n.createElement(Q.A,{sx:{color:l||"text.primary",height:"1px","& .MuiLinearProgress-bar":{background:y.hex}},variant:"determinate",value:p})),n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("ScrollToBottom"))},n.createElement(k.A,{sx:{padding:"4px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_bottom")}},n.createElement(V.A,{size:"small"}))),n.createElement(i.A,{sx:{minWidth:"40px"}},n.createElement(A.A,{variant:"subtitle2",sx:{color:l||"text.primary"}},"".concat(p,"%")))))};const tt=(0,n.memo)(J);var et=r(35841);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const it=(0,n.memo)((function(t){var e=t.tabId,r=(0,P.W)().t,o=function(){var t,r=(t=nt().mark((function t(r){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.UnpinTab"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(et.A,{size:"small"})))}));var at=r(85666),ct=function(t){var e=t.tabId,r=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.ExitPip"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"switch_pip")}},n.createElement(at.A,{sx:{fontSize:"1rem",color:"inherit"}})))};const ut=(0,n.memo)(ct);var lt=r(25594),st=r(57333),ft=r(50549),ht=r(41679),pt=r(70369);function yt(t){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(t)}function vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r100||r<0||v(r+"%")},onChange:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),pt.L.set("playing_progress_bar_locked_".concat(e),u.currentTime),l(e,dt(dt({},u),{},{volume:r})))}(t,r)},onChangeCommitted:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),pt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"volume_change",{value:r}))}(t,r)},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat(Math.floor(100*t),"%")},sx:dt({padding:0,width:"1px",height:"120px"},g)}))))};const xt=(0,n.memo)(wt);function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function Lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function St(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rs.duration?s.duration-3:s.currentTime+5;(0,E.h)(e,"video_jump_to_time",{value:r})}}),{enableOnFormTags:["TEXTAREA","INPUT"]});var h={color:a||"text.primary","& .MuiSlider-thumb":{width:6,height:6,transition:"0.3s cubic-bezier(.47,1.64,.41,.8)","&::before":{boxShadow:"0 2px 12px 0 rgba(0,0,0,0.4)"},"&:hover, &.Mui-focusVisible":{boxShadow:"0px 0px 0px 8px ".concat("dark"===i?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)")},"&.Mui-active":{width:8,height:8}},"& .MuiSlider-rail":{opacity:.28}};return n.createElement(O.A,{placement:"top",title:n.createElement(A.A,null,u),followCursor:!0},n.createElement(st.Ay,{value:s?s.currentTime:0,"aria-label":"time-indicator",size:"small",min:0,step:1,max:s?s.duration:0,onMouseMove:function(t){if(s){var e=t.currentTarget.getBoundingClientRect(),r=t.clientX-Math.floor(e.left);r<0||l((0,T.a3)(r/e.width*s.duration,s.duration))}},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat((0,T.a3)(t,s?s.duration:0))},onChange:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),pt.L.set("playing_progress_bar_locked_".concat(e),r),f(e,It(It({},s),{},{currentTime:r})))},onChangeCommitted:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),pt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"video_jump_to_time",{value:r}))},sx:It({height:"1px"},h)}))};const Dt=(0,n.memo)(Ft);var Mt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?{currentTime:r.currentTime,duration:r.duration}:{currentTime:0,duration:0}})),a=o.currentTime,c=o.duration;return n.createElement(i.A,{component:"div"},n.createElement(A.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat((0,T.a3)(a,c))))};const Wt=(0,n.memo)(Mt);var Bt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?r.duration:null}));return n.createElement(i.A,{component:"div"},n.createElement(A.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat(null===o?"∞":(0,T.a3)(o,o))))};const qt=(0,n.memo)(Bt);var Rt=r(57797),Ut=r(90856),Yt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return null==r?void 0:r.paused}));return n.createElement(k.A,{sx:{padding:"5px",color:r||"text.primary"},onClick:o?function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"play_video")}:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"pause_video")}},o?n.createElement(Rt.A,null):n.createElement(Ut.A,null))};const Zt=(0,n.memo)(Yt);function Ht(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return zt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zt(t,e):void 0}}(t,e)||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 zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var oe=function(t){var e=t.tabId,r=t.muted,o=(0,P.W)().t,i=function(){var t,n=(t=re().mark((function t(n){return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ne(i,n,o,a,c,"next",t)}function c(t){ne(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:i},r?n.createElement(ft.A,{size:"small"}):n.createElement(ht.A,{size:"small"})))};const ie=(0,n.memo)(oe);var ae=r(90630),ce=function(){var t=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,open:!0,title:t("SwitchToTab")},n.createElement(ae.A,{size:"small"}))};const ue=(0,n.memo)(ce);var le=r(50123),se=r(30254),fe=r(98890),he=r(23355),pe=r(65395),ye=r(1251),ve=r(26565),de=r(8926);function me(t){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(t)}function ge(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return be(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?be(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function be(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function xe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ee(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xe(i,n,o,a,c,"next",t)}function c(t){xe(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Le=(0,n.forwardRef)((function(t,e){var r=t.handleMenuClose,a=(0,P.W)().t,u=(0,x.s)((function(t){return{setWaitForSelectTab:t.setWaitForSelectTab,selectedTabIds:t.selectedTabIds,setSelectedTabIds:t.setSelectedTabIds}})),l=u.setWaitForSelectTab,s=u.selectedTabIds,f=u.setSelectedTabIds,h=(0,o.Zz)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),p=h.theme,y=h.onlyCurrentWindowTabs,v=(0,c.D3)((function(t){return t.currentWindow})),d=function(){f([]),l(!1),r()},m=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:s});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("close_other_tabs",{tabIds:s,windowId:y?v.id:0});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t=Ee(we().mark((function t(){var e,r,n;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=ge(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.reload(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(s),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:s},(function(t){var e=a("tabMenu.UntitledGroup"),r=(0,$.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Ee(we().mark((function t(){var e,r,n,o;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),r=ge(e),t.prev=2,r.s();case 4:if((n=r.n()).done){t.next=10;break}return o=n.value,t.next=8,(0,de.x$)(o);case 8:t.next=4;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),r.e(t.t0);case 15:return t.prev=15,r.f(),t.finish(15);case 18:ve.oR.success(a("tabMenu.AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:p,autoClose:1500}),d();case 20:case"end":return t.stop()}}),t,null,[[2,12,15,18]])})));return function(){return t.apply(this,arguments)}}(),j=function(){var t=Ee(we().mark((function t(){var e,r,n;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=ge(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.discard(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),k=[{onClick:m,icon:n.createElement(N.A,null),text:a("tabMenu.closeTab")},{onClick:g,text:a("tabMenu.CloseOtherTabs"),inset:!0},{onClick:b,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"}))),text:a("tabMenu.Reload")},{onClick:j,icon:n.createElement(Ut.A,null),text:n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,a("tabMenu.DiscardTabDesc"))},n.createElement(A.A,{variant:"body1"},a("tabMenu.DiscardTab",{count:s.length})))},(0,de.UT)()&&{onClick:S,icon:n.createElement(ye.A,null),text:a("tabMenu.AddToReadingList")},{onClick:L,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"}))),text:a("tabMenu.AddTabToNewGroup")},{onClick:w,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"}))),text:a("tabMenu.RemoveFromGroup")}].filter(Boolean);return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},k.map((function(t,e){return n.createElement(fe.A,{key:e,onClick:t.onClick},t.icon&&n.createElement(he.A,null,t.icon),n.createElement(pe.A,{inset:t.inset},n.createElement(A.A,{variant:"body1"},t.text)))}))))}));const Se=Le;var je=r(95776);function Oe(t){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oe(t)}var Ae=["tabId"];function ke(){return ke=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ce(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ge(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ge(t,e):void 0}}(t,e)||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 Ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{var e,r,n,o,i,a,c,u={11804:(t,e,r)=>{"use strict";r.d(e,{BW:()=>u,UN:()=>f,Y_:()=>a,Yv:()=>h,Zw:()=>c,ee:()=>p,gh:()=>o,kQ:()=>l,oK:()=>n,sj:()=>s,te:()=>i});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showTabNavs:!1,tabNavOptions:{delimiter:!1,navs:[{id:1,name:"OpenTabs",enable:!0,sort:1,showCount:!0,align:"center"},{id:2,name:"bookmarks",enable:!0,sort:2,showCount:!0,align:"center",permission:"bookmarks"},{id:3,name:"history",enable:!1,sort:3,showCount:!0,days:1,align:"center",permission:"history"},{id:4,name:"RecentlyTabs",enable:!1,sort:4,showCount:!0,days:1,align:"center"},{id:5,name:"quickAccess",enable:!1,sort:5,showCount:!0,align:"center"},{id:6,name:"readingList",enable:!1,sort:6,showCount:!0,align:"center",permission:"readingList"}]},showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center"},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center"},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center"},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center"},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center"},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center"},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center"}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:1,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=(chrome.runtime.getURL("images/bg.jpg"),{fontScale:.75,fontWeight:400,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"}),a={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},s={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},f={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},h={rememberSiteZoom:!0},p={bookmarkViewMode:"tree",bookmarkHideEmptyFolders:!1,bookmarkSortOrder:"default",bookmarkExpandAll:!1,bookmarkTreeConnectorLines:!0,bookmarkShowUrl:!1}},46654:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}r.d(e,{Ng:()=>h,d4:()=>p,rE:()=>y,x$:()=>f});var s=function(){return"readingList"in chrome},f=function(){var t=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(r=chrome.readingList)||void 0===r?void 0:r.addEntry({hasBeenRead:!1,title:e.title,url:e.url});case 5:return t.abrupt("return",!0);case 8:t.prev=8,t.t0=t.catch(2);case 11:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=l(c().mark((function t(){var e,r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",[]);case 2:return t.prev=2,t.next=5,null===(e=chrome.readingList)||void 0===e?void 0:e.query({});case 5:return r=t.sent,t.abrupt("return",r.sort((function(t,e){return e.creationTime-t.creationTime})));case 9:return t.prev=9,t.t0=t.catch(2),t.abrupt("return",[]);case 13:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(r=chrome.readingList)||void 0===r?void 0:r.removeEntry({url:e});case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=l(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(n=chrome.readingList)||void 0===n?void 0:n.updateEntry(i({url:e},r));case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e,r){return t.apply(this,arguments)}}()},63534:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},24032:(t,e,r)=>{"use strict";r.d(e,{D1:()=>G,EL:()=>O,I7:()=>A,Mt:()=>N,Z7:()=>P,_D:()=>F,bw:()=>k,e6:()=>L,vf:()=>C,xn:()=>T});var n=r(42444),o=r(8148),i=r(98258),a=r(23436),c=r(26166),u=r(26157),l=r(95532),s=r(20574),f=r(63534);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||g(t,e)||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 y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))}}function L(){return S.apply(this,arguments)}function S(){return(S=E(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({active:!0,url:["http://*/*","https://*/*"]});case 2:return e=t.sent,r=e[0],t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var A=function(){var t=E(w().mark((function t(e,r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,i.A)("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:a.D3.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return a.D3.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){(0,i.A)("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();function k(){return j.apply(this,arguments)}function j(){return(j=E(w().mark((function t(){var e,r,n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={active:!0,lastFocusedWindow:!0},t.next=3,chrome.tabs.query(e);case 3:return r=t.sent,n=p(r,1),o=n[0],t.abrupt("return",o);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var O=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,P(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:a.D3.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,(0,o.A)(I,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),_=new Set,P=function(){var t=E(w().mark((function t(e){var r,n;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.add(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(m(r),[e]),t.next=10,(0,i.A)("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!_.has(e)){t.next=2;break}return t.abrupt("return",!0);case 2:return t.next=4,(0,i.A)("session").get("tabRemoveList");case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=[];case 7:return t.t0.forEach((function(t){return _.add(t)})),t.abrupt("return",_.has(e));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=E(w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.delete(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,(0,i.A)("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=function(t){var e=v({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),o=r.hostname,i=r.origin;return e.hostname=o,e.origin=i,e.hostname=(0,n.AY)(e.url)?o:e.url,e.tabId=t.id,e.color=u.u0[t.id%u.u0.length],e},N=function(){var t=E(w().mark((function t(e){var r,o,i,a,u,l;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=c.Zz.getState().settings,o=r.tabPreviewEnable,i=r.tabPreviewImage,o&&i){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if((0,n.AY)(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((u=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(u.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return l=t.sent,t.abrupt("return",l);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),G=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.cE)("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,a.Kn)(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return i=t.sent,t.next=18,s.D.getState().getSiteConfig(new URL(i.url).hostname);case 18:if(!1!==(null==(c=t.sent)?void 0:c.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,(0,f.h)(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),F=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,(0,a.r4)(e,"pipMap",v(v({},o),{},d({},r,n)));case 6:return t.next=8,D(e,"pipSupport");case 8:return i=t.sent,t.next=11,(0,a.r4)(e,"pipSupport",i);case 11:return t.next=13,D(e,"pipOn");case 13:return c=t.sent,t.next=16,(0,a.r4)(e,"pipOn",c);case 16:return t.abrupt("return",{pipMap:o,pipSupport:i,pipOn:c});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),D=function(){var t=E(w().mark((function t(e,r){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=w().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},15375:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{u:()=>c});var a=null,c=function(){var t,e=(t=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return t.prev=2,t.next=5,chrome.windows.getCurrent();case 5:a=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}()},7379:(t,e,r)=>{"use strict";r.d(e,{l:()=>g,u:()=>m});var n=r(32762),o=r(42935),i=r(72832),a=r(71905);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(t)||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 f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0;t.forEach((function(t){e.push(p(p({},t),{},{level:n})),t.children&&r(t.children,n+1)}))};return r(t),e},m=(0,i.h)((0,a.eh)((0,n.D)((function(t,e){return{searchQuery:"",bookmarksCount:0,bookmarksStatus:[],bookmarkTree:[],bookmarks:[],bookmarkStoreInitialized:!1,setBookmarkSearchQuery:function(e){t({searchQuery:e})},setBookmarksStatus:function(e,r){e&&r&&(r=p(p({},r),{},{id:e}),t((function(t){var n=t.bookmarksStatus.findIndex((function(t){return t.id===e}));if(-1!==n){var o=s(t.bookmarksStatus);return o[n]=p(p({},o[n]),r),{bookmarksStatus:o}}return{bookmarksStatus:[].concat(s(t.bookmarksStatus),[r])}})))},loadBookmarks:(r=u().mark((function e(){var r,n,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,null===(r=chrome.bookmarks)||void 0===r?void 0:r.getTree();case 3:n=e.sent,o=(null==n?void 0:n[0].children)||[],t({bookmarkTree:o,bookmarks:d(o),bookmarksCount:v(o),bookmarkStoreInitialized:!0});case 6:case"end":return e.stop()}}),e)})),n=function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})};var r,n}))),o.x),g=function(){var t,e,r,n,o,i=function(){m.getState().loadBookmarks()};return null===(t=chrome.bookmarks)||void 0===t||t.onChanged.addListener(i),null===(e=chrome.bookmarks)||void 0===e||e.onChildrenReordered.addListener(i),null===(r=chrome.bookmarks)||void 0===r||r.onCreated.addListener(i),null===(n=chrome.bookmarks)||void 0===n||n.onMoved.addListener(i),null===(o=chrome.bookmarks)||void 0===o||o.onRemoved.addListener(i),function(){var t,e,r,n,o;null===(t=chrome.bookmarks)||void 0===t||t.onChanged.removeListener(i),null===(e=chrome.bookmarks)||void 0===e||e.onChildrenReordered.removeListener(i),null===(r=chrome.bookmarks)||void 0===r||r.onCreated.removeListener(i),null===(n=chrome.bookmarks)||void 0===n||n.onMoved.removeListener(i),null===(o=chrome.bookmarks)||void 0===o||o.onRemoved.removeListener(i)}}},71341:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>j,O4:()=>S,vx:()=>k});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(78698),u=r(40875),l=r(69100),s=r(26157);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t)||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 p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))}}var w,x,E=function(){var t=b(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=new Map,S=(0,a.h)((0,n.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(i=b(m().mark((function e(){var r,n,i,a,c,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,i=void 0===n?3:n,e.next=10,E();case 10:return a=e.sent,e.next=13,a.all();case 13:c=e.sent,u=c.filter((function(t){return t.closed_time>=Date.now()-1e3*i*60*60*24})),t({histories:u,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),addHistory:(n=b(m().mark((function e(r){var n,i,a,u,f,p,y;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,o.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,i=n.tabIntoHistoryNeedAliveSeconds,!(Date.now(){"use strict";r.d(e,{W:()=>f});var n=r(32762),o=r(42935),i=r(72832),a=r(71905);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e{"use strict";r.d(e,{s:()=>c});var n=r(32762),o=r(42935),i=r(72832),a=r(71905),c=(0,i.h)((0,a.eh)((0,n.D)((function(t){return{waitForSelectTab:!1,selectedTabIds:[],popupPanelActived:!1,setWaitForSelectTab:function(e){t((function(t){t.waitForSelectTab=e,e||(t.selectedTabIds=[])}))},setSelectedTabIds:function(e){return t((function(t){t.selectedTabIds=e}))},addSelectedTabId:function(e){t((function(t){t.selectedTabIds.push(e)}))},deleteSelectedTabId:function(e){t((function(t){t.selectedTabIds=t.selectedTabIds.filter((function(t){return t!==e})),0===t.selectedTabIds.length&&(t.waitForSelectTab=!1)}))}}})),o.x))},20574:(t,e,r)=>{"use strict";r.d(e,{D:()=>g});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},16383:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>L,CM:()=>E,Gr:()=>x});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x)),x=((0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),E=function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.remove("cachedWindows");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const L=w},23436:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>G,D3:()=>k,H8:()=>O,Kn:()=>T,nw:()=>N,r4:()=>_});var n=r(32762),o=r(95532),i=r(24032),a=r(42935),c=r(72832),u=r(71905),l=r(39392),s=r(61530),f=r(78698),h=r(42444);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var S=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),k=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return I(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),_(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,P(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},initQuickAccess:(o=L(x().mark((function e(){var r,n,o;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,A();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:n=e.sent,o=(0,s.A)(n,"sortIndex"),t({quickAccess:o}),Date.now();case 11:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=16;break}if(!o.url.startsWith("http")){r.next=15;break}return r.prev=3,r.next=6,(0,h.fL)(o.url);case 6:o.favIconUrl=r.sent,r.next=13;break;case 9:r.prev=9,r.t0=r.catch(3),o.favIconUrl=(0,h.Qr)(o.url);case 13:r.next=16;break;case 15:o.favIconUrl=(0,h.Qr)(o.url);case 16:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=22,A();case 22:return y=r.sent,r.next=25,y.set("quickAccess",e().quickAccess);case 25:case"end":return r.stop()}}),r,null,[[3,9]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,A();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),j=new Map,O=function(){var t=L(x().mark((function t(e){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},j.set("tabid_".concat(e),r),t.next=4,S();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,S();case 3:if(o=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),j.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return j.delete("tabid_".concat(e)),t.next=3,S();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=L(x().mark((function t(e,r){var n,o;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(n=t.sent,t.t0=j.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),I=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(r=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=null,N=function(){return C||(C=new IntersectionObserver((function(t){var e,r=y(t);try{for(r.s();!(e=r.n()).done;){var n=e.value;k.setState({isActiveTabIntersecting:n.isIntersecting})}}catch(t){r.e(t)}finally{r.f()}}),{threshold:.5}))};const G=k},26166:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m});var n=r(32762),o=r(95532),i=r(72832),a=r(42935),c=r(11804);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>d});var n=r(52850),o=r(98258),i=r(69100),a=r(96033);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,v();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},25725:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(20678),i=r(89797),a=r(45007),c=r(26565),u=(r(99212),r(77667)),l=r(26166),s=r(97399);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(20574).D.getState().loadSiteConfigs()},85455:(t,e,r)=>{"use strict";r.d(e,{c:()=>l});var n=r(26157),o=r(42444),i=r(26166),a=r(69100);function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=i.Ay.getState().settings,u=r.theme,l=r.colorfulBackground,s=r.listBottomBorder,f=r.listBackgroundAlpha,h=r.listBackgroundStyle,p=r.view,y=r.fontScale,v=r.fontColor,d=Math.floor(("visual"===p?6:4)*y),m=n.u0[isNaN(t)?(0,a.QR)(t)%n.u0.length:t%n.u0.length]||n.dw,g=c(h.split("|")),b=g[0],w=g[1],x=(0,n.FQ)(m,b,w,f);return{width:"100%",display:"flex",paddingTop:"".concat(d,"px"),paddingBottom:"".concat(d,"px"),flexDirection:"column",borderBottomStyle:s,borderBottomWidth:"1px",borderBottomColor:(0,o.E2)(m.hex,.5),background:x,mixBlendMode:"dark"===u?"difference":"normal",color:v||"text.primary",opacity:e?.6:1,"&:hover":{background:l?(0,o.E2)(m.hex,.25):"dark"===u?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:l?(0,o.E2)(m.hex,"dark"===u?.3:.15):"dark"===u?"#4a4a4a":"#eee",zIndex:1,color:v||"text.primary"}}}},10261:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(30758),o=r(64364),i=r(64858),a=r(32894),c=r(58459),u=(r(84480),r(25725)),l=r(26166),s=r(63534),f=r(39969);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==h(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(){var t=(0,f.W)("options",{keyPrefix:"settings.appearance.extAction"}).t,e=(0,l.Zz)((function(t){return{updateSetting:t.updateSetting,clickExtensionIconAction:t.settings.clickExtensionIconAction}})),r=e.updateSetting,h=(e.clickExtensionIconAction,function(){var t,e=(t=p().mark((function t(e,n){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=20;break}return t.next=3,r("clickExtensionIconAction",n);case 3:if("openSidePanel"!==n){t.next=11;break}if(!("sidePanel"in chrome)){t.next=9;break}return t.next=7,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!0}).catch((function(t){}));case 7:return t.next=9,(0,s.U)("open_sidepanel");case 9:t.next=19;break;case 11:if(!("sidePanel"in chrome)){t.next=14;break}return t.next=14,chrome.sidePanel.setPanelBehavior({openPanelOnActionClick:!1}).catch((function(t){}));case 14:if("openPopup"!==n){t.next=17;break}return t.next=17,chrome.action.setPopup({popup:"popup.html"});case 17:return t.next=19,(0,s.U)("open_popup");case 19:setTimeout((function(){window.close()}),500);case 20:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}());return n.createElement(u.A,null,n.createElement(o.Ay,{container:!0,justifyContent:"space-around",alignItems:"center",sx:{width:"280px",height:"180px"}},n.createElement(o.Ay,{item:!0,xs:12,p:3},n.createElement(i.A,{variant:"h2",textAlign:"center"},t("label"))),n.createElement(a.A,null),n.createElement(o.Ay,{item:!0},n.createElement(c.A,{variant:"contained",onClick:function(t){return h(t,"openSidePanel")}},n.createElement(i.A,{variant:"body1"},t("openSidePanel")))),n.createElement(o.Ay,{item:!0,justifyContent:"center"},n.createElement(c.A,{variant:"contained",onClick:function(t){return h(t,"openPopup")}},n.createElement(i.A,{variant:"body1"},t("openPopup"))))))}},65633:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>c});var o=r(30758),i=r(93009),a=t([i]);function c(){return o.createElement(i.A,null)}i=(a.then?(await a)():a)[0],n()}catch(u){n(u)}}))},64395:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(16578),a=r(44286),c=r(25725),u=r(65633),l=r(75285),s=(r(88045),r(10261)),f=r(73392),h=r(39969),p=r(7155),y=t([u]);u=(y.then?(await y)():y)[0],(0,f.ig)();var v=document.getElementById("root"),d=(0,o.H)(v);(0,l.ae)(document.body,{scrollbars:{autoHide:"scroll"}}),d.render(n.createElement(f.WP,null,n.createElement(p.Z,null,n.createElement(h.D,null,n.createElement(c.A,null,n.createElement(i.I9,null,n.createElement(a.BV,null,n.createElement(a.qh,{exact:!0,path:"/",element:n.createElement(u.A,null)}),n.createElement(a.qh,{exact:!0,path:"/clickIcon",element:n.createElement(s.A,null)})))))))),e()}catch(t){e(t)}}))},519:(t,e,r)=>{"use strict";r(30758)},23188:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(30758);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{M:()=>c,Z:()=>a});var n=r(30758),o=r(26166),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)},c=function(){var t=(0,n.useContext)(i);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t}},39969:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(84480),i=r(80973),a=r(26166),c=r(63534);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},90387:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(63606),o=r(30758),i=r(26166);const a=(0,o.memo)((function(){var t=(0,i.Ay)((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,a=t.background,c=t.backgroundImageUrl,u=t.backgroundImageFade,l=t.backgroundImageBlur,s=t.backgroundImageBrightness;return r?o.createElement(n.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||c?"":a}},o.createElement(n.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(c,")"),filter:c?"blur(".concat(l,"px) brightness(").concat(s,") opacity(").concat("light"===e?u:.75*u,")"):"none"}})):null}))},93009:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>P});var o=r(30758),i=r(63606),a=r(32894),c=r(75285),u=r(56527),l=r(20912),s=r(85993),f=r(26166),h=r(23436),p=r(90387),y=r(33362),v=r(64848),d=r(57199),m=(r(39969),r(42444)),g=(r(20574),r(66853)),b=r(33557),w=r(40146),x=r(68351),E=r(7379),L=t([s]);function A(){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 k(t,e){if(t){if("string"==typeof t)return j(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(t,e):void 0}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>Mo});var n=r(30758),o=r(26166),i=r(63606),a=r(42132),c=r(23436),u=r(77667),l=r(98840),s=r(32453),f=r(39718),h=r(80323),p=r(32894),y=r(91686),v=r(65684),d=r(8011),m=r(86376),g=r(51678),b=r(24032),w=r(85455),x=r(6767),E=r(63534),L=r(20574),S=r(39392),A=r(7155),k=r(17116),j=r(64858),O=r(82794),_=r(80801),P=r(39969),T=r(42444),I=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,title:n.createElement(j.A,null,o(r))},n.createElement(O.A,{onClick:function(){(0,T.SH)()},sx:{padding:"4px",color:"inherit"}},n.createElement(_.A,{size:"small"})))};const C=(0,n.memo)(I);var N=r(62128);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var W=function(t){var e=t.tabId,r=(0,P.W)().t,o=(0,A.M)(),i=function(){var t,r=(t=F().mark((function t(r){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.stopPropagation(),t.next=3,(0,b.EL)(e);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.closeTab")),"aria-label":r("tabMenu.closeTab")},n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:o.AlwaysShowCloseButton?"flex":"none"},onClick:i},n.createElement(N.A,{size:"small"})))};const M=(0,n.memo)(W);var B=r(52074),q=r(14622),U=function(t){var e=t.url,r=t.searchText,o=t.WebkitLineClamp,i=void 0===o?2:o,a=(0,A.M)(),c=a.theme,u=a.fontWeight,l=a.fontColor,s={whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:i,WebkitBoxOrient:"vertical",fontWeight:u-200<=0?100:u-200,color:"dark"===c?"text.secondary":l||"text.secondary",opacity:.3};return n.createElement(j.A,{variant:"h5",color:"text.secondary",sx:s},n.createElement(q.A,{text:(0,T.Wj)(e),searchText:r}))};const R=(0,n.memo)(U);var Z=function(t){var e=t.title,r=t.url,a=t.hostname,c=t.lastAccessed,u=(0,o.Ay)((function(t){return{view:t.settings.view,theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor,showFullUrl:t.settings.showFullUrl,searchText:t.searchText}})),l=u.view,s=u.theme,f=u.fontWeight,h=u.fontColor,p=u.showFullUrl,y=u.searchText;return a=a||(0,T.Hs)(r),n.createElement(i.A,{sx:{minWidth:0,flex:1}},n.createElement(j.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"4px",paddingBottom:"4px",fontWeight:f,color:"dark"===s?"text.primary":h||"text.primary"}},n.createElement(q.A,{text:e,searchText:y})),"list"===l&&y&&n.createElement(R,{url:r,searchText:y,WebkitLineClamp:1}),"visual"===l&&n.createElement(i.A,null,p?n.createElement(R,{url:r}):n.createElement(B.A,{hostname:a,lastAccessed:c})))};const Y=(0,n.memo)(Z);var H=r(80985),z=r(15948);const Q=function(t){var e=t.title,r=t.url,o=t.thumbnail,i=t.lastAccessed,a=t.children,c=(0,A.M)(),u=c.tabPreviewEnable,l=c.tabPreviewWaitSeconds;return n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(l),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:u?n.createElement(z.A,{title:e,thumbnail:o,url:r,lastAccessed:i}):""},a)};var $=r(60880),K=r(26157),V=r(36161),X=r(99013),J=r(83029),tt=function(t){var e=t.tabId,r=(0,P.W)().t,a=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),u=a.theme,l=a.fontColor,s=(0,c.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname})),f=(0,o.Ay)((function(t){return t.settings.readingProgressBar&&t.settings.enableProgressBar})),h=(0,L.D)((function(t){var e=t.sites.find((function(t){return t.hostname===s}));return!1!==(null==e?void 0:e.readingProgressBar)&&f})),p=(0,V.W)((function(t){var r;return null===(r=t.readingProgress.find((function(t){return t.tabId===e})))||void 0===r?void 0:r.progress}))||0,y=K.ql[e%K.ql.length];if(!h||p<=0)return null;"0px 0px 0px 8px ".concat("dark"===u?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)");return n.createElement(i.A,{sx:{width:"100%",display:"block"}},n.createElement(i.A,{sx:{display:"flex",alignItems:"center"}},n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("ScrollToTop"))},n.createElement(O.A,{sx:{marginLeft:"5px",padding:"5px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_top")}},n.createElement(X.A,{size:"small"}))),n.createElement(i.A,{sx:{width:"100%",mx:1}},n.createElement($.A,{sx:{color:l||"text.primary",height:"1px","& .MuiLinearProgress-bar":{background:y.hex}},variant:"determinate",value:p})),n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("ScrollToBottom"))},n.createElement(O.A,{sx:{padding:"4px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_bottom")}},n.createElement(J.A,{size:"small"}))),n.createElement(i.A,{sx:{minWidth:"40px"}},n.createElement(j.A,{variant:"subtitle2",sx:{color:l||"text.primary"}},"".concat(p,"%")))))};const et=(0,n.memo)(tt);var rt=r(87331);function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function ot(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==nt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function it(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const at=(0,n.memo)((function(t){var e=t.tabId,r=(0,P.W)().t,o=function(){var t,r=(t=ot().mark((function t(r){return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){it(i,n,o,a,c,"next",t)}function c(t){it(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.UnpinTab"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(rt.A,{size:"small"})))}));var ct=r(80328),ut=function(t){var e=t.tabId,r=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.ExitPip"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"switch_pip")}},n.createElement(ct.A,{sx:{fontSize:"1rem",color:"inherit"}})))};const lt=(0,n.memo)(ut);var st=r(89823),ft=r(49268),ht=r(81275),pt=r(38253),yt=r(96033);function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r100||r<0||v(r+"%")},onChange:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),yt.L.set("playing_progress_bar_locked_".concat(e),u.currentTime),l(e,mt(mt({},u),{},{volume:r})))}(t,r)},onChangeCommitted:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),yt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"volume_change",{value:r}))}(t,r)},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat(Math.floor(100*t),"%")},sx:mt({padding:0,width:"1px",height:"120px"},g)}))))};const Et=(0,n.memo)(xt);function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rs.duration?s.duration-3:s.currentTime+5;(0,E.h)(e,"video_jump_to_time",{value:r})}}),{enableOnFormTags:["TEXTAREA","INPUT"]});var h={color:a||"text.primary","& .MuiSlider-thumb":{width:6,height:6,transition:"0.3s cubic-bezier(.47,1.64,.41,.8)","&::before":{boxShadow:"0 2px 12px 0 rgba(0,0,0,0.4)"},"&:hover, &.Mui-focusVisible":{boxShadow:"0px 0px 0px 8px ".concat("dark"===i?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)")},"&.Mui-active":{width:8,height:8}},"& .MuiSlider-rail":{opacity:.28}};return n.createElement(k.A,{placement:"top",title:n.createElement(j.A,null,u),followCursor:!0},n.createElement(ft.Ay,{value:s?s.currentTime:0,"aria-label":"time-indicator",size:"small",min:0,step:1,max:s?s.duration:0,onMouseMove:function(t){if(s){var e=t.currentTarget.getBoundingClientRect(),r=t.clientX-Math.floor(e.left);r<0||l((0,T.a3)(r/e.width*s.duration,s.duration))}},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat((0,T.a3)(t,s?s.duration:0))},onChange:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),yt.L.set("playing_progress_bar_locked_".concat(e),r),f(e,Ct(Ct({},s),{},{currentTime:r})))},onChangeCommitted:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),yt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"video_jump_to_time",{value:r}))},sx:Ct({height:"1px"},h)}))};const Wt=(0,n.memo)(Dt);var Mt=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?{currentTime:r.currentTime,duration:r.duration}:{currentTime:0,duration:0}})),a=o.currentTime,c=o.duration;return n.createElement(i.A,{component:"div"},n.createElement(j.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat((0,T.a3)(a,c))))};const Bt=(0,n.memo)(Mt);var qt=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?r.duration:null}));return n.createElement(i.A,{component:"div"},n.createElement(j.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat(null===o?"∞":(0,T.a3)(o,o))))};const Ut=(0,n.memo)(qt);var Rt=r(6799),Zt=r(54638),Yt=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return null==r?void 0:r.paused}));return n.createElement(O.A,{sx:{padding:"5px",color:r||"text.primary"},onClick:o?function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"play_video")}:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"pause_video")}},o?n.createElement(Rt.A,null):n.createElement(Zt.A,null))};const Ht=(0,n.memo)(Yt);function zt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Qt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qt(t,e):void 0}}(t,e)||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 Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function oe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ie=function(t){var e=t.tabId,r=t.muted,o=(0,P.W)().t,i=function(){var t,n=(t=ne().mark((function t(n){return ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){oe(i,n,o,a,c,"next",t)}function c(t){oe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:i},r?n.createElement(ht.A,{size:"small"}):n.createElement(pt.A,{size:"small"})))};const ae=(0,n.memo)(ie);var ce=r(20824),ue=function(){var t=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,open:!0,title:t("SwitchToTab")},n.createElement(ce.A,{size:"small"}))};const le=(0,n.memo)(ue);var se=r(73923),fe=r(38743),he=r(4880),pe=r(76740),ye=r(38954),ve=r(99701),de=r(26565),me=r(46654),ge=r(10799),be=r(20258),we=r(94512),xe=r(76392),Ee=r(64468),Le=r(58459),Se=r(31454),Ae=r(73914),ke=r(49226),je=r(13387);function Oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_e(t,e):void 0}}(t,e)||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 _e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ge(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Fe(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ge(i,n,o,a,c,"next",t)}function c(t){Ge(i,n,o,a,c,"throw",t)}a(void 0)}))}}var De=(0,n.forwardRef)((function(t,e){var r=t.handleMenuClose,a=(0,P.W)().t,u=(0,x.s)((function(t){return{setWaitForSelectTab:t.setWaitForSelectTab,selectedTabIds:t.selectedTabIds,setSelectedTabIds:t.setSelectedTabIds}})),l=u.setWaitForSelectTab,s=u.selectedTabIds,f=u.setSelectedTabIds,h=(0,o.Zz)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),p=h.theme,y=h.onlyCurrentWindowTabs,v=(0,c.D3)((function(t){return t.currentWindow})),d=function(){f([]),l(!1),r()},m=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:s});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("close_other_tabs",{tabIds:s,windowId:y?v.id:0});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t=Fe(Ne().mark((function t(){var e,r,n;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ie(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.reload(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(s),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=function(){var t=Fe(Ne().mark((function t(){var e,r,n,o;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),r=Ie(e),t.prev=2,r.s();case 4:if((n=r.n()).done){t.next=10;break}return o=n.value,t.next=8,(0,me.x$)(o);case 8:t.next=4;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),r.e(t.t0);case 15:return t.prev=15,r.f(),t.finish(15);case 18:de.oR.success(a("tabMenu.AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:p,autoClose:1500}),d();case 20:case"end":return t.stop()}}),t,null,[[2,12,15,18]])})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Fe(Ne().mark((function t(){var e,r,n;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ie(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.discard(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),A=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),O=A.every((function(t){return-1===t.groupId}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{onClick:m},n.createElement(he.A,null,n.createElement(N.A,null)),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.closeTab")))),n.createElement(fe.A,{onClick:g},n.createElement(pe.A,{inset:!0},n.createElement(j.A,{variant:"body1"},a("tabMenu.CloseOtherTabs")))),n.createElement(fe.A,{onClick:b},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.Reload")))),n.createElement(fe.A,{onClick:S},n.createElement(he.A,null,n.createElement(Zt.A,null)),n.createElement(pe.A,null,n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,a("tabMenu.DiscardTabDesc"))},n.createElement(j.A,{variant:"body1"},a("tabMenu.DiscardTab",{count:s.length}))))),n.createElement(ge.A,{permissionName:"readingList"},n.createElement(fe.A,{onClick:L},n.createElement(he.A,null,n.createElement(ve.A,null)),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.AddToReadingList"))))),n.createElement(Pe,null),!O&&n.createElement(fe.A,{onClick:w},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.RemoveFromGroup"))))))}));const We=De;var Me=r(46225);function Be(t){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Be(t)}var qe=["tabId"];function Ue(){return Ue=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ze(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}}(t,e)||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 $e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ye(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ze(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ye(i,n,o,a,c,"next",t)}function c(t){Ye(i,n,o,a,c,"throw",t)}a(void 0)}))}}const He=(0,n.forwardRef)((function(t,e){var r=t.group,o=t.onSelect,a=(0,P.W)().t,c=(qe().setMenuTarget,(0,L.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===r.title})),setSiteConfig:t.setSiteConfig}}))),u=c.siteConfig,l=c.setSiteConfig,s=function(){var t=Ze(Ue().mark((function t(e){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l(r.title,{color:e});case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=Ze(Ue().mark((function t(){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=Ze(Ue().mark((function t(){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("add_tabs_to_group",{title:r.title,color:r.color.tabGroupColor,tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=$.RY.map((function(t){return n.createElement(k.A,{key:t.color,onClick:function(){return s(t.color)}},(null==u?void 0:u.color)===t.color?n.createElement(De.A,{sx:{color:t.hex,fontSize:"18px"}}):n.createElement(Me.A,{sx:{color:t.hex,fontSize:"18px"}}))}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,null,p),n.createElement(fe.A,{onClick:h},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},a("groupMenu.AddTabsToChromeGroups")))),n.createElement(fe.A,{onClick:f},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},a("groupMenu.RemoveAllTabsFromGroup"))))))}));var ze=r(40492),Qe=r(53661),$e=r(25790),Ke=r(20395),Xe=r(37893),Ve=r(23269);function Je(){return Je=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _r(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){kr(i,n,o,a,c,"next",t)}function c(t){kr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Pr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r-1?(l(u.id,{title:t,color:n}),chrome.tabGroups.update(u.id,{title:t,color:n})):chrome.tabs.query({windowType:"normal",groupId:-1}).then((function(e){chrome.tabs.group({tabIds:e.map((function(t){return t.id}))}).then((function(e){l(e,{title:t,color:n}),chrome.tabGroups.update(e,{title:t,color:n})}))})),"function"==typeof r&&r()},y=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id>0&&(0,E.U)("chrome_delete_group",{groupId:u.id}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("chrome_ungroup",{groupId:u.id}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("move_group_to_new_window",{groupId:u.id,moveProperties:{index:-1}}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return e<=0?null:n.createElement(i.A,null,n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{sx:{height:"50px","&:hover":{backgroundColor:"transparent"}}},n.createElement(xr.A,{fullWidth:!0,variant:"outlined"},n.createElement(Er.A,{htmlFor:"rename-group-name-input"},o("groupMenu.RenameGroup")),n.createElement(Lr.A,{id:"rename-group-name-input",fullWidth:!0,value:f.groupName,variant:"outlined",onChange:function(t){return h((function(e){return Tr(Tr({},e),{},{groupName:t.target.value})}))},endAdornment:n.createElement(Sr.A,{position:"end"},n.createElement(k.A,{edge:"end",onClick:function(){return p(f.groupName,f.colorSelected)}},n.createElement(jr.A,null)))}))),n.createElement(fe.A,null,$.RY.map((function(t){return n.createElement(k.A,{key:t.color,onClick:function(){return p(f.groupName,t.color)}},f.colorSelected===t.color?n.createElement(De.A,{sx:{color:t.hex,fontSize:"22px"}}):n.createElement(Me.A,{sx:{color:t.hex,fontSize:"22px"}}))}))),n.createElement(fe.A,{onClick:d},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-96h72v96h480v-408H312v96h-72v-168q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm348-264-51-51 69-69H240v-72h294l-69-69 51-51 156 156-156 156Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.MoveToNewWindow")))),n.createElement(fe.A,{onClick:v},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m339-288-51-51 191-190H313v-72h288v288h-72v-166L339-288Zm405-192v-264H480v-72h336v336h-72ZM216-144q-29.7 0-50.85-21.15Q144-186.3 144-216v-600h72v600h600v72H216Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.Ungroup")))),n.createElement(fe.A,{onClick:y},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.DeleteGroup"))))))};const Fr=(0,n.memo)(Gr);function Dr(t){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dr(t)}function Mr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Mr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Dr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Wr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Br(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qr(t,e):void 0}}(t,e)||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 qr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)try{chrome.tabGroups.get(e).then((function(t){t&&g(t.id,t)}))}catch(t){b(e)}}),[m,e,g,b]);var w=(0,c.D3)((function(t){var e;return null===(e=t.groups)||void 0===e?void 0:e.length}))||0,x=-1===e?{id:-1,title:v("Ungrouped"),color:$.RY[w%$.RY.length].color}:function(t){for(var e=1;e-1?t.groupId===e:-1===t.groupId}))})),G=(0,T.Lq)(N,L,S,j).map((function(t){return t.id})),F=Br((0,n.useState)(!x.collapsed),2),D=F[0],M=F[1],W=Br((0,n.useState)(null),2),B=W[0],q=W[1],R=Br((0,n.useState)(null),2),U=R[0],Y=R[1];(0,n.useEffect)((function(){return M(!x.collapsed),window.addEventListener("blur",Z),function(){window.removeEventListener("blur",Z)}}),[x.collapsed]);var Z=function(){q(null)},H=function(){var t,r=(t=Mr().mark((function t(r){var n;return Mr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),M(n=!D),t.prev=4,t.next=7,chrome.tabGroups.update(e,{collapsed:!n});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Wr(i,n,o,a,c,"next",t)}function c(t){Wr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}(),z=(0,$.vY)(null==x?void 0:x.color),Q=G.map((function(t){return n.createElement(br,{key:t,tabId:t})}));return 0===G.length?null:n.createElement(a.A,{key:x.id,disablePadding:!0,sx:{background:"".concat((0,ir.Mj)(z.hex).alpha(.15).toRgbString())}},n.createElement(s.Ay,{disableGutters:!0,sx:{padding:0},onClick:H,onContextMenu:function(t){e>0&&(t.preventDefault(),t.stopPropagation(),q({mouseX:t.clientX+2,mouseY:t.clientY-6}),Y(t.currentTarget))}},n.createElement(f.A,{sx:{width:"100%",paddingRight:"row"===O?"10px":void 0,paddingLeft:"row"!==O?"10px":void 0},spacing:.5,direction:O,alignItems:"center",justifyContent:"space-between"},n.createElement(i.A,{flexShrink:0},n.createElement(cr,{group:x})),n.createElement(f.A,{direction:O,alignItems:"center",justifyContent:"flex-end",sx:{flexGrow:1,minWidth:0}},!D&&A&&!u&&n.createElement(nr,{tabIds:G,max:6}),n.createElement(l.A,{showText:!1,groupId:x.id,windowId:x.windowId}))),e>0&&n.createElement(y.A,{key:"menu"+x.id,dense:"true",open:null!==B,anchorEl:U,onClose:Z,onClick:function(t){return t.stopPropagation()}},n.createElement(Fr,{key:"menu"+x.id,groupId:e,onSelect:Z}))),D&&!u&&n.createElement(h.A,{in:D,timeout:"auto"},n.createElement(p.A,null),n.createElement(a.A,{disablePadding:!0,ref:I,sx:{justifyContent:"center"}},Q)))}));const Zr=Yr;function Hr(){return Hr=Object.assign?Object.assign.bind():function(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Kr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&n.createElement(vn,{key:1,current:!1}))};const mn=(0,n.memo)(dn);var gn=r(24310),bn=function(t){var e=t.url,r=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor}})),i=r.theme,a=r.fontWeight,c=r.fontColor;return n.createElement(A.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:Math.max(100,a-200),color:"dark"===i?"text.secondary":c||"text.secondary",opacity:.75}},(0,T.Wj)(e))};const wn=(0,n.memo)(bn);var xn=r(97164),En=r.n(xn);function Ln(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Sn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sn(t,e):void 0}}(t,e)||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 Sn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Rn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Un(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Rn(i,n,o,a,c,"next",t)}function c(t){Rn(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Yn=function(t){var e=t.history,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e.urlMD5}})).keyboardSelected,E=(0,n.useRef)(null);(0,n.useEffect)((function(){x&&E.current&&E.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[x]);var L=function(){var t=Un(qn().mark((function t(){var n;return qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,gn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:e.url,active:!n});case 3:n||(d(""),0!==m&&l("activeTabIndex",0)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Un(qn().mark((function t(r){return qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),chrome.history.deleteUrl({url:e.url}),E.current.style.display="none";case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.A,{ref:E,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:L},n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Fn,{history:e}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:x,sx:(0,w.c)(e.id)},n.createElement(f.A,{sx:Wn({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(In,{avatarUrl:(0,T.Qr)(e.url)}),n.createElement(kn,{history:e}),x?n.createElement(O.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ae.A,{size:"small"}))):n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:S},n.createElement(N.A,{size:"small"})))))))};const Zn=(0,n.memo)(Yn);var Hn=r(97773);function zn(t){return zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zn(t)}function Qn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qn=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zn(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$n(i,n,o,a,c,"next",t)}function c(t){$n(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Xn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Vn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(t,e):void 0}}(t,e)||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 Vn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ao(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function co(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ao(i,n,o,a,c,"next",t)}function c(t){ao(i,n,o,a,c,"throw",t)}a(void 0)}))}}const uo=(0,n.memo)((function(t){var e=t.urlMD5,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,Hn.O4)((function(t){return{history:t.histories.find((function(t){return t.urlMD5===e})),deleteHistory:t.deleteHistory}})),E=x.deleteHistory,L=x.history,S=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e}})).keyboardSelected,j=(0,n.useRef)(null);(0,n.useEffect)((function(){S&&j.current&&j.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[S]);var A=function(){var t=co(io().mark((function t(){var e;return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,gn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:L.url,active:!e});case 3:e||(d(""),0!==m&&l("activeTabIndex",0)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),_=function(){var t=co(io().mark((function t(r){return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),E(e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return L?n.createElement(i.A,{ref:j,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:A},n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Fn,{history:L}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:S,sx:(0,w.c)(e)},n.createElement(f.A,{sx:no({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(In,{avatarUrl:L.favIconUrl||(0,T.Qr)(L.url)}),n.createElement(kn,{history:L}),S?n.createElement(O.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ae.A,{size:"small"}))):n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:_},n.createElement(N.A,{size:"small"}))))))):null}));function lo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return so(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?so(t,e):void 0}}(t,e)||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 so(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function bo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bo(i,n,o,a,c,"next",t)}function c(t){bo(i,n,o,a,c,"throw",t)}a(void 0)}))}}function xo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Eo(t,e)||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 Eo(t,e){if(t){if("string"==typeof t)return Lo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lo(t,e):void 0}}function Lo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1)){t.next=7;break}return t.next=5,chrome.tabs.group({tabIds:[e],groupId:n.groupId});case 5:t.next=9;break;case 7:return t.next=9,chrome.tabs.ungroup(e);case 9:return t.next=11,chrome.tabs.move(e,{index:n.index,windowId:n.windowId});case 11:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=wo(go().mark((function t(e,r){var n,o,i,a;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.find((function(t){return t.id===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=o.length>0?o[0]:null,!((null==i?void 0:i.index)>(null==n?void 0:n.index))){t.next=9;break}return t.next=7,chrome.tabs.move(e,{index:i.index-1,windowId:i.windowId});case 7:t.next=12;break;case 9:return a=o[o.length-1],t.next=12,chrome.tabs.move(e,{index:a.index+1,windowId:a.windowId});case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),v=function(){var t=wo(go().mark((function t(e,r){var n;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.D3.getState().tabs.find((function(t){return t.id===r})),t.next=3,chrome.tabGroups.move(e,{index:n.index});case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=wo(go().mark((function t(e,r){var n,o,i,a,u;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.filter((function(t){return t.groupId===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=Math.min.apply(Math,mo(n.map((function(t){return t.index})))),a=Math.min.apply(Math,mo(o.map((function(t){return t.index})))),u=Math.max.apply(Math,mo(o.map((function(t){return t.index})))),o[0].windowId,t.prev=6,!(i{"use strict";r.d(e,{A:()=>d});var n=r(62030),o=r(69116),i=r(421),a=r(67463),c=r(81191),u=r(73989),l=r(30758),s=r(5708),f=r(97773),h=function(t){var e=t.type,r=(0,f.O4)((function(t){return t.histories.length})),n=(0,s.D3)((function(t){return t.tabs.length})),o=0;switch(e){case"opened":o=n;break;case"history":o=r;break;default:o=0}return 0===o?null:l.createElement(a.A,{variant:"caption",sx:{border:"1px solid #ddd",borderRadius:"100%",padding:"3px"}},o>99?"99+":o)};const p=(0,l.memo)(h);r(53725);var y=r(46369),v=r(11094);function d(){var t=(0,y.W)().t,e=(0,v.Ay)((function(t){return{updateSetting:t.updateSetting,theme:t.settings.theme,fontColor:t.settings.fontColor,showTabNavs:t.settings.enableHistory&&t.settings.showHistoryTabs,activeTabIndex:t.settings.activeTabIndex,historyDataSource:t.settings.historyDataSource}})),r=e.updateSetting,s=e.theme,f=e.fontColor,h=e.showTabNavs,d=e.activeTabIndex,m=e.historyDataSource,g=function(e){switch(e){case 0:return l.createElement(i.Ay,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,color:"dark"===s?"text.primary":f||"text.primary"}},l.createElement(a.A,{variant:"h4"},t("OpenTabs")),l.createElement(p,{type:"opened"}));case 1:return l.createElement(i.Ay,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,color:"dark"===s?"text.primary":f||"text.primary"}},l.createElement(a.A,{variant:"h4"},t("chrome"===m?"history":"RecentlyTabs")))}};return l.createElement(c.A,null,h&&l.createElement(n.Ay,{value:d,sx:{borderBottom:1,borderColor:"divider"}},l.createElement(o.A,{variant:"fullWidth",onChange:function(t,e){r("activeTabIndex",e)}},l.createElement(u.A,{key:0,label:g(0),value:0}),l.createElement(u.A,{key:1,label:g(1),value:1}))))}},20976:(t,e,r)=>{"use strict";r.d(e,{A:()=>Mn});var n=r(30758),o=r(81191),i=r(77678),a=r(32185),c=r(11094),u=r(85825),l=r(67463),s=r(37281),f=r(15106),h=r(68964),p=function(t){var e=t.icon,r=t.labelKey,o=t.showLabel,i=t.handleClick,a=(0,h.Bd)().t,u=(0,c.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),p=u.theme,y=u.fontColor,v=o||!r?"":n.createElement(l.A,null,a(r));return n.createElement(s.A,{arrow:!0,title:v,placement:"top"},n.createElement(f.A,{showLabel:o,label:a(r),sx:{variant:"h4",color:"dark"===p?"text.primary":y||"text.primary",paddingX:0,paddingTop:0,minWidth:0,"& .MuiBottomNavigationAction-label":{display:o?"block":"none"}},icon:e,onClick:i}))};const y=(0,n.memo)(p);var v=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"settings"===t.name})))||void 0===e?void 0:e.showLabel)}));return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(u.A,null),labelKey:"Settings",showLabel:t,handleClick:function(){chrome.runtime.openOptionsPage()}}))};const d=(0,n.memo)(v);var m=r(98890),g=r(23355),b=r(50123),w=r(76558),x=r(73356),E=r(46369);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var j=b.prototype=m.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))}}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function W(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))}}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function K(t){var e=t.onSelect,r=(0,E.W)().t,o=function(){var t,r=(t=Q().mark((function t(r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,H.U)("sort_tabs_by_domain"),"function"==typeof e&&e();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$(i,n,o,a,c,"next",t)}function c(t){$(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:o},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M280-120 80-320l200-200 57 56-104 104h607v80H233l104 104-57 56Zm400-320-57-56 104-104H120v-80h607L623-784l57-56 200 200-200 200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("SortTabsByDomain")))}var X=r(5708);function V(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,X.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("discard_inactive_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M520-200v-560h240v560H520Zm-320 0v-560h240v560H200Zm400-80h80v-400h-80v400Zm-320 0h80v-400h-80v400Zm0-400v400-400Zm320 0v400-400Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("DiscardInactiveTabs")))}function J(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,X.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("close_all_discarded_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("CloseAllDiscardedTabs")))}var tt=r(26565),et=r(67744);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),i=o.theme,a=o.onlyCurrentWindowTabs,u=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups,currentWindow:t.currentWindow}})),s=u.loadTabs,f=u.loadGroups,h=u.currentWindow,p=function(){var t,n=(t=nt().mark((function t(){var n,o;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,X.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,H.U)("group_tabs_by_domain",{windowId:a?h.id:0});case 4:return n=t.sent,t.next=7,(0,et.e6)();case 7:if(!((o=t.sent)&&o.groupId>-1)){t.next=11;break}return t.next=11,chrome.tabGroups.update(o.groupId,{collapsed:!1});case 11:n.error&&tt.oR.error(n.error,{position:"bottom-center",theme:i}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("An error occurred while grouping tabs"),{position:"bottom-center",theme:i});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,f();case 22:return t.next=24,s();case 24:return t.finish(18);case 25:case"end":return t.stop()}}),t,null,[[0,14,18,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(m.A,{onClick:p},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-320H520v-160H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("GroupBySite")))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme}})).theme,i=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),a=i.loadTabs,u=i.loadGroups,s=function(){var t,n=(t=ct().mark((function t(n){var i;return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,X.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,H.U)("cancel_all_groups");case 4:if((i=t.sent).success){t.next=11;break}if(!Array.isArray(i.error)){t.next=10;break}throw new Error(i.error.join("\n"));case 10:throw new Error(i.error||r("Unknown error occurred"));case 11:tt.oR.success(r("All tabs have been ungrouped successfully"),{position:"bottom-center",theme:o}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("ungroupingError",{ns:"error",error:t.t0.message}),{position:"bottom-center",theme:o});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,Promise.all([u(),a()]);case 22:return t.finish(18);case 23:case"end":return t.stop()}}),t,null,[[0,14,18,23]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(m.A,{onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m348-292-56-56 172-172H320v-80h280v280h-80v-144L348-292Zm412-188v-280H480v-80h360v360h-80ZM200-120q-33 0-56.5-23.5T120-200v-640h80v640h640v80H200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("UngroupAll")))}function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ft=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==st(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ht(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ht(i,n,o,a,c,"next",t)}function c(t){ht(i,n,o,a,c,"throw",t)}a(void 0)}))}}function yt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return vt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vt(t,e):void 0}}(t,e)||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 vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=5;break}return t.next=3,chrome.tabs.remove(i);case 3:tt.oR.success("".concat(i.length," ").concat(r("DuplicateTabsRemoved")),{position:"bottom-center",theme:u,hideProgressBar:!0,autoClose:1500}),"function"==typeof e&&e();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return n.createElement(m.A,{disabled:0===i.length,onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m476-420 84-84 84 84 56-56-84-84 84-84-56-56-84 84-84-84-56 56 84 84-84 84 56 56ZM320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-480H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},i.length>0?r("RemoveDuplicateTabs",{count:i.length}):r("NoDuplicateTabs")))}function mt(t){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mt(t)}function gt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */gt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wt(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),i=function(){var t,r=(t=gt().mark((function t(){var r,n;return gt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.loadTabs,n=o.loadGroups,t.next=3,n();case 3:return t.next=5,r();case 5:"function"==typeof e&&e();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bt(i,n,o,a,c,"next",t)}function c(t){bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:i},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160v-80h110l-16-14q-52-46-73-105t-21-119q0-111 66.5-197.5T400-790v84q-72 26-116 88.5T240-478q0 45 17 87.5t53 78.5l10 10v-98h80v240H160Zm400-10v-84q72-26 116-88.5T720-482q0-45-17-87.5T650-648l-10-10v98h-80v-240h240v80H690l16 14q49 49 71.5 106.5T800-482q0 111-66.5 197.5T560-170Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("Reload")))}function xt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Et(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(t,e):void 0}}(t,e)||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 Et(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ie(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ae(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ce(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(t,e):void 0}}(t,e)||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 ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=r})).slice(0,100)).sort((function(t,e){return e.closed_time-t.closed_time})),f(n),v(!1);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ie(i,n,o,a,c,"next",t)}function c(t){ie(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();(0,n.useEffect)((function(){S()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),E.current&&E.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var j=function(){if(!m)return s;var t=m.trim().toLowerCase().split(/\s+/);return s.filter((function(e){return t.every((function(t){return e.title&&e.title.toLowerCase().includes(t)||e.url&&e.url.toLowerCase().includes(t)}))}))};return(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),x((function(t){return(t+1)%j().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),x((function(t){return(t-1+j().length)%j().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),w>=0&&wt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"",e=new Date;return e.setMonth(e.getMonth()-1),new Promise((function(r){chrome.history.search({text:t,maxResults:100,startTime:e.getTime(),endTime:Date.now()},(function(t){r(t)}))}))};(0,n.useEffect)((function(){var t=function(){var t=_e(Se().mark((function t(){var e;return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:e=t.sent,f((function(t){return Oe(Oe({},t),{},{historyItems:e,tempHistoryItems:e,isLoading:!1})}));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),p.current&&p.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var d=(0,xe.A)(function(){var t=_e(Se().mark((function t(e){var r,n,o,i,a,c;return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f((function(t){return Oe(Oe({},t),{},{isLoading:!0})})),n=e.trim().split(/\s+/),t.next=4,Promise.all(n.map((function(t){return v(t)})));case 4:o=t.sent,i=(r=[]).concat.apply(r,Le(o)),n.length,a=i.filter((function(t){var e="".concat(t.title," ").concat(t.url).toLowerCase();return n.every((function(t){return e.includes(t.toLowerCase())}))})),c=Array.from(new Set(a.map((function(t){return t.id})))).map((function(t){return a.find((function(e){return e.id===t}))})),f((function(t){return Oe(Oe({},t),{},{tempHistoryItems:c,isLoading:!1})}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),300);return(0,n.useEffect)((function(){d(s.searchTerm)}),[s.searchTerm]),(0,n.useEffect)((function(){s.isLoading||f((function(t){return Oe(Oe({},t),{},{historyItems:s.tempHistoryItems})}))}),[s.isLoading,s.tempHistoryItems]),(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),f((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex+1)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),f((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex-1+t.historyItems.length)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),s.activeIndex>=0&&s.activeIndex=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function He(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ze(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){He(i,n,o,a,c,"next",t)}function c(t){He(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}}(t,e)||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 $e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rr(i,n,o,a,c,"next",t)}function c(t){rr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function or(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ir(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ir(t,e):void 0}}(t,e)||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 ir(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0&&b=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function sr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const fr=function(t){var e=t.item,r=t.onSelect,i=t.selected,a=(0,c.Ay)((function(t){return{view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds}})),u=a.view,l=a.buttonPosition,f=a.tabPreviewEnable,h=a.tabPreviewWaitSeconds,p=(0,n.useRef)(null);(0,n.useEffect)((function(){i&&p.current&&p.current.scrollIntoView({behavior:"smooth",block:"center"})}),[i]);var y=function(){var t,n=(t=lr().mark((function t(){return lr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:e.url}),"function"==typeof r&&r()}catch(t){}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){sr(i,n,o,a,c,"next",t)}function c(t){sr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(o.A,{sx:{position:"relative"},ref:p},n.createElement(Ft.Ay,{disablePadding:!0,onClick:y},n.createElement(s.A,{followCursor:!0,enterDelay:1e3*parseFloat(h),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:f?n.createElement(Jt,{title:e.title,url:e.url}):""},n.createElement(Dt.A,{selected:i,component:"div",dense:"list"===u,disableGutters:!0,sx:(0,Mt.c)(e.url)},n.createElement(kt.A,{sx:{width:"100%",paddingRight:"row"===l?"8px":"0",paddingLeft:"row"===l?"0":"8px"},direction:l,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Rt,{avatarUrl:(0,Ut.Qr)(e.url)}),n.createElement(Kt,{title:e.title,url:e.url,lastAccessed:e.dateAdded}))))))};function hr(t){return hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hr(t)}function pr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */pr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==hr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"";return new Promise((function(e){chrome.bookmarks.search(t,(function(t){e(t.filter((function(t){return t.url})))}))}))};(0,n.useEffect)((function(){var t=function(){var t=gr(pr().mark((function t(){var e;return pr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t){chrome.bookmarks.getRecent(50,(function(e){t(e.filter((function(t){return t.url})))}))}));case 2:(e=t.sent).sort((function(t,e){return e.dateAdded-t.dateAdded})),f((function(t){return vr(vr({},t),{},{bookmarks:e,loading:!1})}));case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){var t;return Ct.s.setState({popupPanelActived:!0}),null===(t=p.current)||void 0===t||t.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]),(0,n.useEffect)((function(){var t=function(){var t=gr(pr().mark((function t(){var e;return pr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s.searchQuery){t.next=6;break}return t.next=3,y(s.searchQuery);case 3:(e=t.sent).sort((function(t,e){return e.dateAdded-t.dateAdded})),f((function(t){return vr(vr({},t),{},{bookmarks:e})}));case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[s.searchQuery]);var v=function(t){f((function(e){var r=(e.selectedIndex+t+e.bookmarks.length)%e.bookmarks.length;return vr(vr({},e),{},{selectedIndex:r>=0?r:e.bookmarks.length-1})}))};return(0,It.vC)("ArrowDown",(function(){return v(1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(){return v(-1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(){if(s.selectedIndex>=0&&s.selectedIndext.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Kr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Jr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Xr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Vr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Jr(t,e)||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 Jr(t,e){if(t){if("string"==typeof t)return tn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tn(t,e):void 0}}function tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function cn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var un=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"scrollToActiveTab"===t.name})))||void 0===e?void 0:e.showLabel)})),e=(0,c.Ay)((function(t){return t.updateSetting})),r=(0,c.Ay)((function(t){return t.activeTabIndex})),o=function(){var t,n=(t=an().mark((function t(){var n;return an().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0!==r&&e("activeTabIndex",0),(n=document.querySelector(".tab-item.active"))&&n.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){cn(i,n,o,a,c,"next",t)}function c(t){cn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(nn.A,null),labelKey:"ScrollToActiveTab",showLabel:t,handleClick:o}))};const ln=(0,n.memo)(un);var sn=r(80089),fn=r(44225);function hn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return pn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function pn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function wn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const xn=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"themeModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,theme:t.settings.theme}})),e=t.showLabel,r=t.updateSetting,o=t.theme,i=function(){var t,e=(t=bn().mark((function t(){return bn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r("theme","dark"===o?"light":"dark"),(0,H.U)("update_setting",{key:"theme",value:"dark"===o?"light":"dark"});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){wn(i,n,o,a,c,"next",t)}function c(t){wn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:"dark"===o?n.createElement(dn.A,null):n.createElement(mn.A,null),labelKey:"dark"===o?"DarkMode":"LightMode",showLabel:e,handleClick:i}))};var En=r(28864),Ln=r(86941),Sn=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"viewModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,view:t.settings.view}})),e=t.showLabel,r=t.updateSetting,o=t.view;return n.createElement(n.Fragment,null,n.createElement(y,{icon:"visual"===o?n.createElement(En.A,null):n.createElement(Ln.A,null),labelKey:"visual"===o?"view.Compact":"view.Visual",showLabel:e,handleClick:function(){var t="visual"===o?"list":"visual";r("view",t),(0,H.U)("update_setting",{key:"view",value:t})}}))};const jn=(0,n.memo)(Sn);var On=r(61864),An=r(93919);function kn(t){return kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kn(t)}function _n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_n=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==kn(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Tn=function(){var t=(0,h.Bd)().t,e=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"createSnapshot"===t.name})))||void 0===e?void 0:e.showLabel)})),r=function(){var e,r=(e=_n().mark((function e(){return _n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,An.Ay.getState().addSnapshot();case 3:tt.oR.success(t("createSnapshotSuccess")),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),tt.oR.error(t("createSnapshotFailed"));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Pn(i,n,o,a,c,"next",t)}function c(t){Pn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(On.A,null),labelKey:"createSnapshot",showLabel:e,handleClick:r}))};const In=(0,n.memo)(Tn);var Cn=r(24847),Nn=r(4507);function Gn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Fn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fn(t,e):void 0}}(t,e)||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 Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>Bt});var n=r(81191),o=r(77678),i=r(30758),a=r(5708),c=r(11094),u=r(37281),l=r(99967),s=r(17283),f=r(15393),h=r(49251),p=r(62473),y=function(t){var e=t.favIconUrl,r=window.devicePixelRatio||1,n=parseInt(20/r);return i.createElement(f.A,{sx:{display:"flex",justifyContent:"center",minWidth:10}},i.createElement(h.A,{variant:"square",sx:{background:"transparent",width:n,height:n,alignContent:"center"},"aria-label":"recipe",src:e},i.createElement(p.A,{color:"primary"})))};const v=(0,i.memo)(y);var d=r(85219),m=r(61649),g=r(67463),b=r(94252);function w(t){var e=t.quickAccess,r=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return i.createElement(d.A,{sx:{padding:0,minWidth:"200px"}},i.createElement(m.A,{sx:{padding:"8px"}},i.createElement(g.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:r,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e.title),i.createElement(g.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,b.Wj)(e.url))))}var x=r(30254),E=r(98890),L=r(65395),S=r(24847),j=r(46369);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var _=function(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.removeQuickAccess})),c=function(){var t,n=(t=A().mark((function t(){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o(e);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,c,"next",t)}function c(t){k(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("Delete"))))};const P=(0,i.memo)(_);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:o.url}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInNewTab"))))}function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=F().mark((function t(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal"}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInNewWindow"))))}function W(t){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W(t)}function B(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */B=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==W(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function q(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=B().mark((function t(){return B().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal",incognito:!0}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){q(i,n,o,a,c,"next",t)}function c(t){q(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInIncognitoWindow"))))}function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function H(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){var e=t.uuid,r=t.onSelect,n=t.props,o=(0,j.W)().t,c=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),u=function(){var t,e=(t=Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)(c.url);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){H(i,n,o,a,c,"next",t)}function c(t){H(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,Y({},n,{onClick:u}),i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},o("tabMenu.CopyLink"))))}function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Q(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function K(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=$().mark((function t(){return $().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)(o.title);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){K(i,n,o,a,c,"next",t)}function c(t){K(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("tabMenu.CopyTitle"))))}function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function J(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */J=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==V(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)("[".concat(o.title,"](").concat(o.url,")"));case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("tabMenu.CopyAsMarkdown"))))}var rt=r(95605),nt=r(39805),ot=r(44155),it=r(36489),at=r(25790),ct=r(98054),ut=r(25492),lt=r(70546);function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ft=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==st(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ht(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function jt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return At(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?At(t,e):void 0}}(t,e)||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 At(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0||s&&y.length>0?i.createElement(n.A,{ref:e},i.createElement(n.A,{sx:{padding:"5px",display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(26px, 1fr))",gap:1,width:"100%"}},l&&p.map((function(t){return i.createElement(It.A,{key:"tab-avatar-".concat(t),tabId:t})})),s&&i.createElement(_t.Mp,{collisionDetection:_t.fp,onDragEnd:function(t){var e=t.active,r=t.over;if(null!=e&&e.id&&null!=r&&r.id&&e.id!==r.id){var n=v.indexOf(e.id),o=v.indexOf(r.id);(0,Pt.be)(v,n,o).forEach((function(t,e){var r=y.find((function(e){return e.uuid===t}));d(r.uuid,Ft(Ft({},r),{},{sortIndex:e}))}))}},sensors:m},i.createElement(Pt.gB,{items:v},v.map((function(t){var e=y.find((function(e){return e.uuid===t}));return i.createElement(Wt,{key:"tab-avatar-".concat(e.uuid),quickAccess:e})}))))),i.createElement(o.A,null)):null})),Wt=(0,i.memo)((function(t){var e=t.quickAccess,r=(0,Pt.gl)({id:e.uuid}),n=r.attributes,o=r.listeners,a=r.setNodeRef,c=r.transform,u=r.transition,l=r.isDragging;return i.createElement("div",Nt({ref:a,style:{transform:Tt.Ks.Transform.toString(c),transition:u,cursor:l?"grabbing":"pointer"}},n,o),i.createElement(kt,{quickAccess:e}))}));const Bt=(0,i.memo)(Mt)},23269:(t,e,r)=>{"use strict";r.d(e,{A:()=>j});var n=r(30758),o=r(81191),i=r(37281),a=r(99967),c=r(17283),u=r(35841),l=r(5708),s=r(67744),f=r(11094),h=r(94252),p=r(46369),y=r(59769),v=r(63564),d=r(95776);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=E(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||E(t,e)||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 E(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>He});var n=r(30758),o=r(81191),i=r(30254),a=r(77678),c=r(4507),u=r(98890),l=r(23355),s=r(65395),f=r(67463),h=r(67744),p=r(70546),y=r(46369);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var g=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,h.EL)(e);case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(p.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.closeTab"))))};const b=(0,n.memo)(g);var w=r(5708),x=r(86670);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function L(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(C([])));S&&S!==r&&n.call(S,a)&&(w=S);var j=b.prototype=m.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==E(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){return t.currentWindow})),a=function(){var t,n=(t=L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,x.U)("close_other_tabs",{tabId:e,windowId:i.id}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseOtherTabs"))))}function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=A().mark((function t(){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,c,"next",t)}function c(t){k(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteTabs"))))}var P=r(11094);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var N=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_other_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteOtherTabs"))))};const G=(0,n.memo)(N);var F=r(50123);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function M(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */M=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=M().mark((function t(){return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.reload(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.Reload"))))}var q=r(37281),R=r(90856);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function Y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var H=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.discarded})),a=function(){var t,n=(t=Y().mark((function t(){return Y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.discard(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Z(i,n,o,a,c,"next",t)}function c(t){Z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i?null:n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(R.A,null)),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.DiscardTabDesc"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.DiscardTab")))))};const z=(0,n.memo)(H);function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Q(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function K(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r,n;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url,windowId:null===(n=t.tabs.find((function(t){return t.id===e})))||void 0===n?void 0:n.windowId}})),a=i.url,c=i.windowId,h=function(){var t,e=(t=$().mark((function t(){return $().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.create({url:a,windowId:c}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){K(i,n,o,a,c,"next",t)}function c(t){K(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480Zm0-480v480-480ZM246-96v-72h72v72h-72Zm-78-600H96q0-29.7 21.15-50.85Q138.3-768 168-768v72ZM396-96v-72h72v72h-72Zm150 0v-72h72v72h-72Zm-378-72v72q-29.7 0-50.85-21.15Q96-138.3 96-168h72Zm-72-78v-72h72v72H96Zm0-150v-72h72v72H96Zm0-150v-72h72v72H96Zm600 378h72q0 29.7-21.15 50.85Q725.7-96 696-96v-72Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.ReplicateTab"))))}function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function J(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */J=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==V(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.pinned})),a=function(){var t,n=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{pinned:!i}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),c=function(){return n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",viewBox:"0 -960 960 960",width:"18px",fill:"currentColor"},n.createElement("path",{d:i?"M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z":"m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"})))};return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(c,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(i?"tabMenu.UnpinTab":"tabMenu.PinTab"))))}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var it=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{audible:null==r?void 0:r.audible,mutedInfo:null==r?void 0:r.mutedInfo}})),a=i.audible,c=i.mutedInfo,h=function(){var t,n=(t=nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a&&chrome.tabs.update(e,{muted:!c.muted}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,c.muted?n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M552-152v-75q86-23 139-93.26 53-70.25 53-159.5 0-89.24-53.5-158.74Q637-708 552-734v-75q116 25 190 117t74 211q0 119-73.5 211.5T552-152ZM144-385v-192h144l192-192v576L288-385H144Zm408 55v-302q45.12 20.4 70.56 61.2Q648-530 648-480.52q0 48.52-25.44 89.23Q597.12-350.59 552-330ZM408-595l-90 90H216v48h102l90 90v-228Zm-91 113Z"}))):n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M768-90 661-197q-22 14-52.5 26.5T552-152v-74q12-5 28.5-11.5T608-250L480-378v187L288-383H144v-192h138L90-768l51-51 678 678-51 51Zm-6-209-52-52q16-29 25-61.5t9-66.5q0-89-53.5-158.5T552-733v-74q117 23 190.5 116T816-479q0 48-14 93.5T762-299ZM638-423l-86-86v-122q45 20 70.5 61.5T648-479q0 14-2 28t-8 28ZM480-581l-93-93 93-93v186Zm-72 216v-85l-72-72-18 19H216v48h102l90 90Zm-36-121Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c.muted?"tabMenu.UnmuteTab":"tabMenu.MuteTab")))):null};const at=(0,n.memo)(it);function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,pipOn:null==r?void 0:r.pipOn}})),a=i.pipSupport,c=i.pipOn,h=function(){var t,n=(t=ut().mark((function t(){return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.h)(e,"switch_pip");case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),p=n.createElement(F.A,null,c?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M168-192q-29.7 0-50.85-21.15Q96-234.3 96-264v-240h72v240h624v-432H456v-72h336q29.7 0 50.85 21.16Q864-725.68 864-695.96v432.24Q864-234 842.85-213T792-192H168Zm525-120 51-51-93-93h69v-72H528v192h72v-69l93 93ZM96-576v-192h288v192H96Zm384 96Z"})):n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M96-480v-72h165L71-743l50-50 191 190v-165h72v288H96Zm72 288q-29.7 0-50.85-21.15Q96-234.3 96-264v-144h72v144h336v72H168Zm624-264v-240H456v-72h336q29.7 0 50.85 21.15Q864-725.7 864-696v240h-72ZM576-192v-192h288v192H576Z"})));return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,p),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c?"tabMenu.ExitPip":"tabMenu.EnterPip")))):null}var ft=r(51742);function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function pt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */pt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ht(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var vt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.tabSwitchPip})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,hostname:null==r?void 0:r.hostname}})),c=a.pipSupport,h=a.hostname,p=(0,ft.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===h})),setSiteConfig:t.setSiteConfig}})),v=p.siteConfig,d=p.setSiteConfig,m=function(){var t,e=(t=pt().mark((function t(){var e;return pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={tabSwitchPip:"boolean"==typeof(null==v?void 0:v.tabSwitchPip)&&!(null!=v&&v.tabSwitchPip)},t.next=3,d(h,e);case 3:return t.next=5,(0,x.U)("update_site_config",{hostname:h,config:e});case 5:"function"==typeof r&&r();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yt(i,n,o,a,c,"next",t)}function c(t){yt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return c&&i?n.createElement(u.A,{onClick:m},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:!1===(null==v?void 0:v.tabSwitchPip)?"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Zm280-40h320v-240H440v240Zm80-80v-80h160v80H520Z":"m554-520 80 80h66q25 0 42.5-17.5T760-500v-120q0-25-17.5-42.5T700-680H500q-22 0-38 14t-21 34l33 32h206v80H554Zm317 317-71-71v-446H354l-80-80h526q33 0 56.5 23.5T880-720v480q0 10-2 19.5t-7 17.5ZM383-463Zm194-34ZM818-28 686-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800l80 80h-80v480h446L26-820l57-57L875-85l-57 57Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(!1===(null==v?void 0:v.tabSwitchPip)?"tabMenu.EnableSiteTabSwitchPip":"tabMenu.DisableSiteTabSwitchPip")))):null};const dt=(0,n.memo)(vt);var mt=r(50637),gt=r(99378),bt=r(40994);function wt(t){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(t)}function xt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Et(i,n,o,a,c,"next",t)}function c(t){Et(i,n,o,a,c,"throw",t)}a(void 0)}))}}function St(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t=Lt(xt().mark((function t(){return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a=(0,w.Ay)((function(t){var r;return{hostname:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname}})),c=a.hostname,h=function(){var t=Lt(xt().mark((function t(){return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:[e]},(function(t){var e=(0,gt.A)((0,bt.A)(null==c?void 0:c.replace("www.","").split(".")[0])),r=(0,mt.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=(0,w.Ay)((function(t){var r;return{groupId:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.groupId}})),v=p.groupId;return n.createElement(n.Fragment,null,-1===v?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabToNewGroup")))):n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.RemoveFromGroup")))))}var jt=r(8926),Ot=r(26565),At=r(1251);function kt(t){return kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(t)}function _t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_t=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==kt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Tt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,url:r.url}})),c=function(){var t,e=(t=_t().mark((function t(){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,jt.x$)(a);case 2:Ot.oR.success(o("AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Pt(i,n,o,a,c,"next",t)}function c(t){Pt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,jt.UT)()?n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(At.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddToReadingList")))):null}var It=r(24847);function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ft=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{index:null==r?void 0:r.index,windowId:null==r?void 0:r.windowId}})),a=i.index,c=i.windowId,h=function(){var t,e=(t=Nt().mark((function t(){return Nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({index:a+1,windowId:c}),"function"==typeof r&&r()}catch(t){It.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Gt(i,n,o,a,c,"next",t)}function c(t){Gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M216-216v-528 528Zm0 72q-29.7 0-50.85-21.15Q144-186.3 144-216v-528q0-29.7 21.15-50.85Q186.3-816 216-816h528q29.7 0 50.85 21.15Q816-773.7 816-744v317q-18-4-36-4.5t-36 1.5v-314H216v528h314q-2 18-1.5 36t4.5 36H216Zm555 96-51-51 56-57H624v-72h152l-56-57 51-51 141 144L771-48ZM444-288h72v-156h156v-72H516v-156h-72v156H288v72h156v156Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabOnRight"))))};const Dt=(0,n.memo)(Ft);function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Wt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url}})).url,a=function(){var t,e=(t=Wt().mark((function t(){var e;return Wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=new URL(i).hostname,t.next=4,chrome.tabs.create({url:"chrome-extension://".concat(chrome.runtime.id,"/options.html#/sites/").concat(e),active:!0});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0);case 9:"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Bt(i,n,o,a,c,"next",t)}function c(t){Bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return null!=i&&i.startsWith("http")?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.SiteSettings")))):null}function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Zt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Yt(i,n,o,a,c,"next",t)}function c(t){Yt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Ht=function(){var t=Zt(Ut().mark((function t(e){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",chrome.cookies.getAll({url:e},(function(t){return!chrome.runtime.lastError&&(t.forEach((function(t){chrome.cookies.remove({url:e,name:t.name},(function(){chrome.runtime.lastError}))})),!0)})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){var e,r=t.tabId,o=t.onSelect,i=(0,y.W)().t,a=(0,P.Ay)((function(t){return t.settings.theme})),c=(0,w.Ay)((function(t){var e=t.tabs.find((function(t){return t.id===r}))||{};return{id:e.id,url:e.url}})),h=function(){var t,e=(t=Qt().mark((function t(){var e;return Qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ht(c.url);case 2:return t.next=4,(0,x.h)(c.id,"clear_browsing_data");case 4:null!=(e=t.sent)&&e.success?Ot.oR.success(i("CacheCleared"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}):Ot.oR.error(i("RefreshTips"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}),"function"==typeof o&&o();case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(null===(e=c.url)||void 0===e?void 0:e.startsWith("http"))?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M432-552h96v-240q0-20.4-13.8-34.2Q500.4-840 480-840q-20.4 0-34.2 13.8Q432-812.4 432-792v240ZM216-408h528v-72H216v72Zm-48 240h96v-60q0-15.3 10.29-25.65Q284.58-264 299.79-264t25.71 10.35Q336-243.3 336-228v60h108v-60q0-15.3 10.29-25.65Q464.58-264 479.79-264t25.71 10.35Q516-243.3 516-228v60h108v-60q0-15.3 10.29-25.65Q644.58-264 659.79-264t25.71 10.35Q696-243.3 696-228v60h96l-38-168H207l-39 168Zm624 72H168q-34.97 0-56.48-27Q90-150 98-184l46-200v-96q0-29.7 21.15-50.85Q186.3-552 216-552h144v-240q0-50 35-85t85-35q50 0 85 35t35 85v240h144.25Q774-552 795-530.85T816-480v96l46 200q8 34-13.5 61T792-96ZM216-408v-72 72Zm312-144h-96 96Z"})))),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i("tabMenu.ClearCacheTips"))},n.createElement(f.A,{variant:"body1"},i("tabMenu.ClearCookiesAndSiteData"))))):null}function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}function Vt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Vt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Xt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Jt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var te=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=Vt().mark((function t(){return Vt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ht(a);case 2:Ot.oR.success(o("CookiesCleared"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Jt(i,n,o,a,c,"next",t)}function c(t){Jt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(null==a?void 0:a.startsWith("http"))?n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m798-264-53-53q19.8-31.91 31.9-68.46Q789-422 792-462q-45-18-75-55.5T679-603q-76-11-129-63t-63-126q-47-3-90.5 9T315-747l-53-53q64-46 141.5-62.5T560-856q-8 44 5 81t41 61.5q28 24.5 68 34t85-1.5q-25 57 7.5 108.5t95.5 53.47q8 70.95-9.5 135.99T798-264Zm-474-96q-25 0-42.5-17.5T264-420q0-25 17.5-42.5T324-480q25 0 42.5 17.5T384-420q0 25-17.5 42.5T324-360ZM762-96l-66-66q-49 32-103.5 49T480-96q-79.38 0-149.19-30T208.5-208.5Q156-261 126-330.81T96-480q0-58 17-112.5T162-696l-66-66 51-51 666 666-51 51Zm-281.89-72Q524-168 565-181t79-34L215-644q-21 38-34 79t-13 84.89q0 129.72 91.19 220.92Q350.39-168 480.11-168ZM420-420Zm134-137Z"})))),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.ClearCookiesTips"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.ClearCookies"))))):null};const ee=n.memo(te);var re=r(94252);function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function oe(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ne(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ie(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ae=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.title})),a=function(){var t,e=(t=oe().mark((function t(){return oe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)(i),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ie(i,n,o,a,c,"next",t)}function c(t){ie(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyTitle"))))};const ce=(0,n.memo)(ae);function ue(t){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(t)}function le(){return le=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function fe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function he(t){var e=t.tabId,r=t.onSelect,o=t.props,i=(0,y.W)().t,a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=se().mark((function t(){return se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)(a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){fe(i,n,o,a,c,"next",t)}function c(t){fe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,le({},o,{onClick:c}),n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},i("tabMenu.CopyLink"))))}function pe(t){return pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pe(t)}function ye(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ye=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==pe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ve(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var de=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{title:null==r?void 0:r.title,url:null==r?void 0:r.url}})),a=i.title,c=i.url,h=function(){var t,e=(t=ye().mark((function t(){return ye().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)("[".concat(a,"](").concat(c,")")),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ve(i,n,o,a,c,"next",t)}function c(t){ve(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm216-336h48v-192h48v144h44v-144h52v192h48v-208q0-13.6-9-22.8-9-9.2-21-9.2H462q-12 0-21 9.2t-9 22.8v208Zm-72 120v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyAsMarkdown"))))};const me=(0,n.memo)(de);function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(t)}function be(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */be=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ge(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.pinToQuickAccess})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,favIconUrl:r.favIconUrl,url:r.url}})),c=(0,w.Ay)((function(t){return t.setQuickAccess})),h=function(){var t,e=(t=be().mark((function t(){return be().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:c(crypto.randomUUID(),a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){we(i,n,o,a,c,"next",t)}function c(t){we(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M720-320v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80ZM600-80q-127-48-203.5-158T320-484q0-91 36-172.5T458-800H320v-80h280v280h-80v-148q-57 51-88.5 119.5T400-484q0 102 54 187.5T600-167v87Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.PinToQuickAccess")))):null}var Ee=r(69170);function Le(t){return Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(t)}function Se(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Se=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Le(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Oe=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.autoDiscardable})),a=function(){var t,n=(t=Se().mark((function t(){return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{autoDiscardable:!1}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){je(i,n,o,a,c,"next",t)}function c(t){je(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(Ee.A,null)),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.KeepTabActiveDesc"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.KeepTabActive"))))):null};const Ae=(0,n.memo)(Oe);var ke=r(98054),_e=r(99967),Pe=r(59161),Te=r(57637),Ie=r(73800),Ce=r(6852),Ne=r(60777),Ge=r(72232),Fe=r(11357),De=r(2390);function Me(t){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Me(t)}function We(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */We=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Me(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Be(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qe(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Be(i,n,o,a,c,"next",t)}function c(t){Be(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ue(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(t,e):void 0}}(t,e)||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 Ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=1&&n<=1e3)){t.next=7;break}return t.next=4,chrome.tabs.setZoom(e,n/100);case 4:h(n/100),t.next=8;break;case 7:L(Math.round(100*c));case 8:b(!1),"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return S?n.createElement(u.A,null,n.createElement(l.A,null,n.createElement(Ie.A,null)),n.createElement(s.A,null,n.createElement(o.A,{display:"flex",justifyContent:"center",width:"100%"},n.createElement(ke.A,{spacing:2,direction:"row",alignItems:"center",justifyContent:"flex-start"},n.createElement(f.A,null,i("zoom")),n.createElement(_e.A,{onClick:O},n.createElement(Ce.A,null)),g?n.createElement(Pe.A,{value:E,onChange:function(t){var e=t.target.value;/^\d*$/.test(e)&&L(e)},onKeyDown:function(t){"Enter"===t.key&&k()},autoFocus:!0,inputProps:{type:"text",style:{height:"20px"}},endAdornment:n.createElement(Te.A,{position:"end"},n.createElement(_e.A,{onClick:k},n.createElement(De.A,null)))}):n.createElement(f.A,{onClick:function(){return b(!0)}},"".concat(Math.round(100*c),"%")),n.createElement(_e.A,{onClick:j},n.createElement(Ne.A,null)),n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i(v?"exitFullscreen":"fullscreen"))},v?n.createElement(Ge.A,{onClick:A}):n.createElement(Fe.A,{onClick:A})))))):null};const Ze=(0,n.memo)(Ye),He=(0,n.forwardRef)((function(t,e){var r=t.tabId,u=t.handleMenuClose,l=function(t,e){return n.createElement(c.tH,{fallback:null},n.createElement(t,e))};return n.createElement(o.A,{ref:e,onClick:function(t){t.stopPropagation()}},n.createElement(i.A,{dense:!0,sx:{minWidth:"200px"}},l(b,{tabId:r,onSelect:u}),l(j,{tabId:r,onSelect:u}),l(_,{tabId:r,onSelect:u}),l(G,{tabId:r,onSelect:u}),l(B,{tabId:r,onSelect:u}),l(z,{tabId:r,onSelect:u}),l(Ae,{tabId:r,onSelect:u}),l(Ze,{tabId:r,onSelect:u}),l(X,{tabId:r,onSelect:u}),l(et,{tabId:r,onSelect:u}),l(at,{tabId:r,onSelect:u}),l(st,{tabId:r,onSelect:u}),l(xe,{tabId:r,onSelect:u}),l(dt,{tabId:r,onSelect:u}),l(St,{tabId:r,onSelect:u}),l(Tt,{tabId:r,onSelect:u}),l(Dt,{tabId:r,onSelect:u}),n.createElement(a.A,null),l(qt,{tabId:r,onSelect:u}),l(Kt,{tabId:r,onSelect:u}),l(ee,{tabId:r,onSelect:u,props:{divide:!0}}),l(ce,{tabId:r,onSelect:u}),l(he,{tabId:r,onSelect:u}),l(me,{tabId:r,onSelect:u})))}))},59769:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(62473),o=r(15393),i=r(49251),a=r(26059),c=r(30758),u=r(76051),l=r(94252),s=function(t){var e=t.status,r=t.favIconUrl,s=t.url,f=t.pinned,h=(0,u.M)(),p=h.view,y=h.fontScale,v=h.PinnedTabsAsIcons,d=Math.floor(("visual"===p?28:20)*y),m="loading"===e,g=r||(0,l.Qr)(s),b=f&&v;return c.createElement(o.A,{sx:{display:"flex",justifyContent:"center",minWidth:d}},c.createElement(i.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:b?20:d,height:b?20:d,alignContent:"center"},"aria-label":"recipe",src:g},c.createElement(n.A,{sx:{fontSize:d},color:"primary"})),m&&c.createElement(a.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:d+1}))};const f=(0,c.memo)(s)},63564:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(85219),i=r(82845),a=r(61649),c=r(67463),u=r(68202),l=r(94252),s=r(76051),f=r(84303),h=function(t){var e=t.title,r=t.thumbnail,h=t.url,p=t.lastAccessed,y=(0,s.M)(),v=y.theme,d=y.fontColor,m=(0,l.Hs)(h),g=(0,s.M)(),b=(0,f.Mj)(d).isDark()?"#fff":"#666";return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},g.tabPreviewImage&&r&&n.createElement(i.A,{sx:{width:"100%",height:"144px",objectFit:"cover"},image:r,title:e}),n.createElement(a.A,{sx:{padding:"8px",background:b}},n.createElement(c.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:600,WebkitBoxOrient:"vertical",margin:"8px 0",color:"dark"===v?"text.primary":d||"text.primary"}},e),n.createElement(c.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical",color:"dark"===v?"text.primary":d||"text.primary",opacity:.75}},(0,l.Wj)(h)),n.createElement(u.A,{hostname:m,lastAccessed:p})))};const p=(0,n.memo)(h)},68202:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(97164),o=r.n(n),i=r(30758),a=r(67463),c=r(46369),u=r(76051);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(26565),i=r(93919),a=r(46369);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}const f=function(){var t=(0,a.W)().t,e=(0,n.useRef)(!1),r=function(){var r=s(u().mark((function r(){var n,a,c,l;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.current){r.next=2;break}return r.abrupt("return");case 2:return e.current=!0,r.next=5,(0,i.Gr)();case 5:if(!(n=r.sent)){r.next=15;break}return r.next=10,(0,i.CM)();case 10:return r.next=12,chrome.tabs.query({windowType:"normal",pinned:!1});case 12:a=r.sent,c=new Set(a.map((function(t){return t.windowId}))).size,a.length<5&&n.tabCount>=5&&1===c&&(l=o.oR.info(t("reopenSnapshotMessage",{windowCount:n.windowCount,tabCount:n.tabCount}),{position:"bottom-center",autoClose:!1,closeOnClick:!0,theme:"colored",onClick:function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getURL("/options.html#/snapshots"),t.next=3,chrome.tabs.create({url:e,active:!0});case 3:o.oR.dismiss(l);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}));case 15:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){r()}),[]),null}},69549:(t,e,r)=>{"use strict";r.d(e,{A:()=>at});var n=r(30758),o=r(46369),i=r(11094),a=r(5708),c=r(98054),u=r(60824),l=r(37281),s=r(67463),f=r(99967),h=r(41679),p=r(50549);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=b(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||b(t,e)||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 b(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function H(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(t,e):void 0}}(t,e)||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 Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&g&&n.createElement(E,null),!L&&b&&n.createElement(j,{label:r("ScrollToActiveTab")}),n.createElement(O.A,{sx:{flexShrink:0}}),0===f&&v&&n.createElement(R,{showText:!h}),0===f&&y&&n.createElement(K,{showText:!h}),d&&n.createElement(tt,null),m&&n.createElement(ot,null))):null}));const at=(0,n.memo)(it)},53725:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(80089),i=r(44225),a=r(5708),c=r(11094),u=r(37281),l=r(67463),s=r(99967),f=r(46369);function h(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";n.a(e,(async(e,o)=>{try{n.d(r,{A:()=>A});var i=n(30758),a=n(94252),c=n(24310),u=n(5708),l=n(11094),s=n(67744),f=n(97773),h=n(86670),p=n(72047),y=n(8148),v=n(48367);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t){return E(t)||x(t)||w(t)||b()}function b(){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 w(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function x(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function E(t){if(Array.isArray(t))return L(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=await(0,v.u)();function A(){var e=(0,l.Zz)((function(t){return{activeTabIndex:t.settings.activeTabIndex,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons,searchText:t.searchText,orderBy:t.settings.orderBy,sortBy:t.settings.sortBy,historyDataSource:t.settings.historyDataSource,tabSearchShowHistory:t.settings.tabSearchShowHistory,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs,setSearchText:t.setSearchText}})),r=e.activeTabIndex,n=e.PinnedTabsAsIcons,o=e.searchText,v=e.orderBy,m=e.sortBy,b=e.historyDataSource,w=e.tabSearchShowHistory,x=e.onlyCurrentWindowTabs,E=e.setSearchText,L=(0,u.D3)((function(t){return{tabCount:t.tabs.length,keyboardSelected:t.keyboardSelected,tabs:t.tabs.filter((function(t){return!x||t.windowId===(null==d?void 0:d.id)})).filter((function(t){return!n||!1===t.pinned})).map((function(t){return{id:t.id,url:t.url}})),keyItems:t.keyItems,activeTabId:t.activeTabId}})),j=L.tabCount,A=L.keyboardSelected,k=L.tabs,_=L.keyItems,P=L.activeTabId,T=(0,p.s)((function(t){return{waitForSelectTab:t.waitForSelectTab,setWaitForSelectTab:t.setWaitForSelectTab,hasSelectedTabIds:t.selectedTabIds.length>0,popupPanelActived:t.popupPanelActived}})),I=T.waitForSelectTab,C=T.setWaitForSelectTab,N=T.hasSelectedTabIds,G=T.popupPanelActived,F=function(){var t=O(S().mark((function t(e){var r;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.vx)(b);case 2:return r=t.sent,t.abrupt("return",(0,a.Lq)(r,e,"desc","closed_time").map((function(t){return{type:"history",key:t.urlMD5,url:t.url}})));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=O(S().mark((function t(){var e;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=[],0!==r){t.next=12;break}if(e=(0,a.Lq)(k,o,v,m,d.id).reduce((function(t,e,r){return[].concat(g(t),[{type:"tab",key:e.id,url:e.url}])}),[]),!o||!w){t.next=12;break}return t.t0=[],t.t1=g(e),t.t2=g,t.next=9,F(o);case 9:t.t3=t.sent.slice(0,10),t.t4=(0,t.t2)(t.t3),e=t.t0.concat.call(t.t0,t.t1,t.t4);case 12:if(1!==r){t.next=16;break}return t.next=15,F(o);case 15:e=t.sent;case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,i.useEffect)((function(){D().then((function(t){u.D3.setState({keyItems:t})}))}),[r,n,o,v,m,b,j]),(0,c.vC)("ArrowUp",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==A?void 0:A.key)||P)}))||0,r=e-1<0?_.length-1:e-1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("ArrowDown",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==A?void 0:A.key)||P)}))||0,r=e+1>_.length-1?0:e+1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Enter",function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G){e.next=2;break}return e.abrupt("return");case 2:if(r.preventDefault(),r.stopPropagation(),1===_.length&&u.D3.setState({keyboardSelected:_[0]}),!A){e.next=22;break}if(u.D3.setState({keyboardSelected:null}),l.Zz.setState({searchText:""}),"tab"!==A.type){e.next=11;break}return e.next=11,(0,s.I7)(A.key);case 11:if("history"!==A.type){e.next=20;break}return e.next=14,chrome.tabs.create({url:A.url,active:!0});case 14:return e.next=16,f.O4.getState().deleteHistory(A.key);case 16:return e.next=18,l.Zz.getState().updateSetting("activeTabIndex",0);case 18:return e.next=20,(0,h.U)("update_setting",{key:"activeTabIndex",value:0});case 20:e.next=23;break;case 22:o&&chrome.permissions.contains({permissions:["search"]},function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):chrome.permissions.request({permissions:["search"]},function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):toast.error(t("settings.history.dataSource.deniedMessage"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Shift",(function(t){G||("keydown"===t.type&&(0,c.vs)("shift")&&!I&&C(!0),"keyup"!==t.type||N||C(!1))}),{enableOnFormTags:["TEXTAREA","INPUT"],keyup:!0,keydown:!0}),(0,c.vC)("esc",(function(t){p.s.setState({popupPanelActived:!1}),A&&u.D3.setState({keyboardSelected:null}),C(!1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),i.createElement("div",null)}o()}catch(k){o(k)}}),1)},85007:(e,r,n)=>{"use strict";n.d(r,{A:()=>L});var o=n(30758),i=n(25492),a=n(99967),c=n(84332),u=n(52079),l=n(421),s=n(37281),f=n(11094),h=n(26565),p=n(90630);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))}}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&o.createElement(o.Fragment,null,o.createElement(a.A,{onClick:function(){n({focused:!1,localSearchText:""}),g("")},sx:{color:w||"text.primary"}},o.createElement(u.A,{size:"small"})),o.createElement(a.A,{onClick:L,sx:{color:w||"text.primary"}},o.createElement(s.A,{arrow:!0,title:"Press Enter to search in a new tab"},o.createElement(p.A,{size:"small"})))),sx:{borderColor:w||"text.primary",color:w||"text.primary","&::placeholder":{color:w||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;n((function(t){return b(b({},t),{},{localSearchText:e})})),g(e)},onFocus:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseEnter:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseLeave:function(){return n((function(t){return b(b({},t),{},{focused:!1})}))}}))}},60824:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});var n=r(60777),o=r(98890),i=r(23355),a=r(65395),c=r(67463),u=r(37281),l=r(99967),s=r(25790),f=r(30758),h=r(46369),p=r(11094);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e-1?d:"https://"+d),E&&(n.windowId=E),t.next=8,chrome.tabs.create(m({active:!0},n));case 8:if(o=t.sent,!(r&&r>0)){t.next=12;break}return t.next=12,chrome.tabs.group({tabIds:[o.id],groupId:r});case 12:if(0===k){t.next=15;break}return t.next=15,A("activeTabIndex",0);case 15:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return S?f.createElement(o.A,{onClick:I},f.createElement(i.A,null,f.createElement(n.A,null)),f.createElement(a.A,null,f.createElement(c.A,{noWrap:!0},T("NewTab"))),f.createElement(c.A,{variant:"body2",color:"text.secondary"},"Ctrl +T")):w?f.createElement(s.A,{sx:{padding:"5px",color:P||"text.primary"},startIcon:f.createElement(n.A,null),variant:"text",onClick:I},f.createElement(c.A,{noWrap:!0,variant:"body1",sx:{color:"dark"===_?"text.primary":P||"text.primary"}},T("NewTab"))):f.createElement(u.A,{arrow:!0,title:f.createElement(c.A,null,T("NewTab"))},f.createElement(l.A,{sx:{padding:"5px",color:P||"text.primary"},onClick:I},f.createElement(n.A,null)))};const x=(0,f.memo)(w)},71331:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(81191),o=r(26059),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},55410:(t,e,r)=>{"use strict";r.d(e,{R:()=>g});var n=r(5708),o=r(11094),i=r(51742),a=r(67744),c=r(34049),u=r(70369),l=r(48367);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=null,m=new Set,g=function(){var t=v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.u)();case 2:d=t.sent,b();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t,e=n.Ay.getState(),r=e.setTabConfig,l=e.setQuickAccess,s=i.D.getState().setSiteConfig,h=c.W.getState(),y=h.setReadingProgress,g=h.setPlayingProgress,b=o.Ay.getState(),w=b.settings,x=b.updateSetting,E=function(t){t&&t.onDisconnect.addListener((function(){t=chrome.runtime.connect({name:"sidepanel_".concat(d.id)}),E(t)}))};function L(){return(L=v(p().mark((function t(e,o,i){var c,h,v,d,b,E,L,S,j,O,A,k;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,h=e.data,v=(null==h?void 0:h.tabId)||(null===(c=o.tab)||void 0===c?void 0:c.id),t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"page_enter_fullscreen"===t.t0?8:"close_sidepanel"===t.t0?11:"update_setting"===t.t0?14:"update_site_config"===t.t0?18:"update_tab_config"===t.t0?22:"page_scrolled"===t.t0?26:"playing_timeupdate"===t.t0?29:"page_picture_in_picture"===t.t0?33:"page_video_intersection_changed"===t.t0?39:"addQuickAccess"===t.t0?50:63;break;case 6:return i({success:!0,data:{is_sidepanel_opened:!0}}),t.abrupt("break",64);case 8:return w.fullScreenHideSidePanel&&window.close(),i({success:!0}),t.abrupt("break",64);case 11:return window.close(),i({success:!0}),t.abrupt("break",64);case 14:return t.next=16,x(h.key,h.value);case 16:return i({success:!0}),t.abrupt("break",64);case 18:return t.next=20,s(h.hostname,h.config);case 20:return i({success:!0}),t.abrupt("break",64);case 22:return t.next=24,r(v,h.tabConfigs);case 24:return i({success:!0}),t.abrupt("break",64);case 26:return y(v,h.scrollProgress),i({success:!0}),t.abrupt("break",64);case 29:return(d=u.L.get("playing_progress_bar_locked_".concat(v)))||h.isUsableVideo&&g(v,h),i({success:!0,checkLock:d}),t.abrupt("break",64);case 33:return t.next=35,(0,a._D)(v,o.frameId,h);case 35:return b=t.sent,r(v,b),i({success:!0}),t.abrupt("break",64);case 39:if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=44;break}return t.next=42,(0,a.D1)(o.tab.id,"scroll","exitPictureInPicture");case 42:t.next=46;break;case 44:return t.next=46,(0,a.D1)(o.tab.id,"scroll","enterPictureInPicture");case 46:return t.next=48,r(o.tab.id,{video_visiable:e.data.video_visiable});case 48:return i({success:!0}),t.abrupt("break",64);case 50:E=e.data.items,L=n.Ay.getState().quickAccess,S=f(L);try{for(S.s();!(j=S.n()).done;)O=j.value,m.add(O.url)}catch(t){S.e(t)}finally{S.f()}A=p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=E[k],-1!==L.findIndex((function(t){return t.url===e.url}))||m.has(e.url)){t.next=5;break}return t.next=4,l(crypto.randomUUID(),e);case 4:m.add(e.url);case 5:case"end":return t.stop()}}),t)})),k=0;case 56:if(!(k{"use strict";r.d(e,{Z:()=>et});var n=r(67744),o=(r(54098),r(73356)),i=r(50637);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}var s=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},f=function(){var t=l(c().mark((function t(e){var r,a,u,l,f,h;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,o.cE)("user_settings");case 9:if(null==(a=t.sent)||!a.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return u=s(r.url),t.next=16,chrome.tabGroups.query({title:u,windowId:r.windowId});case 16:if((l=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return f=t.sent,t.next=24,chrome.tabGroups.update(f,{title:u,color:i.RY[f%i.RY.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(h=l[0].id,-1!==r.groupId&&r.groupId===h){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:h});case 31:return t.next=33,(0,n.I7)(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),h=r(5708),p=r(11094),y=r(97773),v=r(8148),d=r(39392),m=r(94252),g=r(86670),b=r(34049);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=b.prototype=m.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(26797),o=r(46546),i=r(4507),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},54098:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)}),[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(y=s(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set(u({},e,r));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"get",value:(p=s(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"getOrSet",value:(h=s(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"remove",value:(l=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"delete",value:(a=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"clear",value:(o=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"prune",value:(r=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"keys",value:(e=s(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"whereIn",value:(t=s(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}]);var t,e,r,o,a,l,h,p,y}();const v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(p.has(t))return p.get(t);var e=new y(t);return p.set(t,e),e}},50637:(t,e,r)=>{"use strict";r.d(e,{FE:()=>h,FQ:()=>c,RY:()=>l,dw:()=>i,ql:()=>a,u0:()=>u,vY:()=>f});var n=r(90533),o=r(94252),i={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},a=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],c=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,o.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(i.hex,n),", ").concat((0,o.E2)(i.hex,n/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.complementary,n),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.analogous[0],n),", ").concat((0,o.E2)(t.analogous[1],n),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.triadic[0],n),", ").concat((0,o.E2)(t.triadic[1],n),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.tetradic[0],n),",").concat((0,o.E2)(t.tetradic[1],n),", ").concat((0,o.E2)(t.tetradic[2],n),")")}return a},u=a.filter((function(t){return t.color!==t.tabGroupColor})),l=a.filter((function(t){return t.color===t.tabGroupColor})),s=0,f=function(t,e){var r=i;if(!1===t)return r;var n=a.find((function(e){return e.color===t}));return n?r=n:(r=u[(e||s)%u.length],s++,r)},h=function(){return(0,n.A)(a)}},40492:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,QR:()=>f,sc:()=>u});var s=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];function f(t){if(!t)return 0;for(var e=~0,r=0;r>>8^s[255&(e^t.charCodeAt(r))];return~e>>>0}},94252:(t,e,r)=>{"use strict";r.d(e,{AY:()=>h,E2:()=>y,Hs:()=>f,Lq:()=>v,Qr:()=>g,SH:()=>x,Wj:()=>E,a3:()=>m,eM:()=>p,fL:()=>b,kU:()=>d});var n=r(44731),o=r(47646);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}var v=function(t,e,r,n,i){if(i?(t=t.map((function(t){return l(l({},t),{},{inActiveWindow:t.windowId===i?1:0})})),t=(0,o.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,o.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t};function d(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var m=function(t,e){return isNaN(t)||isNaN(e)||t<0||e<=0?"00:00":(t=Math.floor(t),(e=Math.floor(e))<3600?new Date(1e3*t).toISOString().substring(14,19):new Date(1e3*t).toISOString().substring(11,19))};function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function b(t){return w.apply(this,arguments)}function w(){var t;return t=i().mark((function t(e){var r,n,o,a,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),w=function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))},w.apply(this,arguments)}var x=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},E=function(t){try{return decodeURIComponent(t)}catch(e){return t}}},55469:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h});var n=r(4008),o=r(68964),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.db=null,this.cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this.ensureDbConnection();case 5:return t.next=7,this.db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return x.apply(this,arguments)})},{key:"get",value:(w=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return w.apply(this,arguments)})},{key:"getOrSet",value:(b=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"remove",value:(g=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return g.apply(this,arguments)})},{key:"delete",value:(m=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"prune",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return d.apply(this,arguments)})},{key:"clear",value:(v=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return v.apply(this,arguments)})},{key:"keys",value:(y=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return y.apply(this,arguments)})},{key:"length",value:(p=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return p.apply(this,arguments)})},{key:"whereIn",value:(u=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return u.apply(this,arguments)})},{key:"all",value:(a=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return a.apply(this,arguments)})},{key:"batchSet",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return r.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],[{key:"create",value:(e=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})}]);var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,S}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},70369:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":29361,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":21497,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},l={};function s(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return u[t].call(r.exports,r,r.exports,s),r.exports}s.m=u,e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",r="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",n="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},s.a=(t,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=t.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[r]=h,p[e]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),t.exports=p,i((t=>{var i;u=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var i=[];i.d=0,t.then((t=>{a[r]=t,o(i)}),(t=>{a[n]=t,o(i)}));var a={};return a[e]=t=>t(i),a}}var c={};return c[e]=t=>{},c[r]=t,c})))(t);var a=()=>u.map((t=>{if(t[n])throw t[n];return t[r]})),l=new Promise((t=>{(i=()=>t(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((t=>t[e](r)))}));return i.r?l:a()}),(t=>(t?s(p[n]=t):l(h),o(c)))),c&&c.d<0&&(c.d=0)},i=[],s.O=(t,e,r,n)=>{if(!e){var o=1/0;for(l=0;l=n)&&Object.keys(s.O).every((t=>s.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&i[l-1][2]>n;l--)i[l]=i[l-1];i[l]=[e,r,n]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},c=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,s.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);s.r(r);var n={};a=a||[null,c({}),c([]),c(c)];for(var o=2&e&&t;"object"==typeof o&&!~a.indexOf(o);o=c(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,s.d(r,n),r},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.j=887,(()=>{var t={887:0};s.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)var l=c(s)}for(e&&e(r);us(48491)));f=s.O(f)})(); +r.stopPropagation(),t.prev=1,n=c.D3.getState().activeTabId,o=c.D3.getState().tabs.find((function(t){return t.id===n})),i=L.D.getState().sites.find((function(t){return t.hostname===(null==o?void 0:o.hostname)})),!v||null==o||!o.pipSupport||!1===(null==i?void 0:i.tabSwitchPip)||n===e){t.next=14;break}return t.prev=6,t.next=9,(0,E.h)(n,"enterPictureInPicture");case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(6);case 14:return t.next=16,(0,b.I7)(e);case 16:t.next=22;break;case 18:t.prev=18,t.t1=t.catch(1),rt();case 22:case"end":return t.stop()}}),t,null,[[1,18],[6,11]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ze(i,n,o,a,c,"next",t)}function c(t){ze(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(i.A,{className:(nt?"tab-item active":"tab-item")+(G?" keybord-selected":""),sx:{position:"relative"}},n.createElement(s.Ay,{ref:m,disablePadding:!0,onContextMenu:function(t){t.stopPropagation(),t.preventDefault(),O({mouseX:t.clientX+2,mouseY:t.clientY-6}),T(t.currentTarget)},onClick:ot,onMouseEnter:function(){G&&c.D3.setState({keyboardSelected:null})},onMouseDown:function(t){1===t.button&&(0,b.EL)(e)}},n.createElement(g.A,{component:"div",dense:"list"===a,disableGutters:!0,selected:nt||G,sx:Ze({},(0,w.c)(e,$))},n.createElement(Q,{title:W,thumbnail:B,url:q,lastAccessed:U},n.createElement(f.A,Ue({},r.listeners,{useFlexGap:!0,sx:Ze({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:.5}),n.createElement(n.Suspense,{fallback:null},n.createElement(ee,{tabId:e})),n.createElement(i.A,{sx:{padding:"row"===p?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(H.A,{status:R,favIconUrl:Z,url:q,pinned:z})),n.createElement(Y,{title:W,url:q,hostname:J,lastAccessed:U}),K&&n.createElement(n.Suspense,{fallback:null},n.createElement(lt,{tabId:e})),V&&n.createElement(n.Suspense,{fallback:null},n.createElement(ae,{tabId:e,muted:X.muted})),z&&n.createElement(n.Suspense,{fallback:null},n.createElement(at,{tabId:e})),nt&&n.createElement(C,null),G?n.createElement(n.Suspense,{fallback:null},n.createElement(le,null)):n.createElement(M,{tabId:e}))),u&&l&&n.createElement(n.Suspense,{fallback:null},n.createElement(et,{tabId:e})),u&&h&&n.createElement(n.Suspense,{fallback:null},n.createElement(Jt,{tabId:e})))),n.createElement(y.A,{dense:"true",open:null!==j,onClose:function(){O(null),T(null)},anchorEl:P},null!==j&&n.createElement(i.A,null,d?n.createElement(We,{handleMenuClose:function(){return O(null)}}):n.createElement(Me.A,{tabId:e,handleMenuClose:function(){return O(null)}}))))}));function Ve(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xe(t,e):void 0}}(t,e)||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 Xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rr(i,n,o,a,c,"next",t)}function c(t){rr(i,n,o,a,c,"throw",t)}a(void 0)}))}}const or=(0,n.forwardRef)((function(t,e){var r=t.group,o=t.onSelect,a=(0,P.W)().t,c=(Je().setMenuTarget,(0,L.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===r.title})),setSiteConfig:t.setSiteConfig}}))),u=c.siteConfig,l=c.setSiteConfig,s=function(){var t=nr(er().mark((function t(e){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l(r.title,{color:e});case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=nr(er().mark((function t(){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=nr(er().mark((function t(){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("add_tabs_to_group",{title:r.title,color:r.color.tabGroupColor,tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=K.RY.map((function(t){return n.createElement(O.A,{key:t.color,onClick:function(){return s(t.color)}},(null==u?void 0:u.color)===t.color?n.createElement(ke.A,{sx:{color:t.hex,fontSize:"18px"}}):n.createElement(Ae.A,{sx:{color:t.hex,fontSize:"18px"}}))}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,null,p),n.createElement(fe.A,{onClick:h},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("groupMenu.AddTabsToChromeGroups")))),n.createElement(fe.A,{onClick:f},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("groupMenu.RemoveAllTabsFromGroup"))))))}));var ir=r(69100),ar=r(56780),cr=r(20395),ur=r(37893),lr=r(21413);function sr(){return sr=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Fr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Dr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fr(i,n,o,a,c,"next",t)}function c(t){Fr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Wr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r-1?(l(u.id,{title:t,color:n}),chrome.tabGroups.update(u.id,{title:t,color:n})):chrome.tabs.query({windowType:"normal",groupId:-1}).then((function(e){chrome.tabs.group({tabIds:e.map((function(t){return t.id}))}).then((function(e){l(e,{title:t,color:n}),chrome.tabGroups.update(e,{title:t,color:n})}))})),"function"==typeof r&&r()},y=function(){var t=Dr(Gr().mark((function t(e){var n;return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),!(u&&u.id>0)){t.next=6;break}return t.next=4,(0,E.U)("chrome_delete_group",{groupId:u.id});case 4:!1===(n=t.sent).success&&de.oR.error(o(n.error,{ns:"error"})||"Failed to delete group");case 6:"function"==typeof r&&r();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=Dr(Gr().mark((function t(e){var n;return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),!u||!u.id){t.next=7;break}return t.next=4,(0,E.U)("chrome_ungroup",{groupId:u.id});case 4:!1===(n=t.sent).success&&de.oR.error(o(n.error,{ns:"error"})||"Failed to ungroup");case 7:"function"==typeof r&&r();case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=Dr(Gr().mark((function t(e){return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("move_group_to_new_window",{groupId:u.id,moveProperties:{index:-1}}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return e<=0?null:n.createElement(i.A,null,n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{sx:{height:"50px","&:hover":{backgroundColor:"transparent"}}},n.createElement(xe.A,{fullWidth:!0,variant:"outlined"},n.createElement(Ee.A,{htmlFor:"rename-group-name-input"},o("groupMenu.RenameGroup")),n.createElement(Se.A,{id:"rename-group-name-input",fullWidth:!0,value:f.groupName,variant:"outlined",onChange:function(t){return h((function(e){return Mr(Mr({},e),{},{groupName:t.target.value})}))},endAdornment:n.createElement(Ir.A,{position:"end"},n.createElement(O.A,{edge:"end",onClick:function(){return p(f.groupName,f.colorSelected)}},n.createElement(Cr.A,null)))}))),n.createElement(fe.A,null,K.RY.map((function(t){return n.createElement(O.A,{key:t.color,onClick:function(){return p(f.groupName,t.color)}},f.colorSelected===t.color?n.createElement(ke.A,{sx:{color:t.hex,fontSize:"22px"}}):n.createElement(Ae.A,{sx:{color:t.hex,fontSize:"22px"}}))}))),n.createElement(fe.A,{onClick:d},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-96h72v96h480v-408H312v96h-72v-168q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm348-264-51-51 69-69H240v-72h294l-69-69 51-51 156 156-156 156Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.MoveToNewWindow")))),n.createElement(fe.A,{onClick:v},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m339-288-51-51 191-190H313v-72h288v288h-72v-166L339-288Zm405-192v-264H480v-72h336v336h-72ZM216-144q-29.7 0-50.85-21.15Q144-186.3 144-216v-600h72v600h600v72H216Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.Ungroup")))),n.createElement(fe.A,{onClick:y},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.DeleteGroup"))))))};const Zr=(0,n.memo)(Rr);function Yr(t){return Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(t)}function Hr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Hr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Yr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function zr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $r(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$r(t,e):void 0}}(t,e)||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 $r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)try{chrome.tabGroups.get(e).then((function(t){t&&g(t.id,t)}))}catch(t){b()}}),[m,e,g,b]);var w=(0,c.D3)((function(t){var e;return null===(e=t.groups)||void 0===e?void 0:e.length}))||0,x=-1===e?{id:-1,title:v("Ungrouped"),color:K.RY[w%K.RY.length].color}:function(t){for(var e=1;e-1?t.groupId===e:-1===t.groupId}))})),G=(0,T.Lq)(N,L,S,A).map((function(t){return t.id})),F=Qr((0,n.useState)(!x.collapsed),2),D=F[0],W=F[1],M=Qr((0,n.useState)(null),2),B=M[0],q=M[1],U=Qr((0,n.useState)(null),2),R=U[0],Z=U[1];(0,n.useEffect)((function(){return W(!x.collapsed),window.addEventListener("blur",Y),function(){window.removeEventListener("blur",Y)}}),[x.collapsed]);var Y=function(){q(null)},H=function(){var t,r=(t=Hr().mark((function t(r){var n;return Hr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),W(n=!D),t.prev=4,t.next=7,chrome.tabGroups.update(e,{collapsed:!n});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){zr(i,n,o,a,c,"next",t)}function c(t){zr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}(),z=(0,K.vY)(null==x?void 0:x.color),Q=G.map((function(t){return n.createElement(Pr,{key:t,tabId:t})}));return 0!==G.length&&x?n.createElement(a.A,{key:x.id,disablePadding:!0,sx:{background:"".concat((0,dr.Mj)(z.hex).alpha(.15).toRgbString())}},n.createElement(s.Ay,{disableGutters:!0,sx:{padding:0},onClick:H,onContextMenu:function(t){e>0&&(t.preventDefault(),t.stopPropagation(),q({mouseX:t.clientX+2,mouseY:t.clientY-6}),Z(t.currentTarget))}},n.createElement(f.A,{sx:{width:"100%",paddingRight:"row"===k?"10px":void 0,paddingLeft:"row"!==k?"10px":void 0},spacing:.5,direction:k,alignItems:"center",justifyContent:"space-between"},n.createElement(i.A,{flexShrink:0},n.createElement(gr,{group:x})),n.createElement(f.A,{direction:k,alignItems:"center",justifyContent:"flex-end",sx:{flexGrow:1,minWidth:0}},!D&&j&&!u&&n.createElement(yr,{tabIds:G,max:6}),n.createElement(l.A,{showText:!1,groupId:x.id,windowId:x.windowId}))),e>0&&n.createElement(y.A,{key:"menu"+x.id,dense:"true",open:null!==B,anchorEl:R,onClose:Y,onClick:function(t){return t.stopPropagation()}},n.createElement(Zr,{key:"menu"+x.id,groupId:e,onSelect:Y}))),D&&!u&&n.createElement(h.A,{in:D,timeout:"auto"},n.createElement(p.A,null),D&&n.createElement(a.A,{disablePadding:!0,ref:I,sx:{justifyContent:"center"}},Q))):null}));const Jr=Xr;function tn(){return tn=Object.assign?Object.assign.bind():function(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&n.createElement(Ln,{key:1,current:!1}))};const An=(0,n.memo)(Sn);var kn=r(72353),jn=function(t){var e=t.url,r=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor,searchText:t.searchText}})),i=r.theme,a=r.fontWeight,c=r.fontColor,u=r.searchText;return n.createElement(j.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:Math.max(100,a-200),color:"dark"===i?"text.secondary":c||"text.secondary",opacity:.75}},n.createElement(q.A,{text:(0,T.Wj)(e),searchText:u}))};const On=(0,n.memo)(jn);var _n=r(97164),Pn=r.n(_n);function Tn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return In(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?In(t,e):void 0}}(t,e)||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 In(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Kn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Vn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Kn(i,n,o,a,c,"next",t)}function c(t){Kn(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Xn=function(t){var e=t.history,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e.urlMD5}})).keyboardSelected,E=(0,n.useRef)(null);(0,n.useEffect)((function(){x&&E.current&&E.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[x]);var L=function(){var t=Vn($n().mark((function t(){var n;return $n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,kn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:e.url,active:!n});case 3:n||(d(""),m>1&&l("activeTabIndex",1)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Vn($n().mark((function t(r){var n;return $n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),null===(n=chrome.history)||void 0===n||n.deleteUrl({url:e.url}),E.current.style.display="none";case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.A,{ref:E,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:L},n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Zn,{history:e}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:x,sx:(0,w.c)(e.id)},n.createElement(f.A,{sx:zn({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Bn,{avatarUrl:(0,T.Qr)(e.url)}),n.createElement(Fn,{history:e}),x?n.createElement(k.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ce.A,{size:"small"}))):n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:S},n.createElement(N.A,{size:"small"})))))))};const Jn=(0,n.memo)(Xn);var to=r(71341);function eo(t){return eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eo(t)}function ro(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ro=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==eo(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function no(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function oo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){no(i,n,o,a,c,"next",t)}function c(t){no(i,n,o,a,c,"throw",t)}a(void 0)}))}}function io(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ao(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ao(t,e):void 0}}(t,e)||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 ao(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function vo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yo(i,n,o,a,c,"next",t)}function c(t){yo(i,n,o,a,c,"throw",t)}a(void 0)}))}}const mo=(0,n.memo)((function(t){var e=t.urlMD5,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,to.O4)((function(t){return{history:t.histories.find((function(t){return t.urlMD5===e})),deleteHistory:t.deleteHistory}})),E=x.deleteHistory,L=x.history,S=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e}})).keyboardSelected,A=(0,n.useRef)(null);(0,n.useEffect)((function(){S&&A.current&&A.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[S]);var j=function(){var t=vo(po().mark((function t(){var e;return po().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,kn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:L.url,active:!e});case 3:e||(d(""),m>1&&l("activeTabIndex",1)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),_=function(){var t=vo(po().mark((function t(r){return po().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),E(e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return L?n.createElement(i.A,{ref:A,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:j},n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Zn,{history:L}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:S,sx:(0,w.c)(e)},n.createElement(f.A,{sx:fo({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Bn,{avatarUrl:L.favIconUrl||(0,T.Qr)(L.url)}),n.createElement(Fn,{history:L}),S?n.createElement(k.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ce.A,{size:"small"}))):n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:_},n.createElement(N.A,{size:"small"}))))))):null}));function go(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return bo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bo(t,e):void 0}}(t,e)||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 bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function jo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Oo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){jo(i,n,o,a,c,"next",t)}function c(t){jo(i,n,o,a,c,"throw",t)}a(void 0)}))}}function _o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Po(t,e)||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 Po(t,e){if(t){if("string"==typeof t)return To(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?To(t,e):void 0}}function To(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1)){t.next=7;break}return t.next=5,chrome.tabs.group({tabIds:[e],groupId:n.groupId});case 5:t.next=9;break;case 7:return t.next=9,chrome.tabs.ungroup(e);case 9:return t.next=11,chrome.tabs.move(e,{index:n.index,windowId:n.windowId});case 11:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=Oo(ko().mark((function t(e,r){var n,o,i,a;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.find((function(t){return t.id===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=o[0],a=o[o.length-1],!((null==n?void 0:n.index)>(null==a?void 0:a.index))){t.next=10;break}return t.next=8,chrome.tabs.move(e,{index:i.index,windowId:i.windowId});case 8:t.next=12;break;case 10:return t.next=12,chrome.tabs.move(e,{index:a.index,windowId:a.windowId});case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),v=function(){var t=Oo(ko().mark((function t(e,r){var n;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.D3.getState().tabs.find((function(t){return t.id===r})),t.next=3,chrome.tabGroups.move(e,{index:n.index});case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=Oo(ko().mark((function t(e,r){var n,o,i,a,u;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.filter((function(t){return t.groupId===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=Math.min.apply(Math,Ao(n.map((function(t){return t.index})))),a=Math.min.apply(Math,Ao(o.map((function(t){return t.index})))),u=Math.max.apply(Math,Ao(o.map((function(t){return t.index})))),o[0].windowId,t.prev=6,!(i{"use strict";r.d(e,{A:()=>B});var n=r(30758),o=r(39718),i=r(95437),a=r(82794),c=r(17116),u=r(91686),l=r(38743),s=r(4880),f=r(45433),h=r(76740),p=r(64858),y=r(49630),v=r(73236),d=r(39969),m=r(92802),g=r(26166),b=r(8235),w=r(40899),x=r(80802),E=r(72238),L=r(29394),S=r(10308),A=r(70417),k=r(54499),j=r(14621),O=r(61),_=r(13387),P=r(88978),T=r(7379),I=r(61126),C=r(51510);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function G(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */G=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==N(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function F(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return W(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(t,e):void 0}}(t,e)||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 W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>ge});var n=r(30758),o=r(63606),i=r(64858),a=r(39969),c=r(26166),u=r(78797),l=(r(20395),r(55796)),s=r(32453),f=r(17116),h=r(51678),p=r(39718),y=r(38954),v=r(80323),d=r(42132),m=r(91686),g=r(32894),b=r(38743),w=r(4880),x=r(76740),E=r(94512),L=r(21054),S=r(42606),A=r(95437),k=r(97950),j=r(58459),O=r(20649);function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return P(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(t,e):void 0}}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=[];return t.forEach((function(t){if(t.children&&!t.url&&t.id){var i=t.children.filter((function(t){return t.children&&!t.url})).length;o.push({id:t.id,title:t.title,level:r,childFolderCount:i,parentId:n}),o=o.concat(e(t.children,r+1,t.id))}})),o};r(e(t))}))}),[]),e};var I=r(72238);function C(){return C=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0})).map((function(t){return{id:t.id,title:t.title,level:t.level}}))}(T()),c=i.find((function(t){return t.id===e}))||null;return n.createElement(O.A,{value:c,onChange:function(t,e){return r(e||null)},options:i,getOptionLabel:function(t){return t.title},isOptionEqualToValue:function(t,e){return t.id===e.id},renderInput:function(t){return n.createElement(A.A,C({},t,{label:o("selectParentFolder"),fullWidth:!0}))},renderOption:function(t,e){return n.createElement(s.Ay,C({disablePadding:!0},t,{style:{paddingLeft:12*e.level,minHeight:0,paddingTop:0,paddingBottom:0}}),n.createElement(w.A,{sx:{minWidth:0,px:1}},n.createElement(I.A,{fontSize:"small"})),n.createElement(x.A,{noWrap:!0}," ",e.title))},fullWidth:!0})};var G=r(74663);function F(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return D(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?D(t,e):void 0}}(t,e)||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 D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))}}var $=function(t){var e=t.folder,r=t.handleClose,o=t.setIsOpen,c=(0,a.W)().t,u=(0,U.u)((function(t){return{setBookmarksStatus:t.setBookmarksStatus,bookmarks:t.bookmarks}})),l=u.setBookmarksStatus,s=u.bookmarks,h=(0,n.useRef)(new Map),p=function(){var t=Q(H().mark((function t(e){var r,n,o,i,a,c,u,f,y=arguments;return H().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=y.length>1&&void 0!==y[1]?y[1]:3,!e.url){t.next=30;break}if(!/^https?:\/\//i.test(e.url)){t.next=25;break}if(h.current.has(e.id)||(h.current.set(e.id,{status:"loading"}),l(e.id,{status:"loading"})),"accessible"===(null===(n=h.current.get(e.id))||void 0===n?void 0:n.status)){t.next=23;break}return t.prev=7,o=new AbortController,i=setTimeout((function(){return o.abort()}),3e3),t.next=12,fetch(e.url,{signal:o.signal,headers:{"User-Agent":navigator.userAgent}});case 12:if(a=t.sent,clearTimeout(i),a.ok){t.next=16;break}throw new Error("Bookmark ".concat(e.title," is not accessible."));case 16:h.current.set(e.id,{status:"accessible"}),l(e.id,{status:"accessible"}),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(7),r>0?setTimeout((function(){return p(e,r-1)}),1e3):(h.current.set(e.id,{status:"inaccessible"}),l(e.id,{status:"inaccessible"}));case 23:t.next=27;break;case 25:h.current.set(e.id,{status:"accessible"}),l(e.id,{status:"accessible"});case 27:s.filter((function(t){return t.url===e.url})).length>1&&(c=s.filter((function(t){return t.url===e.url})),u=c.map((function(t){return t.parentId})),f=u.map((function(t){return v(t)})),l(e.id,{duplicate:!0,bookmarks:c,parentFolders:f}));case 30:case"end":return t.stop()}}),t,null,[[7,20]])})));return function(e){return t.apply(this,arguments)}}(),v=function(t){var e=[],r=function(t){var n=s.find((function(e){return e.id===t}));n&&(e.push(n.title),n.parentId&&r(n.parentId))};return r(t),e},d=function(t){var e=[];if(t.url)e.push(t);else if(t.children){var r,n=Z(t.children);try{for(n.s();!(r=n.n()).done;){var o=r.value;e=e.concat(d(o))}}catch(t){n.e(t)}finally{n.f()}}return e},m=function(){var t=Q(H().mark((function t(e){var r,n,o,i=arguments;return H().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=i.length>1&&void 0!==i[1]?i[1]:5,n=0;case 2:if(!(nt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return st(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t,e)||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 st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&chrome.windows.create({url:t}),r()}},n.createElement(w.A,null,n.createElement(y.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240v80H200v560h560v-240h80v240q0 33-23.5 56.5T760-120H200Zm440-400v-120H520v-80h120v-120h80v120h120v80H720v120h-80Z"})))),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("openAllInNewWindow",{count:(0,V.US)(e)}))))};var mt=r(31948);const gt=function(t){var e=t.folder,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){var t=[],n=function(e){e.url?t.push(e.url):e.children&&e.children.forEach((function(t){return n(t)}))};n(e),t.length>0&&chrome.windows.create({incognito:!0,url:t}),r()}},n.createElement(w.A,null,n.createElement(mt.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("openAllInIncognitoWindow",{count:(0,V.US)(e)}))))};var bt=r(85455),wt=r(10858),xt=r(40222),Et=(r(82158),r(92906)),Lt=r(74199);const St=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.tabs.create({url:e.url}),r()}},n.createElement(w.A,null,n.createElement(X.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("OpenInNewTab"))))};const At=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.windows.create({url:e.url}),r()}},n.createElement(w.A,null,n.createElement(y.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240v80H200v560h560v-240h80v240q0 33-23.5 56.5T760-120H200Zm440-400v-120H520v-80h120v-120h80v120h120v80H720v120h-80Z"})))),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"}," ",o("OpenInNewWindow"))))};const kt=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.windows.create({url:e.url,incognito:!0}),r()}},n.createElement(w.A,null,n.createElement(mt.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("OpenInIncognitoWindow"))))};function jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||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 Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Vt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xt(t,e):void 0}}(t,e)||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 Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r0?{position:"relative",paddingInlineStart:"20px","&:before":{borderLeft:"1px solid ".concat("dark"===x?"#fff":"inherit"!==L&&L?L:"#ccc"),content:'""',height:"100%",position:"absolute",top:0},"&:after":{borderTop:"1px solid ".concat("dark"===x?"#fff":"inherit"!==L&&L?L:"#ccc"),content:'""',position:"absolute",top:"".concat(20*E,"px"),width:"12px"}}:{}},n.createElement(s.Ay,{disablePadding:!0,sx:{pl:1.5*r},onContextMenu:D},n.createElement(f.A,{enterDelay:1500,title:b("containsCountURLs",{count:(0,V.US)(l)}),arrow:!0},n.createElement(h.A,{disableGutters:!0,selected:u,onClick:F,ref:G,sx:ne(ne({width:"100%"},(0,bt.c)(l.id)),u&&{backgroundColor:"action.selected","&:hover":{backgroundColor:"action.selected"}})},n.createElement(p.A,{direction:"row",alignItems:"center",justifyContent:"flex-start",spacing:1,sx:{width:"100%",pl:j?0:1,pr:1}},n.createElement(p.A,{direction:"row",alignItems:"center"},n.createElement(o.A,null,P?n.createElement(y.A,{sx:{fontSize:22*E}},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640H447l-80-80H160Zm84-80h516l72-240H316l-72 240Zm0 0 72-240-72 240Zm-84-400v-80 80Z"}))):n.createElement(y.A,{sx:{fontSize:22*E}},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z"}))))),n.createElement(i.A,{variant:"h4",sx:{paddingTop:"4px",paddingBottom:"4px",color:"dark"===x?"text.primary":L||"text.primary",fontWeight:S}},l.title))))),n.createElement(v.A,{in:P,timeout:"auto"},P&&n.createElement(d.A,{component:"div",disablePadding:!0},l.children.map((function(t){return t.url?n.createElement(te,{key:t.id,bookmarkId:t.id}):n.createElement(ce,{key:t.id,bookmarkId:t.id,level:r+1})}))))),n.createElement(m.A,{anchorEl:C,open:Boolean(C),onClose:M},Boolean(C)&&n.createElement(o.A,null,n.createElement(W,{folder:l,handleClose:M}),n.createElement(J,{folder:l,handleClose:M}),n.createElement(dt,{folder:l,handleClose:M}),n.createElement(gt,{folder:l,handleClose:M}),n.createElement(g.A,null),n.createElement(K,{folder:l,handleClose:M,setIsOpen:T}),n.createElement(g.A,null),n.createElement(vt,{folder:l,handleClose:M}),n.createElement(nt,{folder:l,handleClose:M}),n.createElement(ft,{folder:l,handleClose:M}))))};const ue=(0,n.memo)(ce);function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0,i=w(t),a=x(i,h).map((function(t){return t.url?n.createElement(te,{key:t.id,bookmarkId:t.id,onSelect:e,level:r}):t.children?n.createElement(ue,{key:t.id,bookmarkId:t.id,level:r}):null}));return n.createElement(o.A,{id:"tree",sx:{position:"relative"}},f?a.map((function(t,e){return n.createElement(o.A,{key:e,sx:{px:1}},t)})):a.map((function(t,e){return n.createElement(o.A,{key:e,role:"treeitem"},t)})))};return n.createElement(o.A,null,n.createElement(he.A,{permission:"bookmarks",updatePermission:v}),0===y.length?n.createElement(i.A,{variant:"body1",sx:{padding:"30px 8px",textAlign:"center",color:"text.secondary"}},r("emptyHere")):"tree"!==l||h?(g=(m=function(t){return t.reduce((function(t,e){return e.url?t.push(e):e.children&&t.push.apply(t,pe(m(e.children))),t}),[])})(y),b=w(g),x(b,h).map((function(t){return n.createElement(te,{key:t.id,bookmarkId:t.id,onSelect:e})}))):"default"===s?n.createElement(fe,{initialItems:y},E(y)):E(y))};const ge=(0,n.memo)(me)},40983:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(39718),o=r(64858),i=r(58459),a=r(30758),c=r(26565),u=r(39969);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>an});var n=r(30758),o=r(63606),i=r(32894),a=r(12050),c=r(26166),u=r(37735),l=r(64858),s=r(17116),f=r(3263),h=r(84480),p=function(t){var e=t.icon,r=t.labelKey,o=t.showLabel,i=t.handleClick,a=(0,h.Bd)().t,u=(0,c.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),p=u.theme,y=u.fontColor,v=o||!r?"":n.createElement(l.A,null,a(r));return n.createElement(s.A,{arrow:!0,title:v,placement:"top"},n.createElement(f.A,{showLabel:o,label:a(r),sx:{variant:"h4",color:"dark"===p?"text.primary":y||"text.primary",paddingX:0,paddingTop:0,minWidth:0,"& .MuiBottomNavigationAction-label":{display:o?"block":"none"}},icon:e,onClick:i}))};const y=(0,n.memo)(p);var v=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"settings"===t.name})))||void 0===e?void 0:e.showLabel)}));return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(u.A,null),labelKey:"Settings",showLabel:t,handleClick:function(){chrome.runtime.openOptionsPage()}}))};const d=(0,n.memo)(v);var m=r(38743),g=r(4880),b=r(38954),w=r(75471),x=r(95532),E=r(39969);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var A=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))}}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(t,e)||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 O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function K(t){var e=t.onSelect,r=(0,E.W)().t,o=function(){var t,r=(t=Q().mark((function t(r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,H.U)("sort_tabs_by_domain"),"function"==typeof e&&e();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$(i,n,o,a,c,"next",t)}function c(t){$(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:o},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M280-120 80-320l200-200 57 56-104 104h607v80H233l104 104-57 56Zm400-320-57-56 104-104H120v-80h607L623-784l57-56 200 200-200 200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("SortTabsByDomain")))}var V=r(23436);function X(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,V.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("discard_inactive_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M520-200v-560h240v560H520Zm-320 0v-560h240v560H200Zm400-80h80v-400h-80v400Zm-320 0h80v-400h-80v400Zm0-400v400-400Zm320 0v400-400Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("DiscardInactiveTabs")))}function J(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,V.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("close_all_discarded_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("CloseAllDiscardedTabs")))}var tt=r(26565),et=r(24032);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),i=o.theme,a=o.onlyCurrentWindowTabs,u=(0,V.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups,currentWindow:t.currentWindow}})),s=u.loadTabs,f=u.loadGroups,h=u.currentWindow,p=function(){var t,n=(t=nt().mark((function t(){var n,o;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,V.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,H.U)("group_tabs_by_domain",{windowId:a?h.id:0});case 4:return n=t.sent,t.next=7,(0,et.e6)();case 7:if(!((o=t.sent)&&o.groupId>-1)){t.next=11;break}return t.next=11,chrome.tabGroups.update(o.groupId,{collapsed:!1});case 11:n.error&&tt.oR.error(n.error,{position:"bottom-center",theme:i}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("An error occurred while grouping tabs"),{position:"bottom-center",theme:i});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,f();case 22:return t.next=24,s();case 24:return t.finish(18);case 25:case"end":return t.stop()}}),t,null,[[0,14,18,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return navigator.userAgent.includes("OPR")?null:n.createElement(m.A,{onClick:p},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-320H520v-160H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("GroupBySite")))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return lt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function vt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yt(i,n,o,a,c,"next",t)}function c(t){yt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function dt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return mt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mt(t,e):void 0}}(t,e)||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 mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=5;break}return t.next=3,chrome.tabs.remove(i);case 3:tt.oR.success("".concat(i.length," ").concat(r("DuplicateTabsRemoved")),{position:"bottom-center",theme:u,hideProgressBar:!0,autoClose:1500}),"function"==typeof e&&e();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return n.createElement(m.A,{disabled:0===i.length,onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m476-420 84-84 84 84 56-56-84-84 84-84-56-56-84 84-84-84-56 56 84 84-84 84 56 56ZM320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-480H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},i.length>0?r("RemoveDuplicateTabs",{count:i.length}):r("NoDuplicateTabs")))}function bt(t){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bt(t)}function wt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */wt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==bt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function xt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Et(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,V.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),i=function(){var t,r=(t=wt().mark((function t(){var r,n;return wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.loadTabs,n=o.loadGroups,t.next=3,n();case 3:return t.next=5,r();case 5:"function"==typeof e&&e();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xt(i,n,o,a,c,"next",t)}function c(t){xt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:i},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160v-80h110l-16-14q-52-46-73-105t-21-119q0-111 66.5-197.5T400-790v84q-72 26-116 88.5T240-478q0 45 17 87.5t53 78.5l10 10v-98h80v240H160Zm400-10v-84q72-26 116-88.5T720-482q0-45-17-87.5T650-648l-10-10v98h-80v-240h240v80H690l16 14q49 49 71.5 106.5T800-482q0 111-66.5 197.5T560-170Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("Reload")))}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return St(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?St(t,e):void 0}}(t,e)||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 St(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r(new Date).getTime()-864e5*((null==s?void 0:s.days)||2)})).length})),h=Xt((0,n.useState)(!1),2),p=h[0],y=h[1],v=(0,n.useRef)(null);(0,n.useEffect)((function(){var t;p&&(null===(t=v.current)||void 0===t||t.focus())}),[p]);return n.createElement(o.A,{sx:{marginTop:"10px"}},n.createElement(Wt.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,sx:{paddingX:2}},p||a?n.createElement(Wt.A,{direction:"row",alignItems:"center",spacing:1,sx:{width:"100%"}},n.createElement(Qt.A,{size:"small",fullWidth:!0,variant:"outlined",placeholder:t("searchByKeyword"),value:a,onChange:function(t){return u(t.target.value)},inputRef:v,InputProps:{startAdornment:n.createElement(Kt.A,{sx:{mr:1,color:r||"text.primary"}}),endAdornment:n.createElement($t.A,{sx:{color:r||"text.primary"},onClick:function(){y(!1),u("")}},n.createElement(Vt.A,null)),sx:{borderColor:r||"text.primary",color:r||"text.primary","&::placeholder":{color:r||"text.primary",opacity:1}}}})):n.createElement(n.Fragment,null,n.createElement(l.A,{variant:"h4"},t("RecentlyTabs")," 〈",f,"〉"),n.createElement(Wt.A,{direction:"row",spacing:1},n.createElement($t.A,{sx:{color:r||"text.primary"},onClick:function(){return y(!0)}},n.createElement(Kt.A,null))))),n.createElement(i.A,{sx:{marginY:1}}))};function ee(t){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function re(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */re=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ee(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ie(t,e):void 0}}(t,e)||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 ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=r})).slice(0,100)).sort((function(t,e){return e.closed_time-t.closed_time})),f(n),v(!1);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ne(i,n,o,a,c,"next",t)}function c(t){ne(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();(0,n.useEffect)((function(){x()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),b.current&&b.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var E=function(){if(!u)return s;var t=u.trim().toLowerCase().split(/\s+/);return s.filter((function(e){return t.every((function(t){return e.title&&e.title.toLowerCase().includes(t)||e.url&&e.url.toLowerCase().includes(t)}))}))};return(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),g((function(t){return(t+1)%E().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),g((function(t){return(t-1+E().length)%E().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),m>=0&&mt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ee(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ee(t,e):void 0}}(t,e)||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 Ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"",e=new Date;return e.setMonth(e.getMonth()-1),new Promise((function(r){var n;null===(n=chrome.history)||void 0===n||n.search({text:t,maxResults:100,startTime:e.getTime(),endTime:Date.now()},(function(t){r(t)}))}))};(0,n.useEffect)((function(){var t=function(){var t=Te(ke().mark((function t(){var e;return ke().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d();case 2:e=t.sent,p((function(t){return Oe(Oe({},t),{},{historyItems:e,tempHistoryItems:e,isLoading:!1})}));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),y.current&&y.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var m=(0,me.A)(function(){var t=Te(ke().mark((function t(e){var r,n,o,i,a,c;return ke().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return p((function(t){return Oe(Oe({},t),{},{isLoading:!0})})),n=e.trim().split(/\s+/),t.next=4,Promise.all(n.map((function(t){return d(t)})));case 4:o=t.sent,i=(r=[]).concat.apply(r,Ae(o)),n.length,a=i.filter((function(t){var e="".concat(t.title," ").concat(t.url).toLowerCase();return n.every((function(t){return e.includes(t.toLowerCase())}))})),c=Array.from(new Set(a.map((function(t){return t.id})))).map((function(t){return a.find((function(e){return e.id===t}))})),p((function(t){return Oe(Oe({},t),{},{tempHistoryItems:c,isLoading:!1})}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),300);return(0,n.useEffect)((function(){m(u)}),[u]),(0,n.useEffect)((function(){f.isLoading||p((function(t){return Oe(Oe({},t),{},{historyItems:f.tempHistoryItems})}))}),[f.isLoading,f.tempHistoryItems]),(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),p((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex+1)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),p((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex-1+t.historyItems.length)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),f.activeIndex>=0&&f.activeIndex=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ue(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ze(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ze(t,e):void 0}}(t,e)||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 Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function gr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=xr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function br(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||xr(t,e)||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 xr(t,e){if(t){if("string"==typeof t)return Er(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Er(t,e):void 0}}function Er(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Or(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var _r=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"scrollToActiveTab"===t.name})))||void 0===e?void 0:e.showLabel)})),e=(0,c.Ay)((function(t){return t.updateSetting})),r=(0,c.Ay)((function(t){return t.activeTabIndex})),o=function(){var t,n=(t=jr().mark((function t(){var n;return jr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r>1&&e("activeTabIndex",1),(n=document.querySelector(".tab-item.active"))&&n.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Or(i,n,o,a,c,"next",t)}function c(t){Or(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(Ar.A,null),labelKey:"ScrollToActiveTab",showLabel:t,handleClick:o}))};const Pr=(0,n.memo)(_r);var Tr=r(40899),Ir=r(8235);function Cr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Nr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nr(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function qr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const Ur=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"themeModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,theme:t.settings.theme}})),e=t.showLabel,r=t.updateSetting,o=t.theme,i=function(){var t,e=(t=Br().mark((function t(){return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r("theme","dark"===o?"light":"dark"),(0,H.U)("update_setting",{key:"theme",value:"dark"===o?"light":"dark"});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qr(i,n,o,a,c,"next",t)}function c(t){qr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:"dark"===o?n.createElement(Dr.A,null):n.createElement(Wr.A,null),labelKey:"dark"===o?"DarkMode":"LightMode",showLabel:e,handleClick:i}))};var Rr=r(15370),Zr=r(27055),Yr=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"viewModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,view:t.settings.view}})),e=t.showLabel,r=t.updateSetting,o=t.view;return n.createElement(n.Fragment,null,n.createElement(y,{icon:"visual"===o?n.createElement(Rr.A,null):n.createElement(Zr.A,null),labelKey:"visual"===o?"view.Compact":"view.Visual",showLabel:e,handleClick:function(){var t="visual"===o?"list":"visual";r("view",t),(0,H.U)("update_setting",{key:"view",value:t})}}))};const Hr=(0,n.memo)(Yr);var zr=r(86730),Qr=r(16383);function $r(t){return $r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$r(t)}function Kr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==$r(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Vr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Xr=function(){var t=(0,h.Bd)().t,e=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"createSnapshot"===t.name})))||void 0===e?void 0:e.showLabel)})),r=function(){var e,r=(e=Kr().mark((function e(){return Kr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Qr.Ay.getState().addSnapshot();case 3:tt.oR.success(t("createSnapshotSuccess")),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),tt.oR.error(t("createSnapshotFailed"));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Vr(i,n,o,a,c,"next",t)}function c(t){Vr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(zr.A,null),labelKey:"createSnapshot",showLabel:e,handleClick:r}))};const Jr=(0,n.memo)(Xr);var tn=r(91376),en=r(94094);function rn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return nn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nn(t,e):void 0}}(t,e)||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 nn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>N});var n=r(30758),o=r(63606),i=r(38521),a=r(72353),c=r(78797),u=r(20395),l=(r(77667),r(32453)),s=r(17116),f=r(51678),h=r(39718),p=r(85455),y=r(48999),v=r(82158),d=r(92906),m=r(42444),g=r(26166),b=r(39969),w=function(t){var e=t.item,r=t.onSelect,i=t.selected,a=((0,b.W)().t,(0,g.Ay)((function(t){return{view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,searchQuery:t.searchQuery}}))),c=a.view,u=a.buttonPosition,w=a.tabPreviewEnable,x=a.tabPreviewWaitSeconds,E=a.searchQuery,L=(0,n.useRef)(null);(0,n.useEffect)((function(){i&&L.current&&L.current.scrollIntoView({behavior:"smooth",block:"center"})}),[i]);return n.createElement(o.A,{sx:{position:"relative"},ref:L},n.createElement(l.Ay,{disablePadding:!0,onClick:function(){chrome.tabs.create({url:e.url}),"function"==typeof r&&r()}},n.createElement(s.A,{followCursor:!0,enterDelay:1e3*parseFloat(x),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:w?n.createElement(d.A,{title:e.title,url:e.url}):""},n.createElement(f.A,{selected:i,component:"div",dense:"list"===c,disableGutters:!0,sx:(0,p.c)(e.url)},n.createElement(h.A,{sx:{width:"100%",paddingRight:"row"===u?"8px":"0",paddingLeft:"row"===u?"0":"8px"},direction:u,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(y.A,{avatarUrl:(0,m.Qr)(e.url)}),n.createElement(v.A,{title:e.title,url:e.url,lastAccessed:e.lastAccessed,searchText:E}))))))};const x=(0,n.memo)(w);var E=r(6767),L=(r(90387),r(76208),r(519),r(23436)),S=r(37893),A=r(61126);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(63606),i=r(39718),a=r(95437),c=r(82794),u=r(32894),l=(r(519),r(39969)),s=r(92802),f=r(62128),h=r(26166),p=r(23436),y=r(61126);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>$});var n=r(30758),o=r(63606),i=r(64858),a=r(42132),c=(r(77667),r(46654)),u=r(32453),l=r(17116),s=r(51678),f=r(39718),h=r(82794),p=r(91686),y=r(38743),v=r(4880),d=r(76740),m=r(8068),g=r(37739),b=r(21252),w=r(74754),x=r(47749),E=r(42444),L=r(26166),S=r(85455),A=r(48999),k=r(82158),j=r(92906),O=r(39969);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==_(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function I(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))}}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(t,e):void 0}}(t,e)||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 N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function H(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,c,"next",t)}function c(t){Y(i,n,o,a,c,"throw",t)}a(void 0)}))}}function z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(t,e):void 0}}(t,e)||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 Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0&&v{"use strict";r.d(e,{A:()=>B});var n=r(30758),o=r(85772),i=r(17116),a=r(63606),c=r(14579),u=r(39969),l=r(23436),s=r(26166),f=r(61126);const h=function(){(0,u.W)().t;var t=(0,s.Ay)((function(t){return{navSetting:t.settings.tabNavOptions.navs.find((function(t){return"OpenTabs"===t.name}))}})).navSetting,e=(0,l.Ay)((function(t){return t.tabs.length})),r=(0,l.Ay)((function(t){return t.initTabs}));return(0,n.useEffect)((function(){0===e&&r()}),[e,r]),null!=t&&t.showCount?n.createElement(f.A,null,"〈",e,"〉"):null};var p=r(71341);const y=function(){(0,u.W)().t;var t=(0,s.Ay)((function(t){return{navSetting:t.settings.tabNavOptions.navs.find((function(t){return"RecentlyTabs"===t.name}))}})).navSetting;(0,n.useEffect)((function(){p.Ay.getState().loadHistories()}),[]);var e=(0,p.Ay)((function(e){return e.histories.filter((function(e){return e.closed_time>(new Date).getTime()-864e5*((null==t?void 0:t.days)||2)})).length}));return null!=t&&t.showCount?n.createElement(f.A,null,"〈",e,"〉"):null};var v=r(10799);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t,e)||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 w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(t,e)||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 O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const B=(0,n.forwardRef)((function(t,e){var r=(0,u.W)().t,l=(0,s.Ay)((function(t){return{updateSetting:t.updateSetting,activeTabIndex:t.settings.activeTabIndex,navs:t.settings.tabNavOptions.navs.filter((function(t){return!0===t.enable})),theme:t.settings.theme,showTabNavs:t.settings.showTabNavs,fontColor:t.settings.fontColor}})),p=l.updateSetting,v=l.activeTabIndex,d=l.navs,m=(l.theme,l.showTabNavs),g=l.fontColor,b={OpenTabs:n.createElement(h,{key:"tab-nav-tabs"}),RecentlyTabs:n.createElement(y,{key:"tab-nav-recentlyTabs"}),history:n.createElement(x,{key:"tab-nav-history"}),readingList:"readingList"in chrome?n.createElement(_,{key:"tab-nav-readingList"}):null,bookmarks:n.createElement(L,{key:"tab-nav-bookmarks"}),quickAccess:n.createElement(P,{key:"tab-nav-quickAccess"})},w={OpenTabs:n.createElement(F.A,{sx:{color:g||"text.primary"},key:"icon-tabs"}),RecentlyTabs:n.createElement(G.A,{sx:{color:g||"text.primary"},key:"icon-recently-tabs"}),history:n.createElement(T.A,{sx:{color:g||"text.primary"},key:"icon-history"}),readingList:"readingList"in chrome?n.createElement(I.A,{sx:{color:g||"text.primary"},key:"icon-readingList"}):null,bookmarks:n.createElement(C.A,{sx:{color:g||"text.primary"},key:"icon-bookmarks"}),quickAccess:n.createElement(N.A,{sx:{color:g||"text.primary"},key:"icon-quickAccess"})},E=function(){var t,e=(t=W().mark((function t(e,r){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,p("activeTabIndex",r);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),S=d.map((function(t,e){return n.createElement(o.A,{component:"div",key:t.id,icon:n.createElement(i.A,{title:n.createElement(f.A,null,r(t.name))},w[t.name]),iconPosition:d.length<=3?"start":"top",label:b[t.name],value:t.id,sx:{minWidth:0,minHeight:"0",padding:"10px"},wrapped:!0})}));return m?n.createElement(a.A,{ref:e,sx:{position:"relative",maxWidth:"100%"}},m&&n.createElement(n.Fragment,null,n.createElement(c.A,{component:"div",value:v,onChange:E,variant:"fullWidth",scrollButtons:"auto",allowScrollButtonsMobile:!0,sx:{minHeight:"0"}},S),n.createElement(a.A,{sx:{width:"100%",opacity:.5,position:"absolute",bottom:0,height:"1px",background:"#ccc"}}))):null}))},20912:(t,e,r)=>{"use strict";r.d(e,{A:()=>qt});var n=r(63606),o=r(32894),i=r(30758),a=r(23436),c=r(26166),u=r(17116),l=r(82794),s=r(91686),f=r(74644),h=r(10858),p=r(74199),y=r(7155),v=function(t){var e=t.favIconUrl,r=(0,y.M)(),n=(r.view,r.fontScale),o=(r.PinnedTabsAsIcons,Math.floor(20*n));return i.createElement(f.A,{sx:{display:"flex",justifyContent:"center",minWidth:o}},i.createElement(h.A,{variant:"square",sx:{background:"transparent",width:o,height:o,alignContent:"center"},"aria-label":"recipe",src:e},i.createElement(p.A,{color:"primary"})))};const d=(0,i.memo)(v);var m=r(90520),g=r(26134),b=r(64858),w=r(42444);function x(t){var e=t.quickAccess,r=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return i.createElement(m.A,{sx:{padding:0,minWidth:"200px"}},i.createElement(g.A,{sx:{padding:"8px"}},i.createElement(b.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:r,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e.title),i.createElement(b.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,w.Wj)(e.url))))}var E=r(73923),L=r(38743),S=r(76740),A=r(91376),k=r(39969);function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==j(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var P=function(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.removeQuickAccess})),c=function(){var t,n=(t=O().mark((function t(){return O().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o(e);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_(i,n,o,a,c,"next",t)}function c(t){_(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("Delete"))))};const T=(0,i.memo)(P);function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}function C(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==I(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function N(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function G(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=C().mark((function t(){return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:o.url}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){N(i,n,o,a,c,"next",t)}function c(t){N(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInNewTab"))))}function F(t){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(t)}function D(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */D=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==F(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=D().mark((function t(){return D().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal"}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInNewWindow"))))}function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==B(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function U(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=q().mark((function t(){return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal",incognito:!0}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){U(i,n,o,a,c,"next",t)}function c(t){U(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInIncognitoWindow"))))}function Z(t){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z(t)}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t){var e=t.uuid,r=t.onSelect,n=t.props,o=(0,k.W)().t,c=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),u=function(){var t,e=(t=H().mark((function t(){return H().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)(c.url);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,Y({},n,{onClick:u}),i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},o("tabMenu.CopyLink"))))}function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function K(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */K=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==$(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=K().mark((function t(){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)(o.title);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){V(i,n,o,a,c,"next",t)}function c(t){V(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("tabMenu.CopyTitle"))))}function J(t){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(t)}function tt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */tt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==J(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function rt(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=tt().mark((function t(){return tt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)("[".concat(o.title,"](").concat(o.url,")"));case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){et(i,n,o,a,c,"next",t)}function c(t){et(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("tabMenu.CopyAsMarkdown"))))}var nt=r(53498),ot=r(94512),it=r(48360),at=r(99358),ct=r(58459),ut=r(39718),lt=r(95437),st=r(62128);function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||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 Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0||s&&y.length>0?i.createElement(n.A,{ref:e},i.createElement(n.A,{sx:{padding:"5px",display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(26px, 1fr))",gap:1,width:"100%"}},l&&p.map((function(t){return i.createElement(Ct.A,{key:"tab-avatar-".concat(t),tabId:t})})),s&&i.createElement(Pt.Mp,{collisionDetection:Pt.fp,onDragEnd:function(t){var e=t.active,r=t.over;if(null!=e&&e.id&&null!=r&&r.id&&e.id!==r.id){var n=v.indexOf(e.id),o=v.indexOf(r.id);(0,Tt.be)(v,n,o).forEach((function(t,e){var r=y.find((function(e){return e.uuid===t}));d(r.uuid,Dt(Dt({},r),{},{sortIndex:e}))}))}},sensors:m},i.createElement(Tt.gB,{items:v},v.map((function(t){var e=y.find((function(e){return e.uuid===t}));return i.createElement(Bt,{key:"tab-avatar-".concat(e.uuid),quickAccess:e})}))))),i.createElement(o.A,null)):null})),Bt=(0,i.memo)((function(t){var e=t.quickAccess,r=(0,Tt.gl)({id:e.uuid}),n=r.attributes,o=r.listeners,a=r.setNodeRef,c=r.transform,u=r.transition,l=r.isDragging;return i.createElement("div",Gt({ref:a,style:{transform:It.Ks.Transform.toString(c),transition:u,cursor:l?"grabbing":"pointer"}},n,o),i.createElement(_t,{quickAccess:e}))}));const qt=(0,i.memo)(Mt)},21413:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=r(30758),o=r(63606),i=r(17116),a=r(82794),c=r(91686),u=r(87331),l=r(23436),s=r(24032),f=r(26166),h=r(42444),p=r(39969),y=r(80985),v=r(15948),d=r(46225);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=E(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||E(t,e)||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 E(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>yr});var n=r(30758),o=r(63606),i=r(73923),a=r(32894),c=r(94094),u=r(38743),l=r(4880),s=r(76740),f=r(64858),h=r(24032),p=r(62128),y=r(39969);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var g=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,h.EL)(e);case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(p.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.closeTab"))))};const b=(0,n.memo)(g);var w=r(23436),x=r(63534);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function L(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(C([])));S&&S!==r&&n.call(S,a)&&(w=S);var A=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==E(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function A(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){return t.currentWindow})),a=function(){var t,n=(t=L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,x.U)("close_other_tabs",{tabId:e,windowId:i.id}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseOtherTabs"))))}function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==k(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=j().mark((function t(){return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){O(i,n,o,a,c,"next",t)}function c(t){O(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteTabs"))))}var P=r(26166);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var N=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_other_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteOtherTabs"))))};const G=(0,n.memo)(N);var F=r(38954);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function W(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.reload(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.Reload"))))}var q=r(39718),U=r(17116),R=r(54638),Z=r(40773);function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function H(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */H=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$(t,e):void 0}}(t,e)||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 $(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r,n;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url,windowId:null===(n=t.tabs.find((function(t){return t.id===e})))||void 0===n?void 0:n.windowId}})),a=i.url,c=i.windowId,h=function(){var t,e=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.create({url:a,windowId:c}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480Zm0-480v480-480ZM246-96v-72h72v72h-72Zm-78-600H96q0-29.7 21.15-50.85Q138.3-768 168-768v72ZM396-96v-72h72v72h-72Zm150 0v-72h72v72h-72Zm-378-72v72q-29.7 0-50.85-21.15Q96-138.3 96-168h72Zm-72-78v-72h72v72H96Zm0-150v-72h72v72H96Zm0-150v-72h72v72H96Zm600 378h72q0 29.7-21.15 50.85Q725.7-96 696-96v-72Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.ReplicateTab"))))}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.pinned})),a=function(){var t,n=(t=nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{pinned:!i}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),c=function(){return n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",viewBox:"0 -960 960 960",width:"18px",fill:"currentColor"},n.createElement("path",{d:i?"M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z":"m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"})))};return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(c,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(i?"tabMenu.UnpinTab":"tabMenu.PinTab"))))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var lt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{audible:null==r?void 0:r.audible,mutedInfo:null==r?void 0:r.mutedInfo}})),a=i.audible,c=i.mutedInfo,h=function(){var t,n=(t=ct().mark((function t(){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a&&chrome.tabs.update(e,{muted:!c.muted}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,c.muted?n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M552-152v-75q86-23 139-93.26 53-70.25 53-159.5 0-89.24-53.5-158.74Q637-708 552-734v-75q116 25 190 117t74 211q0 119-73.5 211.5T552-152ZM144-385v-192h144l192-192v576L288-385H144Zm408 55v-302q45.12 20.4 70.56 61.2Q648-530 648-480.52q0 48.52-25.44 89.23Q597.12-350.59 552-330ZM408-595l-90 90H216v48h102l90 90v-228Zm-91 113Z"}))):n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M768-90 661-197q-22 14-52.5 26.5T552-152v-74q12-5 28.5-11.5T608-250L480-378v187L288-383H144v-192h138L90-768l51-51 678 678-51 51Zm-6-209-52-52q16-29 25-61.5t9-66.5q0-89-53.5-158.5T552-733v-74q117 23 190.5 116T816-479q0 48-14 93.5T762-299ZM638-423l-86-86v-122q45 20 70.5 61.5T648-479q0 14-2 28t-8 28ZM480-581l-93-93 93-93v186Zm-72 216v-85l-72-72-18 19H216v48h102l90 90Zm-36-121Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c.muted?"tabMenu.UnmuteTab":"tabMenu.MuteTab")))):null};const st=(0,n.memo)(lt);function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function yt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,pipOn:null==r?void 0:r.pipOn}})),a=i.pipSupport,c=i.pipOn,h=function(){var t,n=(t=ht().mark((function t(){return ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.h)(e,"switch_pip");case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){pt(i,n,o,a,c,"next",t)}function c(t){pt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),p=n.createElement(F.A,null,c?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M168-192q-29.7 0-50.85-21.15Q96-234.3 96-264v-240h72v240h624v-432H456v-72h336q29.7 0 50.85 21.16Q864-725.68 864-695.96v432.24Q864-234 842.85-213T792-192H168Zm525-120 51-51-93-93h69v-72H528v192h72v-69l93 93ZM96-576v-192h288v192H96Zm384 96Z"})):n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M96-480v-72h165L71-743l50-50 191 190v-165h72v288H96Zm72 288q-29.7 0-50.85-21.15Q96-234.3 96-264v-144h72v144h336v72H168Zm624-264v-240H456v-72h336q29.7 0 50.85 21.15Q864-725.7 864-696v240h-72ZM576-192v-192h288v192H576Z"})));return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,p),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c?"tabMenu.ExitPip":"tabMenu.EnterPip")))):null}var vt=r(20574);function dt(t){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function mt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */mt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==dt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var bt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.tabSwitchPip})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,hostname:null==r?void 0:r.hostname}})),c=a.pipSupport,h=a.hostname,p=(0,vt.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===h})),setSiteConfig:t.setSiteConfig}})),v=p.siteConfig,d=p.setSiteConfig,m=function(){var t,e=(t=mt().mark((function t(){var e;return mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={tabSwitchPip:"boolean"==typeof(null==v?void 0:v.tabSwitchPip)&&!(null!=v&&v.tabSwitchPip)},t.next=3,d(h,e);case 3:return t.next=5,(0,x.U)("update_site_config",{hostname:h,config:e});case 5:"function"==typeof r&&r();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){gt(i,n,o,a,c,"next",t)}function c(t){gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return c&&i?n.createElement(u.A,{onClick:m},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:!1===(null==v?void 0:v.tabSwitchPip)?"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Zm280-40h320v-240H440v240Zm80-80v-80h160v80H520Z":"m554-520 80 80h66q25 0 42.5-17.5T760-500v-120q0-25-17.5-42.5T700-680H500q-22 0-38 14t-21 34l33 32h206v80H554Zm317 317-71-71v-446H354l-80-80h526q33 0 56.5 23.5T880-720v480q0 10-2 19.5t-7 17.5ZM383-463Zm194-34ZM818-28 686-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800l80 80h-80v480h446L26-820l57-57L875-85l-57 57Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(!1===(null==v?void 0:v.tabSwitchPip)?"tabMenu.EnableSiteTabSwitchPip":"tabMenu.DisableSiteTabSwitchPip")))):null};const wt=(0,n.memo)(bt);var xt=r(26157),Et=r(99378),Lt=r(40994);function St(t){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(t)}function At(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */At=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==St(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function jt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){kt(i,n,o,a,c,"next",t)}function c(t){kt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Ot(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t=jt(At().mark((function t(){return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a=(0,w.Ay)((function(t){var r;return{hostname:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname}})),c=a.hostname,h=function(){var t=jt(At().mark((function t(){return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:[e]},(function(t){var e=(0,Et.A)((0,Lt.A)(null==c?void 0:c.replace("www.","").split(".")[0])),r=(0,xt.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=(0,w.Ay)((function(t){var r;return{groupId:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.groupId}})),v=p.groupId;return navigator.userAgent.includes("OPR")?null:n.createElement(n.Fragment,null,-1===v?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabToNewGroup")))):n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.RemoveFromGroup")))))}var _t=r(46654),Pt=r(26565),Tt=r(99701),It=r(10799);function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ft(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,url:r.url}})),c=function(){var t,e=(t=Nt().mark((function t(){return Nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_t.x$)(a);case 2:Pt.oR.success(o("AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Gt(i,n,o,a,c,"next",t)}function c(t){Gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(It.A,{permissionName:"readingList"},n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(Tt.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddToReadingList")))))}var Dt=r(91376);function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}function Mt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Mt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var qt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{index:null==r?void 0:r.index,windowId:null==r?void 0:r.windowId}})),a=i.index,c=i.windowId,h=function(){var t,e=(t=Mt().mark((function t(){return Mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({index:a+1,windowId:c}),"function"==typeof r&&r()}catch(t){Dt.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Bt(i,n,o,a,c,"next",t)}function c(t){Bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M216-216v-528 528Zm0 72q-29.7 0-50.85-21.15Q144-186.3 144-216v-528q0-29.7 21.15-50.85Q186.3-816 216-816h528q29.7 0 50.85 21.15Q816-773.7 816-744v317q-18-4-36-4.5t-36 1.5v-314H216v528h314q-2 18-1.5 36t4.5 36H216Zm555 96-51-51 56-57H624v-72h152l-56-57 51-51 141 144L771-48ZM444-288h72v-156h156v-72H516v-156h-72v156H288v72h156v156Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabOnRight"))))};const Ut=(0,n.memo)(qt);function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Zt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Zt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ht(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url}})).url,a=function(){var t,e=(t=Zt().mark((function t(){var e;return Zt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=new URL(i).hostname,t.next=4,chrome.tabs.create({url:"chrome-extension://".concat(chrome.runtime.id,"/options.html#/sites/").concat(e),active:!0});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0);case 9:"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Yt(i,n,o,a,c,"next",t)}function c(t){Yt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return null!=i&&i.startsWith("http")?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.SiteSettings")))):null}function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Vt=function(){var t=Kt(Qt().mark((function t(e){return Qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",chrome.cookies.getAll({url:e},(function(t){return!chrome.runtime.lastError&&(t.forEach((function(t){chrome.cookies.remove({url:e,name:t.name},(function(){chrome.runtime.lastError}))})),!0)})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}function Jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return te(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(t,e):void 0}}(t,e)||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 te(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function re(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ne(t){var e,r=t.tabId,o=t.onSelect,i=(0,y.W)().t,a=(0,P.Ay)((function(t){return t.settings.theme})),c=(0,w.Ay)((function(t){var e=t.tabs.find((function(t){return t.id===r}))||{};return{id:e.id,url:e.url}})),h=function(){var t,e=(t=ee().mark((function t(){var e;return ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Vt(c.url);case 2:return t.next=4,(0,x.h)(c.id,"clear_browsing_data");case 4:null!=(e=t.sent)&&e.success?Pt.oR.success(i("CacheCleared"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}):Pt.oR.error(i("RefreshTips"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}),"function"==typeof o&&o();case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){re(i,n,o,a,c,"next",t)}function c(t){re(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),p=null===(e=c.url)||void 0===e?void 0:e.startsWith("http"),v=Jt((0,n.useState)(!1),2),d=v[0],m=v[1];return p?n.createElement(It.A,{permissionName:"cookies"},n.createElement(u.A,{onClick:h,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M432-552h96v-240q0-20.4-13.8-34.2Q500.4-840 480-840q-20.4 0-34.2 13.8Q432-812.4 432-792v240ZM216-408h528v-72H216v72Zm-48 240h96v-60q0-15.3 10.29-25.65Q284.58-264 299.79-264t25.71 10.35Q336-243.3 336-228v60h108v-60q0-15.3 10.29-25.65Q464.58-264 479.79-264t25.71 10.35Q516-243.3 516-228v60h108v-60q0-15.3 10.29-25.65Q644.58-264 659.79-264t25.71 10.35Q696-243.3 696-228v60h96l-38-168H207l-39 168Zm624 72H168q-34.97 0-56.48-27Q90-150 98-184l46-200v-96q0-29.7 21.15-50.85Q186.3-552 216-552h144v-240q0-50 35-85t85-35q50 0 85 35t35 85v240h144.25Q774-552 795-530.85T816-480v96l46 200q8 34-13.5 61T792-96ZM216-408v-72 72Zm312-144h-96 96Z"})))),n.createElement(s.A,null,n.createElement(q.A,{direction:"row",alignItems:"center",justifyContent:"space-between"},n.createElement(f.A,{variant:"body1"},i("tabMenu.ClearCookiesAndSiteData")),d&&n.createElement(U.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i("tabMenu.ClearCacheTips"))},n.createElement(Z.A,{fontSize:"small",color:"secondary",sx:{opacity:"0.5"}})))))):null}function oe(t){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oe(t)}function ie(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ie=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==oe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ae(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ce(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ue(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ue(t,e):void 0}}(t,e)||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 ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ye(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ve=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.title})),a=function(){var t,e=(t=pe().mark((function t(){return pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)(i),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ye(i,n,o,a,c,"next",t)}function c(t){ye(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyTitle"))))};const de=(0,n.memo)(ve);function me(t){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(t)}function ge(){return ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t){var e=t.tabId,r=t.onSelect,o=t.props,i=(0,y.W)().t,a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=be().mark((function t(){return be().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)(a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){we(i,n,o,a,c,"next",t)}function c(t){we(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,ge({},o,{onClick:c}),n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},i("tabMenu.CopyLink"))))}function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function Le(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Le=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ee(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Se(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ae=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{title:null==r?void 0:r.title,url:null==r?void 0:r.url}})),a=i.title,c=i.url,h=function(){var t,e=(t=Le().mark((function t(){return Le().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)("[".concat(a,"](").concat(c,")")),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Se(i,n,o,a,c,"next",t)}function c(t){Se(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm216-336h48v-192h48v144h44v-144h52v192h48v-208q0-13.6-9-22.8-9-9.2-21-9.2H462q-12 0-21 9.2t-9 22.8v208Zm-72 120v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyAsMarkdown"))))};const ke=(0,n.memo)(Ae);function je(t){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},je(t)}function Oe(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==je(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _e(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Pe(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.pinToQuickAccess})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,favIconUrl:r.favIconUrl,url:r.url}})),c=(0,w.Ay)((function(t){return t.setQuickAccess})),h=function(){var t,e=(t=Oe().mark((function t(){return Oe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:c(crypto.randomUUID(),a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_e(i,n,o,a,c,"next",t)}function c(t){_e(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M720-320v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80ZM600-80q-127-48-203.5-158T320-484q0-91 36-172.5T458-800H320v-80h280v280h-80v-148q-57 51-88.5 119.5T400-484q0 102 54 187.5T600-167v87Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.PinToQuickAccess")))):null}var Te=r(98876);function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function Ce(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ce=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ie(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ge(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Fe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(t,e):void 0}}(t,e)||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 Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ke(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ve(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ke(i,n,o,a,c,"next",t)}function c(t){Ke(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Je(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(t,e):void 0}}(t,e)||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 Je(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=1&&n<=1e3)){t.next=7;break}return t.next=4,chrome.tabs.setZoom(e,n/100);case 4:h(n/100),t.next=8;break;case 7:L(Math.round(100*c));case 8:b(!1),"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return!A||k.startsWith("chrome://")?null:n.createElement(u.A,null,n.createElement(l.A,null,n.createElement(Ue.A,null)),n.createElement(s.A,null,n.createElement(o.A,{display:"flex",justifyContent:"center",width:"100%"},n.createElement(q.A,{spacing:2,direction:"row",alignItems:"center",justifyContent:"flex-start"},n.createElement(f.A,null,i("zoom")),n.createElement(Me.A,{onClick:O},n.createElement(Re.A,null)),g?n.createElement(Be.A,{value:E,onChange:function(t){var e=t.target.value;/^\d*$/.test(e)&&L(e)},onKeyDown:function(t){"Enter"===t.key&&P()},inputProps:{type:"text",style:{height:"20px"}},endAdornment:n.createElement(qe.A,{position:"end"},n.createElement(Me.A,{onClick:P},n.createElement(ze.A,null)))}):n.createElement(f.A,{onClick:function(){return b(!0)}},"".concat(Math.round(100*c),"%")),n.createElement(Me.A,{onClick:j},n.createElement(Ze.A,null)),n.createElement(U.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i(v?"exitFullscreen":"fullscreen"))},v?n.createElement(Ye.A,{onClick:_}):n.createElement(He.A,{onClick:_}))))))};const er=(0,n.memo)(tr);var rr=r(20258),nr=r(94512),or=r(76392),ir=r(64468),ar=r(58459),cr=r(73914),ur=r(49226),lr=r(8011),sr=r(65684);function fr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return hr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hr(t,e):void 0}}(t,e)||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 hr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(74199),o=r(74644),i=r(10858),a=r(40222),c=r(30758),u=r(7155),l=r(42444),s=function(t){var e=t.status,r=t.favIconUrl,s=t.url,f=(t.pinned,(0,u.M)()),h=(f.view,f.fontScale),p=(f.PinnedTabsAsIcons,Math.floor(20*h)),y="loading"===e,v=r||(0,l.Qr)(s);return c.createElement(o.A,{sx:{display:"flex",justifyContent:"center",minWidth:p}},c.createElement(i.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:p,height:p,alignContent:"center"},"aria-label":"recipe",src:v},c.createElement(n.A,{sx:{fontSize:p},color:"primary"})),y&&c.createElement(a.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:p+1}))};const f=(0,c.memo)(s)},15948:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(90520),i=r(43850),a=r(26134),c=r(64858),u=r(52074),l=r(42444),s=r(7155),f=r(84303),h=function(t){var e=t.title,r=t.thumbnail,h=t.url,p=t.lastAccessed,y=(0,s.M)(),v=y.theme,d=y.fontColor,m=(0,l.Hs)(h),g=(0,s.M)(),b=(0,f.Mj)(d).isDark()?"#fff":"#666";return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},g.tabPreviewImage&&r&&n.createElement(i.A,{sx:{width:"100%",height:"144px",objectFit:"cover"},image:r,title:e}),n.createElement(a.A,{sx:{padding:"8px",background:b}},n.createElement(c.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:600,WebkitBoxOrient:"vertical",margin:"8px 0",color:"dark"===v?"text.primary":d||"text.primary"}},e),n.createElement(c.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical",color:"dark"===v?"text.primary":d||"text.primary",opacity:.75}},(0,l.Wj)(h)),n.createElement(u.A,{hostname:m,lastAccessed:p})))};const p=(0,n.memo)(h)},52074:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(97164),o=r.n(n),i=r(30758),a=r(64858),c=r(39969),u=r(7155);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(26565),i=r(16383),a=r(39969);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}const f=function(){var t=(0,a.W)().t,e=(0,n.useRef)(!1),r=function(){var r=s(u().mark((function r(){var n,a,c,l;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.current){r.next=2;break}return r.abrupt("return");case 2:return e.current=!0,r.next=5,(0,i.Gr)();case 5:if(!(n=r.sent)){r.next=15;break}return r.next=10,(0,i.CM)();case 10:return r.next=12,chrome.tabs.query({windowType:"normal",pinned:!1});case 12:a=r.sent,c=new Set(a.map((function(t){return t.windowId}))).size,a.length<5&&n.tabCount>=3&&1===c&&(l=o.oR.info(t("reopenSnapshotMessage",{windowCount:n.windowCount,tabCount:n.tabCount}),{position:"bottom-center",autoClose:!1,closeOnClick:!0,theme:"colored",onClick:function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getURL("/options.html#/snapshots"),t.next=3,chrome.tabs.create({url:e,active:!0});case 3:o.oR.dismiss(l);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}));case 15:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){r()}),[]),null}},66853:(t,e,r)=>{"use strict";r.d(e,{A:()=>ht});var n=r(30758),o=r(39969),i=r(26166),a=r(23436),c=r(39718),u=r(98840),l=r(17116),s=r(64858),f=r(82794),h=r(38253),p=r(81275);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=b(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||b(t,e)||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 b(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&u("activeTabIndex",1);var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},sx:{padding:"4px",color:p||"text.primary"}},n.createElement(L.A,{size:"small"})))};const A=(0,n.memo)(S);var k=r(40899),j=r(8235);function O(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1})))||void 0===e?void 0:e.length}})).groupCount,y=function(t,e){t.preventDefault(),t.stopPropagation(),h("groupExpanded",e),chrome.tabGroups.query({},(function(t){var r,n=O(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;o.collapsed===e&&chrome.tabGroups.update(o.id,{collapsed:!e})}}catch(t){n.e(t)}finally{n.f()}}))};switch(r){case"mixed":if(0===p)return null;break;case"domain":case"chromeGroup":case"tabWindow":break;default:return null}return u?n.createElement(l.A,{arrow:!0,title:n.createElement(s.A,null,t("CollapseAll"))},n.createElement(f.A,{sx:{color:c||"text.primary"},onClick:function(t){return y(t,!1)}},n.createElement(k.A,{size:"small"}))):n.createElement(l.A,{arrow:!0,title:n.createElement(s.A,null,t("ExpandAll"))},n.createElement(f.A,{sx:{color:c||"text.primary"},onClick:function(t){return y(t,!0)}},n.createElement(j.A,{size:"small"})))}var T=r(68688),I=r(99552),C=r(63606),N=r(58459),G=r(91686),F=r(73923),D=r(38743),W=r(4880),M=r(76740),B=r(63534),q=r(29394);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function R(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */R=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return H(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}(t,e)||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 H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return J(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?J(t,e):void 0}}(t,e)||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 J(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&g&&n.createElement(E,null),f<=1&&!L&&b&&n.createElement(A,{label:r("ScrollToActiveTab")}),n.createElement(P,{sx:{flexShrink:0}}),f<=1&&v&&n.createElement(z,{showText:!h}),f<=1&&y&&n.createElement(et,{showText:!h}),f<=1&&d&&n.createElement(it,null),m&&n.createElement(lt,null))):null}));const ht=(0,n.memo)(ft)},61126:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(64858),i=r(26166);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}var c=["children","sx"];function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e{"use strict";r.d(e,{A:()=>a});var n=r(30758),o=r(64858),i=r(63606);const a=function(t){var e=t.text,r=t.searchText;if(!r)return n.createElement(o.A,null,e);var a=r.trim().replace(/\s+/g," ").split(" "),c=new RegExp("(".concat(a.join("|"),")"),"gi");return n.createElement(o.A,{component:"span"},Array.from(e.split(c)).map((function(t,e){return c.test(t)?n.createElement(i.A,{key:e,component:"span",sx:{backgroundColor:"#FFFF00",color:"#333"}},t):n.createElement(i.A,{key:e,component:"span"},t)})))}},85993:(e,r,n)=>{"use strict";n.a(e,(async(e,o)=>{try{n.d(r,{A:()=>j});var i=n(30758),a=n(42444),c=n(72353),u=n(23436),l=n(26166),s=n(24032),f=n(71341),h=n(63534),p=n(6767),y=n(8148),v=n(15375);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t){return E(t)||x(t)||w(t)||b()}function b(){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 w(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function x(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function E(t){if(Array.isArray(t))return L(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=await(0,v.u)();function j(){var e=(0,l.Zz)((function(t){return{activeTabIndex:t.settings.activeTabIndex,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons,searchText:t.searchText,orderBy:t.settings.orderBy,sortBy:t.settings.sortBy,historyDataSource:t.settings.historyDataSource,tabSearchShowHistory:t.settings.tabSearchShowHistory,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs,setSearchText:t.setSearchText}})),r=e.activeTabIndex,n=e.PinnedTabsAsIcons,o=e.searchText,v=e.orderBy,m=e.sortBy,b=e.historyDataSource,w=e.tabSearchShowHistory,x=e.onlyCurrentWindowTabs,E=e.setSearchText,L=(0,u.D3)((function(t){return{tabCount:t.tabs.length,keyboardSelected:t.keyboardSelected,tabs:t.tabs.filter((function(t){return!x||t.windowId===(null==d?void 0:d.id)})).filter((function(t){return!n||!1===t.pinned})).map((function(t){return{id:t.id,url:t.url}})),keyItems:t.keyItems,activeTabId:t.activeTabId}})),A=L.tabCount,j=L.keyboardSelected,O=L.tabs,_=L.keyItems,P=L.activeTabId,T=(0,p.s)((function(t){return{waitForSelectTab:t.waitForSelectTab,setWaitForSelectTab:t.setWaitForSelectTab,hasSelectedTabIds:t.selectedTabIds.length>0,popupPanelActived:t.popupPanelActived}})),I=T.waitForSelectTab,C=T.setWaitForSelectTab,N=T.hasSelectedTabIds,G=T.popupPanelActived,F=function(){var t=k(S().mark((function t(e){var r;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.vx)(b);case 2:return r=t.sent,t.abrupt("return",(0,a.Lq)(r,e,"desc","closed_time").map((function(t){return{type:"history",key:t.urlMD5,url:t.url}})));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=k(S().mark((function t(){var e;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=[],!(r<=1)){t.next=12;break}if(e=(0,a.Lq)(O,o,v,m,d.id).reduce((function(t,e,r){return[].concat(g(t),[{type:"tab",key:e.id,url:e.url}])}),[]),!o||!w){t.next=12;break}return t.t0=[],t.t1=g(e),t.t2=g,t.next=9,F(o);case 9:t.t3=t.sent.slice(0,10),t.t4=(0,t.t2)(t.t3),e=t.t0.concat.call(t.t0,t.t1,t.t4);case 12:if(3!==r){t.next=16;break}return t.next=15,F(o);case 15:e=t.sent;case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,i.useEffect)((function(){D().then((function(t){u.D3.setState({keyItems:t})}))}),[r,n,o,v,m,b,A]),(0,c.vC)("ArrowUp",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==j?void 0:j.key)||P)}))||0,r=e-1<0?_.length-1:e-1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("ArrowDown",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==j?void 0:j.key)||P)}))||0,r=e+1>_.length-1?0:e+1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Enter",function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G){e.next=2;break}return e.abrupt("return");case 2:if(r.preventDefault(),r.stopPropagation(),1===_.length&&u.D3.setState({keyboardSelected:_[0]}),!j){e.next=22;break}if(u.D3.setState({keyboardSelected:null}),l.Zz.setState({searchText:""}),"tab"!==j.type){e.next=11;break}return e.next=11,(0,s.I7)(j.key);case 11:if("history"!==j.type){e.next=20;break}return e.next=14,chrome.tabs.create({url:j.url,active:!0});case 14:return e.next=16,f.O4.getState().deleteHistory(j.key);case 16:return e.next=18,l.Zz.getState().updateSetting("activeTabIndex",0);case 18:return e.next=20,(0,h.U)("update_setting",{key:"activeTabIndex",value:0});case 20:e.next=23;break;case 22:o&&chrome.permissions.contains({permissions:["search"]},function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):chrome.permissions.request({permissions:["search"]},function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):toast.error(t("settings.history.dataSource.deniedMessage"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Shift",(function(t){G||("keydown"===t.type&&(0,c.vs)("shift")&&!I&&C(!0),"keyup"!==t.type||N||C(!1))}),{enableOnFormTags:["TEXTAREA","INPUT"],keyup:!0,keydown:!0}),(0,c.vC)("esc",(function(t){p.s.setState({popupPanelActived:!1}),j&&u.D3.setState({keyboardSelected:null}),C(!1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),i.createElement("div",null)}o()}catch(O){o(O)}}),1)},56527:(e,r,n)=>{"use strict";n.d(r,{A:()=>L});var o=n(30758),i=n(95437),a=n(82794),c=n(49630),u=n(84865),l=n(64364),s=n(17116),f=n(26166),h=n(26565),p=n(20824);n(7379);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))}}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&o.createElement(o.Fragment,null,o.createElement(a.A,{onClick:function(){n({focused:!1,localSearchText:""}),g(""),S("")},sx:{color:w||"text.primary"}},o.createElement(u.A,{size:"small"})),o.createElement(a.A,{onClick:k,sx:{color:w||"text.primary"}},o.createElement(s.A,{arrow:!0,title:"Press Enter to search in a new tab"},o.createElement(p.A,{size:"small"})))),sx:{borderColor:w||"text.primary",color:w||"text.primary","&::placeholder":{color:w||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;n((function(t){return b(b({},t),{},{localSearchText:e})})),S(e),g(e)},onFocus:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseEnter:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseLeave:function(){return n((function(t){return b(b({},t),{},{focused:!1})}))}}))}},98840:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});var n=r(13387),o=r(38743),i=r(4880),a=r(76740),c=r(64858),u=r(17116),l=r(82794),s=r(58459),f=r(30758),h=r(39969),p=r(26166);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e-1?d:"https://"+d),E&&(n.windowId=E),t.next=8,chrome.tabs.create(m({active:!0},n));case 8:if(o=t.sent,!(r&&r>0)){t.next=12;break}return t.next=12,chrome.tabs.group({tabIds:[o.id],groupId:r});case 12:if(!(O>1)){t.next=15;break}return t.next=15,j("activeTabIndex",1);case 15:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return S?f.createElement(o.A,{onClick:I},f.createElement(i.A,null,f.createElement(n.A,null)),f.createElement(a.A,null,f.createElement(c.A,{noWrap:!0},T("NewTab"))),f.createElement(c.A,{variant:"body2",color:"text.secondary"},"Ctrl +T")):w?f.createElement(s.A,{sx:{padding:"5px",color:P||"text.primary"},startIcon:f.createElement(n.A,null),variant:"text",onClick:I},f.createElement(c.A,{noWrap:!0,variant:"body1",sx:{color:"dark"===_?"text.primary":P||"text.primary"}},T("NewTab"))):f.createElement(u.A,{arrow:!0,title:f.createElement(c.A,null,T("NewTab"))},f.createElement(l.A,{sx:{padding:"5px",color:P||"text.primary"},onClick:I},f.createElement(n.A,null)))};const x=(0,f.memo)(w)},10799:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(63606),i=r(17116),a=r(64858),c=r(82794),u=r(26565),l=r(39969),s=r(75552);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))}}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>u});var n=r(30758),o=r(74199),i=r(74644),a=r(10858),c=r(26166);const u=(0,n.memo)((function(t){var e=t.avatarUrl,r=(0,c.Ay)((function(t){return{avatorSize:Math.floor(("visual"===t.settings.view?28:20)*t.settings.fontScale),buttonPosition:t.settings.buttonPosition}})),u=r.avatorSize,l=r.buttonPosition;return n.createElement(i.A,{sx:{display:"flex",justifyContent:"center",minWidth:u,padding:l?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(a.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:u,height:u,alignContent:"center"},"aria-label":"recipe",src:e},n.createElement(o.A,{sx:{fontSize:u},color:"primary"})))}))},92906:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(30758),o=r(90520),i=r(26134),a=r(64858),c=r(26166),u=r(42444);function l(t){var e=t.title,r=t.url,l=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},n.createElement(i.A,{sx:{padding:"8px"}},n.createElement(a.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:l,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e),n.createElement(a.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,u.Wj)(r))))}},82158:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(30758),o=r(63606),i=r(64858),a=r(26166),c=r(42444),u=r(14622);const l=(0,n.memo)((function(t){var e=t.url,r=t.searchText,o=(0,a.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor}})),l=o.theme,s=o.fontWeight,f=o.fontColor;return n.createElement(i.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:s-200<=0?100:s-200,color:"dark"===l?"text.secondary":f||"text.secondary",opacity:.75}},n.createElement(u.A,{text:(0,c.Wj)(e),searchText:r}))}));var s=r(97164),f=r.n(s),h=r(39969);function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t,e)||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 y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>c});var n=r(63606),o=r(40222),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},40146:(t,e,r)=>{"use strict";r.d(e,{R:()=>g});var n=r(23436),o=r(26166),i=r(20574),a=r(24032),c=r(36161),u=r(96033),l=r(15375);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=null,m=new Set,g=function(){var t=v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.u)();case 2:d=t.sent,b();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t,e=n.Ay.getState(),r=e.setTabConfig,l=e.setQuickAccess,s=i.D.getState().setSiteConfig,h=c.W.getState(),y=h.setReadingProgress,g=h.setPlayingProgress,b=o.Ay.getState(),w=b.settings,x=b.updateSetting,E=0,L=function(){var t=v(p().mark((function t(e){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e&&e.onDisconnect.addListener(v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(E<5)){t.next=9;break}return E++,t.next=5,new Promise((function(t){return setTimeout(t,1e3)}));case 5:e=chrome.runtime.connect({name:"sidepanel_".concat(d.id)}),L(e),t.next=10;break;case 9:case 10:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function S(){return(S=v(p().mark((function t(e,o,i){var c,h,v,d,b,E,L,S,A,k,j,O;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,h=e.data,v=(null==h?void 0:h.tabId)||(null===(c=o.tab)||void 0===c?void 0:c.id),t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"page_enter_fullscreen"===t.t0?8:"close_sidepanel"===t.t0?11:"update_setting"===t.t0?14:"update_site_config"===t.t0?18:"update_tab_config"===t.t0?22:"page_scrolled"===t.t0?26:"playing_timeupdate"===t.t0?29:"page_picture_in_picture"===t.t0?33:"page_video_intersection_changed"===t.t0?39:"addQuickAccess"===t.t0?50:63;break;case 6:return i({success:!0,data:{is_sidepanel_opened:!0}}),t.abrupt("break",64);case 8:return w.fullScreenHideSidePanel&&window.close(),i({success:!0}),t.abrupt("break",64);case 11:return window.close(),i({success:!0}),t.abrupt("break",64);case 14:return t.next=16,x(h.key,h.value);case 16:return i({success:!0}),t.abrupt("break",64);case 18:return t.next=20,s(h.hostname,h.config);case 20:return i({success:!0}),t.abrupt("break",64);case 22:return t.next=24,r(v,h.tabConfigs);case 24:return i({success:!0}),t.abrupt("break",64);case 26:return y(v,h.scrollProgress),i({success:!0}),t.abrupt("break",64);case 29:return(d=u.L.get("playing_progress_bar_locked_".concat(v)))||h.isUsableVideo&&g(v,h),i({success:!0,checkLock:d}),t.abrupt("break",64);case 33:return t.next=35,(0,a._D)(v,o.frameId,h);case 35:return b=t.sent,r(v,b),i({success:!0}),t.abrupt("break",64);case 39:if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=44;break}return t.next=42,(0,a.D1)(o.tab.id,"scroll","exitPictureInPicture");case 42:t.next=46;break;case 44:return t.next=46,(0,a.D1)(o.tab.id,"scroll","enterPictureInPicture");case 46:return t.next=48,r(o.tab.id,{video_visiable:e.data.video_visiable});case 48:return i({success:!0}),t.abrupt("break",64);case 50:E=e.data.items,L=n.Ay.getState().quickAccess,S=f(L);try{for(S.s();!(A=S.n()).done;)k=A.value,m.add(k.url)}catch(t){S.e(t)}finally{S.f()}j=p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=E[O],-1!==L.findIndex((function(t){return t.url===e.url}))||m.has(e.url)){t.next=5;break}return t.next=4,l(crypto.randomUUID(),e);case 4:m.add(e.url);case 5:case"end":return t.stop()}}),t)})),O=0;case 56:if(!(O{"use strict";r.d(e,{Z:()=>et});var n=r(24032),o=(r(98258),r(95532)),i=r(26157);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}var s=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},f=function(){var t=l(c().mark((function t(e){var r,a,u,l,f,h;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,o.cE)("user_settings");case 9:if(null==(a=t.sent)||!a.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return u=s(r.url),t.next=16,chrome.tabGroups.query({title:u,windowId:r.windowId});case 16:if((l=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return f=t.sent,t.next=24,chrome.tabGroups.update(f,{title:u,color:i.RY[f%i.RY.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(h=l[0].id,-1!==r.groupId&&r.groupId===h){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:h});case 31:return t.next=33,(0,n.I7)(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),h=r(23436),p=r(26166),y=r(71341),v=r(8148),d=r(39392),m=r(42444),g=r(63534),b=r(36161);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=b.prototype=m.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(38962),o=r(67478),i=r(94094),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},98258:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)}),[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(y=s(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set(u({},e,r));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"get",value:(p=s(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"getOrSet",value:(h=s(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"remove",value:(l=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"delete",value:(a=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"clear",value:(o=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"prune",value:(r=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"keys",value:(e=s(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"whereIn",value:(t=s(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}]);var t,e,r,o,a,l,h,p,y}();const v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(p.has(t))return p.get(t);var e=new y(t);return p.set(t,e),e}},26157:(t,e,r)=>{"use strict";r.d(e,{FE:()=>h,FQ:()=>c,RY:()=>l,dw:()=>i,ql:()=>a,u0:()=>u,vY:()=>f});var n=r(90533),o=r(42444),i={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},a=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],c=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,o.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(i.hex,n),", ").concat((0,o.E2)(i.hex,n/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.complementary,n),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.analogous[0],n),", ").concat((0,o.E2)(t.analogous[1],n),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.triadic[0],n),", ").concat((0,o.E2)(t.triadic[1],n),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.tetradic[0],n),",").concat((0,o.E2)(t.tetradic[1],n),", ").concat((0,o.E2)(t.tetradic[2],n),")")}return a},u=a.filter((function(t){return t.color!==t.tabGroupColor})),l=a.filter((function(t){return t.color===t.tabGroupColor})),s=0,f=function(t,e){var r=i;if(!1===t)return r;var n=a.find((function(e){return e.color===t}));return n?r=n:(r=u[(e||s)%u.length],s++,r)},h=function(){return(0,n.A)(a)}},69100:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,QR:()=>f,sc:()=>u});var s=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];function f(t){if(!t)return 0;for(var e=~0,r=0;r>>8^s[255&(e^t.charCodeAt(r))];return~e>>>0}},42444:(t,e,r)=>{"use strict";r.d(e,{AY:()=>h,E2:()=>y,Hs:()=>f,Lq:()=>v,Qr:()=>g,SH:()=>x,US:()=>L,Wj:()=>E,a3:()=>m,eM:()=>p,fL:()=>b,kU:()=>d});var n=r(44731),o=r(47646);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}var v=function(t,e,r,n,i){if(i?(t=t.map((function(t){return l(l({},t),{},{inActiveWindow:t.windowId===i?1:0})})),t=(0,o.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,o.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t};function d(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var m=function(t,e){return isNaN(t)||isNaN(e)||t<0||e<=0?"00:00":(t=Math.floor(t),(e=Math.floor(e))<3600?new Date(1e3*t).toISOString().substring(14,19):new Date(1e3*t).toISOString().substring(11,19))};function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function b(t){return w.apply(this,arguments)}function w(){var t;return t=i().mark((function t(e){var r,n,o,a,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),w=function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))},w.apply(this,arguments)}var x=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},E=function(t){try{return decodeURIComponent(t)}catch(e){return t}},L=function(t){return t.url?1:t.children?t.children.reduce((function(t,e){return t+L(e)}),0):0}},80973:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h});var n=r(70804),o=r(84480),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._db=null,this._cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this._ensureDbConnection();case 5:return t.next=7,this._db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return x.apply(this,arguments)})},{key:"get",value:(w=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return w.apply(this,arguments)})},{key:"getOrSet",value:(b=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"remove",value:(g=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return g.apply(this,arguments)})},{key:"delete",value:(m=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"prune",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return d.apply(this,arguments)})},{key:"clear",value:(v=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return v.apply(this,arguments)})},{key:"keys",value:(y=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return y.apply(this,arguments)})},{key:"length",value:(p=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return p.apply(this,arguments)})},{key:"whereIn",value:(u=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return u.apply(this,arguments)})},{key:"all",value:(a=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return a.apply(this,arguments)})},{key:"batchSet",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return r.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],[{key:"create",value:(e=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})}]);var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,S}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},96033:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":51742,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":43878,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},l={};function s(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return u[t].call(r.exports,r,r.exports,s),r.exports}s.m=u,e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",r="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",n="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},s.a=(t,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=t.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[r]=h,p[e]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),t.exports=p,i((t=>{var i;u=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var i=[];i.d=0,t.then((t=>{a[r]=t,o(i)}),(t=>{a[n]=t,o(i)}));var a={};return a[e]=t=>t(i),a}}var c={};return c[e]=t=>{},c[r]=t,c})))(t);var a=()=>u.map((t=>{if(t[n])throw t[n];return t[r]})),l=new Promise((t=>{(i=()=>t(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((t=>t[e](r)))}));return i.r?l:a()}),(t=>(t?s(p[n]=t):l(h),o(c)))),c&&c.d<0&&(c.d=0)},i=[],s.O=(t,e,r,n)=>{if(!e){var o=1/0;for(l=0;l=n)&&Object.keys(s.O).every((t=>s.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&i[l-1][2]>n;l--)i[l]=i[l-1];i[l]=[e,r,n]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},c=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,s.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);s.r(r);var n={};a=a||[null,c({}),c([]),c(c)];for(var o=2&e&&t;"object"==typeof o&&!~a.indexOf(o);o=c(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,s.d(r,n),r},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.j=887,(()=>{var t={887:0};s.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)var l=c(s)}for(e&&e(r);us(64395)));f=s.O(f)})(); //# sourceMappingURL=popup.js.map \ No newline at end of file diff --git a/build/sidePanel.js b/build/sidePanel.js index 469f209..4cba4b5 100644 --- a/build/sidePanel.js +++ b/build/sidePanel.js @@ -1,4 +1,4 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="05a03817-909d-4132-9f28-eae94766da93",t._sentryDebugIdIdentifier="sentry-dbid-05a03817-909d-4132-9f28-eae94766da93")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{var e,r,n,o,i,a,c,u={1084:(t,e,r)=>{"use strict";r.d(e,{BW:()=>u,UN:()=>f,Y_:()=>a,Yv:()=>h,Zw:()=>c,gh:()=>o,kQ:()=>l,oK:()=>n,sj:()=>s,te:()=>i});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center "},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center "},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center "},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center "},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center "},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center "},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center "},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center "},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center "},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center "},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center "},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center "},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center "},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center "},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center "},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center "},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center "},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center "},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"center "},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"center "}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"flex-start"},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:0,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=(chrome.runtime.getURL("images/bg.jpg"),{fontScale:.75,fontWeight:600,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"}),a={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},s={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},f={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},h={rememberSiteZoom:!0}},8926:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}r.d(e,{Ng:()=>h,UT:()=>s,d4:()=>p,rE:()=>y,x$:()=>f});var s=function(){return"readingList"in chrome},f=function(){var t=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.addEntry({hasBeenRead:!1,title:e.title,url:e.url});case 5:return t.abrupt("return",!0);case 8:t.prev=8,t.t0=t.catch(2);case 11:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",[]);case 2:return t.prev=2,t.next=5,chrome.readingList.query({});case 5:return e=t.sent,t.abrupt("return",e.sort((function(t,e){return e.creationTime-t.creationTime})));case 9:return t.prev=9,t.t0=t.catch(2),t.abrupt("return",[]);case 13:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.removeEntry({url:e});case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=l(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,chrome.readingList.updateEntry(i({url:e},r));case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e,r){return t.apply(this,arguments)}}()},86670:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},67744:(t,e,r)=>{"use strict";r.d(e,{D1:()=>G,EL:()=>k,I7:()=>j,Mt:()=>N,Z7:()=>P,_D:()=>F,bw:()=>O,e6:()=>L,vf:()=>C,xn:()=>T});var n=r(94252),o=r(8148),i=r(54098),a=r(5708),c=r(11094),u=r(50637),l=r(73356),s=r(51742),f=r(86670);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||g(t,e)||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 y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))}}function L(){return S.apply(this,arguments)}function S(){return(S=E(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({active:!0,url:["http://*/*","https://*/*"]});case 2:return e=t.sent,r=e[0],t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var j=function(){var t=E(w().mark((function t(e,r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,i.A)("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:a.D3.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return a.D3.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){(0,i.A)("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();function O(){return A.apply(this,arguments)}function A(){return(A=E(w().mark((function t(){var e,r,n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={active:!0,lastFocusedWindow:!0},t.next=3,chrome.tabs.query(e);case 3:return r=t.sent,n=p(r,1),o=n[0],t.abrupt("return",o);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var k=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,P(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:a.D3.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,(0,o.A)(I,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),_=new Set,P=function(){var t=E(w().mark((function t(e){var r,n;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.add(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(m(r),[e]),t.next=10,(0,i.A)("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!_.has(e)){t.next=2;break}return t.abrupt("return",!0);case 2:return t.next=4,(0,i.A)("session").get("tabRemoveList");case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=[];case 7:return t.t0.forEach((function(t){return _.add(t)})),t.abrupt("return",_.has(e));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=E(w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.delete(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,(0,i.A)("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=function(t){var e=v({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),o=r.hostname,i=r.origin;return e.hostname=o,e.origin=i,e.hostname=(0,n.AY)(e.url)?o:e.url,e.tabId=t.id,e.color=u.u0[t.id%u.u0.length],e},N=function(){var t=E(w().mark((function t(e){var r,o,i,a,u,l;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=c.Zz.getState().settings,o=r.tabPreviewEnable,i=r.tabPreviewImage,o&&i){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if((0,n.AY)(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((u=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(u.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return l=t.sent,t.abrupt("return",l);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),G=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.cE)("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,a.Kn)(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return i=t.sent,t.next=18,s.D.getState().getSiteConfig(new URL(i.url).hostname);case 18:if(!1!==(null==(c=t.sent)?void 0:c.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,(0,f.h)(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),F=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,(0,a.r4)(e,"pipMap",v(v({},o),{},d({},r,n)));case 6:return t.next=8,D(e,"pipSupport");case 8:return i=t.sent,t.next=11,(0,a.r4)(e,"pipSupport",i);case 11:return t.next=13,D(e,"pipOn");case 13:return c=t.sent,t.next=16,(0,a.r4)(e,"pipOn",c);case 16:return t.abrupt("return",{pipMap:o,pipSupport:i,pipOn:c});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),D=function(){var t=E(w().mark((function t(e,r){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=w().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},48367:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{u:()=>c});var a=null,c=function(){var t,e=(t=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return t.prev=2,t.next=5,chrome.windows.getCurrent();case 5:a=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}()},97773:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>j,O4:()=>E,vx:()=>S});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(78698),u=r(40875),l=r(40492),s=r(50637);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t)||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 p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))}}var w=function(){var t=b(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),x=new Map,E=(0,a.h)((0,n.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(i=b(m().mark((function e(){var r,n,i,a,c,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,i=void 0===n?3:n,e.next=10,w();case 10:return a=e.sent,e.next=13,a.all();case 13:c=e.sent,u=c.filter((function(t){return t.closed_time>=Date.now()-1e3*i*60*60*24})),t({histories:u,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),addHistory:(n=b(m().mark((function e(r){var n,i,a,u,f,p,y;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,o.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,i=n.tabIntoHistoryNeedAliveSeconds,!(Date.now(){"use strict";r.d(e,{W:()=>f});var n=r(39897),o=r(30554),i=r(63413),a=r(91278);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e{"use strict";r.d(e,{s:()=>c});var n=r(39897),o=r(30554),i=r(63413),a=r(91278),c=(0,i.h)((0,a.eh)((0,n.D)((function(t){return{waitForSelectTab:!1,selectedTabIds:[],popupPanelActived:!1,setWaitForSelectTab:function(e){t((function(t){t.waitForSelectTab=e,e||(t.selectedTabIds=[])}))},setSelectedTabIds:function(e){return t((function(t){t.selectedTabIds=e}))},addSelectedTabId:function(e){t((function(t){t.selectedTabIds.push(e)}))},deleteSelectedTabId:function(e){t((function(t){t.selectedTabIds=t.selectedTabIds.filter((function(t){return t!==e})),0===t.selectedTabIds.length&&(t.waitForSelectTab=!1)}))}}})),o.x))},51742:(t,e,r)=>{"use strict";r.d(e,{D:()=>g});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},93919:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>L,CM:()=>E,Gr:()=>x});var n=r(39897),o=r(73356),i=r(30554),a=r(63413),c=r(91278),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x)),x=((0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),E=function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.remove("cachedWindows");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const L=w},5708:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>G,D3:()=>O,H8:()=>k,Kn:()=>T,nw:()=>N,r4:()=>_});var n=r(39897),o=r(73356),i=r(67744),a=r(30554),c=r(63413),u=r(91278),l=r(39392),s=r(61530),f=r(78698),h=r(94252);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var S=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),j=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),O=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return I(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),_(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,P(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},closeGroup:function(e){t((function(t){return{groups:t.groups.filter((function(t){return t.groupId!==e}))}}))},initQuickAccess:(o=L(x().mark((function e(){var r,n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,j();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:if(n=e.sent){e.next=14;break}return e.next=10,r.all();case 10:return o=e.sent,n=o.map(function(){var t=L(x().mark((function t(e){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.uuid){t.next=4;break}return t.next=3,r.delete(e.uuid);case 3:return t.abrupt("return",b(b({},e),{},{id:e.uuid}));case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e.next=14,r.set("quickAccess",n);case 14:i=(0,s.A)(n,"sortIndex"),t({quickAccess:i}),Date.now();case 18:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=12;break}return r.prev=2,r.next=5,(0,h.fL)(o.url);case 5:o.favIconUrl=r.sent,r.next=12;break;case 8:r.prev=8,r.t0=r.catch(2),o.favIconUrl=(0,h.Qr)(o.url);case 12:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=18,j();case 18:return y=r.sent,r.next=21,y.set("quickAccess",e().quickAccess);case 21:case"end":return r.stop()}}),r,null,[[2,8]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,j();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),A=new Map,k=function(){var t=L(x().mark((function t(e){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},A.set("tabid_".concat(e),r),t.next=4,S();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,S();case 3:if(o=t.sent,t.t1=A.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),A.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A.delete("tabid_".concat(e)),t.next=3,S();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=L(x().mark((function t(e,r){var n,o;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(n=t.sent,t.t0=A.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),I=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(r=t.sent,t.t1=A.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=null,N=function(){return C||(C=new IntersectionObserver((function(t){var e,r=y(t);try{for(r.s();!(e=r.n()).done;){var n=e.value;O.setState({isActiveTabIntersecting:n.isIntersecting})}}catch(t){r.e(t)}finally{r.f()}}),{threshold:.5}))};const G=O},11094:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m});var n=r(39897),o=r(73356),i=r(63413),a=r(30554),c=r(1084);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>d});var n=r(64946),o=r(54098),i=r(40492),a=r(70369);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,v();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},77405:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(71393),i=r(62398),a=r(49673),c=r(26565),u=(r(94045),r(71331)),l=r(11094),s=r(39191);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(51742).D.getState().loadSiteConfigs()},5711:(t,e,r)=>{"use strict";r.d(e,{c:()=>l});var n=r(50637),o=r(94252),i=r(11094),a=r(40492);function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=i.Ay.getState().settings,u=r.theme,l=r.colorfulBackground,s=r.listBottomBorder,f=r.listBackgroundAlpha,h=r.listBackgroundStyle,p=r.view,y=r.fontScale,v=r.fontColor,d=Math.floor(("visual"===p?6:4)*y),m=n.u0[isNaN(t)?(0,a.QR)(t)%n.u0.length:t%n.u0.length]||n.dw,g=c(h.split("|")),b=g[0],w=g[1],x=(0,n.FQ)(m,b,w,f);return{width:"100%",display:"flex",paddingTop:"".concat(d,"px"),paddingBottom:"".concat(d,"px"),flexDirection:"column",borderBottomStyle:s,borderBottomWidth:"1px",borderBottomColor:(0,o.E2)(m.hex,.5),background:x,mixBlendMode:"dark"===u?"difference":"normal",color:v||"text.primary",opacity:e?.6:1,"&:hover":{background:l?(0,o.E2)(m.hex,.25):"dark"===u?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:l?(0,o.E2)(m.hex,"dark"===u?.3:.15):"dark"===u?"#4a4a4a":"#eee",zIndex:1,color:v||"text.primary"}}}},76051:(t,e,r)=>{"use strict";r.d(e,{M:()=>c,Z:()=>a});var n=r(30758),o=r(11094),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)},c=function(){var t=(0,n.useContext)(i);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t}},46369:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(68964),i=r(55469),a=r(11094),c=r(86670);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},44723:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(81191),o=r(30758),i=r(11094);const a=(0,o.memo)((function(){var t=(0,i.Ay)((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,a=t.background,c=t.backgroundImageUrl,u=t.backgroundImageFade,l=t.backgroundImageBlur,s=t.backgroundImageBrightness;return r?o.createElement(n.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||c?"":a}},o.createElement(n.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(c,")"),filter:c?"blur(".concat(l,"px) brightness(").concat(s,") opacity(").concat("light"===e?u:.75*u,")"):"none"}})):null}))},23249:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>_});var o=r(30758),i=r(81191),a=r(77678),c=r(75285),u=r(85007),l=r(42051),s=r(97737),f=r(11094),h=r(5708),p=r(44723),y=r(92987),v=r(78795),d=r(20976),m=r(29711),g=(r(46369),r(94252)),b=(r(51742),r(69549)),w=r(82376),x=r(55410),E=t([s]);function S(){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 j(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>_o});var n=r(30758),o=r(11094),i=r(81191),a=r(37749),c=r(5708),u=r(71331),l=r(60824),s=r(43044),f=r(98054),h=r(29738),p=r(77678),y=r(17283),v=r(11374),d=r(14397),m=r(8794),g=r(14805),b=r(67744),w=r(5711),x=r(72047),E=r(86670),L=r(51742),S=r(39392),j=r(76051),O=r(37281),A=r(67463),k=r(99967),_=r(44235),P=r(46369),T=r(94252),I=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,title:n.createElement(A.A,null,o(r))},n.createElement(k.A,{onClick:function(){(0,T.SH)()},sx:{padding:"4px",color:"inherit"}},n.createElement(_.A,{size:"small"})))};const C=(0,n.memo)(I);var N=r(70546);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var M=function(t){var e=t.tabId,r=(0,P.W)().t,o=(0,j.M)(),i=function(){var t,r=(t=F().mark((function t(r){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.stopPropagation(),t.next=3,(0,b.EL)(e);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.closeTab")),"aria-label":r("tabMenu.closeTab")},n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:o.AlwaysShowCloseButton?"flex":"none"},onClick:i},n.createElement(N.A,{size:"small"})))};const W=(0,n.memo)(M);var B=r(68202),q=function(t){var e=t.url,r=(0,j.M)(),o=r.theme,i=r.fontWeight,a=r.fontColor,c={whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:i-200<=0?100:i-200,color:"dark"===o?"text.secondary":a||"text.secondary",opacity:.75};return n.createElement(A.A,{variant:"h5",color:"text.secondary",sx:c},(0,T.Wj)(e))};const R=(0,n.memo)(q);var U=function(t){var e=t.title,r=t.url,o=t.hostname,a=t.lastAccessed,c=(0,j.M)(),u=c.view,l=c.theme,s=c.fontWeight,f=c.fontColor,h=c.showFullUrl;return o=o||(0,T.Hs)(r),n.createElement(i.A,{sx:{minWidth:0,flex:1}},n.createElement(A.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"5px",paddingBottom:"5px",fontWeight:s,color:"dark"===l?"text.primary":f||"text.primary"}},e),"visual"===u&&n.createElement(n.Fragment,null,h?n.createElement(R,{url:r}):n.createElement(B.A,{hostname:o,lastAccessed:a})))};const Y=(0,n.memo)(U);var Z=r(59769),H=r(63564);const z=function(t){var e=t.title,r=t.url,o=t.thumbnail,i=t.lastAccessed,a=t.children,c=(0,j.M)(),u=c.tabPreviewEnable,l=c.tabPreviewWaitSeconds;return n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(l),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:u?n.createElement(H.A,{title:e,thumbnail:o,url:r,lastAccessed:i}):""},a)};var Q=r(12619),$=r(50637),K=r(34049),X=r(58283),V=r(93431),J=function(t){var e=t.tabId,r=(0,P.W)().t,a=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),u=a.theme,l=a.fontColor,s=(0,c.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname})),f=(0,o.Ay)((function(t){return t.settings.readingProgressBar&&t.settings.enableProgressBar})),h=(0,L.D)((function(t){var e=t.sites.find((function(t){return t.hostname===s}));return!1!==(null==e?void 0:e.readingProgressBar)&&f})),p=(0,K.W)((function(t){var r;return null===(r=t.readingProgress.find((function(t){return t.tabId===e})))||void 0===r?void 0:r.progress}))||0,y=$.ql[e%$.ql.length];if(!h||p<=0)return null;"0px 0px 0px 8px ".concat("dark"===u?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)");return n.createElement(i.A,{sx:{width:"100%",display:"block"}},n.createElement(i.A,{sx:{display:"flex",alignItems:"center"}},n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("ScrollToTop"))},n.createElement(k.A,{sx:{marginLeft:"5px",padding:"5px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_top")}},n.createElement(X.A,{size:"small"}))),n.createElement(i.A,{sx:{width:"100%",mx:1}},n.createElement(Q.A,{sx:{color:l||"text.primary",height:"1px","& .MuiLinearProgress-bar":{background:y.hex}},variant:"determinate",value:p})),n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("ScrollToBottom"))},n.createElement(k.A,{sx:{padding:"4px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_bottom")}},n.createElement(V.A,{size:"small"}))),n.createElement(i.A,{sx:{minWidth:"40px"}},n.createElement(A.A,{variant:"subtitle2",sx:{color:l||"text.primary"}},"".concat(p,"%")))))};const tt=(0,n.memo)(J);var et=r(35841);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const it=(0,n.memo)((function(t){var e=t.tabId,r=(0,P.W)().t,o=function(){var t,r=(t=nt().mark((function t(r){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.UnpinTab"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(et.A,{size:"small"})))}));var at=r(85666),ct=function(t){var e=t.tabId,r=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,r("tabMenu.ExitPip"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"switch_pip")}},n.createElement(at.A,{sx:{fontSize:"1rem",color:"inherit"}})))};const ut=(0,n.memo)(ct);var lt=r(25594),st=r(57333),ft=r(50549),ht=r(41679),pt=r(70369);function yt(t){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(t)}function vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r100||r<0||v(r+"%")},onChange:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),pt.L.set("playing_progress_bar_locked_".concat(e),u.currentTime),l(e,dt(dt({},u),{},{volume:r})))}(t,r)},onChangeCommitted:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),pt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"volume_change",{value:r}))}(t,r)},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat(Math.floor(100*t),"%")},sx:dt({padding:0,width:"1px",height:"120px"},g)}))))};const xt=(0,n.memo)(wt);function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function Lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function St(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rs.duration?s.duration-3:s.currentTime+5;(0,E.h)(e,"video_jump_to_time",{value:r})}}),{enableOnFormTags:["TEXTAREA","INPUT"]});var h={color:a||"text.primary","& .MuiSlider-thumb":{width:6,height:6,transition:"0.3s cubic-bezier(.47,1.64,.41,.8)","&::before":{boxShadow:"0 2px 12px 0 rgba(0,0,0,0.4)"},"&:hover, &.Mui-focusVisible":{boxShadow:"0px 0px 0px 8px ".concat("dark"===i?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)")},"&.Mui-active":{width:8,height:8}},"& .MuiSlider-rail":{opacity:.28}};return n.createElement(O.A,{placement:"top",title:n.createElement(A.A,null,u),followCursor:!0},n.createElement(st.Ay,{value:s?s.currentTime:0,"aria-label":"time-indicator",size:"small",min:0,step:1,max:s?s.duration:0,onMouseMove:function(t){if(s){var e=t.currentTarget.getBoundingClientRect(),r=t.clientX-Math.floor(e.left);r<0||l((0,T.a3)(r/e.width*s.duration,s.duration))}},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat((0,T.a3)(t,s?s.duration:0))},onChange:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),pt.L.set("playing_progress_bar_locked_".concat(e),r),f(e,It(It({},s),{},{currentTime:r})))},onChangeCommitted:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),pt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"video_jump_to_time",{value:r}))},sx:It({height:"1px"},h)}))};const Dt=(0,n.memo)(Ft);var Mt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?{currentTime:r.currentTime,duration:r.duration}:{currentTime:0,duration:0}})),a=o.currentTime,c=o.duration;return n.createElement(i.A,{component:"div"},n.createElement(A.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat((0,T.a3)(a,c))))};const Wt=(0,n.memo)(Mt);var Bt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?r.duration:null}));return n.createElement(i.A,{component:"div"},n.createElement(A.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat(null===o?"∞":(0,T.a3)(o,o))))};const qt=(0,n.memo)(Bt);var Rt=r(57797),Ut=r(90856),Yt=function(t){var e=t.tabId,r=(0,j.M)().fontColor,o=(0,K.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return null==r?void 0:r.paused}));return n.createElement(k.A,{sx:{padding:"5px",color:r||"text.primary"},onClick:o?function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"play_video")}:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"pause_video")}},o?n.createElement(Rt.A,null):n.createElement(Ut.A,null))};const Zt=(0,n.memo)(Yt);function Ht(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return zt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zt(t,e):void 0}}(t,e)||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 zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var oe=function(t){var e=t.tabId,r=t.muted,o=(0,P.W)().t,i=function(){var t,n=(t=re().mark((function t(n){return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ne(i,n,o,a,c,"next",t)}function c(t){ne(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"},onClick:i},r?n.createElement(ft.A,{size:"small"}):n.createElement(ht.A,{size:"small"})))};const ie=(0,n.memo)(oe);var ae=r(90630),ce=function(){var t=(0,P.W)().t;return n.createElement(O.A,{arrow:!0,open:!0,title:t("SwitchToTab")},n.createElement(ae.A,{size:"small"}))};const ue=(0,n.memo)(ce);var le=r(50123),se=r(30254),fe=r(98890),he=r(23355),pe=r(65395),ye=r(1251),ve=r(26565),de=r(8926);function me(t){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(t)}function ge(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return be(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?be(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function be(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function xe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ee(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xe(i,n,o,a,c,"next",t)}function c(t){xe(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Le=(0,n.forwardRef)((function(t,e){var r=t.handleMenuClose,a=(0,P.W)().t,u=(0,x.s)((function(t){return{setWaitForSelectTab:t.setWaitForSelectTab,selectedTabIds:t.selectedTabIds,setSelectedTabIds:t.setSelectedTabIds}})),l=u.setWaitForSelectTab,s=u.selectedTabIds,f=u.setSelectedTabIds,h=(0,o.Zz)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),p=h.theme,y=h.onlyCurrentWindowTabs,v=(0,c.D3)((function(t){return t.currentWindow})),d=function(){f([]),l(!1),r()},m=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:s});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("close_other_tabs",{tabIds:s,windowId:y?v.id:0});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t=Ee(we().mark((function t(){var e,r,n;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=ge(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.reload(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(s),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=function(){var t=Ee(we().mark((function t(){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:s},(function(t){var e=a("tabMenu.UntitledGroup"),r=(0,$.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Ee(we().mark((function t(){var e,r,n,o;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),r=ge(e),t.prev=2,r.s();case 4:if((n=r.n()).done){t.next=10;break}return o=n.value,t.next=8,(0,de.x$)(o);case 8:t.next=4;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),r.e(t.t0);case 15:return t.prev=15,r.f(),t.finish(15);case 18:ve.oR.success(a("tabMenu.AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:p,autoClose:1500}),d();case 20:case"end":return t.stop()}}),t,null,[[2,12,15,18]])})));return function(){return t.apply(this,arguments)}}(),j=function(){var t=Ee(we().mark((function t(){var e,r,n;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=ge(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.discard(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),k=[{onClick:m,icon:n.createElement(N.A,null),text:a("tabMenu.closeTab")},{onClick:g,text:a("tabMenu.CloseOtherTabs"),inset:!0},{onClick:b,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"}))),text:a("tabMenu.Reload")},{onClick:j,icon:n.createElement(Ut.A,null),text:n.createElement(O.A,{arrow:!0,placement:"top",title:n.createElement(A.A,null,a("tabMenu.DiscardTabDesc"))},n.createElement(A.A,{variant:"body1"},a("tabMenu.DiscardTab",{count:s.length})))},(0,de.UT)()&&{onClick:S,icon:n.createElement(ye.A,null),text:a("tabMenu.AddToReadingList")},{onClick:L,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"}))),text:a("tabMenu.AddTabToNewGroup")},{onClick:w,icon:n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"}))),text:a("tabMenu.RemoveFromGroup")}].filter(Boolean);return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},k.map((function(t,e){return n.createElement(fe.A,{key:e,onClick:t.onClick},t.icon&&n.createElement(he.A,null,t.icon),n.createElement(pe.A,{inset:t.inset},n.createElement(A.A,{variant:"body1"},t.text)))}))))}));const Se=Le;var je=r(95776);function Oe(t){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oe(t)}var Ae=["tabId"];function ke(){return ke=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ce(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ge(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ge(t,e):void 0}}(t,e)||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 Ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{var e,r,n,o,i,a,c,u={11804:(t,e,r)=>{"use strict";r.d(e,{BW:()=>u,UN:()=>f,Y_:()=>a,Yv:()=>h,Zw:()=>c,ee:()=>p,gh:()=>o,kQ:()=>l,oK:()=>n,sj:()=>s,te:()=>i});var n={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showTabNavs:!1,tabNavOptions:{delimiter:!1,navs:[{id:1,name:"OpenTabs",enable:!0,sort:1,showCount:!0,align:"center"},{id:2,name:"bookmarks",enable:!0,sort:2,showCount:!0,align:"center",permission:"bookmarks"},{id:3,name:"history",enable:!1,sort:3,showCount:!0,days:1,align:"center",permission:"history"},{id:4,name:"RecentlyTabs",enable:!1,sort:4,showCount:!0,days:1,align:"center"},{id:5,name:"quickAccess",enable:!1,sort:5,showCount:!0,align:"center"},{id:6,name:"readingList",enable:!1,sort:6,showCount:!0,align:"center",permission:"readingList"}]},showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center"},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center"},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center"},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center"},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center"},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center"},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center"}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"},o={view:"list",groupBy:"mixed",sortBy:"index",orderBy:"asc",searchText:"",showFullUrl:!1,onlyCurrentWindowTabs:!0,activeTabIndex:1,PinnedTabsAsIcons:!0,GroupCollapsedShowIcon:!0,tabPreviewEnable:!0,tabPreviewImage:!0,tabPreviewWaitSeconds:1.2,pinToQuickAccess:!0},i=(chrome.runtime.getURL("images/bg.jpg"),{fontScale:.75,fontWeight:400,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontColor:"inherit",colorfulBackground:!1,background:"transparent",backgroundColor:"#f5f5f5",backgroundGradient:!0,backgroundGradientDeg:145,backgroundImageUrl:"",backgroundImageFade:1,backgroundImageBrightness:1,backgroundImageBlur:3,listBackgroundStyle:"",listBackgroundAlpha:.15,listBottomBorder:"none"}),a={enableHistory:!0,historyDataSource:"recentTabs",showHistoryTabs:!1,historyKeepDays:7,tabIntoHistoryNeedAliveSeconds:10,historyKeepCount:500,historySaveIgnoreRules:[],tabSearchShowHistory:!0,historySearchLimitCount:10},c={tabSwitchPip:!0,scrollSwitchPip:!1},u={autoCreateOrJoinSameDomainGroup:!1,tabGroupCollapse:"collapse_others",groupFilterOutPinnedTabs:!0},l={enableProgressBar:!0,readingProgressBar:!1,scrollHeightRatio:2.5,playingProgressBar:!0},s={floatBall:!1,enableScrollProgressBar:!1,overlayscrollbars:!0},f={saveMemoryAction:"disabled",discardInactiveTabsMinutes:30,closeInactiveTabsMinutes:120,disableAnimations:!0},h={rememberSiteZoom:!0},p={bookmarkViewMode:"tree",bookmarkHideEmptyFolders:!1,bookmarkSortOrder:"default",bookmarkExpandAll:!1,bookmarkTreeConnectorLines:!0,bookmarkShowUrl:!1}},46654:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}r.d(e,{Ng:()=>h,d4:()=>p,rE:()=>y,x$:()=>f});var s=function(){return"readingList"in chrome},f=function(){var t=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(r=chrome.readingList)||void 0===r?void 0:r.addEntry({hasBeenRead:!1,title:e.title,url:e.url});case 5:return t.abrupt("return",!0);case 8:t.prev=8,t.t0=t.catch(2);case 11:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=l(c().mark((function t(){var e,r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",[]);case 2:return t.prev=2,t.next=5,null===(e=chrome.readingList)||void 0===e?void 0:e.query({});case 5:return r=t.sent,t.abrupt("return",r.sort((function(t,e){return e.creationTime-t.creationTime})));case 9:return t.prev=9,t.t0=t.catch(2),t.abrupt("return",[]);case 13:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(){return t.apply(this,arguments)}}(),p=function(){var t=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(r=chrome.readingList)||void 0===r?void 0:r.removeEntry({url:e});case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=l(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s()){t.next=2;break}return t.abrupt("return",!1);case 2:return t.prev=2,t.next=5,null===(n=chrome.readingList)||void 0===n?void 0:n.updateEntry(i({url:e},r));case 5:return t.abrupt("return",!0);case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e,r){return t.apply(this,arguments)}}()},63534:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}r.d(e,{U:()=>l,h:()=>s});var c=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],u=function(t){return c.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},l=function(){var t=a(o().mark((function t(e){var r,n,i,a,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2?c[2]:void 0,i=c.length>3?c[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:i});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),u(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=a(o().mark((function t(e,r){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return i=t.sent,t.abrupt("return",i);case 8:return t.prev=8,t.t0=t.catch(1),u(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}()},24032:(t,e,r)=>{"use strict";r.d(e,{D1:()=>G,EL:()=>O,I7:()=>A,Mt:()=>N,Z7:()=>P,_D:()=>F,bw:()=>k,e6:()=>L,vf:()=>C,xn:()=>T});var n=r(42444),o=r(8148),i=r(98258),a=r(23436),c=r(26166),u=r(26157),l=r(95532),s=r(20574),f=r(63534);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||g(t,e)||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 y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function E(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)}))}}function L(){return S.apply(this,arguments)}function S(){return(S=E(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({active:!0,url:["http://*/*","https://*/*"]});case 2:return e=t.sent,r=e[0],t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var A=function(){var t=E(w().mark((function t(e,r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,i.A)("session").set("setLockActiveTabId",e);case 3:if(r){t.next=7;break}return t.next=6,chrome.tabs.get(e);case 6:r=t.sent;case 7:return t.next=9,chrome.windows.get(r.windowId);case 9:if(!1!==t.sent.focused){t.next=14;break}return t.next=13,chrome.windows.update(r.windowId,{drawAttention:!0,focused:!0});case 13:a.D3.setState({activeWindowId:r.windowId});case 14:if(!r.discarded){t.next=23;break}if(!r.active){t.next=20;break}return t.next=18,chrome.tabs.reload(e);case 18:t.next=22;break;case 20:return t.next=22,chrome.tabs.update(r.id,{active:!0});case 22:return t.abrupt("return");case 23:if(!r.active||!r.highlighted){t.next=26;break}return a.D3.getState().activeTab(r.id),t.abrupt("return",!0);case 26:return t.next=28,chrome.tabs.highlight({tabs:r.index,windowId:r.windowId});case 28:if(!(r.groupId>-1)){t.next=35;break}return t.next=31,chrome.tabGroups.get(r.groupId);case 31:if(!t.sent.collapsed){t.next=35;break}return t.next=35,chrome.tabGroups.update(r.groupId,{collapsed:!1});case 35:return t.abrupt("return",!0);case 38:throw t.prev=38,t.t0=t.catch(0),t.t0;case 42:return t.prev=42,setTimeout((function(){(0,i.A)("session").remove("setLockActiveTabId",e)}),200),t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[0,38,42,45]])})));return function(e,r){return t.apply(this,arguments)}}();function k(){return j.apply(this,arguments)}function j(){return(j=E(w().mark((function t(){var e,r,n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={active:!0,lastFocusedWindow:!0},t.next=3,chrome.tabs.query(e);case 3:return r=t.sent,n=p(r,1),o=n[0],t.abrupt("return",o);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var O=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,P(e);case 2:return t.prev=2,t.next=5,chrome.tabs.remove(e);case 5:a.D3.getState().closeTab(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.prev=11,(0,o.A)(I,5e3,e),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[2,8,11,14]])})));return function(e){return t.apply(this,arguments)}}(),_=new Set,P=function(){var t=E(w().mark((function t(e){var r,n;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.add(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,n=[].concat(m(r),[e]),t.next=10,(0,i.A)("session").set("tabRemoveList",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=E(w().mark((function t(e){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!_.has(e)){t.next=2;break}return t.abrupt("return",!0);case 2:return t.next=4,(0,i.A)("session").get("tabRemoveList");case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=[];case 7:return t.t0.forEach((function(t){return _.add(t)})),t.abrupt("return",_.has(e));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=E(w().mark((function t(e){var r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.delete(e),t.next=3,(0,i.A)("session").get("tabRemoveList");case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:return r=t.t0,t.next=9,(0,i.A)("session").set("tabRemoveList",r.filter((function(t){return t!==e})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=function(t){var e=v({},t);e.url=t.pendingUrl||t.url;var r=function(t){try{var e=new URL(t);return{hostname:e.hostname,origin:e.origin}}catch(e){return{hostname:t,origin:t}}}(e.url),o=r.hostname,i=r.origin;return e.hostname=o,e.origin=i,e.hostname=(0,n.AY)(e.url)?o:e.url,e.tabId=t.id,e.color=u.u0[t.id%u.u0.length],e},N=function(){var t=E(w().mark((function t(e){var r,o,i,a,u,l;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=c.Zz.getState().settings,o=r.tabPreviewEnable,i=r.tabPreviewImage,o&&i){t.next=4;break}return t.abrupt("return",null);case 4:return t.next=6,chrome.tabs.get(e);case 6:if((a=t.sent).active){t.next=10;break}return t.abrupt("return",null);case 10:if("complete"===a.status||!a.active||!1!==a.discarded){t.next=13;break}return t.abrupt("return",null);case 13:if((0,n.AY)(a.url)){t.next=16;break}return t.abrupt("return",null);case 16:return t.next=18,chrome.windows.get(a.windowId,{populate:!0});case 18:if((u=t.sent).focused){t.next=22;break}return t.abrupt("return",null);case 22:if(u.tabs.find((function(t){return t.active})).id===a.id){t.next=25;break}return t.abrupt("return",null);case 25:return t.next=27,chrome.tabs.captureVisibleTab(a.windowId,{format:"jpeg",quality:50});case 27:return l=t.sent,t.abrupt("return",l);case 31:return t.prev=31,t.t0=t.catch(0),t.abrupt("return",null);case 35:case"end":return t.stop()}}),t,null,[[0,31]])})));return function(e){return t.apply(this,arguments)}}(),G=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.cE)("user_settings");case 2:if(o=t.sent,"tab"!==r||o.tabSwitchPip){t.next=5;break}return t.abrupt("return",!1);case 5:if("scroll"!==r||o.scrollSwitchPip){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,a.Kn)(e,"pipSupport");case 9:if(t.sent){t.next=12;break}return t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,chrome.tabs.get(e);case 15:return i=t.sent,t.next=18,s.D.getState().getSiteConfig(new URL(i.url).hostname);case 18:if(!1!==(null==(c=t.sent)?void 0:c.tabSwitchPip)){t.next=21;break}return t.abrupt("return",!1);case 21:return t.next=23,(0,f.h)(e,n);case 23:t.next=28;break;case 25:t.prev=25,t.t0=t.catch(12);case 28:case"end":return t.stop()}}),t,null,[[12,25]])})));return function(e,r,n){return t.apply(this,arguments)}}(),F=function(){var t=E(w().mark((function t(e,r,n){var o,i,c;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:return(o=t.sent)||0!==r||(o={}),t.next=6,(0,a.r4)(e,"pipMap",v(v({},o),{},d({},r,n)));case 6:return t.next=8,D(e,"pipSupport");case 8:return i=t.sent,t.next=11,(0,a.r4)(e,"pipSupport",i);case 11:return t.next=13,D(e,"pipOn");case 13:return c=t.sent,t.next=16,(0,a.r4)(e,"pipOn",c);case 16:return t.abrupt("return",{pipMap:o,pipSupport:i,pipOn:c});case 17:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),D=function(){var t=E(w().mark((function t(e,r){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.Kn)(e,"pipMap");case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",!1);case 5:t.t0=w().keys(n);case 6:if((t.t1=t.t0()).done){t.next=12;break}if(o=t.t1.value,!n[o][r]){t.next=10;break}return t.abrupt("return",!0);case 10:t.next=6;break;case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},15375:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r.d(e,{u:()=>c});var a=null,c=function(){var t,e=(t=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return t.prev=2,t.next=5,chrome.windows.getCurrent();case 5:a=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2);case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}()},7379:(t,e,r)=>{"use strict";r.d(e,{l:()=>g,u:()=>m});var n=r(32762),o=r(42935),i=r(72832),a=r(71905);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(t)||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 f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0;t.forEach((function(t){e.push(p(p({},t),{},{level:n})),t.children&&r(t.children,n+1)}))};return r(t),e},m=(0,i.h)((0,a.eh)((0,n.D)((function(t,e){return{searchQuery:"",bookmarksCount:0,bookmarksStatus:[],bookmarkTree:[],bookmarks:[],bookmarkStoreInitialized:!1,setBookmarkSearchQuery:function(e){t({searchQuery:e})},setBookmarksStatus:function(e,r){e&&r&&(r=p(p({},r),{},{id:e}),t((function(t){var n=t.bookmarksStatus.findIndex((function(t){return t.id===e}));if(-1!==n){var o=s(t.bookmarksStatus);return o[n]=p(p({},o[n]),r),{bookmarksStatus:o}}return{bookmarksStatus:[].concat(s(t.bookmarksStatus),[r])}})))},loadBookmarks:(r=u().mark((function e(){var r,n,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,null===(r=chrome.bookmarks)||void 0===r?void 0:r.getTree();case 3:n=e.sent,o=(null==n?void 0:n[0].children)||[],t({bookmarkTree:o,bookmarks:d(o),bookmarksCount:v(o),bookmarkStoreInitialized:!0});case 6:case"end":return e.stop()}}),e)})),n=function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})};var r,n}))),o.x),g=function(){var t,e,r,n,o,i=function(){m.getState().loadBookmarks()};return null===(t=chrome.bookmarks)||void 0===t||t.onChanged.addListener(i),null===(e=chrome.bookmarks)||void 0===e||e.onChildrenReordered.addListener(i),null===(r=chrome.bookmarks)||void 0===r||r.onCreated.addListener(i),null===(n=chrome.bookmarks)||void 0===n||n.onMoved.addListener(i),null===(o=chrome.bookmarks)||void 0===o||o.onRemoved.addListener(i),function(){var t,e,r,n,o;null===(t=chrome.bookmarks)||void 0===t||t.onChanged.removeListener(i),null===(e=chrome.bookmarks)||void 0===e||e.onChildrenReordered.removeListener(i),null===(r=chrome.bookmarks)||void 0===r||r.onCreated.removeListener(i),null===(n=chrome.bookmarks)||void 0===n||n.onMoved.removeListener(i),null===(o=chrome.bookmarks)||void 0===o||o.onRemoved.removeListener(i)}}},71341:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>j,O4:()=>S,vx:()=>k});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(78698),u=r(40875),l=r(69100),s=r(26157);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t)||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 p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))}}var w,x,E=function(){var t=b(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("history"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=new Map,S=(0,a.h)((0,n.D)((function(t,e){return{histories:[],historyStoreInitialized:!1,keyboardSelected:0,loadHistories:(i=b(m().mark((function e(){var r,n,i,a,c,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.cE)("user_settings");case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return r=e.t0,n=r.historyKeepDays,i=void 0===n?3:n,e.next=10,E();case 10:return a=e.sent,e.next=13,a.all();case 13:c=e.sent,u=c.filter((function(t){return t.closed_time>=Date.now()-1e3*i*60*60*24})),t({histories:u,historyStoreInitialized:!0});case 16:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),addHistory:(n=b(m().mark((function e(r){var n,i,a,u,f,p,y;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.url&&!r.url.includes("about:blank")&&!r.url.includes("chrome://newtab")){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,o.cE)("user_settings");case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:if(n=e.t0,i=n.tabIntoHistoryNeedAliveSeconds,!(Date.now(){"use strict";r.d(e,{W:()=>f});var n=r(32762),o=r(42935),i=r(72832),a=r(71905);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e{"use strict";r.d(e,{s:()=>c});var n=r(32762),o=r(42935),i=r(72832),a=r(71905),c=(0,i.h)((0,a.eh)((0,n.D)((function(t){return{waitForSelectTab:!1,selectedTabIds:[],popupPanelActived:!1,setWaitForSelectTab:function(e){t((function(t){t.waitForSelectTab=e,e||(t.selectedTabIds=[])}))},setSelectedTabIds:function(e){return t((function(t){t.selectedTabIds=e}))},addSelectedTabId:function(e){t((function(t){t.selectedTabIds.push(e)}))},deleteSelectedTabId:function(e){t((function(t){t.selectedTabIds=t.selectedTabIds.filter((function(t){return t!==e})),0===t.selectedTabIds.length&&(t.waitForSelectTab=!1)}))}}})),o.x))},20574:(t,e,r)=>{"use strict";r.d(e,{D:()=>g});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m=function(){var t=d(y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o.p1)("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(i=d(y().mark((function e(){var r,n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)}),getSiteConfig:(o=d(y().mark((function t(r){var n,o;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,m();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=d(y().mark((function e(r,n){var o,i,a;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=h(h({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=l(t.sites);return n[e]=h(h({},n[e]),o),{sites:n}}return{sites:[].concat(l(t.sites),[o])}})),e.next=10,m();case 10:return i=e.sent,e.next=13,i.get("site_config_".concat(r));case 13:return a=e.sent,e.next=16,i.set("site_config_".concat(r),h(h({},a),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=d(y().mark((function r(n){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,m();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,i}))),i.x)},16383:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>L,CM:()=>E,Gr:()=>x});var n=r(32762),o=r(95532),i=r(42935),a=r(72832),c=r(71905),u=r(41185),l=r(89315);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("snapshots");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=(0,a.h)((0,c.eh)((0,n.D)((function(t,e){return{summaries:[],snapshotDetails:{},selectdSnapshotId:null,selectedTabs:[],fetchSummaries:(a=g(d().mark((function e(){var r,n,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:return r=e.sent,e.next=5,r.keys();case 5:return n=e.sent,e.next=8,Promise.all(n.filter((function(t){return t.startsWith("snapshot_summary_")})).map((function(t){return r.get(t)})));case 8:o=e.sent,t({summaries:o});case 10:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),fetchSnapshot:(i=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return r=t.sent,t.next=5,r.get("snapshot_detail_".concat(e));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)}),addSnapshot:(o=g(d().mark((function r(){var n,o,i,a,c,l,s,h,p=arguments;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=p.length>0&&void 0!==p[0]?p[0]:null,o=(0,u.A)(),r.t0=null==n?void 0:n.windows,r.t0){r.next=7;break}return r.next=6,chrome.windows.getAll({populate:!0});case 6:r.t0=r.sent;case 7:return i=r.t0,r.next=10,chrome.tabGroups.query({});case 10:return a=r.sent,i=i.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:t.tabGroups?t.tabGroups.filter((function(e){return e.windowId===t.id})):a.filter((function(e){return e.windowId===t.id}))})})),c=(null==n?void 0:n.createdAt)||Date.now(),l={id:o,createdAt:c,windowCount:(null==n?void 0:n.windowCount)||i.length,tabCount:(null==n?void 0:n.tabCount)||i.reduce((function(t,e){return t+e.tabs.length}),0)},s=y(y({},l),{},{windows:i}),t({summaries:[].concat(f(e().summaries),[l])}),r.next=18,b();case 18:return h=r.sent,r.next=21,h.set("snapshot_summary_".concat(o),l);case 21:return r.next=23,h.set("snapshot_detail_".concat(o),s);case 23:case"end":return r.stop()}}),r)}))),function(){return o.apply(this,arguments)}),removeSnapshot:(n=g(d().mark((function r(n){var o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:return o=r.sent,r.next=5,o.remove("snapshot_summary_".concat(n));case 5:return r.next=7,o.remove("snapshot_detail_".concat(n));case 7:t({summaries:e().summaries.filter((function(t){return t.id!==n}))});case 8:case"end":return r.stop()}}),r)}))),function(t){return n.apply(this,arguments)}),addImportedSnapshot:(r=g(d().mark((function r(n){var o,i,a,c,u,l,s,h,p;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n&&n.id&&n.createdAt&&n.windowCount&&n.tabCount&&n.windows){r.next=2;break}throw new Error("Invalid snapshot data");case 2:if(o=n.id,i=n.createdAt,a=n.windowCount,c=n.tabCount,u=n.windows,s=y(y({},l={id:o,createdAt:i,windowCount:a,tabCount:c}),{},{windows:u}),h=e().summaries.find((function(t){return t.id===o})),!h){r.next=8;break}throw new Error("Snapshot with the same ID already exists");case 8:return t({summaries:[].concat(f(e().summaries),[l])}),r.next=11,b();case 11:return p=r.sent,r.next=14,p.set("snapshot_summary_".concat(o),l);case 14:return r.next=16,p.set("snapshot_detail_".concat(o),s);case 16:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)}),addSelectdTabId:function(r,n){var o=y({},e().selectedTabs);o[n]||(o[n]=[]),o[n].push(r),t({selectedTabs:o})},removeSelectTabId:function(r,n){var o=y({},e().selectedTabs);o[n]=o[n].filter((function(t){return t!==r})),t({selectedTabs:o})}};var r,n,o,i,a})),i.x)),x=((0,l.A)(g(d().mark((function t(){var e,r,n,o,i,a,c;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.windows.getAll({populate:!0});case 2:return e=t.sent,t.next=5,chrome.tabGroups.query({});case 5:if(r=t.sent,n=Date.now(),o=e.map((function(t){return y(y({},t),{},{tabs:t.tabs.filter((function(t){return t.url&&!t.pinned})),tabGroups:r.filter((function(e){return e.windowId===t.id}))})})).filter((function(t){return t.tabs.length>0})),!((i=o.reduce((function(t,e){return t+e.tabs.length}),0))<=3)){t.next=11;break}return t.abrupt("return");case 11:return a={createdAt:n,windowCount:o.length,tabCount:i,tabGroupCount:r.length},t.next=14,b();case 14:return c=t.sent,t.next=17,c.set("cachedWindows",y(y({},a),{},{windows:o}));case 17:case"end":return t.stop()}}),t)}))),3e4),function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.get("cachedWindows");case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),E=function(){var t=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:return e=t.sent,t.next=5,e.remove("cachedWindows");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();const L=w},23436:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>G,D3:()=>k,H8:()=>O,Kn:()=>T,nw:()=>N,r4:()=>_});var n=r(32762),o=r(95532),i=r(24032),a=r(42935),c=r(72832),u=r(71905),l=r(39392),s=r(61530),f=r(78698),h=r(42444);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=d(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||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(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function L(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var S=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){var t=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.p1)("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),k=(0,c.h)((0,u.eh)((0,n.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(d=L(x().mark((function t(){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return d.apply(this,arguments)}),loadTabs:(p=L(x().mark((function r(){return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var c=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,u=a.map((function(t){return b(b({},(0,i.vf)(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:c,tabs:u,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(u),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return p.apply(this,arguments)}),loadTabsMetadata:(u=L(x().mark((function e(r){var n,o,i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return I(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),i=r.map((function(t){var e=o.get(t.tabId);return e?b(b({},t),e):t})),t({tabs:i});case 6:case"end":return e.stop()}}),e)}))),function(t){return u.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?b(b({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=b(b({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=v(t.tabs);return o[n]=b(b({},o[n]),r),{tabs:o}}return{tabs:[].concat(v(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return b(b({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),_(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(c=L(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,P(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),resortTabs:(0,l.A)(L(x().mark((function t(){var r,n,o,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=y(r),t.prev=4,i=x().mark((function t(){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=L(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=b(b({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=v(t.groups);return o[r]=b(b({},o[r]),n),{groups:o}}return{groups:[].concat(v(t.groups),[n])}}))}},initQuickAccess:(o=L(x().mark((function e(){var r,n,o;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,A();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:n=e.sent,o=(0,s.A)(n,"sortIndex"),t({quickAccess:o}),Date.now();case 11:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=L(x().mark((function r(n,o){var i,a,c,u,l,p,y;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=b(b({},(0,f.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=16;break}if(!o.url.startsWith("http")){r.next=15;break}return r.prev=3,r.next=6,(0,h.fL)(o.url);case 6:o.favIconUrl=r.sent,r.next=13;break;case 9:r.prev=9,r.t0=r.catch(3),o.favIconUrl=(0,h.Qr)(o.url);case 13:r.next=16;break;case 15:o.favIconUrl=(0,h.Qr)(o.url);case 16:return i=(0,s.A)(e().quickAccess,"sortIndex"),a=i.findIndex((function(t){return t.uuid===n})),-1!==(c=i.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=v(i))[c]=b(b({},u[c]),o),t({quickAccess:u})):-1!==a?((l=v(i))[a]=b(b({},l[a]),o),t({quickAccess:l})):(p=Math.max.apply(Math,v(i.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(v(i),[b(b({},o),{},{sortIndex:p+1})])})),r.next=22,A();case 22:return y=r.sent,r.next=25,y.set("quickAccess",e().quickAccess);case 25:case"end":return r.stop()}}),r,null,[[3,9]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=L(x().mark((function r(n){var o,i,a;return x().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,i=o.filter((function(t){return t.uuid!==n})),t({quickAccess:i}),r.next=5,A();case 5:return a=r.sent,r.next=8,a.set("quickAccess",i);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,c,u,p,d}))),a.x),j=new Map,O=function(){var t=L(x().mark((function t(e){var r,n;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={lastAccessed:Date.now(),created_time:Date.now()},j.set("tabid_".concat(e),r),t.next=4,S();case 4:return n=t.sent,t.next=7,n.set("tabid_".concat(e),r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=L(x().mark((function t(e,r,n){var o,i,a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,S();case 3:if(o=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return i=t.t0,a=b(b({},i),{},w(w({},r,n),"tabId",e)),j.set("tabid_".concat(e),a),t.next=18,o.set("tabid_".concat(e),a);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),P=function(){var t=L(x().mark((function t(e){var r;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return j.delete("tabid_".concat(e)),t.next=3,S();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=L(x().mark((function t(e,r){var n,o;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(n=t.sent,t.t0=j.get("tabid_".concat(e)),t.t0){t.next=8;break}return t.next=7,n.get("tabid_".concat(e));case 7:t.t0=t.sent;case 8:return o=t.t0,t.abrupt("return",o?o[r]:null);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),I=function(){var t=L(x().mark((function t(e){var r,n,o,i,a,c,u,l,s,f;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S();case 2:if(r=t.sent,t.t1=j.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,i=void 0===o?Date.now():o,a=n.created_time,c=void 0===a?Date.now():a,u=n.thumbnail,l=n.pipSupport,s=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:i,created_time:c,thumbnail:u,pipSupport:l,pipOn:s,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=null,N=function(){return C||(C=new IntersectionObserver((function(t){var e,r=y(t);try{for(r.s();!(e=r.n()).done;){var n=e.value;k.setState({isActiveTabIntersecting:n.isIntersecting})}}catch(t){r.e(t)}finally{r.f()}}),{threshold:.5}))};const G=k},26166:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g,Zz:()=>m});var n=r(32762),o=r(95532),i=r(72832),a=r(42935),c=r(11804);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e{"use strict";r.d(e,{RR:()=>h,Sf:()=>p,cE:()=>y,p1:()=>d});var n=r(52850),o=r(98258),i=r(69100),a=r(96033);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}var f=(0,o.A)("local"),h=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.sc)(e);case 2:return r=t.sent,t.abrupt("return",f.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=s(u().mark((function t(e,r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.L.set(e,r),t.abrupt("return",f.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=a.L.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,f.get(e);case 5:return(r=t.sent)&&a.L.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=a.L.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,f.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,f.set("rabbitpair_active_user_uuid",e);case 12:return a.L.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=s(u().mark((function t(){var e,r,o,i,c=arguments;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=c.length>0&&void 0!==c[0]?c[0]:"stored"),!(o=a.L.get(r))){t.next=5;break}return t.abrupt("return",o);case 5:return t.next=7,v();case 7:return i=t.sent,o=(0,n.A)("users/"+i+"/public/"+e),a.L.set(r,o),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},25725:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(20678),i=r(89797),a=r(45007),c=r(26565),u=(r(99212),r(77667)),l=r(26166),s=r(97399);function f(t){var e=t.children,r=(0,l.Zz)((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),f=(r.initUserStore,r.userStoreInitialized),h=r.theme,p=r.fontScale,y=r.fontFamily,v=r.rtl,d=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var m=(0,n.useRef)(document);(0,n.useEffect)((function(){m.current.documentElement.setAttribute("dir",v?"rtl":"ltr")}),[v]);var g=function(){switch(h){case"light":default:return(0,i.A)((0,s.m)("light",p,y,d));case"dark":return(0,i.A)((0,s.m)("dark",p,y,d))}}();return f?n.createElement(a.A,{theme:g},n.createElement(o.Ay,null),n.createElement(c.N9,null),e):n.createElement(u.A,null)}r(20574).D.getState().loadSiteConfigs()},85455:(t,e,r)=>{"use strict";r.d(e,{c:()=>l});var n=r(26157),o=r(42444),i=r(26166),a=r(69100);function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=i.Ay.getState().settings,u=r.theme,l=r.colorfulBackground,s=r.listBottomBorder,f=r.listBackgroundAlpha,h=r.listBackgroundStyle,p=r.view,y=r.fontScale,v=r.fontColor,d=Math.floor(("visual"===p?6:4)*y),m=n.u0[isNaN(t)?(0,a.QR)(t)%n.u0.length:t%n.u0.length]||n.dw,g=c(h.split("|")),b=g[0],w=g[1],x=(0,n.FQ)(m,b,w,f);return{width:"100%",display:"flex",paddingTop:"".concat(d,"px"),paddingBottom:"".concat(d,"px"),flexDirection:"column",borderBottomStyle:s,borderBottomWidth:"1px",borderBottomColor:(0,o.E2)(m.hex,.5),background:x,mixBlendMode:"dark"===u?"difference":"normal",color:v||"text.primary",opacity:e?.6:1,"&:hover":{background:l?(0,o.E2)(m.hex,.25):"dark"===u?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:l?(0,o.E2)(m.hex,"dark"===u?.3:.15):"dark"===u?"#4a4a4a":"#eee",zIndex:1,color:v||"text.primary"}}}},519:(t,e,r)=>{"use strict";r(30758)},23188:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(30758);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{M:()=>c,Z:()=>a});var n=r(30758),o=r(26166),i=(0,n.createContext)(),a=function(t){var e=t.children,r=(0,o.Ay)((function(t){return t.settings})),a=(0,o.Ay)((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){a()}),[a]),n.createElement(i.Provider,{value:r},e)},c=function(){var t=(0,n.useContext)(i);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t}},39969:(t,e,r)=>{"use strict";r.d(e,{D:()=>v,W:()=>d});var n=r(30758),o=r(84480),i=r(80973),a=r(26166),c=r(63534);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var y=(0,n.createContext)(),v=function(t){var e=t.children,r=t.defaultNS,u=void 0===r?"translation":r,l=(0,o.Bd)(u).t,s=(0,a.Ay)((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),f=s.updateSetting,v=s.language;(0,n.useEffect)((function(){i.Ay.changeLanguage(v)}),[v]);var d=function(){var t,e=(t=h().mark((function t(e){var r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Ay.changeLanguage(e);case 3:return t.next=5,f("selectedLanguage",e);case 5:return t.next=7,(0,c.U)("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,f("rtl",r);case 10:return t.next=12,(0,c.U)("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m={t:l,language:v,changeLanguage:d,defaultNS:u};return n.createElement(y.Provider,{value:m},e)},d=function(t,e){var r,i=(0,n.useContext)(y);if(!i)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?i.t:"object"===f(t)?(0,o.Bd)(i.defaultNS,t).t:(0,o.Bd)(t,e).t,l(l({},i),{},{t:r})}},90387:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(63606),o=r(30758),i=r(26166);const a=(0,o.memo)((function(){var t=(0,i.Ay)((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,a=t.background,c=t.backgroundImageUrl,u=t.backgroundImageFade,l=t.backgroundImageBlur,s=t.backgroundImageBrightness;return r?o.createElement(n.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||c?"":a}},o.createElement(n.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(c,")"),filter:c?"blur(".concat(l,"px) brightness(").concat(s,") opacity(").concat("light"===e?u:.75*u,")"):"none"}})):null}))},93009:(t,e,r)=>{"use strict";r.a(t,(async(t,n)=>{try{r.d(e,{A:()=>P});var o=r(30758),i=r(63606),a=r(32894),c=r(75285),u=r(56527),l=r(20912),s=r(85993),f=r(26166),h=r(23436),p=r(90387),y=r(33362),v=r(64848),d=r(57199),m=(r(39969),r(42444)),g=(r(20574),r(66853)),b=r(33557),w=r(40146),x=r(68351),E=r(7379),L=t([s]);function A(){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 k(t,e){if(t){if("string"==typeof t)return j(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(t,e):void 0}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>Mo});var n=r(30758),o=r(26166),i=r(63606),a=r(42132),c=r(23436),u=r(77667),l=r(98840),s=r(32453),f=r(39718),h=r(80323),p=r(32894),y=r(91686),v=r(65684),d=r(8011),m=r(86376),g=r(51678),b=r(24032),w=r(85455),x=r(6767),E=r(63534),L=r(20574),S=r(39392),A=r(7155),k=r(17116),j=r(64858),O=r(82794),_=r(80801),P=r(39969),T=r(42444),I=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,title:n.createElement(j.A,null,o(r))},n.createElement(O.A,{onClick:function(){(0,T.SH)()},sx:{padding:"4px",color:"inherit"}},n.createElement(_.A,{size:"small"})))};const C=(0,n.memo)(I);var N=r(62128);function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var W=function(t){var e=t.tabId,r=(0,P.W)().t,o=(0,A.M)(),i=function(){var t,r=(t=F().mark((function t(r){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.stopPropagation(),t.next=3,(0,b.EL)(e);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.closeTab")),"aria-label":r("tabMenu.closeTab")},n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:o.AlwaysShowCloseButton?"flex":"none"},onClick:i},n.createElement(N.A,{size:"small"})))};const M=(0,n.memo)(W);var B=r(52074),q=r(14622),U=function(t){var e=t.url,r=t.searchText,o=t.WebkitLineClamp,i=void 0===o?2:o,a=(0,A.M)(),c=a.theme,u=a.fontWeight,l=a.fontColor,s={whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:i,WebkitBoxOrient:"vertical",fontWeight:u-200<=0?100:u-200,color:"dark"===c?"text.secondary":l||"text.secondary",opacity:.3};return n.createElement(j.A,{variant:"h5",color:"text.secondary",sx:s},n.createElement(q.A,{text:(0,T.Wj)(e),searchText:r}))};const R=(0,n.memo)(U);var Z=function(t){var e=t.title,r=t.url,a=t.hostname,c=t.lastAccessed,u=(0,o.Ay)((function(t){return{view:t.settings.view,theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor,showFullUrl:t.settings.showFullUrl,searchText:t.searchText}})),l=u.view,s=u.theme,f=u.fontWeight,h=u.fontColor,p=u.showFullUrl,y=u.searchText;return a=a||(0,T.Hs)(r),n.createElement(i.A,{sx:{minWidth:0,flex:1}},n.createElement(j.A,{variant:"h4",noWrap:!0,sx:{paddingTop:"4px",paddingBottom:"4px",fontWeight:f,color:"dark"===s?"text.primary":h||"text.primary"}},n.createElement(q.A,{text:e,searchText:y})),"list"===l&&y&&n.createElement(R,{url:r,searchText:y,WebkitLineClamp:1}),"visual"===l&&n.createElement(i.A,null,p?n.createElement(R,{url:r}):n.createElement(B.A,{hostname:a,lastAccessed:c})))};const H=(0,n.memo)(Z);var Y=r(80985),z=r(15948);const Q=function(t){var e=t.title,r=t.url,o=t.thumbnail,i=t.lastAccessed,a=t.children,c=(0,A.M)(),u=c.tabPreviewEnable,l=c.tabPreviewWaitSeconds;return n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(l),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:u?n.createElement(z.A,{title:e,thumbnail:o,url:r,lastAccessed:i}):""},a)};var $=r(60880),K=r(26157),V=r(36161),X=r(99013),J=r(83029),tt=function(t){var e=t.tabId,r=(0,P.W)().t,a=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),u=a.theme,l=a.fontColor,s=(0,c.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname})),f=(0,o.Ay)((function(t){return t.settings.readingProgressBar&&t.settings.enableProgressBar})),h=(0,L.D)((function(t){var e=t.sites.find((function(t){return t.hostname===s}));return!1!==(null==e?void 0:e.readingProgressBar)&&f})),p=(0,V.W)((function(t){var r;return null===(r=t.readingProgress.find((function(t){return t.tabId===e})))||void 0===r?void 0:r.progress}))||0,y=K.ql[e%K.ql.length];if(!h||p<=0)return null;"0px 0px 0px 8px ".concat("dark"===u?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)");return n.createElement(i.A,{sx:{width:"100%",display:"block"}},n.createElement(i.A,{sx:{display:"flex",alignItems:"center"}},n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("ScrollToTop"))},n.createElement(O.A,{sx:{marginLeft:"5px",padding:"5px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_top")}},n.createElement(X.A,{size:"small"}))),n.createElement(i.A,{sx:{width:"100%",mx:1}},n.createElement($.A,{sx:{color:l||"text.primary",height:"1px","& .MuiLinearProgress-bar":{background:y.hex}},variant:"determinate",value:p})),n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("ScrollToBottom"))},n.createElement(O.A,{sx:{padding:"4px",color:l||"text.primary"},onClick:function(){(0,E.h)(e,"scroll_to_bottom")}},n.createElement(J.A,{size:"small"}))),n.createElement(i.A,{sx:{minWidth:"40px"}},n.createElement(j.A,{variant:"subtitle2",sx:{color:l||"text.primary"}},"".concat(p,"%")))))};const et=(0,n.memo)(tt);var rt=r(87331);function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function ot(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==nt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function it(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const at=(0,n.memo)((function(t){var e=t.tabId,r=(0,P.W)().t,o=function(){var t,r=(t=ot().mark((function t(r){return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){it(i,n,o,a,c,"next",t)}function c(t){it(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.UnpinTab"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(rt.A,{size:"small"})))}));var ct=r(80328),ut=function(t){var e=t.tabId,r=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,r("tabMenu.ExitPip"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"switch_pip")}},n.createElement(ct.A,{sx:{fontSize:"1rem",color:"inherit"}})))};const lt=(0,n.memo)(ut);var st=r(89823),ft=r(49268),ht=r(81275),pt=r(38253),yt=r(96033);function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r100||r<0||v(r+"%")},onChange:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),yt.L.set("playing_progress_bar_locked_".concat(e),u.currentTime),l(e,mt(mt({},u),{},{volume:r})))}(t,r)},onChangeCommitted:function(t,r){return function(t,r){u&&(t.preventDefault(),t.stopPropagation(),yt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"volume_change",{value:r}))}(t,r)},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat(Math.floor(100*t),"%")},sx:mt({padding:0,width:"1px",height:"120px"},g)}))))};const Et=(0,n.memo)(xt);function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rs.duration?s.duration-3:s.currentTime+5;(0,E.h)(e,"video_jump_to_time",{value:r})}}),{enableOnFormTags:["TEXTAREA","INPUT"]});var h={color:a||"text.primary","& .MuiSlider-thumb":{width:6,height:6,transition:"0.3s cubic-bezier(.47,1.64,.41,.8)","&::before":{boxShadow:"0 2px 12px 0 rgba(0,0,0,0.4)"},"&:hover, &.Mui-focusVisible":{boxShadow:"0px 0px 0px 8px ".concat("dark"===i?"rgb(255 255 255 / 16%)":"rgb(0 0 0 / 16%)")},"&.Mui-active":{width:8,height:8}},"& .MuiSlider-rail":{opacity:.28}};return n.createElement(k.A,{placement:"top",title:n.createElement(j.A,null,u),followCursor:!0},n.createElement(ft.Ay,{value:s?s.currentTime:0,"aria-label":"time-indicator",size:"small",min:0,step:1,max:s?s.duration:0,onMouseMove:function(t){if(s){var e=t.currentTarget.getBoundingClientRect(),r=t.clientX-Math.floor(e.left);r<0||l((0,T.a3)(r/e.width*s.duration,s.duration))}},onClick:function(t){t.stopPropagation()},valueLabelFormat:function(t){return"".concat((0,T.a3)(t,s?s.duration:0))},onChange:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),yt.L.set("playing_progress_bar_locked_".concat(e),r),f(e,Ct(Ct({},s),{},{currentTime:r})))},onChangeCommitted:function(t,r){s&&(t.preventDefault(),t.stopPropagation(),yt.L.remove("playing_progress_bar_locked_".concat(e)),(0,E.h)(e,"video_jump_to_time",{value:r}))},sx:Ct({height:"1px"},h)}))};const Wt=(0,n.memo)(Dt);var Mt=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?{currentTime:r.currentTime,duration:r.duration}:{currentTime:0,duration:0}})),a=o.currentTime,c=o.duration;return n.createElement(i.A,{component:"div"},n.createElement(j.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat((0,T.a3)(a,c))))};const Bt=(0,n.memo)(Mt);var qt=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return r?r.duration:null}));return n.createElement(i.A,{component:"div"},n.createElement(j.A,{noWrap:!0,variant:"body2",sx:{color:r||"text.primary"}},"".concat(null===o?"∞":(0,T.a3)(o,o))))};const Ut=(0,n.memo)(qt);var Rt=r(6799),Zt=r(54638),Ht=function(t){var e=t.tabId,r=(0,A.M)().fontColor,o=(0,V.W)((function(t){var r=t.playingProgress.find((function(t){return t.tabId===e}));return null==r?void 0:r.paused}));return n.createElement(O.A,{sx:{padding:"5px",color:r||"text.primary"},onClick:o?function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"play_video")}:function(t){t.preventDefault(),t.stopPropagation(),(0,E.h)(e,"pause_video")}},o?n.createElement(Rt.A,null):n.createElement(Zt.A,null))};const Yt=(0,n.memo)(Ht);function zt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Qt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qt(t,e):void 0}}(t,e)||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 Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function oe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ie=function(t){var e=t.tabId,r=t.muted,o=(0,P.W)().t,i=function(){var t,n=(t=ne().mark((function t(n){return ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){oe(i,n,o,a,c,"next",t)}function c(t){oe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"},onClick:i},r?n.createElement(ht.A,{size:"small"}):n.createElement(pt.A,{size:"small"})))};const ae=(0,n.memo)(ie);var ce=r(20824),ue=function(){var t=(0,P.W)().t;return n.createElement(k.A,{arrow:!0,open:!0,title:t("SwitchToTab")},n.createElement(ce.A,{size:"small"}))};const le=(0,n.memo)(ue);var se=r(73923),fe=r(38743),he=r(4880),pe=r(76740),ye=r(38954),ve=r(99701),de=r(26565),me=r(46654),ge=r(10799),be=r(20258),we=r(94512),xe=r(76392),Ee=r(64468),Le=r(58459),Se=r(31454),Ae=r(73914),ke=r(49226),je=r(13387);function Oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_e(t,e):void 0}}(t,e)||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 _e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ge(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Fe(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ge(i,n,o,a,c,"next",t)}function c(t){Ge(i,n,o,a,c,"throw",t)}a(void 0)}))}}var De=(0,n.forwardRef)((function(t,e){var r=t.handleMenuClose,a=(0,P.W)().t,u=(0,x.s)((function(t){return{setWaitForSelectTab:t.setWaitForSelectTab,selectedTabIds:t.selectedTabIds,setSelectedTabIds:t.setSelectedTabIds}})),l=u.setWaitForSelectTab,s=u.selectedTabIds,f=u.setSelectedTabIds,h=(0,o.Zz)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),p=h.theme,y=h.onlyCurrentWindowTabs,v=(0,c.D3)((function(t){return t.currentWindow})),d=function(){f([]),l(!1),r()},m=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:s});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("close_other_tabs",{tabIds:s,windowId:y?v.id:0});case 2:d();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t=Fe(Ne().mark((function t(){var e,r,n;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ie(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.reload(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Fe(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(s),d();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=function(){var t=Fe(Ne().mark((function t(){var e,r,n,o;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),r=Ie(e),t.prev=2,r.s();case 4:if((n=r.n()).done){t.next=10;break}return o=n.value,t.next=8,(0,me.x$)(o);case 8:t.next=4;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),r.e(t.t0);case 15:return t.prev=15,r.f(),t.finish(15);case 18:de.oR.success(a("tabMenu.AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:p,autoClose:1500}),d();case 20:case"end":return t.stop()}}),t,null,[[2,12,15,18]])})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Fe(Ne().mark((function t(){var e,r,n;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ie(s),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=r.value,t.next=7,chrome.tabs.discard(n);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:d();case 18:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(){return t.apply(this,arguments)}}(),A=c.D3.getState().tabs.filter((function(t){return s.includes(t.id)})),O=A.every((function(t){return-1===t.groupId}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{onClick:m},n.createElement(he.A,null,n.createElement(N.A,null)),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.closeTab")))),n.createElement(fe.A,{onClick:g},n.createElement(pe.A,{inset:!0},n.createElement(j.A,{variant:"body1"},a("tabMenu.CloseOtherTabs")))),n.createElement(fe.A,{onClick:b},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.Reload")))),n.createElement(fe.A,{onClick:S},n.createElement(he.A,null,n.createElement(Zt.A,null)),n.createElement(pe.A,null,n.createElement(k.A,{arrow:!0,placement:"top",title:n.createElement(j.A,null,a("tabMenu.DiscardTabDesc"))},n.createElement(j.A,{variant:"body1"},a("tabMenu.DiscardTab",{count:s.length}))))),n.createElement(ge.A,{permissionName:"readingList"},n.createElement(fe.A,{onClick:L},n.createElement(he.A,null,n.createElement(ve.A,null)),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.AddToReadingList"))))),n.createElement(Pe,null),!O&&n.createElement(fe.A,{onClick:w},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("tabMenu.RemoveFromGroup"))))))}));const We=De;var Me=r(46225);function Be(t){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Be(t)}var qe=["tabId"];function Ue(){return Ue=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ze(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}}(t,e)||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 $e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ye(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ze(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ye(i,n,o,a,c,"next",t)}function c(t){Ye(i,n,o,a,c,"throw",t)}a(void 0)}))}}const He=(0,n.forwardRef)((function(t,e){var r=t.group,o=t.onSelect,a=(0,P.W)().t,c=(qe().setMenuTarget,(0,L.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===r.title})),setSiteConfig:t.setSiteConfig}}))),u=c.siteConfig,l=c.setSiteConfig,s=function(){var t=Ze(Ue().mark((function t(e){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l(r.title,{color:e});case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=Ze(Ue().mark((function t(){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=Ze(Ue().mark((function t(){return Ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("add_tabs_to_group",{title:r.title,color:r.color.tabGroupColor,tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=$.RY.map((function(t){return n.createElement(k.A,{key:t.color,onClick:function(){return s(t.color)}},(null==u?void 0:u.color)===t.color?n.createElement(De.A,{sx:{color:t.hex,fontSize:"18px"}}):n.createElement(Me.A,{sx:{color:t.hex,fontSize:"18px"}}))}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,null,p),n.createElement(fe.A,{onClick:h},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},a("groupMenu.AddTabsToChromeGroups")))),n.createElement(fe.A,{onClick:f},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},a("groupMenu.RemoveAllTabsFromGroup"))))))}));var ze=r(40492),Qe=r(53661),$e=r(25790),Ke=r(20395),Xe=r(37893),Ve=r(23269);function Je(){return Je=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _r(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){kr(i,n,o,a,c,"next",t)}function c(t){kr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Pr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r-1?(l(u.id,{title:t,color:n}),chrome.tabGroups.update(u.id,{title:t,color:n})):chrome.tabs.query({windowType:"normal",groupId:-1}).then((function(e){chrome.tabs.group({tabIds:e.map((function(t){return t.id}))}).then((function(e){l(e,{title:t,color:n}),chrome.tabGroups.update(e,{title:t,color:n})}))})),"function"==typeof r&&r()},y=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id>0&&(0,E.U)("chrome_delete_group",{groupId:u.id}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("chrome_ungroup",{groupId:u.id}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=_r(Ar().mark((function t(e){return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("move_group_to_new_window",{groupId:u.id,moveProperties:{index:-1}}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return e<=0?null:n.createElement(i.A,null,n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{sx:{height:"50px","&:hover":{backgroundColor:"transparent"}}},n.createElement(xr.A,{fullWidth:!0,variant:"outlined"},n.createElement(Er.A,{htmlFor:"rename-group-name-input"},o("groupMenu.RenameGroup")),n.createElement(Lr.A,{id:"rename-group-name-input",fullWidth:!0,value:f.groupName,variant:"outlined",onChange:function(t){return h((function(e){return Tr(Tr({},e),{},{groupName:t.target.value})}))},endAdornment:n.createElement(Sr.A,{position:"end"},n.createElement(k.A,{edge:"end",onClick:function(){return p(f.groupName,f.colorSelected)}},n.createElement(jr.A,null)))}))),n.createElement(fe.A,null,$.RY.map((function(t){return n.createElement(k.A,{key:t.color,onClick:function(){return p(f.groupName,t.color)}},f.colorSelected===t.color?n.createElement(De.A,{sx:{color:t.hex,fontSize:"22px"}}):n.createElement(Me.A,{sx:{color:t.hex,fontSize:"22px"}}))}))),n.createElement(fe.A,{onClick:d},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-96h72v96h480v-408H312v96h-72v-168q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm348-264-51-51 69-69H240v-72h294l-69-69 51-51 156 156-156 156Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.MoveToNewWindow")))),n.createElement(fe.A,{onClick:v},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m339-288-51-51 191-190H313v-72h288v288h-72v-166L339-288Zm405-192v-264H480v-72h336v336h-72ZM216-144q-29.7 0-50.85-21.15Q144-186.3 144-216v-600h72v600h600v72H216Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.Ungroup")))),n.createElement(fe.A,{onClick:y},n.createElement(he.A,null,n.createElement(le.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(A.A,{variant:"body1"},o("groupMenu.DeleteGroup"))))))};const Fr=(0,n.memo)(Gr);function Dr(t){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dr(t)}function Mr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Mr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Dr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Wr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Br(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qr(t,e):void 0}}(t,e)||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 qr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)try{chrome.tabGroups.get(e).then((function(t){t&&g(t.id,t)}))}catch(t){b(e)}}),[m,e,g,b]);var w=(0,c.D3)((function(t){var e;return null===(e=t.groups)||void 0===e?void 0:e.length}))||0,x=-1===e?{id:-1,title:v("Ungrouped"),color:$.RY[w%$.RY.length].color}:function(t){for(var e=1;e-1?t.groupId===e:-1===t.groupId}))})),G=(0,T.Lq)(N,L,S,j).map((function(t){return t.id})),F=Br((0,n.useState)(!x.collapsed),2),D=F[0],M=F[1],W=Br((0,n.useState)(null),2),B=W[0],q=W[1],R=Br((0,n.useState)(null),2),U=R[0],Y=R[1];(0,n.useEffect)((function(){return M(!x.collapsed),window.addEventListener("blur",Z),function(){window.removeEventListener("blur",Z)}}),[x.collapsed]);var Z=function(){q(null)},H=function(){var t,r=(t=Mr().mark((function t(r){var n;return Mr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),M(n=!D),t.prev=4,t.next=7,chrome.tabGroups.update(e,{collapsed:!n});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Wr(i,n,o,a,c,"next",t)}function c(t){Wr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}(),z=(0,$.vY)(null==x?void 0:x.color),Q=G.map((function(t){return n.createElement(br,{key:t,tabId:t})}));return 0===G.length?null:n.createElement(a.A,{key:x.id,disablePadding:!0,sx:{background:"".concat((0,ir.Mj)(z.hex).alpha(.15).toRgbString())}},n.createElement(s.Ay,{disableGutters:!0,sx:{padding:0},onClick:H,onContextMenu:function(t){e>0&&(t.preventDefault(),t.stopPropagation(),q({mouseX:t.clientX+2,mouseY:t.clientY-6}),Y(t.currentTarget))}},n.createElement(f.A,{sx:{width:"100%",paddingRight:"row"===O?"10px":void 0,paddingLeft:"row"!==O?"10px":void 0},spacing:.5,direction:O,alignItems:"center",justifyContent:"space-between"},n.createElement(i.A,{flexShrink:0},n.createElement(cr,{group:x})),n.createElement(f.A,{direction:O,alignItems:"center",justifyContent:"flex-end",sx:{flexGrow:1,minWidth:0}},!D&&A&&!u&&n.createElement(nr,{tabIds:G,max:6}),n.createElement(l.A,{showText:!1,groupId:x.id,windowId:x.windowId}))),e>0&&n.createElement(y.A,{key:"menu"+x.id,dense:"true",open:null!==B,anchorEl:U,onClose:Z,onClick:function(t){return t.stopPropagation()}},n.createElement(Fr,{key:"menu"+x.id,groupId:e,onSelect:Z}))),D&&!u&&n.createElement(h.A,{in:D,timeout:"auto"},n.createElement(p.A,null),n.createElement(a.A,{disablePadding:!0,ref:I,sx:{justifyContent:"center"}},Q)))}));const Zr=Yr;function Hr(){return Hr=Object.assign?Object.assign.bind():function(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Kr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&n.createElement(vn,{key:1,current:!1}))};const mn=(0,n.memo)(dn);var gn=r(24310),bn=function(t){var e=t.url,r=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor}})),i=r.theme,a=r.fontWeight,c=r.fontColor;return n.createElement(A.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:Math.max(100,a-200),color:"dark"===i?"text.secondary":c||"text.secondary",opacity:.75}},(0,T.Wj)(e))};const wn=(0,n.memo)(bn);var xn=r(97164),En=r.n(xn);function Ln(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Sn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sn(t,e):void 0}}(t,e)||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 Sn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Rn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Un(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Rn(i,n,o,a,c,"next",t)}function c(t){Rn(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Yn=function(t){var e=t.history,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e.urlMD5}})).keyboardSelected,E=(0,n.useRef)(null);(0,n.useEffect)((function(){x&&E.current&&E.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[x]);var L=function(){var t=Un(qn().mark((function t(){var n;return qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,gn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:e.url,active:!n});case 3:n||(d(""),0!==m&&l("activeTabIndex",0)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Un(qn().mark((function t(r){return qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),chrome.history.deleteUrl({url:e.url}),E.current.style.display="none";case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.A,{ref:E,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:L},n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Fn,{history:e}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:x,sx:(0,w.c)(e.id)},n.createElement(f.A,{sx:Wn({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(In,{avatarUrl:(0,T.Qr)(e.url)}),n.createElement(kn,{history:e}),x?n.createElement(O.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ae.A,{size:"small"}))):n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:S},n.createElement(N.A,{size:"small"})))))))};const Zn=(0,n.memo)(Yn);var Hn=r(97773);function zn(t){return zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zn(t)}function Qn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qn=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zn(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$n(i,n,o,a,c,"next",t)}function c(t){$n(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Xn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Vn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(t,e):void 0}}(t,e)||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 Vn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ao(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function co(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ao(i,n,o,a,c,"next",t)}function c(t){ao(i,n,o,a,c,"throw",t)}a(void 0)}))}}const uo=(0,n.memo)((function(t){var e=t.urlMD5,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,Hn.O4)((function(t){return{history:t.histories.find((function(t){return t.urlMD5===e})),deleteHistory:t.deleteHistory}})),E=x.deleteHistory,L=x.history,S=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e}})).keyboardSelected,j=(0,n.useRef)(null);(0,n.useEffect)((function(){S&&j.current&&j.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[S]);var A=function(){var t=co(io().mark((function t(){var e;return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,gn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:L.url,active:!e});case 3:e||(d(""),0!==m&&l("activeTabIndex",0)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),_=function(){var t=co(io().mark((function t(r){return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),E(e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return L?n.createElement(i.A,{ref:j,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:A},n.createElement(O.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Fn,{history:L}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:S,sx:(0,w.c)(e)},n.createElement(f.A,{sx:no({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(In,{avatarUrl:L.favIconUrl||(0,T.Qr)(L.url)}),n.createElement(kn,{history:L}),S?n.createElement(O.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(k.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ae.A,{size:"small"}))):n.createElement(k.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:_},n.createElement(N.A,{size:"small"}))))))):null}));function lo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return so(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?so(t,e):void 0}}(t,e)||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 so(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function bo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bo(i,n,o,a,c,"next",t)}function c(t){bo(i,n,o,a,c,"throw",t)}a(void 0)}))}}function xo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Eo(t,e)||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 Eo(t,e){if(t){if("string"==typeof t)return Lo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lo(t,e):void 0}}function Lo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1)){t.next=7;break}return t.next=5,chrome.tabs.group({tabIds:[e],groupId:n.groupId});case 5:t.next=9;break;case 7:return t.next=9,chrome.tabs.ungroup(e);case 9:return t.next=11,chrome.tabs.move(e,{index:n.index,windowId:n.windowId});case 11:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=wo(go().mark((function t(e,r){var n,o,i,a;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.find((function(t){return t.id===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=o.length>0?o[0]:null,!((null==i?void 0:i.index)>(null==n?void 0:n.index))){t.next=9;break}return t.next=7,chrome.tabs.move(e,{index:i.index-1,windowId:i.windowId});case 7:t.next=12;break;case 9:return a=o[o.length-1],t.next=12,chrome.tabs.move(e,{index:a.index+1,windowId:a.windowId});case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),v=function(){var t=wo(go().mark((function t(e,r){var n;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.D3.getState().tabs.find((function(t){return t.id===r})),t.next=3,chrome.tabGroups.move(e,{index:n.index});case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=wo(go().mark((function t(e,r){var n,o,i,a,u;return go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.filter((function(t){return t.groupId===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=Math.min.apply(Math,mo(n.map((function(t){return t.index})))),a=Math.min.apply(Math,mo(o.map((function(t){return t.index})))),u=Math.max.apply(Math,mo(o.map((function(t){return t.index})))),o[0].windowId,t.prev=6,!(i{"use strict";r.d(e,{A:()=>d});var n=r(62030),o=r(69116),i=r(421),a=r(67463),c=r(81191),u=r(73989),l=r(30758),s=r(5708),f=r(97773),h=function(t){var e=t.type,r=(0,f.O4)((function(t){return t.histories.length})),n=(0,s.D3)((function(t){return t.tabs.length})),o=0;switch(e){case"opened":o=n;break;case"history":o=r;break;default:o=0}return 0===o?null:l.createElement(a.A,{variant:"caption",sx:{border:"1px solid #ddd",borderRadius:"100%",padding:"3px"}},o>99?"99+":o)};const p=(0,l.memo)(h);r(53725);var y=r(46369),v=r(11094);function d(){var t=(0,y.W)().t,e=(0,v.Ay)((function(t){return{updateSetting:t.updateSetting,theme:t.settings.theme,fontColor:t.settings.fontColor,showTabNavs:t.settings.enableHistory&&t.settings.showHistoryTabs,activeTabIndex:t.settings.activeTabIndex,historyDataSource:t.settings.historyDataSource}})),r=e.updateSetting,s=e.theme,f=e.fontColor,h=e.showTabNavs,d=e.activeTabIndex,m=e.historyDataSource,g=function(e){switch(e){case 0:return l.createElement(i.Ay,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,color:"dark"===s?"text.primary":f||"text.primary"}},l.createElement(a.A,{variant:"h4"},t("OpenTabs")),l.createElement(p,{type:"opened"}));case 1:return l.createElement(i.Ay,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,color:"dark"===s?"text.primary":f||"text.primary"}},l.createElement(a.A,{variant:"h4"},t("chrome"===m?"history":"RecentlyTabs")))}};return l.createElement(c.A,null,h&&l.createElement(n.Ay,{value:d,sx:{borderBottom:1,borderColor:"divider"}},l.createElement(o.A,{variant:"fullWidth",onChange:function(t,e){r("activeTabIndex",e)}},l.createElement(u.A,{key:0,label:g(0),value:0}),l.createElement(u.A,{key:1,label:g(1),value:1}))))}},20976:(t,e,r)=>{"use strict";r.d(e,{A:()=>Mn});var n=r(30758),o=r(81191),i=r(77678),a=r(32185),c=r(11094),u=r(85825),l=r(67463),s=r(37281),f=r(15106),h=r(68964),p=function(t){var e=t.icon,r=t.labelKey,o=t.showLabel,i=t.handleClick,a=(0,h.Bd)().t,u=(0,c.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),p=u.theme,y=u.fontColor,v=o||!r?"":n.createElement(l.A,null,a(r));return n.createElement(s.A,{arrow:!0,title:v,placement:"top"},n.createElement(f.A,{showLabel:o,label:a(r),sx:{variant:"h4",color:"dark"===p?"text.primary":y||"text.primary",paddingX:0,paddingTop:0,minWidth:0,"& .MuiBottomNavigationAction-label":{display:o?"block":"none"}},icon:e,onClick:i}))};const y=(0,n.memo)(p);var v=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"settings"===t.name})))||void 0===e?void 0:e.showLabel)}));return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(u.A,null),labelKey:"Settings",showLabel:t,handleClick:function(){chrome.runtime.openOptionsPage()}}))};const d=(0,n.memo)(v);var m=r(98890),g=r(23355),b=r(50123),w=r(76558),x=r(73356),E=r(46369);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var j=b.prototype=m.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))}}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function W(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))}}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function K(t){var e=t.onSelect,r=(0,E.W)().t,o=function(){var t,r=(t=Q().mark((function t(r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,H.U)("sort_tabs_by_domain"),"function"==typeof e&&e();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$(i,n,o,a,c,"next",t)}function c(t){$(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:o},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M280-120 80-320l200-200 57 56-104 104h607v80H233l104 104-57 56Zm400-320-57-56 104-104H120v-80h607L623-784l57-56 200 200-200 200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("SortTabsByDomain")))}var X=r(5708);function V(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,X.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("discard_inactive_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M520-200v-560h240v560H520Zm-320 0v-560h240v560H200Zm400-80h80v-400h-80v400Zm-320 0h80v-400h-80v400Zm0-400v400-400Zm320 0v400-400Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("DiscardInactiveTabs")))}function J(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,X.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,H.U)("close_all_discarded_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("CloseAllDiscardedTabs")))}var tt=r(26565),et=r(67744);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),i=o.theme,a=o.onlyCurrentWindowTabs,u=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups,currentWindow:t.currentWindow}})),s=u.loadTabs,f=u.loadGroups,h=u.currentWindow,p=function(){var t,n=(t=nt().mark((function t(){var n,o;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,X.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,H.U)("group_tabs_by_domain",{windowId:a?h.id:0});case 4:return n=t.sent,t.next=7,(0,et.e6)();case 7:if(!((o=t.sent)&&o.groupId>-1)){t.next=11;break}return t.next=11,chrome.tabGroups.update(o.groupId,{collapsed:!1});case 11:n.error&&tt.oR.error(n.error,{position:"bottom-center",theme:i}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("An error occurred while grouping tabs"),{position:"bottom-center",theme:i});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,f();case 22:return t.next=24,s();case 24:return t.finish(18);case 25:case"end":return t.stop()}}),t,null,[[0,14,18,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(m.A,{onClick:p},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-320H520v-160H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("GroupBySite")))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme}})).theme,i=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),a=i.loadTabs,u=i.loadGroups,s=function(){var t,n=(t=ct().mark((function t(n){var i;return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,X.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,H.U)("cancel_all_groups");case 4:if((i=t.sent).success){t.next=11;break}if(!Array.isArray(i.error)){t.next=10;break}throw new Error(i.error.join("\n"));case 10:throw new Error(i.error||r("Unknown error occurred"));case 11:tt.oR.success(r("All tabs have been ungrouped successfully"),{position:"bottom-center",theme:o}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("ungroupingError",{ns:"error",error:t.t0.message}),{position:"bottom-center",theme:o});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,Promise.all([u(),a()]);case 22:return t.finish(18);case 23:case"end":return t.stop()}}),t,null,[[0,14,18,23]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(m.A,{onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m348-292-56-56 172-172H320v-80h280v280h-80v-144L348-292Zm412-188v-280H480v-80h360v360h-80ZM200-120q-33 0-56.5-23.5T120-200v-640h80v640h640v80H200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("UngroupAll")))}function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ft=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==st(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ht(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ht(i,n,o,a,c,"next",t)}function c(t){ht(i,n,o,a,c,"throw",t)}a(void 0)}))}}function yt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return vt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vt(t,e):void 0}}(t,e)||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 vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=5;break}return t.next=3,chrome.tabs.remove(i);case 3:tt.oR.success("".concat(i.length," ").concat(r("DuplicateTabsRemoved")),{position:"bottom-center",theme:u,hideProgressBar:!0,autoClose:1500}),"function"==typeof e&&e();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return n.createElement(m.A,{disabled:0===i.length,onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m476-420 84-84 84 84 56-56-84-84 84-84-56-56-84 84-84-84-56 56 84 84-84 84 56 56ZM320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-480H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},i.length>0?r("RemoveDuplicateTabs",{count:i.length}):r("NoDuplicateTabs")))}function mt(t){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mt(t)}function gt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */gt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wt(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,X.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),i=function(){var t,r=(t=gt().mark((function t(){var r,n;return gt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.loadTabs,n=o.loadGroups,t.next=3,n();case 3:return t.next=5,r();case 5:"function"==typeof e&&e();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bt(i,n,o,a,c,"next",t)}function c(t){bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:i},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160v-80h110l-16-14q-52-46-73-105t-21-119q0-111 66.5-197.5T400-790v84q-72 26-116 88.5T240-478q0 45 17 87.5t53 78.5l10 10v-98h80v240H160Zm400-10v-84q72-26 116-88.5T720-482q0-45-17-87.5T650-648l-10-10v98h-80v-240h240v80H690l16 14q49 49 71.5 106.5T800-482q0 111-66.5 197.5T560-170Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("Reload")))}function xt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Et(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(t,e):void 0}}(t,e)||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 Et(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ie(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ae(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ce(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(t,e):void 0}}(t,e)||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 ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=r})).slice(0,100)).sort((function(t,e){return e.closed_time-t.closed_time})),f(n),v(!1);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ie(i,n,o,a,c,"next",t)}function c(t){ie(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();(0,n.useEffect)((function(){S()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),E.current&&E.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var j=function(){if(!m)return s;var t=m.trim().toLowerCase().split(/\s+/);return s.filter((function(e){return t.every((function(t){return e.title&&e.title.toLowerCase().includes(t)||e.url&&e.url.toLowerCase().includes(t)}))}))};return(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),x((function(t){return(t+1)%j().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),x((function(t){return(t-1+j().length)%j().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),w>=0&&wt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"",e=new Date;return e.setMonth(e.getMonth()-1),new Promise((function(r){chrome.history.search({text:t,maxResults:100,startTime:e.getTime(),endTime:Date.now()},(function(t){r(t)}))}))};(0,n.useEffect)((function(){var t=function(){var t=_e(Se().mark((function t(){var e;return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:e=t.sent,f((function(t){return Oe(Oe({},t),{},{historyItems:e,tempHistoryItems:e,isLoading:!1})}));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),p.current&&p.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var d=(0,xe.A)(function(){var t=_e(Se().mark((function t(e){var r,n,o,i,a,c;return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f((function(t){return Oe(Oe({},t),{},{isLoading:!0})})),n=e.trim().split(/\s+/),t.next=4,Promise.all(n.map((function(t){return v(t)})));case 4:o=t.sent,i=(r=[]).concat.apply(r,Le(o)),n.length,a=i.filter((function(t){var e="".concat(t.title," ").concat(t.url).toLowerCase();return n.every((function(t){return e.includes(t.toLowerCase())}))})),c=Array.from(new Set(a.map((function(t){return t.id})))).map((function(t){return a.find((function(e){return e.id===t}))})),f((function(t){return Oe(Oe({},t),{},{tempHistoryItems:c,isLoading:!1})}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),300);return(0,n.useEffect)((function(){d(s.searchTerm)}),[s.searchTerm]),(0,n.useEffect)((function(){s.isLoading||f((function(t){return Oe(Oe({},t),{},{historyItems:s.tempHistoryItems})}))}),[s.isLoading,s.tempHistoryItems]),(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),f((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex+1)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),f((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex-1+t.historyItems.length)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),s.activeIndex>=0&&s.activeIndex=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function He(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ze(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){He(i,n,o,a,c,"next",t)}function c(t){He(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}}(t,e)||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 $e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rr(i,n,o,a,c,"next",t)}function c(t){rr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function or(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ir(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ir(t,e):void 0}}(t,e)||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 ir(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0&&b=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function sr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const fr=function(t){var e=t.item,r=t.onSelect,i=t.selected,a=(0,c.Ay)((function(t){return{view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds}})),u=a.view,l=a.buttonPosition,f=a.tabPreviewEnable,h=a.tabPreviewWaitSeconds,p=(0,n.useRef)(null);(0,n.useEffect)((function(){i&&p.current&&p.current.scrollIntoView({behavior:"smooth",block:"center"})}),[i]);var y=function(){var t,n=(t=lr().mark((function t(){return lr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:e.url}),"function"==typeof r&&r()}catch(t){}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){sr(i,n,o,a,c,"next",t)}function c(t){sr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(o.A,{sx:{position:"relative"},ref:p},n.createElement(Ft.Ay,{disablePadding:!0,onClick:y},n.createElement(s.A,{followCursor:!0,enterDelay:1e3*parseFloat(h),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:f?n.createElement(Jt,{title:e.title,url:e.url}):""},n.createElement(Dt.A,{selected:i,component:"div",dense:"list"===u,disableGutters:!0,sx:(0,Mt.c)(e.url)},n.createElement(kt.A,{sx:{width:"100%",paddingRight:"row"===l?"8px":"0",paddingLeft:"row"===l?"0":"8px"},direction:l,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Rt,{avatarUrl:(0,Ut.Qr)(e.url)}),n.createElement(Kt,{title:e.title,url:e.url,lastAccessed:e.dateAdded}))))))};function hr(t){return hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hr(t)}function pr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */pr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==hr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"";return new Promise((function(e){chrome.bookmarks.search(t,(function(t){e(t.filter((function(t){return t.url})))}))}))};(0,n.useEffect)((function(){var t=function(){var t=gr(pr().mark((function t(){var e;return pr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t){chrome.bookmarks.getRecent(50,(function(e){t(e.filter((function(t){return t.url})))}))}));case 2:(e=t.sent).sort((function(t,e){return e.dateAdded-t.dateAdded})),f((function(t){return vr(vr({},t),{},{bookmarks:e,loading:!1})}));case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){var t;return Ct.s.setState({popupPanelActived:!0}),null===(t=p.current)||void 0===t||t.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]),(0,n.useEffect)((function(){var t=function(){var t=gr(pr().mark((function t(){var e;return pr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s.searchQuery){t.next=6;break}return t.next=3,y(s.searchQuery);case 3:(e=t.sent).sort((function(t,e){return e.dateAdded-t.dateAdded})),f((function(t){return vr(vr({},t),{},{bookmarks:e})}));case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[s.searchQuery]);var v=function(t){f((function(e){var r=(e.selectedIndex+t+e.bookmarks.length)%e.bookmarks.length;return vr(vr({},e),{},{selectedIndex:r>=0?r:e.bookmarks.length-1})}))};return(0,It.vC)("ArrowDown",(function(){return v(1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(){return v(-1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(){if(s.selectedIndex>=0&&s.selectedIndext.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Kr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Jr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Xr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Vr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Jr(t,e)||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 Jr(t,e){if(t){if("string"==typeof t)return tn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tn(t,e):void 0}}function tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function cn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var un=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"scrollToActiveTab"===t.name})))||void 0===e?void 0:e.showLabel)})),e=(0,c.Ay)((function(t){return t.updateSetting})),r=(0,c.Ay)((function(t){return t.activeTabIndex})),o=function(){var t,n=(t=an().mark((function t(){var n;return an().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0!==r&&e("activeTabIndex",0),(n=document.querySelector(".tab-item.active"))&&n.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){cn(i,n,o,a,c,"next",t)}function c(t){cn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(nn.A,null),labelKey:"ScrollToActiveTab",showLabel:t,handleClick:o}))};const ln=(0,n.memo)(un);var sn=r(80089),fn=r(44225);function hn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return pn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function pn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function wn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const xn=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"themeModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,theme:t.settings.theme}})),e=t.showLabel,r=t.updateSetting,o=t.theme,i=function(){var t,e=(t=bn().mark((function t(){return bn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r("theme","dark"===o?"light":"dark"),(0,H.U)("update_setting",{key:"theme",value:"dark"===o?"light":"dark"});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){wn(i,n,o,a,c,"next",t)}function c(t){wn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:"dark"===o?n.createElement(dn.A,null):n.createElement(mn.A,null),labelKey:"dark"===o?"DarkMode":"LightMode",showLabel:e,handleClick:i}))};var En=r(28864),Ln=r(86941),Sn=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"viewModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,view:t.settings.view}})),e=t.showLabel,r=t.updateSetting,o=t.view;return n.createElement(n.Fragment,null,n.createElement(y,{icon:"visual"===o?n.createElement(En.A,null):n.createElement(Ln.A,null),labelKey:"visual"===o?"view.Compact":"view.Visual",showLabel:e,handleClick:function(){var t="visual"===o?"list":"visual";r("view",t),(0,H.U)("update_setting",{key:"view",value:t})}}))};const jn=(0,n.memo)(Sn);var On=r(61864),An=r(93919);function kn(t){return kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kn(t)}function _n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_n=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==kn(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Tn=function(){var t=(0,h.Bd)().t,e=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"createSnapshot"===t.name})))||void 0===e?void 0:e.showLabel)})),r=function(){var e,r=(e=_n().mark((function e(){return _n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,An.Ay.getState().addSnapshot();case 3:tt.oR.success(t("createSnapshotSuccess")),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),tt.oR.error(t("createSnapshotFailed"));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Pn(i,n,o,a,c,"next",t)}function c(t){Pn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(On.A,null),labelKey:"createSnapshot",showLabel:e,handleClick:r}))};const In=(0,n.memo)(Tn);var Cn=r(24847),Nn=r(4507);function Gn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Fn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fn(t,e):void 0}}(t,e)||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 Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(63803),a=r(77),c=r(77405),u=(r(14852),r(23249)),l=r(3632),s=r(46369),f=r(76051),h=t([u]);u=(h.then?(await h)():h)[0],(0,l.ig)();var p=document.getElementById("root");(0,o.H)(p).render(n.createElement(l.WP,null,n.createElement(f.Z,null,n.createElement(s.D,null,n.createElement(c.A,null,n.createElement(i.I9,null,n.createElement(a.BV,null,n.createElement(a.qh,{exact:!0,path:"/",element:n.createElement(u.A,null)})))))))),e()}catch(t){e(t)}}))},42051:(t,e,r)=>{"use strict";r.d(e,{A:()=>Bt});var n=r(81191),o=r(77678),i=r(30758),a=r(5708),c=r(11094),u=r(37281),l=r(99967),s=r(17283),f=r(15393),h=r(49251),p=r(62473),y=function(t){var e=t.favIconUrl,r=window.devicePixelRatio||1,n=parseInt(20/r);return i.createElement(f.A,{sx:{display:"flex",justifyContent:"center",minWidth:10}},i.createElement(h.A,{variant:"square",sx:{background:"transparent",width:n,height:n,alignContent:"center"},"aria-label":"recipe",src:e},i.createElement(p.A,{color:"primary"})))};const v=(0,i.memo)(y);var d=r(85219),m=r(61649),g=r(67463),b=r(94252);function w(t){var e=t.quickAccess,r=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return i.createElement(d.A,{sx:{padding:0,minWidth:"200px"}},i.createElement(m.A,{sx:{padding:"8px"}},i.createElement(g.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:r,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e.title),i.createElement(g.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,b.Wj)(e.url))))}var x=r(30254),E=r(98890),L=r(65395),S=r(24847),j=r(46369);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var _=function(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.removeQuickAccess})),c=function(){var t,n=(t=A().mark((function t(){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o(e);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,c,"next",t)}function c(t){k(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("Delete"))))};const P=(0,i.memo)(_);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:o.url}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInNewTab"))))}function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=F().mark((function t(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal"}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInNewWindow"))))}function W(t){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W(t)}function B(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */B=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==W(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function q(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=B().mark((function t(){return B().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal",incognito:!0}),"function"==typeof r&&r()}catch(t){S.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){q(i,n,o,a,c,"next",t)}function c(t){q(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("OpenInIncognitoWindow"))))}function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function H(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){var e=t.uuid,r=t.onSelect,n=t.props,o=(0,j.W)().t,c=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),u=function(){var t,e=(t=Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)(c.url);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){H(i,n,o,a,c,"next",t)}function c(t){H(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,Y({},n,{onClick:u}),i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},o("tabMenu.CopyLink"))))}function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Q(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function K(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=$().mark((function t(){return $().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)(o.title);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){K(i,n,o,a,c,"next",t)}function c(t){K(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("tabMenu.CopyTitle"))))}function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function J(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */J=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==V(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.uuid,r=t.onSelect,n=(0,j.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,b.eM)("[".concat(o.title,"](").concat(o.url,")"));case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),S.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(E.A,{onClick:c},i.createElement(L.A,null,i.createElement(g.A,{variant:"body1"},n("tabMenu.CopyAsMarkdown"))))}var rt=r(95605),nt=r(39805),ot=r(44155),it=r(36489),at=r(25790),ct=r(98054),ut=r(25492),lt=r(70546);function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ft=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==st(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ht(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function jt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return At(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?At(t,e):void 0}}(t,e)||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 At(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0||s&&y.length>0?i.createElement(n.A,{ref:e},i.createElement(n.A,{sx:{padding:"5px",display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(26px, 1fr))",gap:1,width:"100%"}},l&&p.map((function(t){return i.createElement(It.A,{key:"tab-avatar-".concat(t),tabId:t})})),s&&i.createElement(_t.Mp,{collisionDetection:_t.fp,onDragEnd:function(t){var e=t.active,r=t.over;if(null!=e&&e.id&&null!=r&&r.id&&e.id!==r.id){var n=v.indexOf(e.id),o=v.indexOf(r.id);(0,Pt.be)(v,n,o).forEach((function(t,e){var r=y.find((function(e){return e.uuid===t}));d(r.uuid,Ft(Ft({},r),{},{sortIndex:e}))}))}},sensors:m},i.createElement(Pt.gB,{items:v},v.map((function(t){var e=y.find((function(e){return e.uuid===t}));return i.createElement(Wt,{key:"tab-avatar-".concat(e.uuid),quickAccess:e})}))))),i.createElement(o.A,null)):null})),Wt=(0,i.memo)((function(t){var e=t.quickAccess,r=(0,Pt.gl)({id:e.uuid}),n=r.attributes,o=r.listeners,a=r.setNodeRef,c=r.transform,u=r.transition,l=r.isDragging;return i.createElement("div",Nt({ref:a,style:{transform:Tt.Ks.Transform.toString(c),transition:u,cursor:l?"grabbing":"pointer"}},n,o),i.createElement(kt,{quickAccess:e}))}));const Bt=(0,i.memo)(Mt)},23269:(t,e,r)=>{"use strict";r.d(e,{A:()=>j});var n=r(30758),o=r(81191),i=r(37281),a=r(99967),c=r(17283),u=r(35841),l=r(5708),s=r(67744),f=r(11094),h=r(94252),p=r(46369),y=r(59769),v=r(63564),d=r(95776);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=E(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||E(t,e)||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 E(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>He});var n=r(30758),o=r(81191),i=r(30254),a=r(77678),c=r(4507),u=r(98890),l=r(23355),s=r(65395),f=r(67463),h=r(67744),p=r(70546),y=r(46369);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var g=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,h.EL)(e);case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(p.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.closeTab"))))};const b=(0,n.memo)(g);var w=r(5708),x=r(86670);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function L(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(C([])));S&&S!==r&&n.call(S,a)&&(w=S);var j=b.prototype=m.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==E(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){return t.currentWindow})),a=function(){var t,n=(t=L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,x.U)("close_other_tabs",{tabId:e,windowId:i.id}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseOtherTabs"))))}function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function A(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=A().mark((function t(){return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,c,"next",t)}function c(t){k(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteTabs"))))}var P=r(11094);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var N=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_other_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteOtherTabs"))))};const G=(0,n.memo)(N);var F=r(50123);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function M(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */M=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=M().mark((function t(){return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.reload(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.Reload"))))}var q=r(37281),R=r(90856);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function Y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var H=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.discarded})),a=function(){var t,n=(t=Y().mark((function t(){return Y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.discard(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Z(i,n,o,a,c,"next",t)}function c(t){Z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i?null:n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(R.A,null)),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.DiscardTabDesc"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.DiscardTab")))))};const z=(0,n.memo)(H);function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Q(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function K(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r,n;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url,windowId:null===(n=t.tabs.find((function(t){return t.id===e})))||void 0===n?void 0:n.windowId}})),a=i.url,c=i.windowId,h=function(){var t,e=(t=$().mark((function t(){return $().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.create({url:a,windowId:c}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){K(i,n,o,a,c,"next",t)}function c(t){K(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480Zm0-480v480-480ZM246-96v-72h72v72h-72Zm-78-600H96q0-29.7 21.15-50.85Q138.3-768 168-768v72ZM396-96v-72h72v72h-72Zm150 0v-72h72v72h-72Zm-378-72v72q-29.7 0-50.85-21.15Q96-138.3 96-168h72Zm-72-78v-72h72v72H96Zm0-150v-72h72v72H96Zm0-150v-72h72v72H96Zm600 378h72q0 29.7-21.15 50.85Q725.7-96 696-96v-72Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.ReplicateTab"))))}function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function J(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */J=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==V(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.pinned})),a=function(){var t,n=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{pinned:!i}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),c=function(){return n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",viewBox:"0 -960 960 960",width:"18px",fill:"currentColor"},n.createElement("path",{d:i?"M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z":"m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"})))};return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(c,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(i?"tabMenu.UnpinTab":"tabMenu.PinTab"))))}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var it=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{audible:null==r?void 0:r.audible,mutedInfo:null==r?void 0:r.mutedInfo}})),a=i.audible,c=i.mutedInfo,h=function(){var t,n=(t=nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a&&chrome.tabs.update(e,{muted:!c.muted}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,c.muted?n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M552-152v-75q86-23 139-93.26 53-70.25 53-159.5 0-89.24-53.5-158.74Q637-708 552-734v-75q116 25 190 117t74 211q0 119-73.5 211.5T552-152ZM144-385v-192h144l192-192v576L288-385H144Zm408 55v-302q45.12 20.4 70.56 61.2Q648-530 648-480.52q0 48.52-25.44 89.23Q597.12-350.59 552-330ZM408-595l-90 90H216v48h102l90 90v-228Zm-91 113Z"}))):n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M768-90 661-197q-22 14-52.5 26.5T552-152v-74q12-5 28.5-11.5T608-250L480-378v187L288-383H144v-192h138L90-768l51-51 678 678-51 51Zm-6-209-52-52q16-29 25-61.5t9-66.5q0-89-53.5-158.5T552-733v-74q117 23 190.5 116T816-479q0 48-14 93.5T762-299ZM638-423l-86-86v-122q45 20 70.5 61.5T648-479q0 14-2 28t-8 28ZM480-581l-93-93 93-93v186Zm-72 216v-85l-72-72-18 19H216v48h102l90 90Zm-36-121Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c.muted?"tabMenu.UnmuteTab":"tabMenu.MuteTab")))):null};const at=(0,n.memo)(it);function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function lt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function st(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,pipOn:null==r?void 0:r.pipOn}})),a=i.pipSupport,c=i.pipOn,h=function(){var t,n=(t=ut().mark((function t(){return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.h)(e,"switch_pip");case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){lt(i,n,o,a,c,"next",t)}function c(t){lt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),p=n.createElement(F.A,null,c?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M168-192q-29.7 0-50.85-21.15Q96-234.3 96-264v-240h72v240h624v-432H456v-72h336q29.7 0 50.85 21.16Q864-725.68 864-695.96v432.24Q864-234 842.85-213T792-192H168Zm525-120 51-51-93-93h69v-72H528v192h72v-69l93 93ZM96-576v-192h288v192H96Zm384 96Z"})):n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M96-480v-72h165L71-743l50-50 191 190v-165h72v288H96Zm72 288q-29.7 0-50.85-21.15Q96-234.3 96-264v-144h72v144h336v72H168Zm624-264v-240H456v-72h336q29.7 0 50.85 21.15Q864-725.7 864-696v240h-72ZM576-192v-192h288v192H576Z"})));return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,p),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c?"tabMenu.ExitPip":"tabMenu.EnterPip")))):null}var ft=r(51742);function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function pt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */pt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ht(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var vt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.tabSwitchPip})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,hostname:null==r?void 0:r.hostname}})),c=a.pipSupport,h=a.hostname,p=(0,ft.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===h})),setSiteConfig:t.setSiteConfig}})),v=p.siteConfig,d=p.setSiteConfig,m=function(){var t,e=(t=pt().mark((function t(){var e;return pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={tabSwitchPip:"boolean"==typeof(null==v?void 0:v.tabSwitchPip)&&!(null!=v&&v.tabSwitchPip)},t.next=3,d(h,e);case 3:return t.next=5,(0,x.U)("update_site_config",{hostname:h,config:e});case 5:"function"==typeof r&&r();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yt(i,n,o,a,c,"next",t)}function c(t){yt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return c&&i?n.createElement(u.A,{onClick:m},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:!1===(null==v?void 0:v.tabSwitchPip)?"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Zm280-40h320v-240H440v240Zm80-80v-80h160v80H520Z":"m554-520 80 80h66q25 0 42.5-17.5T760-500v-120q0-25-17.5-42.5T700-680H500q-22 0-38 14t-21 34l33 32h206v80H554Zm317 317-71-71v-446H354l-80-80h526q33 0 56.5 23.5T880-720v480q0 10-2 19.5t-7 17.5ZM383-463Zm194-34ZM818-28 686-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800l80 80h-80v480h446L26-820l57-57L875-85l-57 57Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(!1===(null==v?void 0:v.tabSwitchPip)?"tabMenu.EnableSiteTabSwitchPip":"tabMenu.DisableSiteTabSwitchPip")))):null};const dt=(0,n.memo)(vt);var mt=r(50637),gt=r(99378),bt=r(40994);function wt(t){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(t)}function xt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Et(i,n,o,a,c,"next",t)}function c(t){Et(i,n,o,a,c,"throw",t)}a(void 0)}))}}function St(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t=Lt(xt().mark((function t(){return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a=(0,w.Ay)((function(t){var r;return{hostname:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname}})),c=a.hostname,h=function(){var t=Lt(xt().mark((function t(){return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:[e]},(function(t){var e=(0,gt.A)((0,bt.A)(null==c?void 0:c.replace("www.","").split(".")[0])),r=(0,mt.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=(0,w.Ay)((function(t){var r;return{groupId:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.groupId}})),v=p.groupId;return n.createElement(n.Fragment,null,-1===v?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabToNewGroup")))):n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.RemoveFromGroup")))))}var jt=r(8926),Ot=r(26565),At=r(1251);function kt(t){return kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(t)}function _t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_t=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==kt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Tt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,url:r.url}})),c=function(){var t,e=(t=_t().mark((function t(){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,jt.x$)(a);case 2:Ot.oR.success(o("AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Pt(i,n,o,a,c,"next",t)}function c(t){Pt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,jt.UT)()?n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(At.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddToReadingList")))):null}var It=r(24847);function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ft=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{index:null==r?void 0:r.index,windowId:null==r?void 0:r.windowId}})),a=i.index,c=i.windowId,h=function(){var t,e=(t=Nt().mark((function t(){return Nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({index:a+1,windowId:c}),"function"==typeof r&&r()}catch(t){It.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Gt(i,n,o,a,c,"next",t)}function c(t){Gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M216-216v-528 528Zm0 72q-29.7 0-50.85-21.15Q144-186.3 144-216v-528q0-29.7 21.15-50.85Q186.3-816 216-816h528q29.7 0 50.85 21.15Q816-773.7 816-744v317q-18-4-36-4.5t-36 1.5v-314H216v528h314q-2 18-1.5 36t4.5 36H216Zm555 96-51-51 56-57H624v-72h152l-56-57 51-51 141 144L771-48ZM444-288h72v-156h156v-72H516v-156h-72v156H288v72h156v156Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabOnRight"))))};const Dt=(0,n.memo)(Ft);function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Wt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url}})).url,a=function(){var t,e=(t=Wt().mark((function t(){var e;return Wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=new URL(i).hostname,t.next=4,chrome.tabs.create({url:"chrome-extension://".concat(chrome.runtime.id,"/options.html#/sites/").concat(e),active:!0});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0);case 9:"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Bt(i,n,o,a,c,"next",t)}function c(t){Bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return null!=i&&i.startsWith("http")?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.SiteSettings")))):null}function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Zt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Yt(i,n,o,a,c,"next",t)}function c(t){Yt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Ht=function(){var t=Zt(Ut().mark((function t(e){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",chrome.cookies.getAll({url:e},(function(t){return!chrome.runtime.lastError&&(t.forEach((function(t){chrome.cookies.remove({url:e,name:t.name},(function(){chrome.runtime.lastError}))})),!0)})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){var e,r=t.tabId,o=t.onSelect,i=(0,y.W)().t,a=(0,P.Ay)((function(t){return t.settings.theme})),c=(0,w.Ay)((function(t){var e=t.tabs.find((function(t){return t.id===r}))||{};return{id:e.id,url:e.url}})),h=function(){var t,e=(t=Qt().mark((function t(){var e;return Qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ht(c.url);case 2:return t.next=4,(0,x.h)(c.id,"clear_browsing_data");case 4:null!=(e=t.sent)&&e.success?Ot.oR.success(i("CacheCleared"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}):Ot.oR.error(i("RefreshTips"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}),"function"==typeof o&&o();case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(null===(e=c.url)||void 0===e?void 0:e.startsWith("http"))?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M432-552h96v-240q0-20.4-13.8-34.2Q500.4-840 480-840q-20.4 0-34.2 13.8Q432-812.4 432-792v240ZM216-408h528v-72H216v72Zm-48 240h96v-60q0-15.3 10.29-25.65Q284.58-264 299.79-264t25.71 10.35Q336-243.3 336-228v60h108v-60q0-15.3 10.29-25.65Q464.58-264 479.79-264t25.71 10.35Q516-243.3 516-228v60h108v-60q0-15.3 10.29-25.65Q644.58-264 659.79-264t25.71 10.35Q696-243.3 696-228v60h96l-38-168H207l-39 168Zm624 72H168q-34.97 0-56.48-27Q90-150 98-184l46-200v-96q0-29.7 21.15-50.85Q186.3-552 216-552h144v-240q0-50 35-85t85-35q50 0 85 35t35 85v240h144.25Q774-552 795-530.85T816-480v96l46 200q8 34-13.5 61T792-96ZM216-408v-72 72Zm312-144h-96 96Z"})))),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i("tabMenu.ClearCacheTips"))},n.createElement(f.A,{variant:"body1"},i("tabMenu.ClearCookiesAndSiteData"))))):null}function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}function Vt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Vt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Xt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Jt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var te=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=Vt().mark((function t(){return Vt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ht(a);case 2:Ot.oR.success(o("CookiesCleared"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Jt(i,n,o,a,c,"next",t)}function c(t){Jt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(null==a?void 0:a.startsWith("http"))?n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m798-264-53-53q19.8-31.91 31.9-68.46Q789-422 792-462q-45-18-75-55.5T679-603q-76-11-129-63t-63-126q-47-3-90.5 9T315-747l-53-53q64-46 141.5-62.5T560-856q-8 44 5 81t41 61.5q28 24.5 68 34t85-1.5q-25 57 7.5 108.5t95.5 53.47q8 70.95-9.5 135.99T798-264Zm-474-96q-25 0-42.5-17.5T264-420q0-25 17.5-42.5T324-480q25 0 42.5 17.5T384-420q0 25-17.5 42.5T324-360ZM762-96l-66-66q-49 32-103.5 49T480-96q-79.38 0-149.19-30T208.5-208.5Q156-261 126-330.81T96-480q0-58 17-112.5T162-696l-66-66 51-51 666 666-51 51Zm-281.89-72Q524-168 565-181t79-34L215-644q-21 38-34 79t-13 84.89q0 129.72 91.19 220.92Q350.39-168 480.11-168ZM420-420Zm134-137Z"})))),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.ClearCookiesTips"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.ClearCookies"))))):null};const ee=n.memo(te);var re=r(94252);function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function oe(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ne(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ie(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ae=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.title})),a=function(){var t,e=(t=oe().mark((function t(){return oe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)(i),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ie(i,n,o,a,c,"next",t)}function c(t){ie(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyTitle"))))};const ce=(0,n.memo)(ae);function ue(t){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(t)}function le(){return le=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function fe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function he(t){var e=t.tabId,r=t.onSelect,o=t.props,i=(0,y.W)().t,a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=se().mark((function t(){return se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)(a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){fe(i,n,o,a,c,"next",t)}function c(t){fe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,le({},o,{onClick:c}),n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},i("tabMenu.CopyLink"))))}function pe(t){return pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pe(t)}function ye(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ye=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==pe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ve(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var de=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{title:null==r?void 0:r.title,url:null==r?void 0:r.url}})),a=i.title,c=i.url,h=function(){var t,e=(t=ye().mark((function t(){return ye().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,re.eM)("[".concat(a,"](").concat(c,")")),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ve(i,n,o,a,c,"next",t)}function c(t){ve(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm216-336h48v-192h48v144h44v-144h52v192h48v-208q0-13.6-9-22.8-9-9.2-21-9.2H462q-12 0-21 9.2t-9 22.8v208Zm-72 120v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyAsMarkdown"))))};const me=(0,n.memo)(de);function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(t)}function be(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */be=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ge(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.pinToQuickAccess})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,favIconUrl:r.favIconUrl,url:r.url}})),c=(0,w.Ay)((function(t){return t.setQuickAccess})),h=function(){var t,e=(t=be().mark((function t(){return be().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:c(crypto.randomUUID(),a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){we(i,n,o,a,c,"next",t)}function c(t){we(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M720-320v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80ZM600-80q-127-48-203.5-158T320-484q0-91 36-172.5T458-800H320v-80h280v280h-80v-148q-57 51-88.5 119.5T400-484q0 102 54 187.5T600-167v87Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.PinToQuickAccess")))):null}var Ee=r(69170);function Le(t){return Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(t)}function Se(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Se=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Le(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Oe=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.autoDiscardable})),a=function(){var t,n=(t=Se().mark((function t(){return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{autoDiscardable:!1}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){je(i,n,o,a,c,"next",t)}function c(t){je(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(Ee.A,null)),n.createElement(s.A,null,n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,o("tabMenu.KeepTabActiveDesc"))},n.createElement(f.A,{variant:"body1"},o("tabMenu.KeepTabActive"))))):null};const Ae=(0,n.memo)(Oe);var ke=r(98054),_e=r(99967),Pe=r(59161),Te=r(57637),Ie=r(73800),Ce=r(6852),Ne=r(60777),Ge=r(72232),Fe=r(11357),De=r(2390);function Me(t){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Me(t)}function We(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */We=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Me(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Be(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qe(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Be(i,n,o,a,c,"next",t)}function c(t){Be(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ue(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(t,e):void 0}}(t,e)||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 Ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=1&&n<=1e3)){t.next=7;break}return t.next=4,chrome.tabs.setZoom(e,n/100);case 4:h(n/100),t.next=8;break;case 7:L(Math.round(100*c));case 8:b(!1),"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return S?n.createElement(u.A,null,n.createElement(l.A,null,n.createElement(Ie.A,null)),n.createElement(s.A,null,n.createElement(o.A,{display:"flex",justifyContent:"center",width:"100%"},n.createElement(ke.A,{spacing:2,direction:"row",alignItems:"center",justifyContent:"flex-start"},n.createElement(f.A,null,i("zoom")),n.createElement(_e.A,{onClick:O},n.createElement(Ce.A,null)),g?n.createElement(Pe.A,{value:E,onChange:function(t){var e=t.target.value;/^\d*$/.test(e)&&L(e)},onKeyDown:function(t){"Enter"===t.key&&k()},autoFocus:!0,inputProps:{type:"text",style:{height:"20px"}},endAdornment:n.createElement(Te.A,{position:"end"},n.createElement(_e.A,{onClick:k},n.createElement(De.A,null)))}):n.createElement(f.A,{onClick:function(){return b(!0)}},"".concat(Math.round(100*c),"%")),n.createElement(_e.A,{onClick:j},n.createElement(Ne.A,null)),n.createElement(q.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i(v?"exitFullscreen":"fullscreen"))},v?n.createElement(Ge.A,{onClick:A}):n.createElement(Fe.A,{onClick:A})))))):null};const Ze=(0,n.memo)(Ye),He=(0,n.forwardRef)((function(t,e){var r=t.tabId,u=t.handleMenuClose,l=function(t,e){return n.createElement(c.tH,{fallback:null},n.createElement(t,e))};return n.createElement(o.A,{ref:e,onClick:function(t){t.stopPropagation()}},n.createElement(i.A,{dense:!0,sx:{minWidth:"200px"}},l(b,{tabId:r,onSelect:u}),l(j,{tabId:r,onSelect:u}),l(_,{tabId:r,onSelect:u}),l(G,{tabId:r,onSelect:u}),l(B,{tabId:r,onSelect:u}),l(z,{tabId:r,onSelect:u}),l(Ae,{tabId:r,onSelect:u}),l(Ze,{tabId:r,onSelect:u}),l(X,{tabId:r,onSelect:u}),l(et,{tabId:r,onSelect:u}),l(at,{tabId:r,onSelect:u}),l(st,{tabId:r,onSelect:u}),l(xe,{tabId:r,onSelect:u}),l(dt,{tabId:r,onSelect:u}),l(St,{tabId:r,onSelect:u}),l(Tt,{tabId:r,onSelect:u}),l(Dt,{tabId:r,onSelect:u}),n.createElement(a.A,null),l(qt,{tabId:r,onSelect:u}),l(Kt,{tabId:r,onSelect:u}),l(ee,{tabId:r,onSelect:u,props:{divide:!0}}),l(ce,{tabId:r,onSelect:u}),l(he,{tabId:r,onSelect:u}),l(me,{tabId:r,onSelect:u})))}))},59769:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(62473),o=r(15393),i=r(49251),a=r(26059),c=r(30758),u=r(76051),l=r(94252),s=function(t){var e=t.status,r=t.favIconUrl,s=t.url,f=t.pinned,h=(0,u.M)(),p=h.view,y=h.fontScale,v=h.PinnedTabsAsIcons,d=Math.floor(("visual"===p?28:20)*y),m="loading"===e,g=r||(0,l.Qr)(s),b=f&&v;return c.createElement(o.A,{sx:{display:"flex",justifyContent:"center",minWidth:d}},c.createElement(i.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:b?20:d,height:b?20:d,alignContent:"center"},"aria-label":"recipe",src:g},c.createElement(n.A,{sx:{fontSize:d},color:"primary"})),m&&c.createElement(a.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:d+1}))};const f=(0,c.memo)(s)},63564:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(85219),i=r(82845),a=r(61649),c=r(67463),u=r(68202),l=r(94252),s=r(76051),f=r(84303),h=function(t){var e=t.title,r=t.thumbnail,h=t.url,p=t.lastAccessed,y=(0,s.M)(),v=y.theme,d=y.fontColor,m=(0,l.Hs)(h),g=(0,s.M)(),b=(0,f.Mj)(d).isDark()?"#fff":"#666";return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},g.tabPreviewImage&&r&&n.createElement(i.A,{sx:{width:"100%",height:"144px",objectFit:"cover"},image:r,title:e}),n.createElement(a.A,{sx:{padding:"8px",background:b}},n.createElement(c.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:600,WebkitBoxOrient:"vertical",margin:"8px 0",color:"dark"===v?"text.primary":d||"text.primary"}},e),n.createElement(c.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical",color:"dark"===v?"text.primary":d||"text.primary",opacity:.75}},(0,l.Wj)(h)),n.createElement(u.A,{hostname:m,lastAccessed:p})))};const p=(0,n.memo)(h)},68202:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(97164),o=r.n(n),i=r(30758),a=r(67463),c=r(46369),u=r(76051);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(26565),i=r(93919),a=r(46369);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}const f=function(){var t=(0,a.W)().t,e=(0,n.useRef)(!1),r=function(){var r=s(u().mark((function r(){var n,a,c,l;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.current){r.next=2;break}return r.abrupt("return");case 2:return e.current=!0,r.next=5,(0,i.Gr)();case 5:if(!(n=r.sent)){r.next=15;break}return r.next=10,(0,i.CM)();case 10:return r.next=12,chrome.tabs.query({windowType:"normal",pinned:!1});case 12:a=r.sent,c=new Set(a.map((function(t){return t.windowId}))).size,a.length<5&&n.tabCount>=5&&1===c&&(l=o.oR.info(t("reopenSnapshotMessage",{windowCount:n.windowCount,tabCount:n.tabCount}),{position:"bottom-center",autoClose:!1,closeOnClick:!0,theme:"colored",onClick:function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getURL("/options.html#/snapshots"),t.next=3,chrome.tabs.create({url:e,active:!0});case 3:o.oR.dismiss(l);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}));case 15:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){r()}),[]),null}},69549:(t,e,r)=>{"use strict";r.d(e,{A:()=>at});var n=r(30758),o=r(46369),i=r(11094),a=r(5708),c=r(98054),u=r(60824),l=r(37281),s=r(67463),f=r(99967),h=r(41679),p=r(50549);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=b(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||b(t,e)||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 b(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function H(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(t,e):void 0}}(t,e)||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 Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&g&&n.createElement(E,null),!L&&b&&n.createElement(j,{label:r("ScrollToActiveTab")}),n.createElement(O.A,{sx:{flexShrink:0}}),0===f&&v&&n.createElement(R,{showText:!h}),0===f&&y&&n.createElement(K,{showText:!h}),d&&n.createElement(tt,null),m&&n.createElement(ot,null))):null}));const at=(0,n.memo)(it)},53725:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(30758),o=r(80089),i=r(44225),a=r(5708),c=r(11094),u=r(37281),l=r(67463),s=r(99967),f=r(46369);function h(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";n.a(e,(async(e,o)=>{try{n.d(r,{A:()=>A});var i=n(30758),a=n(94252),c=n(24310),u=n(5708),l=n(11094),s=n(67744),f=n(97773),h=n(86670),p=n(72047),y=n(8148),v=n(48367);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t){return E(t)||x(t)||w(t)||b()}function b(){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 w(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function x(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function E(t){if(Array.isArray(t))return L(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=await(0,v.u)();function A(){var e=(0,l.Zz)((function(t){return{activeTabIndex:t.settings.activeTabIndex,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons,searchText:t.searchText,orderBy:t.settings.orderBy,sortBy:t.settings.sortBy,historyDataSource:t.settings.historyDataSource,tabSearchShowHistory:t.settings.tabSearchShowHistory,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs,setSearchText:t.setSearchText}})),r=e.activeTabIndex,n=e.PinnedTabsAsIcons,o=e.searchText,v=e.orderBy,m=e.sortBy,b=e.historyDataSource,w=e.tabSearchShowHistory,x=e.onlyCurrentWindowTabs,E=e.setSearchText,L=(0,u.D3)((function(t){return{tabCount:t.tabs.length,keyboardSelected:t.keyboardSelected,tabs:t.tabs.filter((function(t){return!x||t.windowId===(null==d?void 0:d.id)})).filter((function(t){return!n||!1===t.pinned})).map((function(t){return{id:t.id,url:t.url}})),keyItems:t.keyItems,activeTabId:t.activeTabId}})),j=L.tabCount,A=L.keyboardSelected,k=L.tabs,_=L.keyItems,P=L.activeTabId,T=(0,p.s)((function(t){return{waitForSelectTab:t.waitForSelectTab,setWaitForSelectTab:t.setWaitForSelectTab,hasSelectedTabIds:t.selectedTabIds.length>0,popupPanelActived:t.popupPanelActived}})),I=T.waitForSelectTab,C=T.setWaitForSelectTab,N=T.hasSelectedTabIds,G=T.popupPanelActived,F=function(){var t=O(S().mark((function t(e){var r;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.vx)(b);case 2:return r=t.sent,t.abrupt("return",(0,a.Lq)(r,e,"desc","closed_time").map((function(t){return{type:"history",key:t.urlMD5,url:t.url}})));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=O(S().mark((function t(){var e;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=[],0!==r){t.next=12;break}if(e=(0,a.Lq)(k,o,v,m,d.id).reduce((function(t,e,r){return[].concat(g(t),[{type:"tab",key:e.id,url:e.url}])}),[]),!o||!w){t.next=12;break}return t.t0=[],t.t1=g(e),t.t2=g,t.next=9,F(o);case 9:t.t3=t.sent.slice(0,10),t.t4=(0,t.t2)(t.t3),e=t.t0.concat.call(t.t0,t.t1,t.t4);case 12:if(1!==r){t.next=16;break}return t.next=15,F(o);case 15:e=t.sent;case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,i.useEffect)((function(){D().then((function(t){u.D3.setState({keyItems:t})}))}),[r,n,o,v,m,b,j]),(0,c.vC)("ArrowUp",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==A?void 0:A.key)||P)}))||0,r=e-1<0?_.length-1:e-1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("ArrowDown",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==A?void 0:A.key)||P)}))||0,r=e+1>_.length-1?0:e+1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Enter",function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G){e.next=2;break}return e.abrupt("return");case 2:if(r.preventDefault(),r.stopPropagation(),1===_.length&&u.D3.setState({keyboardSelected:_[0]}),!A){e.next=22;break}if(u.D3.setState({keyboardSelected:null}),l.Zz.setState({searchText:""}),"tab"!==A.type){e.next=11;break}return e.next=11,(0,s.I7)(A.key);case 11:if("history"!==A.type){e.next=20;break}return e.next=14,chrome.tabs.create({url:A.url,active:!0});case 14:return e.next=16,f.O4.getState().deleteHistory(A.key);case 16:return e.next=18,l.Zz.getState().updateSetting("activeTabIndex",0);case 18:return e.next=20,(0,h.U)("update_setting",{key:"activeTabIndex",value:0});case 20:e.next=23;break;case 22:o&&chrome.permissions.contains({permissions:["search"]},function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):chrome.permissions.request({permissions:["search"]},function(){var e=O(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):toast.error(t("settings.history.dataSource.deniedMessage"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Shift",(function(t){G||("keydown"===t.type&&(0,c.vs)("shift")&&!I&&C(!0),"keyup"!==t.type||N||C(!1))}),{enableOnFormTags:["TEXTAREA","INPUT"],keyup:!0,keydown:!0}),(0,c.vC)("esc",(function(t){p.s.setState({popupPanelActived:!1}),A&&u.D3.setState({keyboardSelected:null}),C(!1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),i.createElement("div",null)}o()}catch(k){o(k)}}),1)},85007:(e,r,n)=>{"use strict";n.d(r,{A:()=>L});var o=n(30758),i=n(25492),a=n(99967),c=n(84332),u=n(52079),l=n(421),s=n(37281),f=n(11094),h=n(26565),p=n(90630);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))}}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&o.createElement(o.Fragment,null,o.createElement(a.A,{onClick:function(){n({focused:!1,localSearchText:""}),g("")},sx:{color:w||"text.primary"}},o.createElement(u.A,{size:"small"})),o.createElement(a.A,{onClick:L,sx:{color:w||"text.primary"}},o.createElement(s.A,{arrow:!0,title:"Press Enter to search in a new tab"},o.createElement(p.A,{size:"small"})))),sx:{borderColor:w||"text.primary",color:w||"text.primary","&::placeholder":{color:w||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;n((function(t){return b(b({},t),{},{localSearchText:e})})),g(e)},onFocus:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseEnter:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseLeave:function(){return n((function(t){return b(b({},t),{},{focused:!1})}))}}))}},60824:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});var n=r(60777),o=r(98890),i=r(23355),a=r(65395),c=r(67463),u=r(37281),l=r(99967),s=r(25790),f=r(30758),h=r(46369),p=r(11094);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e-1?d:"https://"+d),E&&(n.windowId=E),t.next=8,chrome.tabs.create(m({active:!0},n));case 8:if(o=t.sent,!(r&&r>0)){t.next=12;break}return t.next=12,chrome.tabs.group({tabIds:[o.id],groupId:r});case 12:if(0===k){t.next=15;break}return t.next=15,A("activeTabIndex",0);case 15:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return S?f.createElement(o.A,{onClick:I},f.createElement(i.A,null,f.createElement(n.A,null)),f.createElement(a.A,null,f.createElement(c.A,{noWrap:!0},T("NewTab"))),f.createElement(c.A,{variant:"body2",color:"text.secondary"},"Ctrl +T")):w?f.createElement(s.A,{sx:{padding:"5px",color:P||"text.primary"},startIcon:f.createElement(n.A,null),variant:"text",onClick:I},f.createElement(c.A,{noWrap:!0,variant:"body1",sx:{color:"dark"===_?"text.primary":P||"text.primary"}},T("NewTab"))):f.createElement(u.A,{arrow:!0,title:f.createElement(c.A,null,T("NewTab"))},f.createElement(l.A,{sx:{padding:"5px",color:P||"text.primary"},onClick:I},f.createElement(n.A,null)))};const x=(0,f.memo)(w)},71331:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(81191),o=r(26059),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},55410:(t,e,r)=>{"use strict";r.d(e,{R:()=>g});var n=r(5708),o=r(11094),i=r(51742),a=r(67744),c=r(34049),u=r(70369),l=r(48367);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=null,m=new Set,g=function(){var t=v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.u)();case 2:d=t.sent,b();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t,e=n.Ay.getState(),r=e.setTabConfig,l=e.setQuickAccess,s=i.D.getState().setSiteConfig,h=c.W.getState(),y=h.setReadingProgress,g=h.setPlayingProgress,b=o.Ay.getState(),w=b.settings,x=b.updateSetting,E=function(t){t&&t.onDisconnect.addListener((function(){t=chrome.runtime.connect({name:"sidepanel_".concat(d.id)}),E(t)}))};function L(){return(L=v(p().mark((function t(e,o,i){var c,h,v,d,b,E,L,S,j,O,A,k;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,h=e.data,v=(null==h?void 0:h.tabId)||(null===(c=o.tab)||void 0===c?void 0:c.id),t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"page_enter_fullscreen"===t.t0?8:"close_sidepanel"===t.t0?11:"update_setting"===t.t0?14:"update_site_config"===t.t0?18:"update_tab_config"===t.t0?22:"page_scrolled"===t.t0?26:"playing_timeupdate"===t.t0?29:"page_picture_in_picture"===t.t0?33:"page_video_intersection_changed"===t.t0?39:"addQuickAccess"===t.t0?50:63;break;case 6:return i({success:!0,data:{is_sidepanel_opened:!0}}),t.abrupt("break",64);case 8:return w.fullScreenHideSidePanel&&window.close(),i({success:!0}),t.abrupt("break",64);case 11:return window.close(),i({success:!0}),t.abrupt("break",64);case 14:return t.next=16,x(h.key,h.value);case 16:return i({success:!0}),t.abrupt("break",64);case 18:return t.next=20,s(h.hostname,h.config);case 20:return i({success:!0}),t.abrupt("break",64);case 22:return t.next=24,r(v,h.tabConfigs);case 24:return i({success:!0}),t.abrupt("break",64);case 26:return y(v,h.scrollProgress),i({success:!0}),t.abrupt("break",64);case 29:return(d=u.L.get("playing_progress_bar_locked_".concat(v)))||h.isUsableVideo&&g(v,h),i({success:!0,checkLock:d}),t.abrupt("break",64);case 33:return t.next=35,(0,a._D)(v,o.frameId,h);case 35:return b=t.sent,r(v,b),i({success:!0}),t.abrupt("break",64);case 39:if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=44;break}return t.next=42,(0,a.D1)(o.tab.id,"scroll","exitPictureInPicture");case 42:t.next=46;break;case 44:return t.next=46,(0,a.D1)(o.tab.id,"scroll","enterPictureInPicture");case 46:return t.next=48,r(o.tab.id,{video_visiable:e.data.video_visiable});case 48:return i({success:!0}),t.abrupt("break",64);case 50:E=e.data.items,L=n.Ay.getState().quickAccess,S=f(L);try{for(S.s();!(j=S.n()).done;)O=j.value,m.add(O.url)}catch(t){S.e(t)}finally{S.f()}A=p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=E[k],-1!==L.findIndex((function(t){return t.url===e.url}))||m.has(e.url)){t.next=5;break}return t.next=4,l(crypto.randomUUID(),e);case 4:m.add(e.url);case 5:case"end":return t.stop()}}),t)})),k=0;case 56:if(!(k{"use strict";r.d(e,{Z:()=>et});var n=r(67744),o=(r(54098),r(73356)),i=r(50637);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}var s=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},f=function(){var t=l(c().mark((function t(e){var r,a,u,l,f,h;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,o.cE)("user_settings");case 9:if(null==(a=t.sent)||!a.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return u=s(r.url),t.next=16,chrome.tabGroups.query({title:u,windowId:r.windowId});case 16:if((l=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return f=t.sent,t.next=24,chrome.tabGroups.update(f,{title:u,color:i.RY[f%i.RY.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(h=l[0].id,-1!==r.groupId&&r.groupId===h){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:h});case 31:return t.next=33,(0,n.I7)(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),h=r(5708),p=r(11094),y=r(97773),v=r(8148),d=r(39392),m=r(94252),g=r(86670),b=r(34049);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var j=b.prototype=m.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(26797),o=r(46546),i=r(4507),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},54098:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)}),[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(y=s(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set(u({},e,r));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"get",value:(p=s(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"getOrSet",value:(h=s(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"remove",value:(l=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"delete",value:(a=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"clear",value:(o=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"prune",value:(r=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"keys",value:(e=s(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"whereIn",value:(t=s(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}]);var t,e,r,o,a,l,h,p,y}();const v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(p.has(t))return p.get(t);var e=new y(t);return p.set(t,e),e}},50637:(t,e,r)=>{"use strict";r.d(e,{FE:()=>h,FQ:()=>c,RY:()=>l,dw:()=>i,ql:()=>a,u0:()=>u,vY:()=>f});var n=r(90533),o=r(94252),i={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},a=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],c=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,o.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(i.hex,n),", ").concat((0,o.E2)(i.hex,n/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.complementary,n),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.analogous[0],n),", ").concat((0,o.E2)(t.analogous[1],n),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.triadic[0],n),", ").concat((0,o.E2)(t.triadic[1],n),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.tetradic[0],n),",").concat((0,o.E2)(t.tetradic[1],n),", ").concat((0,o.E2)(t.tetradic[2],n),")")}return a},u=a.filter((function(t){return t.color!==t.tabGroupColor})),l=a.filter((function(t){return t.color===t.tabGroupColor})),s=0,f=function(t,e){var r=i;if(!1===t)return r;var n=a.find((function(e){return e.color===t}));return n?r=n:(r=u[(e||s)%u.length],s++,r)},h=function(){return(0,n.A)(a)}},40492:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,QR:()=>f,sc:()=>u});var s=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];function f(t){if(!t)return 0;for(var e=~0,r=0;r>>8^s[255&(e^t.charCodeAt(r))];return~e>>>0}},94252:(t,e,r)=>{"use strict";r.d(e,{AY:()=>h,E2:()=>y,Hs:()=>f,Lq:()=>v,Qr:()=>g,SH:()=>x,Wj:()=>E,a3:()=>m,eM:()=>p,fL:()=>b,kU:()=>d});var n=r(44731),o=r(47646);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var j=x.prototype=b.prototype=Object.create(E);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}var v=function(t,e,r,n,i){if(i?(t=t.map((function(t){return l(l({},t),{},{inActiveWindow:t.windowId===i?1:0})})),t=(0,o.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,o.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t};function d(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var m=function(t,e){return isNaN(t)||isNaN(e)||t<0||e<=0?"00:00":(t=Math.floor(t),(e=Math.floor(e))<3600?new Date(1e3*t).toISOString().substring(14,19):new Date(1e3*t).toISOString().substring(11,19))};function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function b(t){return w.apply(this,arguments)}function w(){var t;return t=i().mark((function t(e){var r,n,o,a,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),w=function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))},w.apply(this,arguments)}var x=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},E=function(t){try{return decodeURIComponent(t)}catch(e){return t}}},55469:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h});var n=r(4008),o=r(68964),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.db=null,this.cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this.ensureDbConnection();case 5:return t.next=7,this.db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return x.apply(this,arguments)})},{key:"get",value:(w=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return w.apply(this,arguments)})},{key:"getOrSet",value:(b=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"remove",value:(g=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return g.apply(this,arguments)})},{key:"delete",value:(m=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"prune",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return d.apply(this,arguments)})},{key:"clear",value:(v=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return v.apply(this,arguments)})},{key:"keys",value:(y=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return y.apply(this,arguments)})},{key:"length",value:(p=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return p.apply(this,arguments)})},{key:"whereIn",value:(u=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return u.apply(this,arguments)})},{key:"all",value:(a=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return a.apply(this,arguments)})},{key:"batchSet",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return r.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],[{key:"create",value:(e=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})}]);var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,S}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},70369:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":29361,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":21497,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},l={};function s(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return u[t].call(r.exports,r,r.exports,s),r.exports}s.m=u,e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",r="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",n="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},s.a=(t,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=t.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[r]=h,p[e]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),t.exports=p,i((t=>{var i;u=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var i=[];i.d=0,t.then((t=>{a[r]=t,o(i)}),(t=>{a[n]=t,o(i)}));var a={};return a[e]=t=>t(i),a}}var c={};return c[e]=t=>{},c[r]=t,c})))(t);var a=()=>u.map((t=>{if(t[n])throw t[n];return t[r]})),l=new Promise((t=>{(i=()=>t(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((t=>t[e](r)))}));return i.r?l:a()}),(t=>(t?s(p[n]=t):l(h),o(c)))),c&&c.d<0&&(c.d=0)},i=[],s.O=(t,e,r,n)=>{if(!e){var o=1/0;for(l=0;l=n)&&Object.keys(s.O).every((t=>s.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&i[l-1][2]>n;l--)i[l]=i[l-1];i[l]=[e,r,n]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},c=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,s.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);s.r(r);var n={};a=a||[null,c({}),c([]),c(c)];for(var o=2&e&&t;"object"==typeof o&&!~a.indexOf(o);o=c(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,s.d(r,n),r},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.j=116,(()=>{var t={116:0};s.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)var l=c(s)}for(e&&e(r);us(73192)));f=s.O(f)})(); +r.stopPropagation(),t.prev=1,n=c.D3.getState().activeTabId,o=c.D3.getState().tabs.find((function(t){return t.id===n})),i=L.D.getState().sites.find((function(t){return t.hostname===(null==o?void 0:o.hostname)})),!v||null==o||!o.pipSupport||!1===(null==i?void 0:i.tabSwitchPip)||n===e){t.next=14;break}return t.prev=6,t.next=9,(0,E.h)(n,"enterPictureInPicture");case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(6);case 14:return t.next=16,(0,b.I7)(e);case 16:t.next=22;break;case 18:t.prev=18,t.t1=t.catch(1),rt();case 22:case"end":return t.stop()}}),t,null,[[1,18],[6,11]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ze(i,n,o,a,c,"next",t)}function c(t){ze(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(i.A,{className:(nt?"tab-item active":"tab-item")+(G?" keybord-selected":""),sx:{position:"relative"}},n.createElement(s.Ay,{ref:m,disablePadding:!0,onContextMenu:function(t){t.stopPropagation(),t.preventDefault(),O({mouseX:t.clientX+2,mouseY:t.clientY-6}),T(t.currentTarget)},onClick:ot,onMouseEnter:function(){G&&c.D3.setState({keyboardSelected:null})},onMouseDown:function(t){1===t.button&&(0,b.EL)(e)}},n.createElement(g.A,{component:"div",dense:"list"===a,disableGutters:!0,selected:nt||G,sx:Ze({},(0,w.c)(e,$))},n.createElement(Q,{title:W,thumbnail:B,url:q,lastAccessed:U},n.createElement(f.A,Ue({},r.listeners,{useFlexGap:!0,sx:Ze({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:.5}),n.createElement(n.Suspense,{fallback:null},n.createElement(ee,{tabId:e})),n.createElement(i.A,{sx:{padding:"row"===p?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(Y.A,{status:R,favIconUrl:Z,url:q,pinned:z})),n.createElement(H,{title:W,url:q,hostname:J,lastAccessed:U}),K&&n.createElement(n.Suspense,{fallback:null},n.createElement(lt,{tabId:e})),V&&n.createElement(n.Suspense,{fallback:null},n.createElement(ae,{tabId:e,muted:X.muted})),z&&n.createElement(n.Suspense,{fallback:null},n.createElement(at,{tabId:e})),nt&&n.createElement(C,null),G?n.createElement(n.Suspense,{fallback:null},n.createElement(le,null)):n.createElement(M,{tabId:e}))),u&&l&&n.createElement(n.Suspense,{fallback:null},n.createElement(et,{tabId:e})),u&&h&&n.createElement(n.Suspense,{fallback:null},n.createElement(Jt,{tabId:e})))),n.createElement(y.A,{dense:"true",open:null!==j,onClose:function(){O(null),T(null)},anchorEl:P},null!==j&&n.createElement(i.A,null,d?n.createElement(We,{handleMenuClose:function(){return O(null)}}):n.createElement(Me.A,{tabId:e,handleMenuClose:function(){return O(null)}}))))}));function Ve(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xe(t,e):void 0}}(t,e)||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 Xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function rr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rr(i,n,o,a,c,"next",t)}function c(t){rr(i,n,o,a,c,"throw",t)}a(void 0)}))}}const or=(0,n.forwardRef)((function(t,e){var r=t.group,o=t.onSelect,a=(0,P.W)().t,c=(Je().setMenuTarget,(0,L.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===r.title})),setSiteConfig:t.setSiteConfig}}))),u=c.siteConfig,l=c.setSiteConfig,s=function(){var t=nr(er().mark((function t(e){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l(r.title,{color:e});case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=nr(er().mark((function t(){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("bulk_close_tabs",{tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=nr(er().mark((function t(){return er().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.U)("add_tabs_to_group",{title:r.title,color:r.color.tabGroupColor,tabIds:r.tabIds});case 2:"function"==typeof o&&o();case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=K.RY.map((function(t){return n.createElement(O.A,{key:t.color,onClick:function(){return s(t.color)}},(null==u?void 0:u.color)===t.color?n.createElement(ke.A,{sx:{color:t.hex,fontSize:"18px"}}):n.createElement(Ae.A,{sx:{color:t.hex,fontSize:"18px"}}))}));return n.createElement(i.A,{ref:e},n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,null,p),n.createElement(fe.A,{onClick:h},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("groupMenu.AddTabsToChromeGroups")))),n.createElement(fe.A,{onClick:f},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},a("groupMenu.RemoveAllTabsFromGroup"))))))}));var ir=r(69100),ar=r(56780),cr=r(20395),ur=r(37893),lr=r(21413);function sr(){return sr=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Fr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Dr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fr(i,n,o,a,c,"next",t)}function c(t){Fr(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Wr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mr(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r-1?(l(u.id,{title:t,color:n}),chrome.tabGroups.update(u.id,{title:t,color:n})):chrome.tabs.query({windowType:"normal",groupId:-1}).then((function(e){chrome.tabs.group({tabIds:e.map((function(t){return t.id}))}).then((function(e){l(e,{title:t,color:n}),chrome.tabGroups.update(e,{title:t,color:n})}))})),"function"==typeof r&&r()},y=function(){var t=Dr(Gr().mark((function t(e){var n;return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),!(u&&u.id>0)){t.next=6;break}return t.next=4,(0,E.U)("chrome_delete_group",{groupId:u.id});case 4:!1===(n=t.sent).success&&de.oR.error(o(n.error,{ns:"error"})||"Failed to delete group");case 6:"function"==typeof r&&r();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=Dr(Gr().mark((function t(e){var n;return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),!u||!u.id){t.next=7;break}return t.next=4,(0,E.U)("chrome_ungroup",{groupId:u.id});case 4:!1===(n=t.sent).success&&de.oR.error(o(n.error,{ns:"error"})||"Failed to ungroup");case 7:"function"==typeof r&&r();case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=Dr(Gr().mark((function t(e){return Gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),u&&u.id&&(0,E.U)("move_group_to_new_window",{groupId:u.id,moveProperties:{index:-1}}),"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return e<=0?null:n.createElement(i.A,null,n.createElement(se.A,{dense:!0,sx:{minWidth:"200px"}},n.createElement(fe.A,{sx:{height:"50px","&:hover":{backgroundColor:"transparent"}}},n.createElement(xe.A,{fullWidth:!0,variant:"outlined"},n.createElement(Ee.A,{htmlFor:"rename-group-name-input"},o("groupMenu.RenameGroup")),n.createElement(Se.A,{id:"rename-group-name-input",fullWidth:!0,value:f.groupName,variant:"outlined",onChange:function(t){return h((function(e){return Mr(Mr({},e),{},{groupName:t.target.value})}))},endAdornment:n.createElement(Ir.A,{position:"end"},n.createElement(O.A,{edge:"end",onClick:function(){return p(f.groupName,f.colorSelected)}},n.createElement(Cr.A,null)))}))),n.createElement(fe.A,null,K.RY.map((function(t){return n.createElement(O.A,{key:t.color,onClick:function(){return p(f.groupName,t.color)}},f.colorSelected===t.color?n.createElement(ke.A,{sx:{color:t.hex,fontSize:"22px"}}):n.createElement(Ae.A,{sx:{color:t.hex,fontSize:"22px"}}))}))),n.createElement(fe.A,{onClick:d},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-96h72v96h480v-408H312v96h-72v-168q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm348-264-51-51 69-69H240v-72h294l-69-69 51-51 156 156-156 156Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.MoveToNewWindow")))),n.createElement(fe.A,{onClick:v},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m339-288-51-51 191-190H313v-72h288v288h-72v-166L339-288Zm405-192v-264H480v-72h336v336h-72ZM216-144q-29.7 0-50.85-21.15Q144-186.3 144-216v-600h72v600h600v72H216Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.Ungroup")))),n.createElement(fe.A,{onClick:y},n.createElement(he.A,null,n.createElement(ye.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m459-408 93-93 93 93 51-51-93-93 93-93-51-51-93 93-93-93-51 51 93 93-93 93 51 51ZM312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-480H312v480ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(pe.A,null,n.createElement(j.A,{variant:"body1"},o("groupMenu.DeleteGroup"))))))};const Zr=(0,n.memo)(Rr);function Hr(t){return Hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(t)}function Yr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Hr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function zr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $r(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$r(t,e):void 0}}(t,e)||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 $r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)try{chrome.tabGroups.get(e).then((function(t){t&&g(t.id,t)}))}catch(t){b()}}),[m,e,g,b]);var w=(0,c.D3)((function(t){var e;return null===(e=t.groups)||void 0===e?void 0:e.length}))||0,x=-1===e?{id:-1,title:v("Ungrouped"),color:K.RY[w%K.RY.length].color}:function(t){for(var e=1;e-1?t.groupId===e:-1===t.groupId}))})),G=(0,T.Lq)(N,L,S,A).map((function(t){return t.id})),F=Qr((0,n.useState)(!x.collapsed),2),D=F[0],W=F[1],M=Qr((0,n.useState)(null),2),B=M[0],q=M[1],U=Qr((0,n.useState)(null),2),R=U[0],Z=U[1];(0,n.useEffect)((function(){return W(!x.collapsed),window.addEventListener("blur",H),function(){window.removeEventListener("blur",H)}}),[x.collapsed]);var H=function(){q(null)},Y=function(){var t,r=(t=Yr().mark((function t(r){var n;return Yr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),W(n=!D),t.prev=4,t.next=7,chrome.tabGroups.update(e,{collapsed:!n});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){zr(i,n,o,a,c,"next",t)}function c(t){zr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}(),z=(0,K.vY)(null==x?void 0:x.color),Q=G.map((function(t){return n.createElement(Pr,{key:t,tabId:t})}));return 0!==G.length&&x?n.createElement(a.A,{key:x.id,disablePadding:!0,sx:{background:"".concat((0,dr.Mj)(z.hex).alpha(.15).toRgbString())}},n.createElement(s.Ay,{disableGutters:!0,sx:{padding:0},onClick:Y,onContextMenu:function(t){e>0&&(t.preventDefault(),t.stopPropagation(),q({mouseX:t.clientX+2,mouseY:t.clientY-6}),Z(t.currentTarget))}},n.createElement(f.A,{sx:{width:"100%",paddingRight:"row"===k?"10px":void 0,paddingLeft:"row"!==k?"10px":void 0},spacing:.5,direction:k,alignItems:"center",justifyContent:"space-between"},n.createElement(i.A,{flexShrink:0},n.createElement(gr,{group:x})),n.createElement(f.A,{direction:k,alignItems:"center",justifyContent:"flex-end",sx:{flexGrow:1,minWidth:0}},!D&&j&&!u&&n.createElement(yr,{tabIds:G,max:6}),n.createElement(l.A,{showText:!1,groupId:x.id,windowId:x.windowId}))),e>0&&n.createElement(y.A,{key:"menu"+x.id,dense:"true",open:null!==B,anchorEl:R,onClose:H,onClick:function(t){return t.stopPropagation()}},n.createElement(Zr,{key:"menu"+x.id,groupId:e,onSelect:H}))),D&&!u&&n.createElement(h.A,{in:D,timeout:"auto"},n.createElement(p.A,null),D&&n.createElement(a.A,{disablePadding:!0,ref:I,sx:{justifyContent:"center"}},Q))):null}));const Jr=Xr;function tn(){return tn=Object.assign?Object.assign.bind():function(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&n.createElement(Ln,{key:1,current:!1}))};const An=(0,n.memo)(Sn);var kn=r(72353),jn=function(t){var e=t.url,r=(0,o.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor,searchText:t.searchText}})),i=r.theme,a=r.fontWeight,c=r.fontColor,u=r.searchText;return n.createElement(j.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:Math.max(100,a-200),color:"dark"===i?"text.secondary":c||"text.secondary",opacity:.75}},n.createElement(q.A,{text:(0,T.Wj)(e),searchText:u}))};const On=(0,n.memo)(jn);var _n=r(97164),Pn=r.n(_n);function Tn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return In(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?In(t,e):void 0}}(t,e)||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 In(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Kn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Vn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Kn(i,n,o,a,c,"next",t)}function c(t){Kn(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Xn=function(t){var e=t.history,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e.urlMD5}})).keyboardSelected,E=(0,n.useRef)(null);(0,n.useEffect)((function(){x&&E.current&&E.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[x]);var L=function(){var t=Vn($n().mark((function t(){var n;return $n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,kn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:e.url,active:!n});case 3:n||(d(""),m>1&&l("activeTabIndex",1)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),S=function(){var t=Vn($n().mark((function t(r){var n;return $n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),null===(n=chrome.history)||void 0===n||n.deleteUrl({url:e.url}),E.current.style.display="none";case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(i.A,{ref:E,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:L},n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Zn,{history:e}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:x,sx:(0,w.c)(e.id)},n.createElement(f.A,{sx:zn({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Bn,{avatarUrl:(0,T.Qr)(e.url)}),n.createElement(Fn,{history:e}),x?n.createElement(k.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ce.A,{size:"small"}))):n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:S},n.createElement(N.A,{size:"small"})))))))};const Jn=(0,n.memo)(Xn);var to=r(71341);function eo(t){return eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eo(t)}function ro(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ro=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==eo(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function no(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function oo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){no(i,n,o,a,c,"next",t)}function c(t){no(i,n,o,a,c,"throw",t)}a(void 0)}))}}function io(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ao(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ao(t,e):void 0}}(t,e)||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 ao(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function vo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yo(i,n,o,a,c,"next",t)}function c(t){yo(i,n,o,a,c,"throw",t)}a(void 0)}))}}const mo=(0,n.memo)((function(t){var e=t.urlMD5,r=t.onSelect,a=(0,P.W)().t,u=(0,o.Zz)((function(t){return{updateSetting:t.updateSetting,view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,setSearchText:t.setSearchText,activeTabIndex:t.settings.activeTabIndex,showFullUrl:t.settings.showFullUrl,AlwaysShowCloseButton:t.settings.AlwaysShowCloseButton}})),l=u.updateSetting,h=u.view,p=u.buttonPosition,y=u.tabPreviewEnable,v=u.tabPreviewWaitSeconds,d=u.setSearchText,m=u.activeTabIndex,b=(u.showFullUrl,u.AlwaysShowCloseButton),x=(0,to.O4)((function(t){return{history:t.histories.find((function(t){return t.urlMD5===e})),deleteHistory:t.deleteHistory}})),E=x.deleteHistory,L=x.history,S=(0,c.D3)((function(t){var r;return{keyboardSelected:(null===(r=t.keyboardSelected)||void 0===r?void 0:r.key)===e}})).keyboardSelected,A=(0,n.useRef)(null);(0,n.useEffect)((function(){S&&A.current&&A.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[S]);var j=function(){var t=vo(po().mark((function t(){var e;return po().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,kn.vs)("ctrl"),t.next=3,chrome.tabs.create({url:L.url,active:!e});case 3:e||(d(""),m>1&&l("activeTabIndex",1)),"function"==typeof r&&r();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),_=function(){var t=vo(po().mark((function t(r){return po().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.preventDefault(),r.stopPropagation(),E(e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return L?n.createElement(i.A,{ref:A,sx:{position:"relative"}},n.createElement(s.Ay,{disablePadding:!0,onClick:j},n.createElement(k.A,{followCursor:!0,enterDelay:1e3*parseFloat(v),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:y?n.createElement(Zn,{history:L}):""},n.createElement(g.A,{component:"div",dense:"list"===h,disableGutters:!0,selected:S,sx:(0,w.c)(e)},n.createElement(f.A,{sx:fo({width:"100%"},"row"===p?{paddingRight:"8px"}:{paddingLeft:"8px"}),direction:p,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(Bn,{avatarUrl:L.favIconUrl||(0,T.Qr)(L.url)}),n.createElement(Fn,{history:L}),S?n.createElement(k.A,{arrow:!0,open:!0,title:a("OpenLink")},n.createElement(O.A,{sx:{padding:"4px",color:"inherit"}},n.createElement(ce.A,{size:"small"}))):n.createElement(O.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:b?"flex":"none"},onClick:_},n.createElement(N.A,{size:"small"}))))))):null}));function go(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return bo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bo(t,e):void 0}}(t,e)||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 bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function jo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Oo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){jo(i,n,o,a,c,"next",t)}function c(t){jo(i,n,o,a,c,"throw",t)}a(void 0)}))}}function _o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Po(t,e)||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 Po(t,e){if(t){if("string"==typeof t)return To(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?To(t,e):void 0}}function To(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1)){t.next=7;break}return t.next=5,chrome.tabs.group({tabIds:[e],groupId:n.groupId});case 5:t.next=9;break;case 7:return t.next=9,chrome.tabs.ungroup(e);case 9:return t.next=11,chrome.tabs.move(e,{index:n.index,windowId:n.windowId});case 11:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=Oo(ko().mark((function t(e,r){var n,o,i,a;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.find((function(t){return t.id===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=o[0],a=o[o.length-1],!((null==n?void 0:n.index)>(null==a?void 0:a.index))){t.next=10;break}return t.next=8,chrome.tabs.move(e,{index:i.index,windowId:i.windowId});case 8:t.next=12;break;case 10:return t.next=12,chrome.tabs.move(e,{index:a.index,windowId:a.windowId});case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),v=function(){var t=Oo(ko().mark((function t(e,r){var n;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.D3.getState().tabs.find((function(t){return t.id===r})),t.next=3,chrome.tabGroups.move(e,{index:n.index});case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=Oo(ko().mark((function t(e,r){var n,o,i,a,u;return ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.D3.getState().tabs.filter((function(t){return t.groupId===e})),o=c.D3.getState().tabs.filter((function(t){return t.groupId===r})),i=Math.min.apply(Math,Ao(n.map((function(t){return t.index})))),a=Math.min.apply(Math,Ao(o.map((function(t){return t.index})))),u=Math.max.apply(Math,Ao(o.map((function(t){return t.index})))),o[0].windowId,t.prev=6,!(i{"use strict";r.d(e,{A:()=>B});var n=r(30758),o=r(39718),i=r(95437),a=r(82794),c=r(17116),u=r(91686),l=r(38743),s=r(4880),f=r(45433),h=r(76740),p=r(64858),y=r(49630),v=r(73236),d=r(39969),m=r(92802),g=r(26166),b=r(8235),w=r(40899),x=r(80802),E=r(72238),L=r(29394),S=r(10308),A=r(70417),k=r(54499),j=r(14621),O=r(61),_=r(13387),P=r(88978),T=r(7379),I=r(61126),C=r(51510);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function G(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */G=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==N(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function F(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return W(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(t,e):void 0}}(t,e)||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 W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>ge});var n=r(30758),o=r(63606),i=r(64858),a=r(39969),c=r(26166),u=r(78797),l=(r(20395),r(55796)),s=r(32453),f=r(17116),h=r(51678),p=r(39718),y=r(38954),v=r(80323),d=r(42132),m=r(91686),g=r(32894),b=r(38743),w=r(4880),x=r(76740),E=r(94512),L=r(21054),S=r(42606),A=r(95437),k=r(97950),j=r(58459),O=r(20649);function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return P(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(t,e):void 0}}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=[];return t.forEach((function(t){if(t.children&&!t.url&&t.id){var i=t.children.filter((function(t){return t.children&&!t.url})).length;o.push({id:t.id,title:t.title,level:r,childFolderCount:i,parentId:n}),o=o.concat(e(t.children,r+1,t.id))}})),o};r(e(t))}))}),[]),e};var I=r(72238);function C(){return C=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0})).map((function(t){return{id:t.id,title:t.title,level:t.level}}))}(T()),c=i.find((function(t){return t.id===e}))||null;return n.createElement(O.A,{value:c,onChange:function(t,e){return r(e||null)},options:i,getOptionLabel:function(t){return t.title},isOptionEqualToValue:function(t,e){return t.id===e.id},renderInput:function(t){return n.createElement(A.A,C({},t,{label:o("selectParentFolder"),fullWidth:!0}))},renderOption:function(t,e){return n.createElement(s.Ay,C({disablePadding:!0},t,{style:{paddingLeft:12*e.level,minHeight:0,paddingTop:0,paddingBottom:0}}),n.createElement(w.A,{sx:{minWidth:0,px:1}},n.createElement(I.A,{fontSize:"small"})),n.createElement(x.A,{noWrap:!0}," ",e.title))},fullWidth:!0})};var G=r(74663);function F(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return D(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?D(t,e):void 0}}(t,e)||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 D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))}}var $=function(t){var e=t.folder,r=t.handleClose,o=t.setIsOpen,c=(0,a.W)().t,u=(0,U.u)((function(t){return{setBookmarksStatus:t.setBookmarksStatus,bookmarks:t.bookmarks}})),l=u.setBookmarksStatus,s=u.bookmarks,h=(0,n.useRef)(new Map),p=function(){var t=Q(Y().mark((function t(e){var r,n,o,i,a,c,u,f,y=arguments;return Y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=y.length>1&&void 0!==y[1]?y[1]:3,!e.url){t.next=30;break}if(!/^https?:\/\//i.test(e.url)){t.next=25;break}if(h.current.has(e.id)||(h.current.set(e.id,{status:"loading"}),l(e.id,{status:"loading"})),"accessible"===(null===(n=h.current.get(e.id))||void 0===n?void 0:n.status)){t.next=23;break}return t.prev=7,o=new AbortController,i=setTimeout((function(){return o.abort()}),3e3),t.next=12,fetch(e.url,{signal:o.signal,headers:{"User-Agent":navigator.userAgent}});case 12:if(a=t.sent,clearTimeout(i),a.ok){t.next=16;break}throw new Error("Bookmark ".concat(e.title," is not accessible."));case 16:h.current.set(e.id,{status:"accessible"}),l(e.id,{status:"accessible"}),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(7),r>0?setTimeout((function(){return p(e,r-1)}),1e3):(h.current.set(e.id,{status:"inaccessible"}),l(e.id,{status:"inaccessible"}));case 23:t.next=27;break;case 25:h.current.set(e.id,{status:"accessible"}),l(e.id,{status:"accessible"});case 27:s.filter((function(t){return t.url===e.url})).length>1&&(c=s.filter((function(t){return t.url===e.url})),u=c.map((function(t){return t.parentId})),f=u.map((function(t){return v(t)})),l(e.id,{duplicate:!0,bookmarks:c,parentFolders:f}));case 30:case"end":return t.stop()}}),t,null,[[7,20]])})));return function(e){return t.apply(this,arguments)}}(),v=function(t){var e=[],r=function(t){var n=s.find((function(e){return e.id===t}));n&&(e.push(n.title),n.parentId&&r(n.parentId))};return r(t),e},d=function(t){var e=[];if(t.url)e.push(t);else if(t.children){var r,n=Z(t.children);try{for(n.s();!(r=n.n()).done;){var o=r.value;e=e.concat(d(o))}}catch(t){n.e(t)}finally{n.f()}}return e},m=function(){var t=Q(Y().mark((function t(e){var r,n,o,i=arguments;return Y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=i.length>1&&void 0!==i[1]?i[1]:5,n=0;case 2:if(!(nt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return st(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t,e)||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 st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&chrome.windows.create({url:t}),r()}},n.createElement(w.A,null,n.createElement(y.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240v80H200v560h560v-240h80v240q0 33-23.5 56.5T760-120H200Zm440-400v-120H520v-80h120v-120h80v120h120v80H720v120h-80Z"})))),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("openAllInNewWindow",{count:(0,V.US)(e)}))))};var mt=r(31948);const gt=function(t){var e=t.folder,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){var t=[],n=function(e){e.url?t.push(e.url):e.children&&e.children.forEach((function(t){return n(t)}))};n(e),t.length>0&&chrome.windows.create({incognito:!0,url:t}),r()}},n.createElement(w.A,null,n.createElement(mt.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("openAllInIncognitoWindow",{count:(0,V.US)(e)}))))};var bt=r(85455),wt=r(10858),xt=r(40222),Et=(r(82158),r(92906)),Lt=r(74199);const St=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.tabs.create({url:e.url}),r()}},n.createElement(w.A,null,n.createElement(X.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("OpenInNewTab"))))};const At=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.windows.create({url:e.url}),r()}},n.createElement(w.A,null,n.createElement(y.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240v80H200v560h560v-240h80v240q0 33-23.5 56.5T760-120H200Zm440-400v-120H520v-80h120v-120h80v120h120v80H720v120h-80Z"})))),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"}," ",o("OpenInNewWindow"))))};const kt=function(t){var e=t.bookmark,r=t.handleClose,o=(0,a.W)().t;return n.createElement(b.A,{onClick:function(){chrome.windows.create({url:e.url,incognito:!0}),r()}},n.createElement(w.A,null,n.createElement(mt.A,null)),n.createElement(x.A,null,n.createElement(i.A,{variant:"body1"},o("OpenInIncognitoWindow"))))};function jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||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 Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Vt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xt(t,e):void 0}}(t,e)||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 Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r0?{position:"relative",paddingInlineStart:"20px","&:before":{borderLeft:"1px solid ".concat("dark"===x?"#fff":"inherit"!==L&&L?L:"#ccc"),content:'""',height:"100%",position:"absolute",top:0},"&:after":{borderTop:"1px solid ".concat("dark"===x?"#fff":"inherit"!==L&&L?L:"#ccc"),content:'""',position:"absolute",top:"".concat(20*E,"px"),width:"12px"}}:{}},n.createElement(s.Ay,{disablePadding:!0,sx:{pl:1.5*r},onContextMenu:D},n.createElement(f.A,{enterDelay:1500,title:b("containsCountURLs",{count:(0,V.US)(l)}),arrow:!0},n.createElement(h.A,{disableGutters:!0,selected:u,onClick:F,ref:G,sx:ne(ne({width:"100%"},(0,bt.c)(l.id)),u&&{backgroundColor:"action.selected","&:hover":{backgroundColor:"action.selected"}})},n.createElement(p.A,{direction:"row",alignItems:"center",justifyContent:"flex-start",spacing:1,sx:{width:"100%",pl:j?0:1,pr:1}},n.createElement(p.A,{direction:"row",alignItems:"center"},n.createElement(o.A,null,P?n.createElement(y.A,{sx:{fontSize:22*E}},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640H447l-80-80H160Zm84-80h516l72-240H316l-72 240Zm0 0 72-240-72 240Zm-84-400v-80 80Z"}))):n.createElement(y.A,{sx:{fontSize:22*E}},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z"}))))),n.createElement(i.A,{variant:"h4",sx:{paddingTop:"4px",paddingBottom:"4px",color:"dark"===x?"text.primary":L||"text.primary",fontWeight:S}},l.title))))),n.createElement(v.A,{in:P,timeout:"auto"},P&&n.createElement(d.A,{component:"div",disablePadding:!0},l.children.map((function(t){return t.url?n.createElement(te,{key:t.id,bookmarkId:t.id}):n.createElement(ce,{key:t.id,bookmarkId:t.id,level:r+1})}))))),n.createElement(m.A,{anchorEl:C,open:Boolean(C),onClose:M},Boolean(C)&&n.createElement(o.A,null,n.createElement(W,{folder:l,handleClose:M}),n.createElement(J,{folder:l,handleClose:M}),n.createElement(dt,{folder:l,handleClose:M}),n.createElement(gt,{folder:l,handleClose:M}),n.createElement(g.A,null),n.createElement(K,{folder:l,handleClose:M,setIsOpen:T}),n.createElement(g.A,null),n.createElement(vt,{folder:l,handleClose:M}),n.createElement(nt,{folder:l,handleClose:M}),n.createElement(ft,{folder:l,handleClose:M}))))};const ue=(0,n.memo)(ce);function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0,i=w(t),a=x(i,h).map((function(t){return t.url?n.createElement(te,{key:t.id,bookmarkId:t.id,onSelect:e,level:r}):t.children?n.createElement(ue,{key:t.id,bookmarkId:t.id,level:r}):null}));return n.createElement(o.A,{id:"tree",sx:{position:"relative"}},f?a.map((function(t,e){return n.createElement(o.A,{key:e,sx:{px:1}},t)})):a.map((function(t,e){return n.createElement(o.A,{key:e,role:"treeitem"},t)})))};return n.createElement(o.A,null,n.createElement(he.A,{permission:"bookmarks",updatePermission:v}),0===y.length?n.createElement(i.A,{variant:"body1",sx:{padding:"30px 8px",textAlign:"center",color:"text.secondary"}},r("emptyHere")):"tree"!==l||h?(g=(m=function(t){return t.reduce((function(t,e){return e.url?t.push(e):e.children&&t.push.apply(t,pe(m(e.children))),t}),[])})(y),b=w(g),x(b,h).map((function(t){return n.createElement(te,{key:t.id,bookmarkId:t.id,onSelect:e})}))):"default"===s?n.createElement(fe,{initialItems:y},E(y)):E(y))};const ge=(0,n.memo)(me)},40983:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(39718),o=r(64858),i=r(58459),a=r(30758),c=r(26565),u=r(39969);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>an});var n=r(30758),o=r(63606),i=r(32894),a=r(12050),c=r(26166),u=r(37735),l=r(64858),s=r(17116),f=r(3263),h=r(84480),p=function(t){var e=t.icon,r=t.labelKey,o=t.showLabel,i=t.handleClick,a=(0,h.Bd)().t,u=(0,c.Ay)((function(t){return{theme:t.settings.theme,fontColor:t.settings.fontColor}})),p=u.theme,y=u.fontColor,v=o||!r?"":n.createElement(l.A,null,a(r));return n.createElement(s.A,{arrow:!0,title:v,placement:"top"},n.createElement(f.A,{showLabel:o,label:a(r),sx:{variant:"h4",color:"dark"===p?"text.primary":y||"text.primary",paddingX:0,paddingTop:0,minWidth:0,"& .MuiBottomNavigationAction-label":{display:o?"block":"none"}},icon:e,onClick:i}))};const y=(0,n.memo)(p);var v=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"settings"===t.name})))||void 0===e?void 0:e.showLabel)}));return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(u.A,null),labelKey:"Settings",showLabel:t,handleClick:function(){chrome.runtime.openOptionsPage()}}))};const d=(0,n.memo)(v);var m=r(38743),g=r(4880),b=r(38954),w=r(75471),x=r(95532),E=r(39969);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var A=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))}}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(t,e)||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 O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))}}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t,e)||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 q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function K(t){var e=t.onSelect,r=(0,E.W)().t,o=function(){var t,r=(t=Q().mark((function t(r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,Y.U)("sort_tabs_by_domain"),"function"==typeof e&&e();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$(i,n,o,a,c,"next",t)}function c(t){$(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:o},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M280-120 80-320l200-200 57 56-104 104h607v80H233l104 104-57 56Zm400-320-57-56 104-104H120v-80h607L623-784l57-56 200 200-200 200Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("SortTabsByDomain")))}var V=r(23436);function X(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,V.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,Y.U)("discard_inactive_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M520-200v-560h240v560H520Zm-320 0v-560h240v560H200Zm400-80h80v-400h-80v400Zm-320 0h80v-400h-80v400Zm0-400v400-400Zm320 0v400-400Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("DiscardInactiveTabs")))}function J(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return t.settings.onlyCurrentWindowTabs})),i=(0,V.Ay)((function(t){return t.currentWindow}));return n.createElement(m.A,{onClick:function(){(0,Y.U)("close_all_discarded_tabs",{windowId:o?i.id:0}),"function"==typeof e&&e()}},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("CloseAllDiscardedTabs")))}var tt=r(26565),et=r(24032);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,c.Ay)((function(t){return{theme:t.settings.theme,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs}})),i=o.theme,a=o.onlyCurrentWindowTabs,u=(0,V.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups,currentWindow:t.currentWindow}})),s=u.loadTabs,f=u.loadGroups,h=u.currentWindow,p=function(){var t,n=(t=nt().mark((function t(){var n,o;return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,V.Ay.setState({groups:[],tabs:[]}),t.next=4,(0,Y.U)("group_tabs_by_domain",{windowId:a?h.id:0});case 4:return n=t.sent,t.next=7,(0,et.e6)();case 7:if(!((o=t.sent)&&o.groupId>-1)){t.next=11;break}return t.next=11,chrome.tabGroups.update(o.groupId,{collapsed:!1});case 11:n.error&&tt.oR.error(n.error,{position:"bottom-center",theme:i}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),tt.oR.error(r("An error occurred while grouping tabs"),{position:"bottom-center",theme:i});case 18:return t.prev=18,"function"==typeof e&&e(),t.next=22,f();case 22:return t.next=24,s();case 24:return t.finish(18);case 25:case"end":return t.stop()}}),t,null,[[0,14,18,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return navigator.userAgent.includes("OPR")?null:n.createElement(m.A,{onClick:p},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-320H520v-160H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("GroupBySite")))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return lt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function yt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function vt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yt(i,n,o,a,c,"next",t)}function c(t){yt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function dt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return mt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mt(t,e):void 0}}(t,e)||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 mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0)){t.next=5;break}return t.next=3,chrome.tabs.remove(i);case 3:tt.oR.success("".concat(i.length," ").concat(r("DuplicateTabsRemoved")),{position:"bottom-center",theme:u,hideProgressBar:!0,autoClose:1500}),"function"==typeof e&&e();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return n.createElement(m.A,{disabled:0===i.length,onClick:s},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m476-420 84-84 84 84 56-56-84-84 84-84-56-56-84 84-84-84-56 56 84 84-84 84 56 56ZM320-240q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H320Zm0-80h480v-480H320v480ZM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80H160Zm160-720v480-480Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},i.length>0?r("RemoveDuplicateTabs",{count:i.length}):r("NoDuplicateTabs")))}function bt(t){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bt(t)}function wt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */wt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==bt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function xt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Et(t){var e=t.onSelect,r=(0,E.W)().t,o=(0,V.Ay)((function(t){return{loadTabs:t.loadTabs,loadGroups:t.loadGroups}})),i=function(){var t,r=(t=wt().mark((function t(){var r,n;return wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.loadTabs,n=o.loadGroups,t.next=3,n();case 3:return t.next=5,r();case 5:"function"==typeof e&&e();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xt(i,n,o,a,c,"next",t)}function c(t){xt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(m.A,{onClick:i},n.createElement(g.A,null,n.createElement(b.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M160-160v-80h110l-16-14q-52-46-73-105t-21-119q0-111 66.5-197.5T400-790v84q-72 26-116 88.5T240-478q0 45 17 87.5t53 78.5l10 10v-98h80v240H160Zm400-10v-84q72-26 116-88.5T720-482q0-45-17-87.5T650-648l-10-10v98h-80v-240h240v80H690l16 14q49 49 71.5 106.5T800-482q0 111-66.5 197.5T560-170Z"})))),n.createElement(l.A,{noWrap:!0,variant:"body1"},r("Reload")))}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return St(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?St(t,e):void 0}}(t,e)||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 St(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r(new Date).getTime()-864e5*((null==s?void 0:s.days)||2)})).length})),h=Xt((0,n.useState)(!1),2),p=h[0],y=h[1],v=(0,n.useRef)(null);(0,n.useEffect)((function(){var t;p&&(null===(t=v.current)||void 0===t||t.focus())}),[p]);return n.createElement(o.A,{sx:{marginTop:"10px"}},n.createElement(Wt.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,sx:{paddingX:2}},p||a?n.createElement(Wt.A,{direction:"row",alignItems:"center",spacing:1,sx:{width:"100%"}},n.createElement(Qt.A,{size:"small",fullWidth:!0,variant:"outlined",placeholder:t("searchByKeyword"),value:a,onChange:function(t){return u(t.target.value)},inputRef:v,InputProps:{startAdornment:n.createElement(Kt.A,{sx:{mr:1,color:r||"text.primary"}}),endAdornment:n.createElement($t.A,{sx:{color:r||"text.primary"},onClick:function(){y(!1),u("")}},n.createElement(Vt.A,null)),sx:{borderColor:r||"text.primary",color:r||"text.primary","&::placeholder":{color:r||"text.primary",opacity:1}}}})):n.createElement(n.Fragment,null,n.createElement(l.A,{variant:"h4"},t("RecentlyTabs")," 〈",f,"〉"),n.createElement(Wt.A,{direction:"row",spacing:1},n.createElement($t.A,{sx:{color:r||"text.primary"},onClick:function(){return y(!0)}},n.createElement(Kt.A,null))))),n.createElement(i.A,{sx:{marginY:1}}))};function ee(t){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function re(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */re=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ee(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ie(t,e):void 0}}(t,e)||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 ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=r})).slice(0,100)).sort((function(t,e){return e.closed_time-t.closed_time})),f(n),v(!1);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ne(i,n,o,a,c,"next",t)}function c(t){ne(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();(0,n.useEffect)((function(){x()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),b.current&&b.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var E=function(){if(!u)return s;var t=u.trim().toLowerCase().split(/\s+/);return s.filter((function(e){return t.every((function(t){return e.title&&e.title.toLowerCase().includes(t)||e.url&&e.url.toLowerCase().includes(t)}))}))};return(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),g((function(t){return(t+1)%E().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),g((function(t){return(t-1+E().length)%E().length}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),m>=0&&mt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ee(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ee(t,e):void 0}}(t,e)||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 Ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function je(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"",e=new Date;return e.setMonth(e.getMonth()-1),new Promise((function(r){var n;null===(n=chrome.history)||void 0===n||n.search({text:t,maxResults:100,startTime:e.getTime(),endTime:Date.now()},(function(t){r(t)}))}))};(0,n.useEffect)((function(){var t=function(){var t=Te(ke().mark((function t(){var e;return ke().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d();case 2:e=t.sent,p((function(t){return Oe(Oe({},t),{},{historyItems:e,tempHistoryItems:e,isLoading:!1})}));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,n.useEffect)((function(){return Ct.s.setState({popupPanelActived:!0}),y.current&&y.current.focus(),function(){Ct.s.setState({popupPanelActived:!1})}}),[]);var m=(0,me.A)(function(){var t=Te(ke().mark((function t(e){var r,n,o,i,a,c;return ke().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return p((function(t){return Oe(Oe({},t),{},{isLoading:!0})})),n=e.trim().split(/\s+/),t.next=4,Promise.all(n.map((function(t){return d(t)})));case 4:o=t.sent,i=(r=[]).concat.apply(r,Ae(o)),n.length,a=i.filter((function(t){var e="".concat(t.title," ").concat(t.url).toLowerCase();return n.every((function(t){return e.includes(t.toLowerCase())}))})),c=Array.from(new Set(a.map((function(t){return t.id})))).map((function(t){return a.find((function(e){return e.id===t}))})),p((function(t){return Oe(Oe({},t),{},{tempHistoryItems:c,isLoading:!1})}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),300);return(0,n.useEffect)((function(){m(u)}),[u]),(0,n.useEffect)((function(){f.isLoading||p((function(t){return Oe(Oe({},t),{},{historyItems:f.tempHistoryItems})}))}),[f.isLoading,f.tempHistoryItems]),(0,It.vC)("ArrowDown",(function(t){t.preventDefault(),p((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex+1)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("ArrowUp",(function(t){t.preventDefault(),p((function(t){return Oe(Oe({},t),{},{activeIndex:(t.activeIndex-1+t.historyItems.length)%t.historyItems.length})}))}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,It.vC)("Enter",(function(t){if(t.preventDefault(),f.activeIndex>=0&&f.activeIndex=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ue(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ze(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ze(t,e):void 0}}(t,e)||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 Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function gr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=xr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function br(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function wr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||xr(t,e)||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 xr(t,e){if(t){if("string"==typeof t)return Er(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Er(t,e):void 0}}function Er(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Or(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var _r=function(){var t=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"scrollToActiveTab"===t.name})))||void 0===e?void 0:e.showLabel)})),e=(0,c.Ay)((function(t){return t.updateSetting})),r=(0,c.Ay)((function(t){return t.activeTabIndex})),o=function(){var t,n=(t=jr().mark((function t(){var n;return jr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r>1&&e("activeTabIndex",1),(n=document.querySelector(".tab-item.active"))&&n.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Or(i,n,o,a,c,"next",t)}function c(t){Or(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(Ar.A,null),labelKey:"ScrollToActiveTab",showLabel:t,handleClick:o}))};const Pr=(0,n.memo)(_r);var Tr=r(40899),Ir=r(8235);function Cr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Nr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nr(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function qr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const Ur=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"themeModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,theme:t.settings.theme}})),e=t.showLabel,r=t.updateSetting,o=t.theme,i=function(){var t,e=(t=Br().mark((function t(){return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r("theme","dark"===o?"light":"dark"),(0,Y.U)("update_setting",{key:"theme",value:"dark"===o?"light":"dark"});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qr(i,n,o,a,c,"next",t)}function c(t){qr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:"dark"===o?n.createElement(Dr.A,null):n.createElement(Wr.A,null),labelKey:"dark"===o?"DarkMode":"LightMode",showLabel:e,handleClick:i}))};var Rr=r(15370),Zr=r(27055),Hr=function(){var t=(0,c.Ay)((function(t){var e;return{showLabel:t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"viewModes"===t.name})))||void 0===e?void 0:e.showLabel),updateSetting:t.updateSetting,view:t.settings.view}})),e=t.showLabel,r=t.updateSetting,o=t.view;return n.createElement(n.Fragment,null,n.createElement(y,{icon:"visual"===o?n.createElement(Rr.A,null):n.createElement(Zr.A,null),labelKey:"visual"===o?"view.Compact":"view.Visual",showLabel:e,handleClick:function(){var t="visual"===o?"list":"visual";r("view",t),(0,Y.U)("update_setting",{key:"view",value:t})}}))};const Yr=(0,n.memo)(Hr);var zr=r(86730),Qr=r(16383);function $r(t){return $r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$r(t)}function Kr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==$r(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Vr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Xr=function(){var t=(0,h.Bd)().t,e=(0,c.Ay)((function(t){var e;return t.settings.bottomNavOptions.showLabel&&(null===(e=t.settings.bottomNavOptions.navs.find((function(t){return"createSnapshot"===t.name})))||void 0===e?void 0:e.showLabel)})),r=function(){var e,r=(e=Kr().mark((function e(){return Kr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Qr.Ay.getState().addSnapshot();case 3:tt.oR.success(t("createSnapshotSuccess")),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),tt.oR.error(t("createSnapshotFailed"));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Vr(i,n,o,a,c,"next",t)}function c(t){Vr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n.createElement(n.Fragment,null,n.createElement(y,{icon:n.createElement(zr.A,null),labelKey:"createSnapshot",showLabel:e,handleClick:r}))};const Jr=(0,n.memo)(Xr);var tn=r(91376),en=r(94094);function rn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return nn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nn(t,e):void 0}}(t,e)||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 nn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.a(t,(async(t,e)=>{try{var n=r(30758),o=r(99576),i=r(16578),a=r(44286),c=r(25725),u=(r(88045),r(93009)),l=r(73392),s=r(39969),f=r(7155),h=t([u]);u=(h.then?(await h)():h)[0],(0,l.ig)();var p=document.getElementById("root");(0,o.H)(p).render(n.createElement(l.WP,null,n.createElement(f.Z,null,n.createElement(s.D,null,n.createElement(c.A,null,n.createElement(i.I9,null,n.createElement(a.BV,null,n.createElement(a.qh,{exact:!0,path:"/",element:n.createElement(u.A,null)})))))))),e()}catch(t){e(t)}}))},44004:(t,e,r)=>{"use strict";r.d(e,{A:()=>N});var n=r(30758),o=r(63606),i=r(38521),a=r(72353),c=r(78797),u=r(20395),l=(r(77667),r(32453)),s=r(17116),f=r(51678),h=r(39718),p=r(85455),y=r(48999),v=r(82158),d=r(92906),m=r(42444),g=r(26166),b=r(39969),w=function(t){var e=t.item,r=t.onSelect,i=t.selected,a=((0,b.W)().t,(0,g.Ay)((function(t){return{view:t.settings.view,buttonPosition:t.settings.buttonPosition,tabPreviewEnable:t.settings.tabPreviewEnable,tabPreviewWaitSeconds:t.settings.tabPreviewWaitSeconds,searchQuery:t.searchQuery}}))),c=a.view,u=a.buttonPosition,w=a.tabPreviewEnable,x=a.tabPreviewWaitSeconds,E=a.searchQuery,L=(0,n.useRef)(null);(0,n.useEffect)((function(){i&&L.current&&L.current.scrollIntoView({behavior:"smooth",block:"center"})}),[i]);return n.createElement(o.A,{sx:{position:"relative"},ref:L},n.createElement(l.Ay,{disablePadding:!0,onClick:function(){chrome.tabs.create({url:e.url}),"function"==typeof r&&r()}},n.createElement(s.A,{followCursor:!0,enterDelay:1e3*parseFloat(x),enterNextDelay:200,componentsProps:{tooltip:{sx:{padding:"15px",background:"transparent",zIndex:99}}},title:w?n.createElement(d.A,{title:e.title,url:e.url}):""},n.createElement(f.A,{selected:i,component:"div",dense:"list"===c,disableGutters:!0,sx:(0,p.c)(e.url)},n.createElement(h.A,{sx:{width:"100%",paddingRight:"row"===u?"8px":"0",paddingLeft:"row"===u?"0":"8px"},direction:u,alignItems:"center",justifyContent:"space-between",spacing:1},n.createElement(y.A,{avatarUrl:(0,m.Qr)(e.url)}),n.createElement(v.A,{title:e.title,url:e.url,lastAccessed:e.lastAccessed,searchText:E}))))))};const x=(0,n.memo)(w);var E=r(6767),L=(r(90387),r(76208),r(519),r(23436)),S=r(37893),A=r(61126);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(63606),i=r(39718),a=r(95437),c=r(82794),u=r(32894),l=(r(519),r(39969)),s=r(92802),f=r(62128),h=r(26166),p=r(23436),y=r(61126);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>$});var n=r(30758),o=r(63606),i=r(64858),a=r(42132),c=(r(77667),r(46654)),u=r(32453),l=r(17116),s=r(51678),f=r(39718),h=r(82794),p=r(91686),y=r(38743),v=r(4880),d=r(76740),m=r(8068),g=r(37739),b=r(21252),w=r(74754),x=r(47749),E=r(42444),L=r(26166),S=r(85455),A=r(48999),k=r(82158),j=r(92906),O=r(39969);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function P(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==_(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function T(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function I(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){T(i,n,o,a,c,"next",t)}function c(t){T(i,n,o,a,c,"throw",t)}a(void 0)}))}}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(t,e):void 0}}(t,e)||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 N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function H(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){H(i,n,o,a,c,"next",t)}function c(t){H(i,n,o,a,c,"throw",t)}a(void 0)}))}}function z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(t,e):void 0}}(t,e)||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 Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0&&v{"use strict";r.d(e,{A:()=>B});var n=r(30758),o=r(85772),i=r(17116),a=r(63606),c=r(14579),u=r(39969),l=r(23436),s=r(26166),f=r(61126);const h=function(){(0,u.W)().t;var t=(0,s.Ay)((function(t){return{navSetting:t.settings.tabNavOptions.navs.find((function(t){return"OpenTabs"===t.name}))}})).navSetting,e=(0,l.Ay)((function(t){return t.tabs.length})),r=(0,l.Ay)((function(t){return t.initTabs}));return(0,n.useEffect)((function(){0===e&&r()}),[e,r]),null!=t&&t.showCount?n.createElement(f.A,null,"〈",e,"〉"):null};var p=r(71341);const y=function(){(0,u.W)().t;var t=(0,s.Ay)((function(t){return{navSetting:t.settings.tabNavOptions.navs.find((function(t){return"RecentlyTabs"===t.name}))}})).navSetting;(0,n.useEffect)((function(){p.Ay.getState().loadHistories()}),[]);var e=(0,p.Ay)((function(e){return e.histories.filter((function(e){return e.closed_time>(new Date).getTime()-864e5*((null==t?void 0:t.days)||2)})).length}));return null!=t&&t.showCount?n.createElement(f.A,null,"〈",e,"〉"):null};var v=r(10799);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==d(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t,e)||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 w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function k(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(t,e)||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 O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const B=(0,n.forwardRef)((function(t,e){var r=(0,u.W)().t,l=(0,s.Ay)((function(t){return{updateSetting:t.updateSetting,activeTabIndex:t.settings.activeTabIndex,navs:t.settings.tabNavOptions.navs.filter((function(t){return!0===t.enable})),theme:t.settings.theme,showTabNavs:t.settings.showTabNavs,fontColor:t.settings.fontColor}})),p=l.updateSetting,v=l.activeTabIndex,d=l.navs,m=(l.theme,l.showTabNavs),g=l.fontColor,b={OpenTabs:n.createElement(h,{key:"tab-nav-tabs"}),RecentlyTabs:n.createElement(y,{key:"tab-nav-recentlyTabs"}),history:n.createElement(x,{key:"tab-nav-history"}),readingList:"readingList"in chrome?n.createElement(_,{key:"tab-nav-readingList"}):null,bookmarks:n.createElement(L,{key:"tab-nav-bookmarks"}),quickAccess:n.createElement(P,{key:"tab-nav-quickAccess"})},w={OpenTabs:n.createElement(F.A,{sx:{color:g||"text.primary"},key:"icon-tabs"}),RecentlyTabs:n.createElement(G.A,{sx:{color:g||"text.primary"},key:"icon-recently-tabs"}),history:n.createElement(T.A,{sx:{color:g||"text.primary"},key:"icon-history"}),readingList:"readingList"in chrome?n.createElement(I.A,{sx:{color:g||"text.primary"},key:"icon-readingList"}):null,bookmarks:n.createElement(C.A,{sx:{color:g||"text.primary"},key:"icon-bookmarks"}),quickAccess:n.createElement(N.A,{sx:{color:g||"text.primary"},key:"icon-quickAccess"})},E=function(){var t,e=(t=W().mark((function t(e,r){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,p("activeTabIndex",r);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),S=d.map((function(t,e){return n.createElement(o.A,{component:"div",key:t.id,icon:n.createElement(i.A,{title:n.createElement(f.A,null,r(t.name))},w[t.name]),iconPosition:d.length<=3?"start":"top",label:b[t.name],value:t.id,sx:{minWidth:0,minHeight:"0",padding:"10px"},wrapped:!0})}));return m?n.createElement(a.A,{ref:e,sx:{position:"relative",maxWidth:"100%"}},m&&n.createElement(n.Fragment,null,n.createElement(c.A,{component:"div",value:v,onChange:E,variant:"fullWidth",scrollButtons:"auto",allowScrollButtonsMobile:!0,sx:{minHeight:"0"}},S),n.createElement(a.A,{sx:{width:"100%",opacity:.5,position:"absolute",bottom:0,height:"1px",background:"#ccc"}}))):null}))},20912:(t,e,r)=>{"use strict";r.d(e,{A:()=>qt});var n=r(63606),o=r(32894),i=r(30758),a=r(23436),c=r(26166),u=r(17116),l=r(82794),s=r(91686),f=r(74644),h=r(10858),p=r(74199),y=r(7155),v=function(t){var e=t.favIconUrl,r=(0,y.M)(),n=(r.view,r.fontScale),o=(r.PinnedTabsAsIcons,Math.floor(20*n));return i.createElement(f.A,{sx:{display:"flex",justifyContent:"center",minWidth:o}},i.createElement(h.A,{variant:"square",sx:{background:"transparent",width:o,height:o,alignContent:"center"},"aria-label":"recipe",src:e},i.createElement(p.A,{color:"primary"})))};const d=(0,i.memo)(v);var m=r(90520),g=r(26134),b=r(64858),w=r(42444);function x(t){var e=t.quickAccess,r=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return i.createElement(m.A,{sx:{padding:0,minWidth:"200px"}},i.createElement(g.A,{sx:{padding:"8px"}},i.createElement(b.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:r,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e.title),i.createElement(b.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,w.Wj)(e.url))))}var E=r(73923),L=r(38743),S=r(76740),A=r(91376),k=r(39969);function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==j(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var P=function(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.removeQuickAccess})),c=function(){var t,n=(t=O().mark((function t(){return O().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o(e);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_(i,n,o,a,c,"next",t)}function c(t){_(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("Delete"))))};const T=(0,i.memo)(P);function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}function C(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==I(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function N(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function G(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=C().mark((function t(){return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({url:o.url}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){N(i,n,o,a,c,"next",t)}function c(t){N(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInNewTab"))))}function F(t){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(t)}function D(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */D=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==F(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function W(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function M(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=D().mark((function t(){return D().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal"}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){W(i,n,o,a,c,"next",t)}function c(t){W(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInNewWindow"))))}function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==B(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function U(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=q().mark((function t(){return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.windows.create({url:o.url,type:"normal",incognito:!0}),"function"==typeof r&&r()}catch(t){A.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){U(i,n,o,a,c,"next",t)}function c(t){U(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("OpenInIncognitoWindow"))))}function Z(t){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z(t)}function H(){return H=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t){var e=t.uuid,r=t.onSelect,n=t.props,o=(0,k.W)().t,c=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),u=function(){var t,e=(t=Y().mark((function t(){return Y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)(c.url);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,H({},n,{onClick:u}),i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},o("tabMenu.CopyLink"))))}function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function K(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */K=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==$(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=K().mark((function t(){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)(o.title);case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){V(i,n,o,a,c,"next",t)}function c(t){V(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("tabMenu.CopyTitle"))))}function J(t){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(t)}function tt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */tt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==J(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function rt(t){var e=t.uuid,r=t.onSelect,n=(0,k.W)().t,o=(0,a.Ay)((function(t){return t.quickAccess.find((function(t){return t.uuid===e}))})),c=function(){var t,e=(t=tt().mark((function t(){return tt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,w.eM)("[".concat(o.title,"](").concat(o.url,")"));case 3:"function"==typeof r&&r(),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),A.Cp(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){et(i,n,o,a,c,"next",t)}function c(t){et(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i.createElement(L.A,{onClick:c},i.createElement(S.A,null,i.createElement(b.A,{variant:"body1"},n("tabMenu.CopyAsMarkdown"))))}var nt=r(53498),ot=r(94512),it=r(48360),at=r(99358),ct=r(58459),ut=r(39718),lt=r(95437),st=r(62128);function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yt(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||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 Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0||s&&y.length>0?i.createElement(n.A,{ref:e},i.createElement(n.A,{sx:{padding:"5px",display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(26px, 1fr))",gap:1,width:"100%"}},l&&p.map((function(t){return i.createElement(Ct.A,{key:"tab-avatar-".concat(t),tabId:t})})),s&&i.createElement(Pt.Mp,{collisionDetection:Pt.fp,onDragEnd:function(t){var e=t.active,r=t.over;if(null!=e&&e.id&&null!=r&&r.id&&e.id!==r.id){var n=v.indexOf(e.id),o=v.indexOf(r.id);(0,Tt.be)(v,n,o).forEach((function(t,e){var r=y.find((function(e){return e.uuid===t}));d(r.uuid,Dt(Dt({},r),{},{sortIndex:e}))}))}},sensors:m},i.createElement(Tt.gB,{items:v},v.map((function(t){var e=y.find((function(e){return e.uuid===t}));return i.createElement(Bt,{key:"tab-avatar-".concat(e.uuid),quickAccess:e})}))))),i.createElement(o.A,null)):null})),Bt=(0,i.memo)((function(t){var e=t.quickAccess,r=(0,Tt.gl)({id:e.uuid}),n=r.attributes,o=r.listeners,a=r.setNodeRef,c=r.transform,u=r.transition,l=r.isDragging;return i.createElement("div",Gt({ref:a,style:{transform:It.Ks.Transform.toString(c),transition:u,cursor:l?"grabbing":"pointer"}},n,o),i.createElement(_t,{quickAccess:e}))}));const qt=(0,i.memo)(Mt)},21413:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=r(30758),o=r(63606),i=r(17116),a=r(82794),c=r(91686),u=r(87331),l=r(23436),s=r(24032),f=r(26166),h=r(42444),p=r(39969),y=r(80985),v=r(15948),d=r(46225);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=E(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||E(t,e)||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 E(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>yr});var n=r(30758),o=r(63606),i=r(73923),a=r(32894),c=r(94094),u=r(38743),l=r(4880),s=r(76740),f=r(64858),h=r(24032),p=r(62128),y=r(39969);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var g=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,h.EL)(e);case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(p.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.closeTab"))))};const b=(0,n.memo)(g);var w=r(23436),x=r(63534);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function L(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(C([])));S&&S!==r&&n.call(S,a)&&(w=S);var A=b.prototype=m.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==E(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function A(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){return t.currentWindow})),a=function(){var t,n=(t=L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,x.U)("close_other_tabs",{tabId:e,windowId:i.id}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,c,"next",t)}function c(t){S(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseOtherTabs"))))}function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==k(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function O(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=j().mark((function t(){return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){O(i,n,o,a,c,"next",t)}function c(t){O(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteTabs"))))}var P=r(26166);function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function I(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */I=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var N=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{origin:null==r?void 0:r.origin,windowId:null==r?void 0:r.windowId}})),a=i.origin,c=i.windowId,l=function(){var t,n=(t=I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.U)("close_same_domain_other_tabs",{tabId:e,origin:a,windowId:c});case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:l},n.createElement(s.A,{inset:!0},n.createElement(f.A,{variant:"body1"},o("tabMenu.CloseSameSiteOtherTabs"))))};const G=(0,n.memo)(N);var F=r(38954);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function W(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function B(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t,n=(t=W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.reload(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M227-346q-16-30-25.5-63.5T192-480q0-121 85-206t209-82l-57-57 51-51 144 144-144 144-51-51 57-57q-94-2-158 62t-64 154q0 22 4 42t12 39l-53 53ZM480-84 336-228l144-144 51 51-57 57q94 2 158-62t64-154q0-22-4-42t-12-39l53-53q16 30 25.5 63.5T768-480q0 120-85 205.5T474-192l57 57-51 51Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.Reload"))))}var q=r(39718),U=r(17116),R=r(54638),Z=r(40773);function H(t){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},H(t)}function Y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==H(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$(t,e):void 0}}(t,e)||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 $(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function tt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function et(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.D3)((function(t){var r,n;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url,windowId:null===(n=t.tabs.find((function(t){return t.id===e})))||void 0===n?void 0:n.windowId}})),a=i.url,c=i.windowId,h=function(){var t,e=(t=J().mark((function t(){return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.create({url:a,windowId:c}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,c,"next",t)}function c(t){tt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-240q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312Zm0-72h480v-360H528v-120H312v480Zm0-480v480-480ZM246-96v-72h72v72h-72Zm-78-600H96q0-29.7 21.15-50.85Q138.3-768 168-768v72ZM396-96v-72h72v72h-72Zm150 0v-72h72v72h-72Zm-378-72v72q-29.7 0-50.85-21.15Q96-138.3 96-168h72Zm-72-78v-72h72v72H96Zm0-150v-72h72v72H96Zm0-150v-72h72v72H96Zm600 378h72q0 29.7-21.15 50.85Q725.7-96 696-96v-72Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.ReplicateTab"))))}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ot(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function it(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.pinned})),a=function(){var t,n=(t=nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.update(e,{pinned:!i}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),c=function(){return n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",viewBox:"0 -960 960 960",width:"18px",fill:"currentColor"},n.createElement("path",{d:i?"M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z":"m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"})))};return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(c,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(i?"tabMenu.UnpinTab":"tabMenu.PinTab"))))}function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ct=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==at(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var lt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{audible:null==r?void 0:r.audible,mutedInfo:null==r?void 0:r.mutedInfo}})),a=i.audible,c=i.mutedInfo,h=function(){var t,n=(t=ct().mark((function t(){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a&&chrome.tabs.update(e,{muted:!c.muted}),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,c.muted?n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M552-152v-75q86-23 139-93.26 53-70.25 53-159.5 0-89.24-53.5-158.74Q637-708 552-734v-75q116 25 190 117t74 211q0 119-73.5 211.5T552-152ZM144-385v-192h144l192-192v576L288-385H144Zm408 55v-302q45.12 20.4 70.56 61.2Q648-530 648-480.52q0 48.52-25.44 89.23Q597.12-350.59 552-330ZM408-595l-90 90H216v48h102l90 90v-228Zm-91 113Z"}))):n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M768-90 661-197q-22 14-52.5 26.5T552-152v-74q12-5 28.5-11.5T608-250L480-378v187L288-383H144v-192h138L90-768l51-51 678 678-51 51Zm-6-209-52-52q16-29 25-61.5t9-66.5q0-89-53.5-158.5T552-733v-74q117 23 190.5 116T816-479q0 48-14 93.5T762-299ZM638-423l-86-86v-122q45 20 70.5 61.5T648-479q0 14-2 28t-8 28ZM480-581l-93-93 93-93v186Zm-72 216v-85l-72-72-18 19H216v48h102l90 90Zm-36-121Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c.muted?"tabMenu.UnmuteTab":"tabMenu.MuteTab")))):null};const st=(0,n.memo)(lt);function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function yt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,pipOn:null==r?void 0:r.pipOn}})),a=i.pipSupport,c=i.pipOn,h=function(){var t,n=(t=ht().mark((function t(){return ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.h)(e,"switch_pip");case 2:"function"==typeof r&&r();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){pt(i,n,o,a,c,"next",t)}function c(t){pt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),p=n.createElement(F.A,null,c?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M168-192q-29.7 0-50.85-21.15Q96-234.3 96-264v-240h72v240h624v-432H456v-72h336q29.7 0 50.85 21.16Q864-725.68 864-695.96v432.24Q864-234 842.85-213T792-192H168Zm525-120 51-51-93-93h69v-72H528v192h72v-69l93 93ZM96-576v-192h288v192H96Zm384 96Z"})):n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M96-480v-72h165L71-743l50-50 191 190v-165h72v288H96Zm72 288q-29.7 0-50.85-21.15Q96-234.3 96-264v-144h72v144h336v72H168Zm624-264v-240H456v-72h336q29.7 0 50.85 21.15Q864-725.7 864-696v240h-72ZM576-192v-192h288v192H576Z"})));return a?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,p),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(c?"tabMenu.ExitPip":"tabMenu.EnterPip")))):null}var vt=r(20574);function dt(t){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function mt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */mt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==dt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var bt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.tabSwitchPip})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{pipSupport:null==r?void 0:r.pipSupport,hostname:null==r?void 0:r.hostname}})),c=a.pipSupport,h=a.hostname,p=(0,vt.D)((function(t){return{siteConfig:t.sites.find((function(t){return t.hostname===h})),setSiteConfig:t.setSiteConfig}})),v=p.siteConfig,d=p.setSiteConfig,m=function(){var t,e=(t=mt().mark((function t(){var e;return mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={tabSwitchPip:"boolean"==typeof(null==v?void 0:v.tabSwitchPip)&&!(null!=v&&v.tabSwitchPip)},t.next=3,d(h,e);case 3:return t.next=5,(0,x.U)("update_site_config",{hostname:h,config:e});case 5:"function"==typeof r&&r();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){gt(i,n,o,a,c,"next",t)}function c(t){gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return c&&i?n.createElement(u.A,{onClick:m},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:!1===(null==v?void 0:v.tabSwitchPip)?"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Zm280-40h320v-240H440v240Zm80-80v-80h160v80H520Z":"m554-520 80 80h66q25 0 42.5-17.5T760-500v-120q0-25-17.5-42.5T700-680H500q-22 0-38 14t-21 34l33 32h206v80H554Zm317 317-71-71v-446H354l-80-80h526q33 0 56.5 23.5T880-720v480q0 10-2 19.5t-7 17.5ZM383-463Zm194-34ZM818-28 686-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800l80 80h-80v480h446L26-820l57-57L875-85l-57 57Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o(!1===(null==v?void 0:v.tabSwitchPip)?"tabMenu.EnableSiteTabSwitchPip":"tabMenu.DisableSiteTabSwitchPip")))):null};const wt=(0,n.memo)(bt);var xt=r(26157),Et=r(99378),Lt=r(40994);function St(t){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(t)}function At(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */At=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==St(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function kt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function jt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){kt(i,n,o,a,c,"next",t)}function c(t){kt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Ot(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=function(){var t=jt(At().mark((function t(){return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.ungroup(e),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a=(0,w.Ay)((function(t){var r;return{hostname:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.hostname}})),c=a.hostname,h=function(){var t=jt(At().mark((function t(){return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:chrome.tabs.group({tabIds:[e]},(function(t){var e=(0,Et.A)((0,Lt.A)(null==c?void 0:c.replace("www.","").split(".")[0])),r=(0,xt.FE)().tabGroupColor;chrome.tabGroups.update(t,{title:e,color:r})})),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=(0,w.Ay)((function(t){var r;return{groupId:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.groupId}})),v=p.groupId;return navigator.userAgent.includes("OPR")?null:n.createElement(n.Fragment,null,-1===v?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M312-312h480v-408H312v408Zm0 72q-29.7 0-50.85-21.15Q240-282.3 240-312v-480q0-29.7 21.15-50.85Q282.3-864 312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H312ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h552v72H168Zm144-696v480-480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabToNewGroup")))):n.createElement(u.A,{onClick:i},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"m758-240-72-72h106v-408H278l-38-38v-34q2-29 22.5-50.5T312-864h480q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 30-21 51t-51 21h-34Zm12 216L555-240H312q-29.7 0-50.85-21.15Q240-282.3 240-312v-243L24-771l51-51L821-75l-51 51ZM312-312h171L312-483v171ZM168-96q-29.7 0-50.85-21.15Q96-138.3 96-168v-552h72v552h540v72H168Zm257-280Zm104-99Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.RemoveFromGroup")))))}var _t=r(46654),Pt=r(26565),Tt=r(99701),It=r(10799);function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Nt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ct(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ft(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.theme})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,url:r.url}})),c=function(){var t,e=(t=Nt().mark((function t(){return Nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_t.x$)(a);case 2:Pt.oR.success(o("AddedToReadingListSuccessfully"),{position:"bottom-center",hideProgressBar:!0,theme:i,autoClose:1500}),"function"==typeof r&&r();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Gt(i,n,o,a,c,"next",t)}function c(t){Gt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(It.A,{permissionName:"readingList"},n.createElement(u.A,{onClick:c},n.createElement(l.A,null,n.createElement(Tt.A,null)),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddToReadingList")))))}var Dt=r(91376);function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}function Mt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Mt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Wt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var qt=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{index:null==r?void 0:r.index,windowId:null==r?void 0:r.windowId}})),a=i.index,c=i.windowId,h=function(){var t,e=(t=Mt().mark((function t(){return Mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{chrome.tabs.create({index:a+1,windowId:c}),"function"==typeof r&&r()}catch(t){Dt.Cp(t)}case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Bt(i,n,o,a,c,"next",t)}function c(t){Bt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M216-216v-528 528Zm0 72q-29.7 0-50.85-21.15Q144-186.3 144-216v-528q0-29.7 21.15-50.85Q186.3-816 216-816h528q29.7 0 50.85 21.15Q816-773.7 816-744v317q-18-4-36-4.5t-36 1.5v-314H216v528h314q-2 18-1.5 36t4.5 36H216Zm555 96-51-51 56-57H624v-72h152l-56-57 51-51 141 144L771-48ZM444-288h72v-156h156v-72H516v-156h-72v156H288v72h156v156Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.AddTabOnRight"))))};const Ut=(0,n.memo)(qt);function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Zt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Zt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Rt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ht(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Yt(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return{url:null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url}})).url,a=function(){var t,e=(t=Zt().mark((function t(){var e;return Zt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=new URL(i).hostname,t.next=4,chrome.tabs.create({url:"chrome-extension://".concat(chrome.runtime.id,"/options.html#/sites/").concat(e),active:!0});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0);case 9:"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ht(i,n,o,a,c,"next",t)}function c(t){Ht(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return null!=i&&i.startsWith("http")?n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.SiteSettings")))):null}function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==zt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function $t(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){$t(i,n,o,a,c,"next",t)}function c(t){$t(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Vt=function(){var t=Kt(Qt().mark((function t(e){return Qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",chrome.cookies.getAll({url:e},(function(t){return!chrome.runtime.lastError&&(t.forEach((function(t){chrome.cookies.remove({url:e,name:t.name},(function(){chrome.runtime.lastError}))})),!0)})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}function Jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return te(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(t,e):void 0}}(t,e)||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 te(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function re(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ne(t){var e,r=t.tabId,o=t.onSelect,i=(0,y.W)().t,a=(0,P.Ay)((function(t){return t.settings.theme})),c=(0,w.Ay)((function(t){var e=t.tabs.find((function(t){return t.id===r}))||{};return{id:e.id,url:e.url}})),h=function(){var t,e=(t=ee().mark((function t(){var e;return ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Vt(c.url);case 2:return t.next=4,(0,x.h)(c.id,"clear_browsing_data");case 4:null!=(e=t.sent)&&e.success?Pt.oR.success(i("CacheCleared"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}):Pt.oR.error(i("RefreshTips"),{position:"bottom-center",hideProgressBar:!0,theme:a,autoClose:1500}),"function"==typeof o&&o();case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){re(i,n,o,a,c,"next",t)}function c(t){re(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),p=null===(e=c.url)||void 0===e?void 0:e.startsWith("http"),v=Jt((0,n.useState)(!1),2),d=v[0],m=v[1];return p?n.createElement(It.A,{permissionName:"cookies"},n.createElement(u.A,{onClick:h,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M432-552h96v-240q0-20.4-13.8-34.2Q500.4-840 480-840q-20.4 0-34.2 13.8Q432-812.4 432-792v240ZM216-408h528v-72H216v72Zm-48 240h96v-60q0-15.3 10.29-25.65Q284.58-264 299.79-264t25.71 10.35Q336-243.3 336-228v60h108v-60q0-15.3 10.29-25.65Q464.58-264 479.79-264t25.71 10.35Q516-243.3 516-228v60h108v-60q0-15.3 10.29-25.65Q644.58-264 659.79-264t25.71 10.35Q696-243.3 696-228v60h96l-38-168H207l-39 168Zm624 72H168q-34.97 0-56.48-27Q90-150 98-184l46-200v-96q0-29.7 21.15-50.85Q186.3-552 216-552h144v-240q0-50 35-85t85-35q50 0 85 35t35 85v240h144.25Q774-552 795-530.85T816-480v96l46 200q8 34-13.5 61T792-96ZM216-408v-72 72Zm312-144h-96 96Z"})))),n.createElement(s.A,null,n.createElement(q.A,{direction:"row",alignItems:"center",justifyContent:"space-between"},n.createElement(f.A,{variant:"body1"},i("tabMenu.ClearCookiesAndSiteData")),d&&n.createElement(U.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i("tabMenu.ClearCacheTips"))},n.createElement(Z.A,{fontSize:"small",color:"secondary",sx:{opacity:"0.5"}})))))):null}function oe(t){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oe(t)}function ie(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ie=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==oe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ae(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ce(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ue(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ue(t,e):void 0}}(t,e)||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 ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function ye(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ve=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.title})),a=function(){var t,e=(t=pe().mark((function t(){return pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)(i),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ye(i,n,o,a,c,"next",t)}function c(t){ye(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:a},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyTitle"))))};const de=(0,n.memo)(ve);function me(t){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(t)}function ge(){return ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function we(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function xe(t){var e=t.tabId,r=t.onSelect,o=t.props,i=(0,y.W)().t,a=(0,w.Ay)((function(t){var r;return null===(r=t.tabs.find((function(t){return t.id===e})))||void 0===r?void 0:r.url})),c=function(){var t,e=(t=be().mark((function t(){return be().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)(a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){we(i,n,o,a,c,"next",t)}function c(t){we(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,ge({},o,{onClick:c}),n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},i("tabMenu.CopyLink"))))}function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function Le(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Le=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ee(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Se(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ae=function(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}));return{title:null==r?void 0:r.title,url:null==r?void 0:r.url}})),a=i.title,c=i.url,h=function(){var t,e=(t=Le().mark((function t(){return Le().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,fe.eM)("[".concat(a,"](").concat(c,")")),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Se(i,n,o,a,c,"next",t)}function c(t){Se(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor"},n.createElement("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm216-336h48v-192h48v144h44v-144h52v192h48v-208q0-13.6-9-22.8-9-9.2-21-9.2H462q-12 0-21 9.2t-9 22.8v208Zm-72 120v-480 480Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.CopyAsMarkdown"))))};const ke=(0,n.memo)(Ae);function je(t){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},je(t)}function Oe(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==je(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function _e(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Pe(t){var e=t.tabId,r=t.onSelect,o=(0,y.W)().t,i=(0,P.Ay)((function(t){return t.settings.pinToQuickAccess})),a=(0,w.Ay)((function(t){var r=t.tabs.find((function(t){return t.id===e}))||{};return{title:r.title,favIconUrl:r.favIconUrl,url:r.url}})),c=(0,w.Ay)((function(t){return t.setQuickAccess})),h=function(){var t,e=(t=Oe().mark((function t(){return Oe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:c(crypto.randomUUID(),a),"function"==typeof r&&r();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_e(i,n,o,a,c,"next",t)}function c(t){_e(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return i?n.createElement(u.A,{onClick:h},n.createElement(l.A,null,n.createElement(F.A,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},n.createElement("path",{d:"M720-320v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80ZM600-80q-127-48-203.5-158T320-484q0-91 36-172.5T458-800H320v-80h280v280h-80v-148q-57 51-88.5 119.5T400-484q0 102 54 187.5T600-167v87Z"})))),n.createElement(s.A,null,n.createElement(f.A,{variant:"body1"},o("tabMenu.PinToQuickAccess")))):null}var Te=r(98876);function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function Ce(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ce=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==Ie(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ne(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ge(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Fe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(t,e):void 0}}(t,e)||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 Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Ke(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ve(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ke(i,n,o,a,c,"next",t)}function c(t){Ke(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Je(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(t,e):void 0}}(t,e)||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 Je(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=1&&n<=1e3)){t.next=7;break}return t.next=4,chrome.tabs.setZoom(e,n/100);case 4:h(n/100),t.next=8;break;case 7:L(Math.round(100*c));case 8:b(!1),"function"==typeof r&&r();case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return!A||k.startsWith("chrome://")?null:n.createElement(u.A,null,n.createElement(l.A,null,n.createElement(Ue.A,null)),n.createElement(s.A,null,n.createElement(o.A,{display:"flex",justifyContent:"center",width:"100%"},n.createElement(q.A,{spacing:2,direction:"row",alignItems:"center",justifyContent:"flex-start"},n.createElement(f.A,null,i("zoom")),n.createElement(Me.A,{onClick:O},n.createElement(Re.A,null)),g?n.createElement(Be.A,{value:E,onChange:function(t){var e=t.target.value;/^\d*$/.test(e)&&L(e)},onKeyDown:function(t){"Enter"===t.key&&P()},inputProps:{type:"text",style:{height:"20px"}},endAdornment:n.createElement(qe.A,{position:"end"},n.createElement(Me.A,{onClick:P},n.createElement(ze.A,null)))}):n.createElement(f.A,{onClick:function(){return b(!0)}},"".concat(Math.round(100*c),"%")),n.createElement(Me.A,{onClick:j},n.createElement(Ze.A,null)),n.createElement(U.A,{arrow:!0,placement:"top",title:n.createElement(f.A,null,i(v?"exitFullscreen":"fullscreen"))},v?n.createElement(He.A,{onClick:_}):n.createElement(Ye.A,{onClick:_}))))))};const er=(0,n.memo)(tr);var rr=r(20258),nr=r(94512),or=r(76392),ir=r(64468),ar=r(58459),cr=r(73914),ur=r(49226),lr=r(8011),sr=r(65684);function fr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return hr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hr(t,e):void 0}}(t,e)||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 hr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(74199),o=r(74644),i=r(10858),a=r(40222),c=r(30758),u=r(7155),l=r(42444),s=function(t){var e=t.status,r=t.favIconUrl,s=t.url,f=(t.pinned,(0,u.M)()),h=(f.view,f.fontScale),p=(f.PinnedTabsAsIcons,Math.floor(20*h)),y="loading"===e,v=r||(0,l.Qr)(s);return c.createElement(o.A,{sx:{display:"flex",justifyContent:"center",minWidth:p}},c.createElement(i.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:p,height:p,alignContent:"center"},"aria-label":"recipe",src:v},c.createElement(n.A,{sx:{fontSize:p},color:"primary"})),y&&c.createElement(a.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:p+1}))};const f=(0,c.memo)(s)},15948:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(90520),i=r(43850),a=r(26134),c=r(64858),u=r(52074),l=r(42444),s=r(7155),f=r(84303),h=function(t){var e=t.title,r=t.thumbnail,h=t.url,p=t.lastAccessed,y=(0,s.M)(),v=y.theme,d=y.fontColor,m=(0,l.Hs)(h),g=(0,s.M)(),b=(0,f.Mj)(d).isDark()?"#fff":"#666";return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},g.tabPreviewImage&&r&&n.createElement(i.A,{sx:{width:"100%",height:"144px",objectFit:"cover"},image:r,title:e}),n.createElement(a.A,{sx:{padding:"8px",background:b}},n.createElement(c.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:600,WebkitBoxOrient:"vertical",margin:"8px 0",color:"dark"===v?"text.primary":d||"text.primary"}},e),n.createElement(c.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical",color:"dark"===v?"text.primary":d||"text.primary",opacity:.75}},(0,l.Wj)(h)),n.createElement(u.A,{hostname:m,lastAccessed:p})))};const p=(0,n.memo)(h)},52074:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(97164),o=r.n(n),i=r(30758),a=r(64858),c=r(39969),u=r(7155);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>f});var n=r(30758),o=r(26565),i=r(16383),a=r(39969);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}const f=function(){var t=(0,a.W)().t,e=(0,n.useRef)(!1),r=function(){var r=s(u().mark((function r(){var n,a,c,l;return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.current){r.next=2;break}return r.abrupt("return");case 2:return e.current=!0,r.next=5,(0,i.Gr)();case 5:if(!(n=r.sent)){r.next=15;break}return r.next=10,(0,i.CM)();case 10:return r.next=12,chrome.tabs.query({windowType:"normal",pinned:!1});case 12:a=r.sent,c=new Set(a.map((function(t){return t.windowId}))).size,a.length<5&&n.tabCount>=3&&1===c&&(l=o.oR.info(t("reopenSnapshotMessage",{windowCount:n.windowCount,tabCount:n.tabCount}),{position:"bottom-center",autoClose:!1,closeOnClick:!0,theme:"colored",onClick:function(){var t=s(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=chrome.runtime.getURL("/options.html#/snapshots"),t.next=3,chrome.tabs.create({url:e,active:!0});case 3:o.oR.dismiss(l);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}));case 15:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){r()}),[]),null}},66853:(t,e,r)=>{"use strict";r.d(e,{A:()=>ht});var n=r(30758),o=r(39969),i=r(26166),a=r(23436),c=r(39718),u=r(98840),l=r(17116),s=r(64858),f=r(82794),h=r(38253),p=r(81275);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=b(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||b(t,e)||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 b(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&u("activeTabIndex",1);var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},sx:{padding:"4px",color:p||"text.primary"}},n.createElement(L.A,{size:"small"})))};const A=(0,n.memo)(S);var k=r(40899),j=r(8235);function O(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r-1})))||void 0===e?void 0:e.length}})).groupCount,y=function(t,e){t.preventDefault(),t.stopPropagation(),h("groupExpanded",e),chrome.tabGroups.query({},(function(t){var r,n=O(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;o.collapsed===e&&chrome.tabGroups.update(o.id,{collapsed:!e})}}catch(t){n.e(t)}finally{n.f()}}))};switch(r){case"mixed":if(0===p)return null;break;case"domain":case"chromeGroup":case"tabWindow":break;default:return null}return u?n.createElement(l.A,{arrow:!0,title:n.createElement(s.A,null,t("CollapseAll"))},n.createElement(f.A,{sx:{color:c||"text.primary"},onClick:function(t){return y(t,!1)}},n.createElement(k.A,{size:"small"}))):n.createElement(l.A,{arrow:!0,title:n.createElement(s.A,null,t("ExpandAll"))},n.createElement(f.A,{sx:{color:c||"text.primary"},onClick:function(t){return y(t,!0)}},n.createElement(j.A,{size:"small"})))}var T=r(68688),I=r(99552),C=r(63606),N=r(58459),G=r(91686),F=r(73923),D=r(38743),W=r(4880),M=r(76740),B=r(63534),q=r(29394);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function R(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */R=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(w=E);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==U(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function H(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(t,e):void 0}}(t,e)||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 Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function X(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return J(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?J(t,e):void 0}}(t,e)||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 J(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&g&&n.createElement(E,null),f<=1&&!L&&b&&n.createElement(A,{label:r("ScrollToActiveTab")}),n.createElement(P,{sx:{flexShrink:0}}),f<=1&&v&&n.createElement(z,{showText:!h}),f<=1&&y&&n.createElement(et,{showText:!h}),f<=1&&d&&n.createElement(it,null),m&&n.createElement(lt,null))):null}));const ht=(0,n.memo)(ft)},61126:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(30758),o=r(64858),i=r(26166);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}var c=["children","sx"];function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e{"use strict";r.d(e,{A:()=>a});var n=r(30758),o=r(64858),i=r(63606);const a=function(t){var e=t.text,r=t.searchText;if(!r)return n.createElement(o.A,null,e);var a=r.trim().replace(/\s+/g," ").split(" "),c=new RegExp("(".concat(a.join("|"),")"),"gi");return n.createElement(o.A,{component:"span"},Array.from(e.split(c)).map((function(t,e){return c.test(t)?n.createElement(i.A,{key:e,component:"span",sx:{backgroundColor:"#FFFF00",color:"#333"}},t):n.createElement(i.A,{key:e,component:"span"},t)})))}},85993:(e,r,n)=>{"use strict";n.a(e,(async(e,o)=>{try{n.d(r,{A:()=>j});var i=n(30758),a=n(42444),c=n(72353),u=n(23436),l=n(26166),s=n(24032),f=n(71341),h=n(63534),p=n(6767),y=n(8148),v=n(15375);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t){return E(t)||x(t)||w(t)||b()}function b(){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 w(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function x(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function E(t){if(Array.isArray(t))return L(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function k(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=await(0,v.u)();function j(){var e=(0,l.Zz)((function(t){return{activeTabIndex:t.settings.activeTabIndex,PinnedTabsAsIcons:t.settings.PinnedTabsAsIcons,searchText:t.searchText,orderBy:t.settings.orderBy,sortBy:t.settings.sortBy,historyDataSource:t.settings.historyDataSource,tabSearchShowHistory:t.settings.tabSearchShowHistory,onlyCurrentWindowTabs:t.settings.onlyCurrentWindowTabs,setSearchText:t.setSearchText}})),r=e.activeTabIndex,n=e.PinnedTabsAsIcons,o=e.searchText,v=e.orderBy,m=e.sortBy,b=e.historyDataSource,w=e.tabSearchShowHistory,x=e.onlyCurrentWindowTabs,E=e.setSearchText,L=(0,u.D3)((function(t){return{tabCount:t.tabs.length,keyboardSelected:t.keyboardSelected,tabs:t.tabs.filter((function(t){return!x||t.windowId===(null==d?void 0:d.id)})).filter((function(t){return!n||!1===t.pinned})).map((function(t){return{id:t.id,url:t.url}})),keyItems:t.keyItems,activeTabId:t.activeTabId}})),A=L.tabCount,j=L.keyboardSelected,O=L.tabs,_=L.keyItems,P=L.activeTabId,T=(0,p.s)((function(t){return{waitForSelectTab:t.waitForSelectTab,setWaitForSelectTab:t.setWaitForSelectTab,hasSelectedTabIds:t.selectedTabIds.length>0,popupPanelActived:t.popupPanelActived}})),I=T.waitForSelectTab,C=T.setWaitForSelectTab,N=T.hasSelectedTabIds,G=T.popupPanelActived,F=function(){var t=k(S().mark((function t(e){var r;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,f.vx)(b);case 2:return r=t.sent,t.abrupt("return",(0,a.Lq)(r,e,"desc","closed_time").map((function(t){return{type:"history",key:t.urlMD5,url:t.url}})));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=k(S().mark((function t(){var e;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=[],!(r<=1)){t.next=12;break}if(e=(0,a.Lq)(O,o,v,m,d.id).reduce((function(t,e,r){return[].concat(g(t),[{type:"tab",key:e.id,url:e.url}])}),[]),!o||!w){t.next=12;break}return t.t0=[],t.t1=g(e),t.t2=g,t.next=9,F(o);case 9:t.t3=t.sent.slice(0,10),t.t4=(0,t.t2)(t.t3),e=t.t0.concat.call(t.t0,t.t1,t.t4);case 12:if(3!==r){t.next=16;break}return t.next=15,F(o);case 15:e=t.sent;case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,i.useEffect)((function(){D().then((function(t){u.D3.setState({keyItems:t})}))}),[r,n,o,v,m,b,A]),(0,c.vC)("ArrowUp",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==j?void 0:j.key)||P)}))||0,r=e-1<0?_.length-1:e-1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("ArrowDown",(function(t){if(!G){t.preventDefault(),t.stopPropagation();var e=_.findIndex((function(t){return t.key===((null==j?void 0:j.key)||P)}))||0,r=e+1>_.length-1?0:e+1;u.D3.setState({keyboardSelected:_[r]})}}),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Enter",function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G){e.next=2;break}return e.abrupt("return");case 2:if(r.preventDefault(),r.stopPropagation(),1===_.length&&u.D3.setState({keyboardSelected:_[0]}),!j){e.next=22;break}if(u.D3.setState({keyboardSelected:null}),l.Zz.setState({searchText:""}),"tab"!==j.type){e.next=11;break}return e.next=11,(0,s.I7)(j.key);case 11:if("history"!==j.type){e.next=20;break}return e.next=14,chrome.tabs.create({url:j.url,active:!0});case 14:return e.next=16,f.O4.getState().deleteHistory(j.key);case 16:return e.next=18,l.Zz.getState().updateSetting("activeTabIndex",0);case 18:return e.next=20,(0,h.U)("update_setting",{key:"activeTabIndex",value:0});case 20:e.next=23;break;case 22:o&&chrome.permissions.contains({permissions:["search"]},function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):chrome.permissions.request({permissions:["search"]},function(){var e=k(S().mark((function e(r){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?(chrome.search.query({disposition:"NEW_TAB",text:o}),E(""),(0,y.A)(a.SH,500)):toast.error(t("settings.history.dataSource.deniedMessage"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{enableOnFormTags:["TEXTAREA","INPUT"]}),(0,c.vC)("Shift",(function(t){G||("keydown"===t.type&&(0,c.vs)("shift")&&!I&&C(!0),"keyup"!==t.type||N||C(!1))}),{enableOnFormTags:["TEXTAREA","INPUT"],keyup:!0,keydown:!0}),(0,c.vC)("esc",(function(t){p.s.setState({popupPanelActived:!1}),j&&u.D3.setState({keyboardSelected:null}),C(!1)}),{enableOnFormTags:["TEXTAREA","INPUT"]}),i.createElement("div",null)}o()}catch(O){o(O)}}),1)},56527:(e,r,n)=>{"use strict";n.d(r,{A:()=>L});var o=n(30758),i=n(95437),a=n(82794),c=n(49630),u=n(84865),l=n(64364),s=n(17116),f=n(26166),h=n(26565),p=n(20824);n(7379);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))}}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&o.createElement(o.Fragment,null,o.createElement(a.A,{onClick:function(){n({focused:!1,localSearchText:""}),g(""),S("")},sx:{color:w||"text.primary"}},o.createElement(u.A,{size:"small"})),o.createElement(a.A,{onClick:k,sx:{color:w||"text.primary"}},o.createElement(s.A,{arrow:!0,title:"Press Enter to search in a new tab"},o.createElement(p.A,{size:"small"})))),sx:{borderColor:w||"text.primary",color:w||"text.primary","&::placeholder":{color:w||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;n((function(t){return b(b({},t),{},{localSearchText:e})})),S(e),g(e)},onFocus:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseEnter:function(){return n((function(t){return b(b({},t),{},{focused:!0})}))},onMouseLeave:function(){return n((function(t){return b(b({},t),{},{focused:!1})}))}}))}},98840:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});var n=r(13387),o=r(38743),i=r(4880),a=r(76740),c=r(64858),u=r(17116),l=r(82794),s=r(58459),f=r(30758),h=r(39969),p=r(26166);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e-1?d:"https://"+d),E&&(n.windowId=E),t.next=8,chrome.tabs.create(m({active:!0},n));case 8:if(o=t.sent,!(r&&r>0)){t.next=12;break}return t.next=12,chrome.tabs.group({tabIds:[o.id],groupId:r});case 12:if(!(O>1)){t.next=15;break}return t.next=15,j("activeTabIndex",1);case 15:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();return S?f.createElement(o.A,{onClick:I},f.createElement(i.A,null,f.createElement(n.A,null)),f.createElement(a.A,null,f.createElement(c.A,{noWrap:!0},T("NewTab"))),f.createElement(c.A,{variant:"body2",color:"text.secondary"},"Ctrl +T")):w?f.createElement(s.A,{sx:{padding:"5px",color:P||"text.primary"},startIcon:f.createElement(n.A,null),variant:"text",onClick:I},f.createElement(c.A,{noWrap:!0,variant:"body1",sx:{color:"dark"===_?"text.primary":P||"text.primary"}},T("NewTab"))):f.createElement(u.A,{arrow:!0,title:f.createElement(c.A,null,T("NewTab"))},f.createElement(l.A,{sx:{padding:"5px",color:P||"text.primary"},onClick:I},f.createElement(n.A,null)))};const x=(0,f.memo)(w)},10799:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var n=r(30758),o=r(63606),i=r(17116),a=r(64858),c=r(82794),u=r(26565),l=r(39969),s=r(75552);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==f(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))}}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>u});var n=r(30758),o=r(74199),i=r(74644),a=r(10858),c=r(26166);const u=(0,n.memo)((function(t){var e=t.avatarUrl,r=(0,c.Ay)((function(t){return{avatorSize:Math.floor(("visual"===t.settings.view?28:20)*t.settings.fontScale),buttonPosition:t.settings.buttonPosition}})),u=r.avatorSize,l=r.buttonPosition;return n.createElement(i.A,{sx:{display:"flex",justifyContent:"center",minWidth:u,padding:l?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(a.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:u,height:u,alignContent:"center"},"aria-label":"recipe",src:e},n.createElement(o.A,{sx:{fontSize:u},color:"primary"})))}))},92906:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(30758),o=r(90520),i=r(26134),a=r(64858),c=r(26166),u=r(42444);function l(t){var e=t.title,r=t.url,l=(0,c.Ay)((function(t){return{fontWeight:t.settings.fontWeight}})).fontWeight;return n.createElement(o.A,{sx:{padding:0,minWidth:"300px"}},n.createElement(i.A,{sx:{padding:"8px"}},n.createElement(a.A,{gutterBottom:!0,variant:"h3",color:"text.primary",component:"div",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",fontWeight:l,WebkitBoxOrient:"vertical",margin:" 8px 0"}},e),n.createElement(a.A,{variant:"h4",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"}},(0,u.Wj)(r))))}},82158:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(30758),o=r(63606),i=r(64858),a=r(26166),c=r(42444),u=r(14622);const l=(0,n.memo)((function(t){var e=t.url,r=t.searchText,o=(0,a.Ay)((function(t){return{theme:t.settings.theme,fontWeight:t.settings.fontWeight,fontColor:t.settings.fontColor}})),l=o.theme,s=o.fontWeight,f=o.fontColor;return n.createElement(i.A,{variant:"h5",color:"text.secondary",sx:{whiteSpace:"pre-wrap",wordWrap:"break-word",wordBreak:"break-all",textWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",fontWeight:s-200<=0?100:s-200,color:"dark"===l?"text.secondary":f||"text.secondary",opacity:.75}},n.createElement(u.A,{text:(0,c.Wj)(e),searchText:r}))}));var s=r(97164),f=r.n(s),h=r(39969);function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t,e)||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 y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>c});var n=r(63606),o=r(40222),i=r(30758),a=function(){return i.createElement(n.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},i.createElement(o.A,{size:35,color:"secondary",thickness:2}))};const c=(0,i.memo)(a)},40146:(t,e,r)=>{"use strict";r.d(e,{R:()=>g});var n=r(23436),o=r(26166),i=r(20574),a=r(24032),c=r(36161),u=r(96033),l=r(15375);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function v(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=null,m=new Set,g=function(){var t=v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.u)();case 2:d=t.sent,b();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var t,e=n.Ay.getState(),r=e.setTabConfig,l=e.setQuickAccess,s=i.D.getState().setSiteConfig,h=c.W.getState(),y=h.setReadingProgress,g=h.setPlayingProgress,b=o.Ay.getState(),w=b.settings,x=b.updateSetting,E=0,L=function(){var t=v(p().mark((function t(e){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e&&e.onDisconnect.addListener(v(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(E<5)){t.next=9;break}return E++,t.next=5,new Promise((function(t){return setTimeout(t,1e3)}));case 5:e=chrome.runtime.connect({name:"sidepanel_".concat(d.id)}),L(e),t.next=10;break;case 9:case 10:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function S(){return(S=v(p().mark((function t(e,o,i){var c,h,v,d,b,E,L,S,A,k,j,O;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,h=e.data,v=(null==h?void 0:h.tabId)||(null===(c=o.tab)||void 0===c?void 0:c.id),t.t0=e.action,t.next="is_sidepanel_opened"===t.t0?6:"page_enter_fullscreen"===t.t0?8:"close_sidepanel"===t.t0?11:"update_setting"===t.t0?14:"update_site_config"===t.t0?18:"update_tab_config"===t.t0?22:"page_scrolled"===t.t0?26:"playing_timeupdate"===t.t0?29:"page_picture_in_picture"===t.t0?33:"page_video_intersection_changed"===t.t0?39:"addQuickAccess"===t.t0?50:63;break;case 6:return i({success:!0,data:{is_sidepanel_opened:!0}}),t.abrupt("break",64);case 8:return w.fullScreenHideSidePanel&&window.close(),i({success:!0}),t.abrupt("break",64);case 11:return window.close(),i({success:!0}),t.abrupt("break",64);case 14:return t.next=16,x(h.key,h.value);case 16:return i({success:!0}),t.abrupt("break",64);case 18:return t.next=20,s(h.hostname,h.config);case 20:return i({success:!0}),t.abrupt("break",64);case 22:return t.next=24,r(v,h.tabConfigs);case 24:return i({success:!0}),t.abrupt("break",64);case 26:return y(v,h.scrollProgress),i({success:!0}),t.abrupt("break",64);case 29:return(d=u.L.get("playing_progress_bar_locked_".concat(v)))||h.isUsableVideo&&g(v,h),i({success:!0,checkLock:d}),t.abrupt("break",64);case 33:return t.next=35,(0,a._D)(v,o.frameId,h);case 35:return b=t.sent,r(v,b),i({success:!0}),t.abrupt("break",64);case 39:if(!e.data.isIntersecting||"Infinity"===e.data.duration){t.next=44;break}return t.next=42,(0,a.D1)(o.tab.id,"scroll","exitPictureInPicture");case 42:t.next=46;break;case 44:return t.next=46,(0,a.D1)(o.tab.id,"scroll","enterPictureInPicture");case 46:return t.next=48,r(o.tab.id,{video_visiable:e.data.video_visiable});case 48:return i({success:!0}),t.abrupt("break",64);case 50:E=e.data.items,L=n.Ay.getState().quickAccess,S=f(L);try{for(S.s();!(A=S.n()).done;)k=A.value,m.add(k.url)}catch(t){S.e(t)}finally{S.f()}j=p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=E[O],-1!==L.findIndex((function(t){return t.url===e.url}))||m.has(e.url)){t.next=5;break}return t.next=4,l(crypto.randomUUID(),e);case 4:m.add(e.url);case 5:case"end":return t.stop()}}),t)})),O=0;case 56:if(!(O{"use strict";r.d(e,{Z:()=>et});var n=r(24032),o=(r(98258),r(95532)),i=r(26157);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}var s=function(t){try{var e=new URL(t);switch(e.protocol){case"http:":case"https:":return e.hostname.replace("www.","");case"chrome:":return e.origin;case"chrome-extension:":return"extension";case"view-source:":return e.protocol;default:return t.split("/").slice(0,3).join("/")}}catch(e){return t.split("/").slice(0,3).join("/")}},f=function(){var t=l(c().mark((function t(e){var r,a,u,l,f,h;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,chrome.tabs.get(e);case 3:if((r=t.sent).url&&"about:blank"!==r.url&&"chrome://newtab/"!==r.url){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,(0,o.cE)("user_settings");case 9:if(null==(a=t.sent)||!a.groupFilterOutPinnedTabs||!r.pinned){t.next=13;break}return t.abrupt("return",!1);case 13:return u=s(r.url),t.next=16,chrome.tabGroups.query({title:u,windowId:r.windowId});case 16:if((l=t.sent).length){t.next=27;break}return t.next=21,chrome.tabs.group({tabIds:[e],createProperties:{windowId:r.windowId}});case 21:return f=t.sent,t.next=24,chrome.tabGroups.update(f,{title:u,color:i.RY[f%i.RY.length].color,collapsed:!0});case 24:t.next=33;break;case 27:if(h=l[0].id,-1!==r.groupId&&r.groupId===h){t.next=33;break}return t.next=31,chrome.tabs.group({tabIds:[e],groupId:h});case 31:return t.next=33,(0,n.I7)(e);case 33:t.next=39;break;case 35:return t.prev=35,t.t0=t.catch(0),t.abrupt("return",!1);case 39:case"end":return t.stop()}}),t,null,[[0,35]])})));return function(e){return t.apply(this,arguments)}}(),h=r(23436),p=r(26166),y=r(71341),v=r(8148),d=r(39392),m=r(42444),g=r(63534),b=r(36161);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function m(){}function g(){}function b(){}var E={};l(E,a,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,a)&&(E=S);var A=b.prototype=m.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==w(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{m:()=>a});var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;e{"use strict";r.d(e,{WP:()=>l,ig:()=>u});var n=r(38962),o=r(67478),i=r(94094),a=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error exception captured","Script error.","Cannot access contents","Cannot access a chrome://","Frame with ID 0","(intermediate value)(intermediate value)(intermediate value).querySelector is not a function","Request failed with status code 404","Failed to fetch","network error",/NetworkError: A network error occurred/,/Failed response from server: 500/,"Failed to load resource: net::ERR_CONNECTION_REFUSED","Failed to load resource: net::ERR_CONNECTION_RESET","Failed to load resource: net::ERR_NETWORK_CHANGED","Failed to load resource: net::ERR_TIMED_OUT","Warning: componentWillReceiveProps has been renamed, and is not recommended for use.","Warning: componentWillMount has been renamed, and is not recommended for use.",/SecurityError: .+ blocked a frame with origin/,/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,"Error: Cannot inject content-scripts into page","Unable to download all specified images.",/A listener indicated an asynchronous response by returning true/,/message channel is closed/,"Extension context invalidated",/No tab with id/,/No group with id/,/will be removed from/,"reading 'sendMessage'",/^Invalid Tab ID/,/Transaction timed out due to inactivity/,/(No window with id: )(\d+).?/,/(disconnected from wss)[(]?:\/\/[\w./:-]+: \d+:: Normal Closure[)]?/,/^disconnected from .+: [0-9]+:: .+$/,/^unsubscribed from .+: [0-9]+:: .+$/,"No matching message handler","Manifest: property 'background' is deprecated and will be ignored in manifest version 3.","Manifest: property 'persistent' is deprecated and will be ignored in manifest version 3.","Refused to execute inline script because it violates the following Content Security Policy directive","Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.","ServiceWorker registration failed: ","ServiceWorker script evaluation failed: ","Cannot access 'window.document' after 'window.close'.","QuotaExceededError: The quota has been exceeded.","Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...","TypeError: Failed to fetch"],c=function(t){return a.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},u=function(){n.T({dsn:"https://1169ed4bb18c3b169e679b2bc7dea0b5@o4507662064746496.ingest.us.sentry.io/4507662340653056",integrations:[o.dp()],environment:"production",release:"rabbitpair@".concat(chrome.runtime.getManifest().version),tracesSampleRate:.5,maxBreadcrumbs:20,enabled:!0,beforeSend:function(t,e){return t.exception&&c(e.originalException.message)?null:(t.exception&&t.exception.values&&t.exception.values.forEach((function(t){t.stacktrace&&t.stacktrace.frames&&(t.stacktrace.frames=t.stacktrace.frames.slice(-10))})),t)},maxSessionEvents:100,beforeErrorClass:function(t,e,r){var n=r.message;return n&&n.includes("Network error")?"NetworkErrorGroup":e(r)}})},l=i.tH},98258:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(39291);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)}),[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(y=s(c().mark((function t(e,r){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set(u({},e,r));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"get",value:(p=s(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,n.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"getOrSet",value:(h=s(c().mark((function t(e,r){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"remove",value:(l=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"delete",value:(a=s(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"clear",value:(o=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"prune",value:(r=s(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"keys",value:(e=s(c().mark((function t(){var e,r,n=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"whereIn",value:(t=s(c().mark((function t(e){var r,n,o,a,u,l,s=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=i(o);try{for(a.s();!(u=a.n()).done;)(l=u.value)&&r.push(l)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}]);var t,e,r,o,a,l,h,p,y}();const v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(p.has(t))return p.get(t);var e=new y(t);return p.set(t,e),e}},26157:(t,e,r)=>{"use strict";r.d(e,{FE:()=>h,FQ:()=>c,RY:()=>l,dw:()=>i,ql:()=>a,u0:()=>u,vY:()=>f});var n=r(90533),o=r(42444),i={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},a=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],c=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a="transparent";switch(r=r||(0,o.kU)(),e){case"single":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/2),")\n ");break;case"none":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(i.hex,n),", ").concat((0,o.E2)(i.hex,n/10),")\n ");break;case"simple":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.hex,n/10),")\n ");break;case"complementary":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.complementary,n),")\n ");break;case"analogous":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.analogous[0],n),", ").concat((0,o.E2)(t.analogous[1],n),")");break;case"triadic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.triadic[0],n),", ").concat((0,o.E2)(t.triadic[1],n),")");break;case"tetradic":a="\n linear-gradient(".concat(r,"deg,").concat((0,o.E2)(t.hex,n),", ").concat((0,o.E2)(t.tetradic[0],n),",").concat((0,o.E2)(t.tetradic[1],n),", ").concat((0,o.E2)(t.tetradic[2],n),")")}return a},u=a.filter((function(t){return t.color!==t.tabGroupColor})),l=a.filter((function(t){return t.color===t.tabGroupColor})),s=0,f=function(t,e){var r=i;if(!1===t)return r;var n=a.find((function(e){return e.color===t}));return n?r=n:(r=u[(e||s)%u.length],s++,r)},h=function(){return(0,n.A)(a)}},69100:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&i.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))}}function c(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function u(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var l,s,f,h,p,y=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e>2]|=t.charCodeAt(e)<>2]|=128<c,QR:()=>f,sc:()=>u});var s=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];function f(t){if(!t)return 0;for(var e=~0,r=0;r>>8^s[255&(e^t.charCodeAt(r))];return~e>>>0}},42444:(t,e,r)=>{"use strict";r.d(e,{AY:()=>h,E2:()=>y,Hs:()=>f,Lq:()=>v,Qr:()=>g,SH:()=>x,US:()=>L,Wj:()=>E,a3:()=>m,eM:()=>p,fL:()=>b,kU:()=>d});var n=r(44731),o=r(47646);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(C([])));S&&S!==r&&n.call(S,u)&&(E=S);var A=x.prototype=b.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,c,u){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}var v=function(t,e,r,n,i){if(i?(t=t.map((function(t){return l(l({},t),{},{inActiveWindow:t.windowId===i?1:0})})),t=(0,o.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,o.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t};function d(){var t=new Date,e=t.getHours()%12,r=t.getMinutes(),n=30*(e+r/60),o=6*r;return Math.abs(n-o)}var m=function(t,e){return isNaN(t)||isNaN(e)||t<0||e<=0?"00:00":(t=Math.floor(t),(e=Math.floor(e))<3600?new Date(1e3*t).toISOString().substring(14,19):new Date(1e3*t).toISOString().substring(11,19))};function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function b(t){return w.apply(this,arguments)}function w(){var t;return t=i().mark((function t(e){var r,n,o,a,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(c=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",c.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),w=function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))},w.apply(this,arguments)}var x=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},E=function(t){try{return decodeURIComponent(t)}catch(e){return t}},L=function(t){return t.url?1:t.children?t.children.reduce((function(t,e){return t+L(e)}),0):0}},80973:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>h});var n=r(70804),o=r(84480),i=r(33080);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{"use strict";r.d(e,{A:()=>d});var n=r(91881);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._db=null,this._cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==a[2]?a[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this._ensureDbConnection();case 5:return t.next=7,this._db;case 7:return i=t.sent,t.next=10,i.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return x.apply(this,arguments)})},{key:"get",value:(w=l(c().mark((function t(e){var r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return w.apply(this,arguments)})},{key:"getOrSet",value:(b=l(c().mark((function t(e,r){var n,o,i,a=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return i=t.t0,t.next=16,this.set(e,i,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"remove",value:(g=l(c().mark((function t(e){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return g.apply(this,arguments)})},{key:"delete",value:(m=l(c().mark((function t(e){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"prune",value:(d=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return d.apply(this,arguments)})},{key:"clear",value:(v=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return v.apply(this,arguments)})},{key:"keys",value:(y=l(c().mark((function t(){var e,r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return y.apply(this,arguments)})},{key:"length",value:(p=l(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return p.apply(this,arguments)})},{key:"whereIn",value:(u=l(c().mark((function t(e){var r=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return u.apply(this,arguments)})},{key:"all",value:(a=l(c().mark((function t(){var e,r,n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return a.apply(this,arguments)})},{key:"batchSet",value:(o=l(c().mark((function t(e){var r,n,o,a,u,l,s,f,h,p,y=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=y.length>1&&void 0!==y[1]?y[1]:0,t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),u=r?Date.now()+1e3*r:0,l=0,s=Object.entries(e);case 11:if(!(li)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return a=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(a));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return r.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],[{key:"create",value:(e=l(c().mark((function e(){var r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})}]);var e,r,o,a,u,p,y,v,d,m,g,b,w,x,E,L,S}();h(y,"stores",new Map),h(y,"DEFAULT_STORE_NAME","rabbitpair"),h(y,"DEFAULT_CLEANUP_INTERVAL",36e5);var v=new Map;function d(t){return m.apply(this,arguments)}function m(){return m=l(c().mark((function t(e){var r,n,o=arguments;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},v.has(e)){t.next=13;break}return t.prev=2,t.next=5,y.create(e,r);case 5:n=t.sent,v.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",v.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),m.apply(this,arguments)}},96033:(t,e,r)=>{"use strict";r.d(e,{L:()=>n});var n={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}}},15632:(t,e,r)=>{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":51742,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":43878,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=15632}},l={};function s(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return u[t].call(r.exports,r,r.exports,s),r.exports}s.m=u,e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",r="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",n="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},s.a=(t,i,a)=>{var c;a&&((c=[]).d=-1);var u,l,s,f=new Set,h=t.exports,p=new Promise(((t,e)=>{s=e,l=t}));p[r]=h,p[e]=t=>(c&&t(c),f.forEach(t),p.catch((t=>{}))),t.exports=p,i((t=>{var i;u=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var i=[];i.d=0,t.then((t=>{a[r]=t,o(i)}),(t=>{a[n]=t,o(i)}));var a={};return a[e]=t=>t(i),a}}var c={};return c[e]=t=>{},c[r]=t,c})))(t);var a=()=>u.map((t=>{if(t[n])throw t[n];return t[r]})),l=new Promise((t=>{(i=()=>t(a)).r=0;var r=t=>t!==c&&!f.has(t)&&(f.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((t=>t[e](r)))}));return i.r?l:a()}),(t=>(t?s(p[n]=t):l(h),o(c)))),c&&c.d<0&&(c.d=0)},i=[],s.O=(t,e,r,n)=>{if(!e){var o=1/0;for(l=0;l=n)&&Object.keys(s.O).every((t=>s.O[t](e[c])))?e.splice(c--,1):(a=!1,n0&&i[l-1][2]>n;l--)i[l]=i[l-1];i[l]=[e,r,n]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},c=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,s.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null);s.r(r);var n={};a=a||[null,c({}),c([]),c(c)];for(var o=2&e&&t;"object"==typeof o&&!~a.indexOf(o);o=c(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,s.d(r,n),r},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.j=116,(()=>{var t={116:0};s.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)var l=c(s)}for(e&&e(r);us(55272)));f=s.O(f)})(); //# sourceMappingURL=sidePanel.js.map \ No newline at end of file diff --git a/build/sidebar.html b/build/sidebar.html index 81f9d80..ea6e400 100644 --- a/build/sidebar.html +++ b/build/sidebar.html @@ -1 +1 @@ -VertiTab
      \ No newline at end of file +VertiTab
      \ No newline at end of file diff --git a/build/sidebar.js b/build/sidebar.js index 527fd30..ad2eab0 100644 --- a/build/sidebar.js +++ b/build/sidebar.js @@ -1,2 +1,2 @@ -!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ef8dca7f-1c2c-40dc-b8fa-d6b91bd3a1d3",t._sentryDebugIdIdentifier="sentry-dbid-ef8dca7f-1c2c-40dc-b8fa-d6b91bd3a1d3")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(()=>{var t,e,r,n={24683:(t,e,r)=>{"use strict";var n=r(30758),o=r(99576),a=r(71393),i=r(62398),c=r(49673),u=r(26565),s=(r(94045),r(81191)),l=r(26059),f=function(){return n.createElement(s.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},n.createElement(l.A,{size:35,color:"secondary",thickness:2}))};const h=(0,n.memo)(f);var p=r(39897),y=r(91881);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t,e)||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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:F(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function b(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function w(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){b(a,n,o,i,c,"next",t)}function c(t){b(a,n,o,i,c,"throw",t)}i(void 0)}))}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.db=null,this.cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==i[2]?i[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this.ensureDbConnection();case 5:return t.next=7,this.db;case 7:return a=t.sent,t.next=10,a.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return L.apply(this,arguments)})},{key:"get",value:(b=w(g().mark((function t(e){var r,n;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return b.apply(this,arguments)})},{key:"getOrSet",value:(m=w(g().mark((function t(e,r){var n,o,a,i=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>2&&void 0!==i[2]?i[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return a=t.t0,t.next=16,this.set(e,a,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return m.apply(this,arguments)})},{key:"remove",value:(d=w(g().mark((function t(e){var r;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return d.apply(this,arguments)})},{key:"delete",value:(p=w(g().mark((function t(e){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"prune",value:(h=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return h.apply(this,arguments)})},{key:"clear",value:(f=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return f.apply(this,arguments)})},{key:"keys",value:(l=w(g().mark((function t(){var e,r,n,o=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return l.apply(this,arguments)})},{key:"length",value:(s=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return s.apply(this,arguments)})},{key:"whereIn",value:(u=w(g().mark((function t(e){var r=this;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return u.apply(this,arguments)})},{key:"all",value:(c=w(g().mark((function t(){var e,r,n;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ensureDbConnection();case 3:return t.next=5,this.db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return c.apply(this,arguments)})},{key:"batchSet",value:(i=w(g().mark((function t(e){var r,n,o,a,i,c,u,s,l,f,h=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=h.length>1&&void 0!==h[1]?h[1]:0,t.prev=1,t.next=4,this.ensureDbConnection();case 4:return t.next=6,this.db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),i=r?Date.now()+1e3*r:0,c=0,u=Object.entries(e);case 11:if(!(ca)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return i=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(i));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return a.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],n=[{key:"create",value:(o=w(g().mark((function e(){var r,n=arguments;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})}],r&&j(e.prototype,r),n&&j(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,o,a,i,c,u,s,l,f,h,p,d,m,b,L,k,O,S}();E(k,"stores",new Map),E(k,"DEFAULT_STORE_NAME","rabbitpair"),E(k,"DEFAULT_CLEANUP_INTERVAL",36e5);var O=new Map;function S(t){return A.apply(this,arguments)}function A(){return A=w(g().mark((function t(e){var r,n,o=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},O.has(e)){t.next=13;break}return t.prev=2,t.next=5,k.create(e,r);case 5:n=t.sent,O.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",O.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),A.apply(this,arguments)}var _=r(39291);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function C(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return I(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function T(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function D(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){T(a,n,o,i,c,"next",t)}function c(t){T(a,n,o,i,c,"throw",t)}i(void 0)}))}}function G(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(f=D(F().mark((function t(e,r){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},a=r,(o=N(o=e))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,a}),t,this)}))),function(t,e){return f.apply(this,arguments)})},{key:"get",value:(l=D(F().mark((function t(e){var r;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,_.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"getOrSet",value:(s=D(F().mark((function t(e,r){var n;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"remove",value:(u=D(F().mark((function t(e){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"delete",value:(c=D(F().mark((function t(e){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"clear",value:(i=D(F().mark((function t(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"prune",value:(a=D(F().mark((function t(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"keys",value:(o=D(F().mark((function t(){var e,r,n=arguments;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"whereIn",value:(n=D(F().mark((function t(e){var r,n,o,a,i,c,u=this;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return u.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=C(o);try{for(a.s();!(i=a.n()).done;)(c=i.value)&&r.push(c)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return n.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&G(t.prototype,e),r&&G(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,n,o,a,i,c,u,s,l,f}();function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function z(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */z=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==U(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function W(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){W(a,n,o,i,c,"next",t)}function c(t){W(a,n,o,i,c,"throw",t)}i(void 0)}))}}function Y(t){return q.apply(this,arguments)}function q(){return(q=R(z().mark((function t(e){var r,n,o,a;return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(new TextEncoder).encode(e),t.next=3,crypto.subtle.digest("SHA-256",r);case 3:return n=t.sent,o=Array.from(new Uint8Array(n)),a=o.map((function(t){return t.toString(16).padStart(2,"0")})).join(""),t.abrupt("return",a);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var H=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];var K={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}};function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function V(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */V=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==$(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Q(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function J(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Q(a,n,o,i,c,"next",t)}function c(t){Q(a,n,o,i,c,"throw",t)}i(void 0)}))}}var X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(B.has(t))return B.get(t);var e=new M(t);return B.set(t,e),e}("local"),Z=function(){var t=J(V().mark((function t(e){var r;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(e);case 2:return r=t.sent,t.abrupt("return",X.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),tt=function(){var t=J(V().mark((function t(e,r){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return K.set(e,r),t.abrupt("return",X.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),et=function(){var t=J(V().mark((function t(e){var r;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=K.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,X.get(e);case 5:return(r=t.sent)&&K.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt=function(){var t=J(V().mark((function t(){var e;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=K.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,X.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return K.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,X.set("rabbitpair_active_user_uuid",e);case 12:return K.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),nt=function(){var t=J(V().mark((function t(){var e,r,n,o,a=arguments;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=a.length>0&&void 0!==a[0]?a[0]:"stored"),!(n=K.get(r))){t.next=5;break}return t.abrupt("return",n);case 5:return t.next=7,rt();case 7:return o=t.sent,n=S("users/"+o+"/public/"+e),K.set(r,n),t.abrupt("return",n);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ot=r(63413),at=r(30554),it={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center "},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center "},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center "},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center "},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center "},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center "},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center "},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center "},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center "},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center "},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center "},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center "},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center "},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center "},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center "},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center "},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center "},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center "},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"center "},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"center "}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"},{id:19,name:"createTabPanel",enable:!1,sort:19,showLabel:!0,align:"flex-start"},{id:20,name:"tabPanels",enable:!1,sort:20,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"};chrome.runtime.getURL("images/bg.jpg");function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ut=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==ct(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function st(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){st(a,n,o,i,c,"next",t)}function c(t){st(a,n,o,i,c,"throw",t)}i(void 0)}))}}function ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Pt(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ct(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Pt(a,n,o,i,c,"next",t)}function c(t){Pt(a,n,o,i,c,"throw",t)}i(void 0)}))}}var It=function(){var t=Ct(_t().mark((function t(){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",nt("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function Ft(t){var e=t.children,r=vt((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),o=(r.initUserStore,r.userStoreInitialized),s=r.theme,l=r.fontScale,f=r.fontFamily,p=r.rtl,y=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var d=(0,n.useRef)(document);(0,n.useEffect)((function(){d.current.documentElement.setAttribute("dir",p?"rtl":"ltr")}),[p]);var v=function(){switch(s){case"light":default:return(0,i.A)(xt("light",l,f,y));case"dark":return(0,i.A)(xt("dark",l,f,y))}}();return o?n.createElement(c.A,{theme:v},n.createElement(a.Ay,null),n.createElement(u.N9,null),e):n.createElement(h,null)}(0,ot.h)((0,jt.eh)((0,p.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(a=Ct(_t().mark((function e(){var r,n;return _t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,It();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),getSiteConfig:(o=Ct(_t().mark((function t(r){var n,o;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,It();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=Ct(_t().mark((function e(r,n){var o,a,i;return _t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=St(St({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=Lt(t.sites);return n[e]=St(St({},n[e]),o),{sites:n}}return{sites:[].concat(Lt(t.sites),[o])}})),e.next=10,It();case 10:return a=e.sent,e.next=13,a.get("site_config_".concat(r));case 13:return i=e.sent,e.next=16,a.set("site_config_".concat(r),St(St({},i),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=Ct(_t().mark((function r(n){var o;return _t().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,It();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a}))),at.x).getState().loadSiteConfigs();r(14852);var Tt=r(68964),Dt=r(4008),Gt=r(33080);function Nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Bt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bt(t,e):void 0}}(t,e)||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 Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Ht(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ht(a,n,o,i,c,"next",t)}function c(t){Ht(a,n,o,i,c,"throw",t)}i(void 0)}))}}var $t=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],Vt=function(t){return $t.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},Qt=function(){var t=Kt(qt().mark((function t(e){var r,n,o,a,i=arguments;return qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=i.length>2?i[2]:void 0,o=i.length>3?i[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),Vt(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),Jt=function(){var t=Kt(qt().mark((function t(e,r){var n,o,a=arguments;return qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return o=t.sent,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t.catch(1),Vt(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}();function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zt(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function ne(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var oe=(0,n.createContext)(),ae=function(t){var e=t.children,r=t.defaultNS,o=void 0===r?"translation":r,a=(0,Tt.Bd)(o).t,i=mt((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),c=i.updateSetting,u=i.language;(0,n.useEffect)((function(){Rt.changeLanguage(u)}),[u]);var s=function(){var t,e=(t=re().mark((function t(e){var r;return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Rt.changeLanguage(e);case 3:return t.next=5,c("selectedLanguage",e);case 5:return t.next=7,Qt("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,c("rtl",r);case 10:return t.next=12,Qt("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){ne(a,n,o,i,c,"next",t)}function c(t){ne(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return e.apply(this,arguments)}}(),l={t:a,language:u,changeLanguage:s,defaultNS:o};return n.createElement(oe.Provider,{value:l},e)},ie=function(t,e){var r,o=(0,n.useContext)(oe);if(!o)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?o.t:"object"===ee(t)?(0,Tt.Bd)(o.defaultNS,t).t:(0,Tt.Bd)(t,e).t,Zt(Zt({},o),{},{t:r})},ce=r(98054),ue=r(421),se=r(25492),le=r(99967),fe=r(77678),he=r(25790),pe=r(43044),ye=r(14805),de=r(44731),ve=r(47646);function me(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */me=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==ge(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(t)}function be(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function we(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xe(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}function ke(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function Oe(t){return Se.apply(this,arguments)}function Se(){var t;return t=me().mark((function t(e){var r,n,o,a,i;return me().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(i=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",i.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),Se=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){be(a,n,o,i,c,"next",t)}function c(t){be(a,n,o,i,c,"throw",t)}i(void 0)}))},Se.apply(this,arguments)}var Ae=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},_e={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},Pe=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],Ce=function(t,e){var r,n,o,a,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s="transparent";switch(c=c||(r=new Date,n=r.getHours()%12,o=r.getMinutes(),a=30*(n+o/60),i=6*o,Math.abs(a-i)),e){case"single":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.hex,u/2),")\n ");break;case"none":s="\n linear-gradient(".concat(c,"deg,").concat(Le(_e.hex,u),", ").concat(Le(_e.hex,u/10),")\n ");break;case"simple":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.hex,u/10),")\n ");break;case"complementary":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.complementary,u),")\n ");break;case"analogous":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.analogous[0],u),", ").concat(Le(t.analogous[1],u),")");break;case"triadic":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.triadic[0],u),", ").concat(Le(t.triadic[1],u),")");break;case"tetradic":s="\n linear-gradient(".concat(c,"deg,").concat(Le(t.hex,u),", ").concat(Le(t.tetradic[0],u),",").concat(Le(t.tetradic[1],u),", ").concat(Le(t.tetradic[2],u),")")}return s},Ie=Pe.filter((function(t){return t.color!==t.tabGroupColor}));Pe.filter((function(t){return t.color===t.tabGroupColor}));function Fe(t){return function(t){if(Array.isArray(t))return Te(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Te(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Te(t,e):void 0}}(t)||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 Te(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=mt.getState().settings,n=r.theme,o=r.colorfulBackground,a=r.listBottomBorder,i=r.listBackgroundAlpha,c=r.listBackgroundStyle,u=r.view,s=r.fontScale,l=r.fontColor,f=Math.floor(("visual"===u?6:4)*s),h=Ie[isNaN(t)?function(t){if(!t)return 0;for(var e=-1,r=0;r>>8^H[255&(e^t.charCodeAt(r))];return~e>>>0}(t)%Ie.length:t%Ie.length]||_e,p=Fe(c.split("|")),y=p[0],d=p[1],v=Ce(h,y,d,i);return{width:"100%",display:"flex",paddingTop:"".concat(f,"px"),paddingBottom:"".concat(f,"px"),flexDirection:"column",borderBottomStyle:a,borderBottomWidth:"1px",borderBottomColor:Le(h.hex,.5),background:v,mixBlendMode:"dark"===n?"difference":"normal",color:l||"text.primary",opacity:e?.6:1,"&:hover":{background:o?Le(h.hex,.25):"dark"===n?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:o?Le(h.hex,"dark"===n?.3:.15):"dark"===n?"#4a4a4a":"#eee",zIndex:1,color:l||"text.primary"}}}var Ge=r(62473),Ne=r(15393),Be=r(49251),Me=(0,n.createContext)(),Ue=function(t){var e=t.children,r=mt((function(t){return t.settings})),o=mt((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){o()}),[o]),n.createElement(Me.Provider,{value:r},e)},ze=function(){var t=(0,n.useContext)(Me);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t},We=function(t){var e=t.status,r=t.favIconUrl,o=t.url,a=t.pinned,i=ze(),c=i.view,u=i.fontScale,s=i.PinnedTabsAsIcons,f=Math.floor(("visual"===c?28:20)*u),h="loading"===e,p=r||ke(o),y=a&&s;return n.createElement(Ne.A,{sx:{display:"flex",justifyContent:"center",minWidth:f}},n.createElement(Be.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:y?20:f,height:y?20:f,alignContent:"center"},"aria-label":"recipe",src:p},n.createElement(Ge.A,{sx:{fontSize:f},color:"primary"})),h&&n.createElement(l.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:f+1}))};const Re=(0,n.memo)(We);var Ye=r(67463),qe=r(97164),He=r.n(qe);function Ke(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}}(t,e)||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 $e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function sr(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var lr=function(t){var e=t.tabId,r=t.muted,o=ie().t,a=function(){var t,n=(t=ur().mark((function t(n){return ur().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){sr(a,n,o,i,c,"next",t)}function c(t){sr(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(rr.A,{arrow:!0,placement:"top",title:n.createElement(Ye.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(le.A,{sx:{padding:"4px",color:"inherit"},onClick:a},r?n.createElement(ar.A,{size:"small"}):n.createElement(ir.A,{size:"small"})))};const fr=(0,n.memo)(lr);var hr=r(35841);function pr(t){return pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pr(t)}function yr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */yr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==pr(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function dr(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var vr=(0,n.memo)((function(t){var e=t.tabId,r=ie().t,o=function(){var t,r=(t=yr().mark((function t(r){return yr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){dr(a,n,o,i,c,"next",t)}function c(t){dr(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(rr.A,{arrow:!0,placement:"top",title:n.createElement(Ye.A,null,r("tabMenu.UnpinTab"))},n.createElement(le.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(hr.A,{size:"small"})))}));const mr=vr;var gr=r(44235),br=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=ie().t;return n.createElement(rr.A,{arrow:!0,title:n.createElement(Ye.A,null,o(r))},n.createElement(le.A,{onClick:function(){Ae()},sx:{padding:"4px",color:"inherit"}},n.createElement(gr.A,{size:"small"})))};const wr=(0,n.memo)(br);var xr=r(39392),jr=r(61530),Er=r(78698);function Lr(t){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lr(t)}function kr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Sr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function Or(t){return function(t){if(Array.isArray(t))return Ar(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Sr(t)||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 Sr(t,e){if(t){if("string"==typeof t)return Ar(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ar(t,e):void 0}}function Ar(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Fr(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Tr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Fr(a,n,o,i,c,"next",t)}function c(t){Fr(a,n,o,i,c,"throw",t)}i(void 0)}))}}var Dr=function(){var t=Tr(Ir().mark((function t(){return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Gr=function(){var t=Tr(Ir().mark((function t(){return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Nr=(0,ot.h)((0,jt.eh)((0,p.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(s=Tr(Ir().mark((function t(){return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return s.apply(this,arguments)}),loadTabs:(u=Tr(Ir().mark((function r(){return Ir().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var i=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,c=a.map((function(t){return Pr(Pr({},Kr(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:i,tabs:c,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(c),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return u.apply(this,arguments)}),loadTabsMetadata:(c=Tr(Ir().mark((function e(r){var n,o,a;return Ir().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return zr(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),a=r.map((function(t){var e=o.get(t.tabId);return e?Pr(Pr({},t),e):t})),t({tabs:a});case 6:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?Pr(Pr({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=Pr(Pr({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=Or(t.tabs);return o[n]=Pr(Pr({},o[n]),r),{tabs:o}}return{tabs:[].concat(Or(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return Pr(Pr({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),Mr(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(i=Tr(Ir().mark((function e(r){return Ir().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,Ur(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return i.apply(this,arguments)}),resortTabs:(0,xr.A)(Tr(Ir().mark((function t(){var r,n,o,a;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=kr(r),t.prev=4,a=Ir().mark((function t(){var r,n;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(a(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=Tr(Ir().mark((function e(){var r;return Ir().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=Pr(Pr({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=Or(t.groups);return o[r]=Pr(Pr({},o[r]),n),{groups:o}}return{groups:[].concat(Or(t.groups),[n])}}))}},closeGroup:function(e){t((function(t){return{groups:t.groups.filter((function(t){return t.groupId!==e}))}}))},initQuickAccess:(o=Tr(Ir().mark((function e(){var r,n,o,a;return Ir().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,Gr();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:if(n=e.sent){e.next=14;break}return e.next=10,r.all();case 10:return o=e.sent,n=o.map(function(){var t=Tr(Ir().mark((function t(e){return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.uuid){t.next=4;break}return t.next=3,r.delete(e.uuid);case 3:return t.abrupt("return",Pr(Pr({},e),{},{id:e.uuid}));case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e.next=14,r.set("quickAccess",n);case 14:a=(0,jr.A)(n,"sortIndex"),t({quickAccess:a}),Date.now();case 18:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=Tr(Ir().mark((function r(n,o){var a,i,c,u,s,l,f;return Ir().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=Pr(Pr({},(0,Er.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=12;break}return r.prev=2,r.next=5,Oe(o.url);case 5:o.favIconUrl=r.sent,r.next=12;break;case 8:r.prev=8,r.t0=r.catch(2),o.favIconUrl=ke(o.url);case 12:return a=(0,jr.A)(e().quickAccess,"sortIndex"),i=a.findIndex((function(t){return t.uuid===n})),-1!==(c=a.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((u=Or(a))[c]=Pr(Pr({},u[c]),o),t({quickAccess:u})):-1!==i?((s=Or(a))[i]=Pr(Pr({},s[i]),o),t({quickAccess:s})):(l=Math.max.apply(Math,Or(a.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(Or(a),[Pr(Pr({},o),{},{sortIndex:l+1})])})),r.next=18,Gr();case 18:return f=r.sent,r.next=21,f.set("quickAccess",e().quickAccess);case 21:case"end":return r.stop()}}),r,null,[[2,8]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=Tr(Ir().mark((function r(n){var o,a,i;return Ir().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,a=o.filter((function(t){return t.uuid!==n})),t({quickAccess:a}),r.next=5,Gr();case 5:return i=r.sent,r.next=8,i.set("quickAccess",a);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,i,c,u,s}))),at.x),Br=new Map,Mr=function(){var t=Tr(Ir().mark((function t(e,r,n){var o,a,i;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Dr();case 3:if(o=t.sent,t.t1=Br.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return a=t.t0,i=Pr(Pr({},a),{},Cr(Cr({},r,n),"tabId",e)),Br.set("tabid_".concat(e),i),t.next=18,o.set("tabid_".concat(e),i);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),Ur=function(){var t=Tr(Ir().mark((function t(e){var r;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Br.delete("tabid_".concat(e)),t.next=3,Dr();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),zr=function(){var t=Tr(Ir().mark((function t(e){var r,n,o,a,i,c,u,s,l,f;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Dr();case 2:if(r=t.sent,t.t1=Br.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,a=void 0===o?Date.now():o,i=n.created_time,c=void 0===i?Date.now():i,u=n.thumbnail,s=n.pipSupport,l=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:a,created_time:c,thumbnail:u,pipSupport:s,pipOn:l,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const Wr=Nr;function Rr(t){return Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rr(t)}function Yr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qr(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function nn(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}const on=(0,n.memo)((function(t){var e=t.tabId,r=t.index,o=t.keyboardSelected,a=ze(),i=a.view,c=a.AlwaysShowCloseButton,u=a.buttonPosition,l=(0,n.useRef)(null),f=Wr((function(t){var r,n=t.tabs.find((function(t){return t.id===e}))||{};return{isTabActive:null==n?void 0:n.active,tabWindowId:null==n?void 0:n.windowId,title:n.title,url:n.url,lastAccessed:n.lastAccessed,status:n.status,favIconUrl:n.favIconUrl,pinned:n.pinned,discarded:n.discarded,pipOn:n.pipOn,audible:n.audible,mutedInfo:n.mutedInfo,hostname:n.hostname,currentWindowId:null===(r=t.currentWindow)||void 0===r?void 0:r.id}})),h=f.isTabActive,p=f.tabWindowId,y=f.title,d=f.url,v=f.lastAccessed,m=f.status,g=f.favIconUrl,b=f.pinned,w=f.discarded,x=f.pipOn,j=f.audible,E=f.mutedInfo,L=f.hostname,k=f.currentWindowId,O=h&&k===p,S=function(){var t,r=(t=rn().mark((function t(r){return rn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.stopPropagation(),Qt("highlight_tab",{tabId:e});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){nn(a,n,o,i,c,"next",t)}function c(t){nn(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){o&&l.current.focus()}),[o]),y?n.createElement(s.A,{"data-tab-index":r,className:(O?"tab-item active":"tab-item")+(o?" keyboard-selected":""),sx:{position:"relative"},onKeyDown:function(t){t.stopPropagation(),o&&"Enter"===t.key&&S(t)},tabIndex:0},n.createElement(pe.Ay,{ref:l,disablePadding:!0,onClick:S,onMouseDown:function(t){1===t.button&&Qt("bulk_close_tabs",{tabIds:[e]})}},n.createElement(ye.A,{title:y,component:"div",dense:"list"===i,disableGutters:!0,selected:O||o,sx:tn({},De(e,w))},n.createElement(ce.A,{useFlexGap:!0,sx:{width:"100%",paddingX:"10px"},direction:u,alignItems:"center",justifyContent:"space-between",spacing:.5},n.createElement(s.A,{sx:{padding:"row"===u?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(Re,{status:m,favIconUrl:g,url:d,pinned:b})),n.createElement(tr,{title:y,url:d,hostname:L,lastAccessed:v}),x&&n.createElement(or,{tabId:e}),j&&n.createElement(fr,{tabId:e,muted:E.muted}),b&&n.createElement(mr,{tabId:e}),O&&n.createElement(wr,null),o?n.createElement(Jr,null):n.createElement(le.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:c?"flex":"none"},onClick:function(t){t.stopPropagation(),Qt("bulk_close_tabs",{tabIds:[e]})}},n.createElement($r.A,{size:"small"})))))):null}));var an=r(86168),cn=r(23563),un=r(60777),sn=r(38521);const ln=(0,n.memo)((function(){var t=mt((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,o=t.background,a=t.backgroundImageUrl,i=t.backgroundImageFade,c=t.backgroundImageBlur,u=t.backgroundImageBrightness;return r?n.createElement(s.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||a?"":o}},n.createElement(s.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(a,")"),filter:a?"blur(".concat(c,"px) brightness(").concat(u,") opacity(").concat("light"===e?i:.75*i,")"):"none"}})):null}));function fn(t){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(t)}function hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pn(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0){var t=document.querySelector('[data-tab-index="'.concat(e.selectedTabIndex,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})}}),[e.selectedTabIndex]),(0,n.useEffect)((function(){var t=function(t){"SIDEBAR_LOADED"===t.data.type&&i.current&&i.current.focus(),"SIDEBAR_SHOWN"===t.data.type&&i.current&&i.current.focus(),"SIDEBAR_HIDDEN"===t.data.type&&r({focused:!1,localSearchText:"",selectedTabIndex:-1})};return window.addEventListener("message",t),function(){return window.removeEventListener("message",t)}}),[]);var f=Wr((function(t){return t.tabs.filter((function(t){return t.windowId===u.id})).map((function(t){return{id:t.id,title:t.title,url:t.url,hostname:t.hostname,created_time:t.created_time,lastAccessed:t.lastAccessed,index:t.index,windowId:t.windowId,groupId:t.groupId,pinned:t.pinned}}))}))||[],h=function(t,e,r,n,o){if(o?(t=t.map((function(t){return xe(xe({},t),{},{inActiveWindow:t.windowId===o?1:0})})),t=(0,ve.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,ve.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t}(f,e.localSearchText,"asc","index",u.id);return n.createElement(ce.A,{sx:{height:"100vh"},onKeyDown:function(t){if(t.stopPropagation(),e.keyboardEnabled)if("ArrowDown"===t.key)r((function(t){return pn(pn({},t),{},{selectedTabIndex:(t.selectedTabIndex+1)%h.length})}));else if("ArrowUp"===t.key)r((function(t){return pn(pn({},t),{},{selectedTabIndex:(t.selectedTabIndex-1+h.length)%h.length})}));else if("Enter"===t.key&&e.selectedTabIndex>=0){var n=h[e.selectedTabIndex];Qt("highlight_tab",{tabId:n.id}),r((function(t){return pn(pn({},t),{},{selectedTabIndex:-1})}))}else"Escape"===t.key&&r((function(t){return pn(pn({},t),{},{selectedTabIndex:-1})}))},tabIndex:0,onMouseEnter:function(){r((function(t){return pn(pn({},t),{},{keyboardEnabled:!0})}))},onMouseLeave:function(){r((function(t){return pn(pn({},t),{},{keyboardEnabled:!1})}))}},n.createElement(ln,null),n.createElement(ue.Ay,{container:!0,justifyContent:"center",alignItems:"center",p:1,sx:{position:"sticky",top:0,zIndex:1}},n.createElement(se.A,{id:"search-text-input",size:"small",fullWidth:!0,placeholder:"Search",variant:"outlined",autoComplete:"off",focused:e.focused,value:e.localSearchText,inputRef:i,InputProps:{startAdornment:n.createElement(an.A,{sx:{mr:1,fontSize:"1rem",color:a||"text.primary"}}),endAdornment:e.localSearchText.length>0&&n.createElement(n.Fragment,null,n.createElement(le.A,{onClick:function(){r({focused:!1,localSearchText:"",selectedTabIndex:-1})}},n.createElement(cn.A,{size:"small",sx:{color:a||"text.primary"}}))),sx:{borderColor:a||"text.primary",color:a||"text.primary","&::placeholder":{color:a||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;r((function(t){return pn(pn({},t),{},{localSearchText:e,selectedTabIndex:-1})}))},onFocus:function(){return r((function(t){return pn(pn({},t),{},{focused:!0})}))},onMouseEnter:function(){return r((function(t){return pn(pn({},t),{},{focused:!0})}))},onMouseLeave:function(){return r((function(t){return pn(pn({},t),{},{focused:!1})}))}})),n.createElement(sn.r,null,h.map((function(t,r){return n.createElement(on,{key:"tab-".concat(t.id),index:r,tabId:t.id,keyboardSelected:r===e.selectedTabIndex})}))),n.createElement(fe.A,{sx:{my:1}}),n.createElement(he.A,{sx:{padding:"5px",position:"sticky",bottom:0,zIndex:1,color:a||"text.primary"},onClick:function(){Qt("add_new_tab")}},n.createElement(un.A,null)))}function gn(t){return gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gn(t)}function bn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */bn=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==gn(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function wn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xn(t){for(var e=1;e{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":29361,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":21497,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=a(t);return r(e)}function a(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=a,t.exports=o,o.id=15632}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}};return n[t].call(r.exports,r,r.exports,a),r.exports}a.m=n,t=[],a.O=(e,r,n,o)=>{if(!r){var i=1/0;for(l=0;l=o)&&Object.keys(a.O).every((t=>a.O[t](r[u])))?r.splice(u--,1):(c=!1,o0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[r,n,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var i={};e=e||[null,r({}),r([]),r(r)];for(var c=2&n&&t;"object"==typeof c&&!~e.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,a.d(o,i),o},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.j=61,(()=>{var t={61:0};a.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,c,u]=r,s=0;if(i.some((e=>0!==t[e]))){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);if(u)var l=u(a)}for(e&&e(r);sa(24683)));i=a.O(i)})(); +!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="492ed347-dd95-4b52-a57e-7f8887fcc59d",t._sentryDebugIdIdentifier="sentry-dbid-492ed347-dd95-4b52-a57e-7f8887fcc59d")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"29ba52ca662501e3df5439703f917863c97bfb4c"},(()=>{var t,e,r,n={35811:(t,e,r)=>{"use strict";var n=r(30758),o=r(99576),a=r(20678),i=r(89797),c=r(45007),s=r(26565),u=(r(99212),r(63606)),l=r(40222),f=function(){return n.createElement(u.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"50px auto"}},n.createElement(l.A,{size:35,color:"secondary",thickness:2}))};const h=(0,n.memo)(f);var p=r(32762),y=r(91881);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return v(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(t,e):void 0}}(t,e)||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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function b(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function w(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){b(a,n,o,i,c,"next",t)}function c(t){b(a,n,o,i,c,"throw",t)}i(void 0)}))}}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._db=null,this._cleanupInterval=null,this.storeName=e||t.DEFAULT_STORE_NAME,this.options=function(t){for(var e=1;e2&&void 0!==i[2]?i[2]:0)?Date.now()+1e3*n:0},t.prev=2,t.next=5,this._ensureDbConnection();case 5:return t.next=7,this._db;case 7:return a=t.sent,t.next=10,a.put(this.storeName,o,e);case 10:return t.abrupt("return",r);case 13:throw t.prev=13,t.t0=t.catch(2),this.logError("Error setting value for key ".concat(e,":"),t.t0),t.t0;case 17:case"end":return t.stop()}}),t,this,[[2,13]])}))),function(t,e){return k.apply(this,arguments)})},{key:"get",value:(b=w(g().mark((function t(e){var r,n;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.get(this.storeName,e);case 8:if(!(n=t.sent)||!(0===n.expires||n.expires>Date.now())){t.next=11;break}return t.abrupt("return",n.data);case 11:return t.abrupt("return",null);case 14:return t.prev=14,t.t0=t.catch(0),this.logError("Error getting value for key ".concat(e,":"),t.t0),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[0,14]])}))),function(t){return b.apply(this,arguments)})},{key:"getOrSet",value:(v=w(g().mark((function t(e,r){var n,o,a,i=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>2&&void 0!==i[2]?i[2]:0,t.next=3,this.get(e);case 3:if(!(o=t.sent)){t.next=6;break}return t.abrupt("return",o);case 6:if("function"!=typeof r){t.next=12;break}return t.next=9,r();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=r;case 13:return a=t.t0,t.next=16,this.set(e,a,n);case 16:return t.abrupt("return",t.sent);case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return v.apply(this,arguments)})},{key:"remove",value:(d=w(g().mark((function t(e){var r;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return r=t.sent,t.next=8,r.delete(this.storeName,e);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error removing key ".concat(e,":"),t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return d.apply(this,arguments)})},{key:"delete",value:(p=w(g().mark((function t(e){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.remove(e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"prune",value:(h=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error pruning database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return h.apply(this,arguments)})},{key:"clear",value:(f=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.clear(this.storeName);case 8:t.next=14;break;case 10:throw t.prev=10,t.t0=t.catch(0),this.logError("Error clear database:",t.t0),t.t0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return f.apply(this,arguments)})},{key:"keys",value:(l=w(g().mark((function t(){var e,r,n,o=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:"",t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:return r=t.sent,t.next=9,r.getAllKeys(this.storeName);case 9:return n=t.sent,t.abrupt("return",e?n.filter((function(t){return t.includes(e)})):n);case 13:return t.prev=13,t.t0=t.catch(1),this.logError("Error getting keys:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[1,13]])}))),function(){return l.apply(this,arguments)})},{key:"length",value:(u=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.count(this.storeName);case 8:return t.abrupt("return",t.sent);case 11:return t.prev=11,t.t0=t.catch(0),this.logError("Error getting length:",t.t0),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(){return u.apply(this,arguments)})},{key:"whereIn",value:(s=w(g().mark((function t(e){var r=this;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,Promise.all(e.map((function(t){return r.get(t)})));case 5:return t.abrupt("return",t.sent.filter(Boolean));case 8:return t.prev=8,t.t0=t.catch(0),this.logError("Error in whereIn:",t.t0),t.abrupt("return",[]);case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return s.apply(this,arguments)})},{key:"all",value:(c=w(g().mark((function t(){var e,r,n;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._ensureDbConnection();case 3:return t.next=5,this._db;case 5:return e=t.sent,t.next=8,e.getAll(this.storeName);case 8:return r=t.sent,n=Date.now(),t.abrupt("return",r.filter((function(t){return 0===t.expires||t.expires>n})).map((function(t){return t.data})));case 13:return t.prev=13,t.t0=t.catch(0),this.logError("Error getting all items:",t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return c.apply(this,arguments)})},{key:"batchSet",value:(i=w(g().mark((function t(e){var r,n,o,a,i,c,s,u,l,f,h=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=h.length>1&&void 0!==h[1]?h[1]:0,t.prev=1,t.next=4,this._ensureDbConnection();case 4:return t.next=6,this._db;case 6:n=t.sent,o=n.transaction(this.storeName,"readwrite"),a=o.objectStore(this.storeName),i=r?Date.now()+1e3*r:0,c=0,s=Object.entries(e);case 11:if(!(ca)){t.next=5;break}return t.abrupt("return",[e,r.data]);case 5:return t.abrupt("return",[e,null]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:return i=t.sent,t.next=14,n.done;case 14:return t.abrupt("return",Object.fromEntries(i));case 17:return t.prev=17,t.t0=t.catch(0),this.logError("Error in batch get operation:",t.t0),t.abrupt("return",{});case 21:case"end":return t.stop()}}),t,this,[[0,17]])}))),function(t){return a.apply(this,arguments)})},{key:"logError",value:function(){var t;this.options.logErrors&&(t=console).error.apply(t,arguments)}}],n=[{key:"create",value:(o=w(g().mark((function e(){var r,n=arguments;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new t(n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]?n[1]:{}),e.next=5,r.init();case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})}],r&&j(e.prototype,r),n&&j(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,o,a,i,c,s,u,l,f,h,p,d,v,b,k,L,O,S}();E(L,"stores",new Map),E(L,"DEFAULT_STORE_NAME","rabbitpair"),E(L,"DEFAULT_CLEANUP_INTERVAL",36e5);var O=new Map;function S(t){return A.apply(this,arguments)}function A(){return A=w(g().mark((function t(e){var r,n,o=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},O.has(e)){t.next=13;break}return t.prev=2,t.next=5,L.create(e,r);case 5:n=t.sent,O.set(e,n),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(2),t.t0;case 13:return t.abrupt("return",O.get(e));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),A.apply(this,arguments)}var _=r(39291);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function C(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return F(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:F(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function T(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function D(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){T(a,n,o,i,c,"next",t)}function c(t){T(a,n,o,i,c,"throw",t)}i(void 0)}))}}function G(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"session";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=null,this.stores=[],this.initStore(e)},e=[{key:"initStore",value:function(t){this.stores[t]?this.store=this.stores[t]:this.store=chrome.storage[t]}},{key:"set",value:(f=D(I().mark((function t(e,r){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.set((n={},a=r,(o=N(o=e))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}var n,o,a}),t,this)}))),function(t,e){return f.apply(this,arguments)})},{key:"get",value:(l=D(I().mark((function t(e){var r;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.get([e]);case 3:return r=t.sent,t.abrupt("return",(0,_.A)(r,e));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"getOrSet",value:(u=D(I().mark((function t(e,r){var n;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.get(e);case 3:if(!(n=t.sent)){t.next=6;break}return t.abrupt("return",n);case 6:return t.next=8,this.set(e,r);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})},{key:"remove",value:(s=D(I().mark((function t(e){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"delete",value:(c=D(I().mark((function t(e){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.remove(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"clear",value:(i=D(I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"prune",value:(a=D(I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),t.next=3,this.store.clear();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"keys",value:(o=D(I().mark((function t(){var e,r,n=arguments;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"",this.checkStore(),t.t0=Object,t.next=5,this.store.get();case 5:if(t.t1=t.sent,r=t.t0.keys.call(t.t0,t.t1),e){t.next=9;break}return t.abrupt("return",r);case 9:return t.abrupt("return",Array.from(r).filter((function(t){return t.indexOf(e)>-1})));case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"whereIn",value:(n=D(I().mark((function t(e){var r,n,o,a,i,c,s=this;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkStore(),r=[],t.prev=2,n=e.map((function(t){return s.get(t)})),t.next=6,Promise.all(n);case 6:o=t.sent,a=C(o);try{for(a.s();!(i=a.n()).done;)(c=i.value)&&r.push(c)}catch(t){a.e(t)}finally{a.f()}t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2);case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t){return n.apply(this,arguments)})},{key:"checkStore",value:function(){this.store||this.initStore()}}],e&&G(t.prototype,e),r&&G(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r,n,o,a,i,c,s,u,l,f}();function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function z(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */z=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==U(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function W(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function R(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){W(a,n,o,i,c,"next",t)}function c(t){W(a,n,o,i,c,"throw",t)}i(void 0)}))}}function Y(t){return q.apply(this,arguments)}function q(){return(q=R(z().mark((function t(e){var r,n,o,a;return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(new TextEncoder).encode(e),t.next=3,crypto.subtle.digest("SHA-256",r);case 3:return n=t.sent,o=Array.from(new Uint8Array(n)),a=o.map((function(t){return t.toString(16).padStart(2,"0")})).join(""),t.abrupt("return",a);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var H=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889499962,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269];var K={_store:{},set:function(t,e){this._store[t]=e},get:function(t){return this._store[t]},remove:function(t){delete this._store[t]},delete:function(t){delete this._store[t]},clear:function(){this._store={}},keys:function(){return Object.keys(this._store)}};function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function Q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==$(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function V(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function J(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){V(a,n,o,i,c,"next",t)}function c(t){V(a,n,o,i,c,"throw",t)}i(void 0)}))}}var X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"session";if(B.has(t))return B.get(t);var e=new M(t);return B.set(t,e),e}("local"),Z=function(){var t=J(Q().mark((function t(e){var r;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(e);case 2:return r=t.sent,t.abrupt("return",X.set("user-local-password",r));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),tt=function(){var t=J(Q().mark((function t(e,r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return K.set(e,r),t.abrupt("return",X.set(e,r));case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),et=function(){var t=J(Q().mark((function t(e){var r;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=K.get(e))){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,X.get(e);case 5:return(r=t.sent)&&K.set(e,r),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt=function(){var t=J(Q().mark((function t(){var e;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=K.get("rabbitpair_active_user_uuid"))){t.next=3;break}return t.abrupt("return",e);case 3:return t.next=5,X.get("rabbitpair_active_user_uuid");case 5:if(!(e=t.sent)){t.next=9;break}return K.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 9:return e=crypto.randomUUID(),t.next=12,X.set("rabbitpair_active_user_uuid",e);case 12:return K.set("rabbitpair_active_user_uuid",e),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),nt=function(){var t=J(Q().mark((function t(){var e,r,n,o,a=arguments;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="userPublicLocalStorage"+(e=a.length>0&&void 0!==a[0]?a[0]:"stored"),!(n=K.get(r))){t.next=5;break}return t.abrupt("return",n);case 5:return t.next=7,rt();case 7:return o=t.sent,n=S("users/"+o+"/public/"+e),K.set(r,n),t.abrupt("return",n);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ot=r(72832),at=r(42935),it={selectedLanguage:(navigator.language||navigator.userLanguage).replace("-","_"),theme:"light",rtl:["ar","fa","he","ur","ku"].includes(navigator.language||navigator.userLanguage),clickExtensionIconAction:"openSidePanel",searchBoxPosition:"top",showToolbar:!0,showTabNavs:!1,tabNavOptions:{delimiter:!1,navs:[{id:1,name:"OpenTabs",enable:!0,sort:1,showCount:!0,align:"center"},{id:2,name:"bookmarks",enable:!0,sort:2,showCount:!0,align:"center",permission:"bookmarks"},{id:3,name:"history",enable:!1,sort:3,showCount:!0,days:1,align:"center",permission:"history"},{id:4,name:"RecentlyTabs",enable:!1,sort:4,showCount:!0,days:1,align:"center"},{id:5,name:"quickAccess",enable:!1,sort:5,showCount:!0,align:"center"},{id:6,name:"readingList",enable:!1,sort:6,showCount:!0,align:"center",permission:"readingList"}]},showBottomNav:!0,bottomNavOptions:{showLabel:!1,delimiter:!1,navs:[{id:1,name:"settings",enable:!0,sort:1,showLabel:!0,align:"center"},{id:2,name:"version",enable:!0,sort:2,showLabel:!0,align:"center"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"center"},{id:4,name:"recentlyTabs",enable:!0,sort:4,showLabel:!0,align:"center"},{id:5,name:"bookmarks",enable:!0,sort:5,showLabel:!0,align:"center"},{id:6,name:"history",enable:!0,sort:6,showLabel:!0,align:"center"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"center"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"center"},{id:9,name:"createSnapshot",enable:!0,sort:9,showLabel:!0,align:"center"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"center"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"center"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"center"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"center"},{id:14,name:"more",enable:!0,sort:14,showLabel:!0,align:"center"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"center"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"center"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"center"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"center"}]},buttonPosition:"row",fullScreenHideSidePanel:!1,AlwaysShowCloseButton:!0,toolbar_hide_label:!0,toolbarOptions:{showLabel:!0,navs:[{id:1,name:"settings",enable:!1,sort:1,showLabel:!0,align:"flex-start"},{id:2,name:"version",enable:!1,sort:2,showLabel:!0,align:"flex-start"},{id:3,name:"newTab",enable:!1,sort:3,showLabel:!0,align:"flex-start"},{id:4,name:"recentlyTabs",enable:!1,sort:4,showLabel:!0,align:"flex-start"},{id:5,name:"bookmarks",enable:!1,sort:5,showLabel:!0,align:"flex-start"},{id:6,name:"history",enable:!1,sort:6,showLabel:!0,align:"flex-start"},{id:7,name:"quickAccess",enable:!1,sort:7,showLabel:!0,align:"flex-start"},{id:8,name:"search",enable:!1,sort:8,showLabel:!0,align:"flex-start"},{id:9,name:"createSnapshot",enable:!1,sort:9,showLabel:!0,align:"flex-start"},{id:10,name:"collapseAll",enable:!1,sort:10,showLabel:!0,align:"flex-start"},{id:11,name:"scrollToActiveTab",enable:!1,sort:11,showLabel:!0,align:"flex-start"},{id:12,name:"muteAllTabs",enable:!1,sort:12,showLabel:!0,align:"flex-start"},{id:13,name:"readingList",enable:!1,sort:13,showLabel:!0,align:"flex-start"},{id:14,name:"more",enable:!1,sort:14,showLabel:!0,align:"flex-start"},{id:15,name:"themeModes",enable:!1,sort:15,showLabel:!0,align:"flex-start"},{id:16,name:"viewModes",enable:!1,sort:16,showLabel:!0,align:"flex-start"},{id:17,name:"showBy",enable:!1,sort:17,showLabel:!0,align:"flex-start"},{id:18,name:"sortBy",enable:!1,sort:18,showLabel:!0,align:"flex-start"}]},toolbar_newtab:!0,toolbar_orderby:!0,toolbar_showby:!0,toolbar_view:!0,toolbar_colorMode:!0,toolbar_muteAllTabs:!0,toolbar_scrollToActiveTab:!0,groupExpanded:!1,sidebarEnabled:!0,sidebarPosition:"left",sidebarWidth:"300px"};chrome.runtime.getURL("images/bg.jpg");function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function st(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */st=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==ct(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function ut(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){ut(a,n,o,i,c,"next",t)}function c(t){ut(a,n,o,i,c,"throw",t)}i(void 0)}))}}function ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ht(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=e>=1.5?1.5:e<=.5?.5:e;return function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Pt(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function Ct(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Pt(a,n,o,i,c,"next",t)}function c(t){Pt(a,n,o,i,c,"throw",t)}i(void 0)}))}}var Ft=function(){var t=Ct(_t().mark((function t(){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",nt("sites"));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function It(t){var e=t.children,r=mt((function(t){return{initUserStore:t.initUserStore,userStoreInitialized:t.userStoreInitialized,theme:t.settings.theme,fontScale:t.settings.fontScale,fontFamily:t.settings.fontFamily,rtl:t.settings.rtl,disableAnimations:t.settings.disableAnimations}})),o=(r.initUserStore,r.userStoreInitialized),u=r.theme,l=r.fontScale,f=r.fontFamily,p=r.rtl,y=r.disableAnimations;(0,n.useEffect)((function(){}),[]);var d=(0,n.useRef)(document);(0,n.useEffect)((function(){d.current.documentElement.setAttribute("dir",p?"rtl":"ltr")}),[p]);var m=function(){switch(u){case"light":default:return(0,i.A)(xt("light",l,f,y));case"dark":return(0,i.A)(xt("dark",l,f,y))}}();return o?n.createElement(c.A,{theme:m},n.createElement(a.Ay,null),n.createElement(s.N9,null),e):n.createElement(h,null)}(0,ot.h)((0,jt.eh)((0,p.D)((function(t,e){return{sites:[],searchText:"",loadSiteConfigs:(a=Ct(_t().mark((function e(){var r,n;return _t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ft();case 2:return r=e.sent,e.next=5,r.all();case 5:n=e.sent,t({sites:n});case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),getSiteConfig:(o=Ct(_t().mark((function t(r){var n,o;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(e().sites.length){t.next=5;break}return t.next=5,e().loadSiteConfigs();case 5:if(!(n=e().sites.find((function(t){return t.hostname===r})))){t.next=10;break}return t.abrupt("return",n);case 10:return t.next=12,Ft();case 12:return o=t.sent,t.abrupt("return",o.get("site_config_".concat(r)));case 14:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)}),setSiteConfig:(n=Ct(_t().mark((function e(r,n){var o,a,i;return _t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=3;break}return e.abrupt("return");case 3:if(n){e.next=6;break}return e.abrupt("return");case 6:return o=St(St({},n),{},{hostname:r}),t((function(t){var e=t.sites.findIndex((function(t){return t.hostname===r}));if(-1!==e){var n=kt(t.sites);return n[e]=St(St({},n[e]),o),{sites:n}}return{sites:[].concat(kt(t.sites),[o])}})),e.next=10,Ft();case 10:return a=e.sent,e.next=13,a.get("site_config_".concat(r));case 13:return i=e.sent,e.next=16,a.set("site_config_".concat(r),St(St({},i),o));case 16:case"end":return e.stop()}}),e)}))),function(t,e){return n.apply(this,arguments)}),deleteSiteConfig:(r=Ct(_t().mark((function r(n){var o;return _t().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t({sites:e().sites.filter((function(t){return t.hostname!==n}))}),r.next=3,Ft();case 3:return o=r.sent,r.next=6,o.remove("site_config_".concat(n));case 6:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a}))),at.x).getState().loadSiteConfigs();r(88045);var Tt=r(84480),Dt=r(70804),Gt=r(33080);function Nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Bt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bt(t,e):void 0}}(t,e)||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 Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Ht(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ht(a,n,o,i,c,"next",t)}function c(t){Ht(a,n,o,i,c,"throw",t)}i(void 0)}))}}var $t=[/Could not establish connection. Receiving end does not exist/,/The message port closed before a response was received/,/A listener indicated an asynchronous response by returning true/],Qt=function(t){return $t.some((function(e){return"string"==typeof e?t.includes(e):e.test(t)}))},Vt=function(){var t=Kt(qt().mark((function t(e){var r,n,o,a,i=arguments;return qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=i.length>2?i[2]:void 0,o=i.length>3?i[3]:void 0,t.prev=3,t.next=6,chrome.runtime.sendMessage({action:e,data:r,from:n,target:o});case 6:return a=t.sent,t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(3),Qt(t.t0.message),t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),Jt=function(){var t=Kt(qt().mark((function t(e,r){var n,o,a=arguments;return qt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},t.prev=1,t.next=4,chrome.tabs.sendMessage(e,{action:r,data:n});case 4:return o=t.sent,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t.catch(1),Qt(t.t0.message),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r){return t.apply(this,arguments)}}();function Xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zt(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function ne(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}var oe=(0,n.createContext)(),ae=function(t){var e=t.children,r=t.defaultNS,o=void 0===r?"translation":r,a=(0,Tt.Bd)(o).t,i=vt((function(t){return{updateSetting:t.updateSetting,language:t.settings.selectedLanguage}})),c=i.updateSetting,s=i.language;(0,n.useEffect)((function(){Rt.changeLanguage(s)}),[s]);var u=function(){var t,e=(t=re().mark((function t(e){var r;return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Rt.changeLanguage(e);case 3:return t.next=5,c("selectedLanguage",e);case 5:return t.next=7,Vt("update_setting",{key:"selectedLanguage",value:e});case 7:return r=["ar","fa","he","ur","ku"].includes(e),t.next=10,c("rtl",r);case 10:return t.next=12,Vt("update_setting",{key:"rtl",value:r});case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){ne(a,n,o,i,c,"next",t)}function c(t){ne(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return e.apply(this,arguments)}}(),l={t:a,language:s,changeLanguage:u,defaultNS:o};return n.createElement(oe.Provider,{value:l},e)},ie=function(t,e){var r,o=(0,n.useContext)(oe);if(!o)throw new Error("useTranslationContext must be used within a TranslationProvider");return r=void 0===t?o.t:"object"===ee(t)?(0,Tt.Bd)(o.defaultNS,t).t:(0,Tt.Bd)(t,e).t,Zt(Zt({},o),{},{t:r})},ce=r(39718),se=r(64364),ue=r(95437),le=r(82794),fe=r(32894),he=r(58459),pe=r(32453),ye=r(51678),de=r(44731),me=r(47646);function ve(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ve=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==ge(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(t)}function be(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function we(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xe(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:1;t=t.replace("#","").trim();var r=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return"rgb(".concat(r,", ").concat(n,", ").concat(o,",").concat(e,")")}function Le(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,r=new URL(chrome.runtime.getURL("/_favicon/"));return r.searchParams.set("pageUrl",t),r.searchParams.set("size",e),r.toString()}function Oe(t){return Se.apply(this,arguments)}function Se(){var t;return t=ve().mark((function t(e){var r,n,o,a,i;return ve().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:if(n=t.sent,o=new DOMParser,a=o.parseFromString(n,"text/html"),!(i=a.querySelector("link[rel~='icon']"))){t.next=14;break}return t.abrupt("return",i.href);case 14:throw new Error("Icon not found");case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.abrupt("return","");case 21:case"end":return t.stop()}}),t,null,[[0,17]])})),Se=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){be(a,n,o,i,c,"next",t)}function c(t){be(a,n,o,i,c,"throw",t)}i(void 0)}))},Se.apply(this,arguments)}var Ae=function(){var t=document.querySelector(".tab-item.active");t&&t.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},_e=function(t){try{return decodeURIComponent(t)}catch(e){return t}},Pe={color:"grey",hex:"#C9C9C9",textColor:"black",tabGroupColor:"grey",complementary:"#C9C9C9",monochromatic:"#C9C9C9",analogous:["#C9C9C9","#C9C9C9"],triadic:["#C9C9C9","#C9C9C9"],tetradic:["#C9C9C9","#C9C9C9","#C9C9C9"]},Ce=[{color:"materialRed",hex:"#C62828",textColor:"white",tabGroupColor:"red",complementary:"#28C6C6",monochromatic:"#DA4747",analogous:["#C67728","#C62877"],triadic:["#28C628","#2828C6"],tetradic:["#77C628","#28C6C6","#7728C6"]},{color:"materialPink",hex:"#AD1457",textColor:"white",tabGroupColor:"pink",complementary:"#14AD6A",monochromatic:"#DB196E",analogous:["#AD1E14","#AD14A3"],triadic:["#57AD14","#1457AD"],tetradic:["#A3AD14","#14AD6A","#1E14AD"]},{color:"materialPurple",hex:"#6A1B9A",textColor:"white",tabGroupColor:"purple",complementary:"#4B9A1B",monochromatic:"#8823C5",analogous:["#9A1B8B","#2A1B9A"],triadic:["#9A6A1B","#1B9A6A"],tetradic:["#9A2A1B","#4B9A1B","#1B8B9A"]},{color:"materialDeepPurple",hex:"#4527A0",textColor:"white",tabGroupColor:"purple",complementary:"#82A027",monochromatic:"#5731C9",analogous:["#8127A0","#2746A0"],triadic:["#A04527","#27A045"],tetradic:["#A02746","#82A027","#27A081"]},{color:"materialIndigo",hex:"#283593",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialBlue",hex:"#1565C0",textColor:"white",tabGroupColor:"blue",complementary:"#C07015",monochromatic:"#217EE7",analogous:["#1B15C0","#15BAC0"],triadic:["#C01565","#65C015"],tetradic:["#C015BA","#C07015","#15C01B"]},{color:"materialCyan",hex:"#00838F",textColor:"white",tabGroupColor:"cyan",complementary:"#8F0C00",monochromatic:"#00B2C2",analogous:["#003B8F","#008F54"],triadic:["#8F0083","#838F00"],tetradic:["#53008F","#8F0C00","#3C8F00"]},{color:"materialTeal",hex:"#00695C",textColor:"white",tabGroupColor:"cyan",complementary:"#69000D",monochromatic:"#009C89",analogous:["#004269","#006927"],triadic:["#5C0069","#695C00"],tetradic:["#270069","#69000D","#426900"]},{color:"materialGreen",hex:"#2E7D32",textColor:"white",tabGroupColor:"green",complementary:"#7D2E79",monochromatic:"#3CA241",analogous:["#2E7D59","#527D2E"],triadic:["#322E7D","#7D322E"],tetradic:["#2E527D","#7D2E79","#7D592E"]},{color:"materialLightGreen",hex:"#558B2F",textColor:"white",tabGroupColor:"green",complementary:"#652F8B",monochromatic:"#6CB13C",analogous:["#2F8B37","#838B2F"],triadic:["#2F558B","#8B2F55"],tetradic:["#2F838B","#652F8B","#8B372F"]},{color:"materialLime",hex:"#9E9D24",textColor:"white",tabGroupColor:"yellow",complementary:"#24259E",monochromatic:"#C8C62D",analogous:["#629E24","#9E6024"],triadic:["#249E9D","#9D249E"],tetradic:["#249E60","#24259E","#9E2462"]},{color:"materialYellow",hex:"#F9A825",textColor:"white",tabGroupColor:"yellow",complementary:"#2576F9",monochromatic:"#E59006",analogous:["#E0F925","#F93E25"],triadic:["#25F9A8","#A825F9"],tetradic:["#25F93E","#2576F9","#F925E0"]},{color:"materialAmber",hex:"#FF8F00",textColor:"white",tabGroupColor:"yellow",complementary:"#0070FF",monochromatic:"#FFA533",analogous:["#F0FF00","#FF1000"],triadic:["#00FF8F","#8F00FF"],tetradic:["#00FF10","#0070FF","#FF00F0"]},{color:"materialOrange",hex:"#EF6C00",textColor:"white",tabGroupColor:"yellow",complementary:"#0083EF",monochromatic:"#FF8623",analogous:["#EFE300","#EF000C"],triadic:["#00EF6C","#6C00EF"],tetradic:["#0CEF00","#0083EF","#E300EF"]},{color:"materialBrown",hex:"#4E342E",textColor:"white",tabGroupColor:"grey",complementary:"#2E484E",monochromatic:"#6E4941",analogous:["#4E442E","#4E2E38"],triadic:["#2E4E34","#342E4E"],tetradic:["#384E2E","#2E484E","#442E4E"]},{color:"tailwindRose",hex:"#9f1239",textColor:"white",tabGroupColor:"red",complementary:"#129F78",monochromatic:"#CD1749",analogous:["#9F3212","#9F127F"],triadic:["#399F12","#12399F"],tetradic:["#7F9F12","#129F78","#31129F"]},{color:"tailwindPink",hex:"#9d174d",textColor:"white",tabGroupColor:"pink",complementary:"#179D67",monochromatic:"#C91E63",analogous:["#9D2417","#9D1790"],triadic:["#4D9D17","#174D9D"],tetradic:["#909D17","#179D67","#24179D"]},{color:"tailwindFuchsia",hex:"#86198f",textColor:"white",tabGroupColor:"purple",complementary:"#228F19",monochromatic:"#AF21BA",analogous:["#8F195D","#4B198F"],triadic:["#8F8619","#198F86"],tetradic:["#8F4B19","#228F19","#195D8F"]},{color:"tailwindPurple",hex:"#6b21a8",textColor:"white",tabGroupColor:"purple",complementary:"#5EA821",monochromatic:"#8629D3",analogous:["#A821A2","#2821A8"],triadic:["#A86B21","#21A86B"],tetradic:["#A82821","#5EA821","#21A1A8"]},{color:"tailwindViolet",hex:"#5b21b6",textColor:"white",tabGroupColor:"purple",complementary:"#7CB621",monochromatic:"#7230DA",analogous:["#A521B6","#2132B6"],triadic:["#B65B21","#21B65B"],tetradic:["#B62132","#7CB621","#21B6A5"]},{color:"tailwindIndigo",hex:"#3730a3",textColor:"white",tabGroupColor:"blue",complementary:"#9CA330",monochromatic:"#483FC7",analogous:["#7130A3","#3062A3"],triadic:["#A33730","#30A337"],tetradic:["#A33062","#9CA330","#30A371"]},{color:"tailwindSky",hex:"#075985",textColor:"white",tabGroupColor:"blue",complementary:"#853307",monochromatic:"#0A79B5",analogous:["#071A85","#078572"],triadic:["#850759","#598507"],tetradic:["#720785","#853307","#1A8507"]},{color:"tailwindCyan",hex:"#155e75",textColor:"white",tabGroupColor:"cyan",complementary:"#752C15",monochromatic:"#1D81A0",analogous:["#152E75","#15755C"],triadic:["#75155E","#5E7515"],tetradic:["#5C1575","#752C15","#2E7515"]},{color:"tailwindTeal",hex:"#115e59",textColor:"white",tabGroupColor:"cyan",complementary:"#5E1116",monochromatic:"#198982",analogous:["#113D5E","#115E32"],triadic:["#59115E","#5E5911"],tetradic:["#32115E","#5E1116","#3D5E11"]},{color:"tailwindEmerald",hex:"#065f46",textColor:"white",tabGroupColor:"cyan",complementary:"#5F061F",monochromatic:"#098F69",analogous:["#064C5F","#065F1A"],triadic:["#46065F","#5F4606"],tetradic:["#1A065F","#5F061F","#4C5F06"]},{color:"tailwindGreen",hex:"#166534",textColor:"white",tabGroupColor:"green",complementary:"#651647",monochromatic:"#1F8F4A",analogous:["#16655B","#206516"],triadic:["#341665","#653416"],tetradic:["#162065","#651647","#655B16"]},{color:"tailwindLime",hex:"#3f6212",textColor:"white",tabGroupColor:"green",complementary:"#351262",monochromatic:"#5B8D1A",analogous:["#176212","#625D12"],triadic:["#123F62","#62123F"],tetradic:["#12625D","#351262","#621217"]},{color:"tailwindYellow",hex:"#854d0e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E4685",monochromatic:"#B36813",analogous:["#82850E","#85120E"],triadic:["#0E854D","#4D0E85"],tetradic:["#0E8511","#0E4685","#850E82"]},{color:"tailwindAmber",hex:"#92400e",textColor:"white",tabGroupColor:"yellow",complementary:"#0E6092",monochromatic:"#C15412",analogous:["#92820E","#920E1E"],triadic:["#0E9240","#400E92"],tetradic:["#1E920E","#0E6092","#820E92"]},{color:"tailwindOrange",hex:"#9a3412",textColor:"white",tabGroupColor:"yellow",complementary:"#12789A",monochromatic:"#C84317",analogous:["#9A7812","#9A1234"],triadic:["#129A34","#34129A"],tetradic:["#349A12","#12789A","#78129A"]},{color:"tailwindRed",hex:"#991b1b",textColor:"white",tabGroupColor:"red",complementary:"#1B9999",monochromatic:"#C42323",analogous:["#995A1B","#991B5A"],triadic:["#1B991B","#1B1B99"],tetradic:["#5A991B","#1B9999","#5A1B99"]},{color:"tailwindSlate",hex:"#1e293b",textColor:"white",tabGroupColor:"grey",complementary:"#3B301E",monochromatic:"#2F405D",analogous:["#211E3B","#1E383B"],triadic:["#3B1E29","#293B1E"],tetradic:["#3B1E38","#3B301E","#1E3B21"]},{color:"grey",hex:"#5F6368",textColor:"white",tabGroupColor:"grey",complementary:"#68645F",monochromatic:"#777C83",analogous:["#605F68","#5F6868"],triadic:["#685F63","#63685F"],tetradic:["#685F68","#68645F","#5F6860"]},{color:"blue",hex:"#1A73E8",textColor:"white",tabGroupColor:"blue",complementary:"#E88F1A",monochromatic:"#135CBC",analogous:["#281AE8","#1ADAE8"],triadic:["#E81A73","#73E81A"],tetradic:["#E81ADA","#E88F1A","#1AE828"]},{color:"red",hex:"#D93025",textColor:"white",tabGroupColor:"red",complementary:"#25CED9",monochromatic:"#E15950",analogous:["#D98A25","#D92574"],triadic:["#25D930","#3025D9"],tetradic:["#74D925","#25CED9","#8A25D9"]},{color:"yellow",hex:"#F9AB00",textColor:"white",tabGroupColor:"yellow",complementary:"#004EF9",monochromatic:"#FFBD2D",analogous:["#CAF900","#F92F00"],triadic:["#00F9AB","#AB00F9"],tetradic:["#00F92F","#004EF9","#F900CB"]},{color:"green",hex:"#188038",textColor:"white",tabGroupColor:"green",complementary:"#801860",monochromatic:"#20AB4B",analogous:["#18806C","#2C8018"],triadic:["#381880","#803818"],tetradic:["#182C80","#801860","#806C18"]},{color:"pink",hex:"#D01884",textColor:"white",tabGroupColor:"pink",complementary:"#18D064",monochromatic:"#E8339D",analogous:["#D01828","#C018D0"],triadic:["#84D018","#1884D0"],tetradic:["#D0C018","#18D064","#1828D0"]},{color:"purple",hex:"#A142F4",textColor:"white",tabGroupColor:"purple",complementary:"#95F442",monochromatic:"#8912F1",analogous:["#F442EE","#4842F4"],triadic:["#F4A142","#42F4A1"],tetradic:["#F44842","#95F442","#42EEF4"]},{color:"cyan",hex:"#007B83",textColor:"white",tabGroupColor:"cyan",complementary:"#830800",monochromatic:"#00ABB6",analogous:["#003983","#00834A"],triadic:["#83007B","#7B8300"],tetradic:["#490083","#830800","#3A8300"]},{color:"orange",hex:"#FA903E",textColor:"white",tabGroupColor:"orange",complementary:"#3EA8FA",monochromatic:"#F9730C",analogous:["#FAEE3E","#FA3E4A"],triadic:["#3EFA90","#903EFA"],tetradic:["#4AFA3E","#3EA8FA","#EE3EFA"]}],Fe=function(t,e){var r,n,o,a,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u="transparent";switch(c=c||(r=new Date,n=r.getHours()%12,o=r.getMinutes(),a=30*(n+o/60),i=6*o,Math.abs(a-i)),e){case"single":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.hex,s/2),")\n ");break;case"none":u="\n linear-gradient(".concat(c,"deg,").concat(ke(Pe.hex,s),", ").concat(ke(Pe.hex,s/10),")\n ");break;case"simple":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.hex,s/10),")\n ");break;case"complementary":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.complementary,s),")\n ");break;case"analogous":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.analogous[0],s),", ").concat(ke(t.analogous[1],s),")");break;case"triadic":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.triadic[0],s),", ").concat(ke(t.triadic[1],s),")");break;case"tetradic":u="\n linear-gradient(".concat(c,"deg,").concat(ke(t.hex,s),", ").concat(ke(t.tetradic[0],s),",").concat(ke(t.tetradic[1],s),", ").concat(ke(t.tetradic[2],s),")")}return u},Ie=Ce.filter((function(t){return t.color!==t.tabGroupColor}));Ce.filter((function(t){return t.color===t.tabGroupColor}));function Te(t){return function(t){if(Array.isArray(t))return De(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return De(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?De(t,e):void 0}}(t)||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 De(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]&&arguments[1],r=vt.getState().settings,n=r.theme,o=r.colorfulBackground,a=r.listBottomBorder,i=r.listBackgroundAlpha,c=r.listBackgroundStyle,s=r.view,u=r.fontScale,l=r.fontColor,f=Math.floor(("visual"===s?6:4)*u),h=Ie[isNaN(t)?function(t){if(!t)return 0;for(var e=-1,r=0;r>>8^H[255&(e^t.charCodeAt(r))];return~e>>>0}(t)%Ie.length:t%Ie.length]||Pe,p=Te(c.split("|")),y=p[0],d=p[1],m=Fe(h,y,d,i);return{width:"100%",display:"flex",paddingTop:"".concat(f,"px"),paddingBottom:"".concat(f,"px"),flexDirection:"column",borderBottomStyle:a,borderBottomWidth:"1px",borderBottomColor:ke(h.hex,.5),background:m,mixBlendMode:"dark"===n?"difference":"normal",color:l||"text.primary",opacity:e?.6:1,"&:hover":{background:o?ke(h.hex,.25):"dark"===n?"#666":"#f5f5f5","& .close-button":{display:"flex"}},"&.Mui-selected":{background:o?ke(h.hex,"dark"===n?.3:.15):"dark"===n?"#4a4a4a":"#eee",zIndex:1,color:l||"text.primary"}}}var Ne=r(74199),Be=r(74644),Me=r(10858),Ue=(0,n.createContext)(),ze=function(t){var e=t.children,r=vt((function(t){return t.settings})),o=vt((function(t){return t.initUserStore}));return(0,n.useEffect)((function(){o()}),[o]),n.createElement(Ue.Provider,{value:r},e)},We=function(){var t=(0,n.useContext)(Ue);if(!t)throw new Error("useSettingsContext must be used within a SettingsProvider");return t},Re=function(t){var e=t.status,r=t.favIconUrl,o=t.url,a=(t.pinned,We()),i=(a.view,a.fontScale),c=(a.PinnedTabsAsIcons,Math.floor(20*i)),s="loading"===e,u=r||Le(o);return n.createElement(Be.A,{sx:{display:"flex",justifyContent:"center",minWidth:c}},n.createElement(Me.A,{variant:"square",slotProps:{img:{referrerPolicy:"no-referrer"}},sx:{background:"transparent",width:c,height:c,alignContent:"center"},"aria-label":"recipe",src:u},n.createElement(Ne.A,{sx:{fontSize:c},color:"primary"})),s&&n.createElement(l.A,{thickness:2.5,sx:{position:"absolute","&.MuiCircularProgress-colorPrimary":{color:"rgba(0,0,0,0.25)"}},size:c+1}))};const Ye=(0,n.memo)(Re);var qe=r(64858),He=r(97164),Ke=r.n(He);function $e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Qe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qe(t,e):void 0}}(t,e)||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 Qe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function fr(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}var hr=function(t){var e=t.tabId,r=t.muted,o=ie().t,a=function(){var t,n=(t=lr().mark((function t(n){return lr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),n.stopPropagation(),t.next=4,chrome.tabs.update(e,{muted:!r});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){fr(a,n,o,i,c,"next",t)}function c(t){fr(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return n.apply(this,arguments)}}();return n.createElement(or.A,{arrow:!0,placement:"top",title:n.createElement(qe.A,null,o(r?"tabMenu.UnmuteTab":"tabMenu.MuteTab"))},n.createElement(le.A,{sx:{padding:"4px",color:"inherit"},onClick:a},r?n.createElement(cr.A,{size:"small"}):n.createElement(sr.A,{size:"small"})))};const pr=(0,n.memo)(hr);var yr=r(87331);function dr(t){return dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dr(t)}function mr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */mr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==dr(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function vr(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}var gr=(0,n.memo)((function(t){var e=t.tabId,r=ie().t,o=function(){var t,r=(t=mr().mark((function t(r){return mr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),r.stopPropagation(),t.next=4,chrome.tabs.update(e,{pinned:!1});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){vr(a,n,o,i,c,"next",t)}function c(t){vr(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}();return n.createElement(or.A,{arrow:!0,placement:"top",title:n.createElement(qe.A,null,r("tabMenu.UnpinTab"))},n.createElement(le.A,{sx:{padding:"4px",color:"inherit"},onClick:o},n.createElement(yr.A,{size:"small"})))}));const br=gr;var wr=r(80801),xr=function(t){var e=t.label,r=void 0===e?"CurrentActiveTab":e,o=ie().t;return n.createElement(or.A,{arrow:!0,title:n.createElement(qe.A,null,o(r))},n.createElement(le.A,{onClick:function(){Ae()},sx:{padding:"4px",color:"inherit"}},n.createElement(wr.A,{size:"small"})))};const jr=(0,n.memo)(xr);var Er=r(39392),kr=r(61530),Lr=r(78698);function Or(t){return Or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Or(t)}function Sr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=_r(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function Ar(t){return function(t){if(Array.isArray(t))return Pr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_r(t)||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 _r(t,e){if(t){if("string"==typeof t)return Pr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pr(t,e):void 0}}function Pr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Dr(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function Gr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Dr(a,n,o,i,c,"next",t)}function c(t){Dr(a,n,o,i,c,"throw",t)}i(void 0)}))}}var Nr=function(){var t=Gr(Tr().mark((function t(){return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt("metadata");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Br=function(){var t=Gr(Tr().mark((function t(){return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt("quickAccess");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Mr=(0,ot.h)((0,jt.eh)((0,p.D)((function(t,e){return{currentWindow:{},tabs:[],groups:[],tabsScrollProgress:{},quickAccess:[],activeTabId:null,activeWindowId:null,isActiveTabIntersecting:!0,tabStoreInitialized:!1,groupExpanded:!0,keyItems:[],keyboardSelected:0,pressedKeys:{},initTabs:(u=Gr(Tr().mark((function t(){return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e().tabStoreInitialized||(Date.now(),e().loadTabs(),e().loadGroups(),Date.now());case 1:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)}),loadTabs:(s=Gr(Tr().mark((function r(){return Tr().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:Date.now(),chrome.windows.getAll({populate:!0,windowTypes:["normal"]},(function(r){Date.now(),chrome.windows.getCurrent((function(n){var o;Date.now();var a=r.flatMap((function(t){return t.tabs}));Date.now();var i=null===(o=n.tabs)||void 0===o||null===(o=o.find((function(t){return t.active})))||void 0===o?void 0:o.id,c=a.map((function(t){return Fr(Fr({},Qr(t)),{},{tabId:t.id})}));Date.now(),t({activeWindowId:n.id,currentWindow:n,activeTabId:i,tabs:c,tabStoreInitialized:!0}),Date.now(),e().loadTabsMetadata(c),Date.now()}))}));case 2:case"end":return r.stop()}}),r)}))),function(){return s.apply(this,arguments)}),loadTabsMetadata:(c=Gr(Tr().mark((function e(r){var n,o,a;return Tr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map((function(t){return Rr(t.tabId).then((function(e){return{tabId:t.tabId,metadata:e}}))})));case 2:n=e.sent,o=new Map(n.map((function(t){return[t.tabId,t.metadata]}))),a=r.map((function(t){var e=o.get(t.tabId);return e?Fr(Fr({},t),e):t})),t({tabs:a});case 6:case"end":return e.stop()}}),e)}))),function(t){return c.apply(this,arguments)}),sortByTabIds:function(e){t((function(t){return{tabs:e.map((function(e,r){var n=t.tabs.find((function(t){return t.id===e}));return n?Fr(Fr({},n),{},{index:r}):null})).filter(Boolean)}}))},getTabConfig:function(t){if(t)return e().tabs.find((function(e){return e&&e.id===t}))},setTabConfig:function(e,r){e&&r&&(r=Fr(Fr({},r),{},{tabId:e}),t((function(t){var n=t.tabs.findIndex((function(t){return t.id===e}));if(-1!==n){var o=Ar(t.tabs);return o[n]=Fr(Fr({},o[n]),r),{tabs:o}}return{tabs:[].concat(Ar(t.tabs),[r])}})))},activeTab:function(e){var r=Date.now();t((function(t){var n=t.tabs.find((function(t){return t.id===e}));return n?{tabs:t.tabs.map((function(t){if(t.windowId!==n.windowId)return t;var o=t.id===e;return Fr(Fr({},t),{},{active:o,selected:o,highlighted:o,lastAccessed:o?r:t.lastAccessed})})),activeTabId:e}:t})),zr(e,"lastAccessed",r)},setActiveWindowId:function(e){t({activeWindowId:e})},closeTab:(i=Gr(Tr().mark((function e(r){return Tr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((function(t){return{tabs:t.tabs.filter((function(t){return t.id!==r}))}})),e.next=3,Wr(r);case 3:case"end":return e.stop()}}),e)}))),function(t){return i.apply(this,arguments)}),resortTabs:(0,Er.A)(Gr(Tr().mark((function t(){var r,n,o,a;return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,chrome.tabs.query({windowType:"normal"});case 2:r=t.sent,n=Sr(r),t.prev=4,a=Tr().mark((function t(){var r,n;return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=o.value,(null==(n=e().tabs.find((function(t){return r.id===t.id})))?void 0:n.index)!==r.index&&e().setTabConfig(r.id,{index:r.index});case 3:case"end":return t.stop()}}),t)})),n.s();case 7:if((o=n.n()).done){t.next=11;break}return t.delegateYield(a(),"t0",9);case 9:t.next=7;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(4),n.e(t.t1);case 16:return t.prev=16,n.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,13,16,19]])}))),500),loadGroups:(a=Gr(Tr().mark((function e(){var r;return Tr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,chrome.tabGroups.query({});case 3:r=e.sent,t({groups:r}),Date.now();case 7:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),setGroup:function(e,r){if(e){var n=Fr(Fr({},r),{},{groupId:e});t((function(t){var r=t.groups.findIndex((function(t){return t.id===e}));if(-1!==r){var o=Ar(t.groups);return o[r]=Fr(Fr({},o[r]),n),{groups:o}}return{groups:[].concat(Ar(t.groups),[n])}}))}},initQuickAccess:(o=Gr(Tr().mark((function e(){var r,n,o;return Tr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Date.now(),e.next=3,Br();case 3:return r=e.sent,e.next=6,r.get("quickAccess");case 6:n=e.sent,o=(0,kr.A)(n,"sortIndex"),t({quickAccess:o}),Date.now();case 11:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),setQuickAccess:(n=Gr(Tr().mark((function r(n,o){var a,i,c,s,u,l,f;return Tr().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((o=Fr(Fr({},(0,Lr.A)(o,["title","favIconUrl","url","sortIndex"])),{},{uuid:n})).favIconUrl){r.next=16;break}if(!o.url.startsWith("http")){r.next=15;break}return r.prev=3,r.next=6,Oe(o.url);case 6:o.favIconUrl=r.sent,r.next=13;break;case 9:r.prev=9,r.t0=r.catch(3),o.favIconUrl=Le(o.url);case 13:r.next=16;break;case 15:o.favIconUrl=Le(o.url);case 16:return a=(0,kr.A)(e().quickAccess,"sortIndex"),i=a.findIndex((function(t){return t.uuid===n})),-1!==(c=a.findIndex((function(t){return t.title===o.title&&t.favIconUrl===o.favIconUrl&&t.url===o.url})))?((s=Ar(a))[c]=Fr(Fr({},s[c]),o),t({quickAccess:s})):-1!==i?((u=Ar(a))[i]=Fr(Fr({},u[i]),o),t({quickAccess:u})):(l=Math.max.apply(Math,Ar(a.map((function(t){return t.sortIndex}))).concat([0])),t({quickAccess:[].concat(Ar(a),[Fr(Fr({},o),{},{sortIndex:l+1})])})),r.next=22,Br();case 22:return f=r.sent,r.next=25,f.set("quickAccess",e().quickAccess);case 25:case"end":return r.stop()}}),r,null,[[3,9]])}))),function(t,e){return n.apply(this,arguments)}),removeQuickAccess:(r=Gr(Tr().mark((function r(n){var o,a,i;return Tr().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=e().quickAccess,a=o.filter((function(t){return t.uuid!==n})),t({quickAccess:a}),r.next=5,Br();case 5:return i=r.sent,r.next=8,i.set("quickAccess",a);case 8:case"end":return r.stop()}}),r)}))),function(t){return r.apply(this,arguments)})};var r,n,o,a,i,c,s,u}))),at.x),Ur=new Map,zr=function(){var t=Gr(Tr().mark((function t(e,r,n){var o,a,i;return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Nr();case 3:if(o=t.sent,t.t1=Ur.get("tabid_".concat(e)),t.t1){t.next=9;break}return t.next=8,o.get("tabid_".concat(e));case 8:t.t1=t.sent;case 9:if(t.t0=t.t1,t.t0){t.next=12;break}t.t0={};case 12:return a=t.t0,i=Fr(Fr({},a),{},Ir(Ir({},r,n),"tabId",e)),Ur.set("tabid_".concat(e),i),t.next=18,o.set("tabid_".concat(e),i);case 18:t.next=23;break;case 20:t.prev=20,t.t2=t.catch(0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(e,r,n){return t.apply(this,arguments)}}(),Wr=function(){var t=Gr(Tr().mark((function t(e){var r;return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ur.delete("tabid_".concat(e)),t.next=3,Nr();case 3:return r=t.sent,t.next=6,r.remove("tabid_".concat(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Rr=function(){var t=Gr(Tr().mark((function t(e){var r,n,o,a,i,c,s,u,l,f;return Tr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Nr();case 2:if(r=t.sent,t.t1=Ur.get("tabid_".concat(e)),t.t1){t.next=8;break}return t.next=7,r.get("tabid_".concat(e));case 7:t.t1=t.sent;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0={};case 11:return n=t.t0,o=n.lastAccessed,a=void 0===o?Date.now():o,i=n.created_time,c=void 0===i?Date.now():i,s=n.thumbnail,u=n.pipSupport,l=n.pipOn,f=n.pipMap,t.abrupt("return",{lastAccessed:a,created_time:c,thumbnail:s,pipSupport:u,pipOn:l,pipMap:f});case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();const Yr=Mr;function qr(t){return qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(t)}function Hr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kr(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function an(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}const cn=(0,n.memo)((function(t){var e=t.tabId,r=t.index,o=t.keyboardSelected,a=We(),i=a.view,c=a.AlwaysShowCloseButton,s=a.buttonPosition,l=(0,n.useRef)(null),f=Yr((function(t){var r,n=t.tabs.find((function(t){return t.id===e}))||{};return{isTabActive:null==n?void 0:n.active,tabWindowId:null==n?void 0:n.windowId,title:n.title,url:n.url,lastAccessed:n.lastAccessed,status:n.status,favIconUrl:n.favIconUrl,pinned:n.pinned,discarded:n.discarded,pipOn:n.pipOn,audible:n.audible,mutedInfo:n.mutedInfo,hostname:n.hostname,currentWindowId:null===(r=t.currentWindow)||void 0===r?void 0:r.id}})),h=f.isTabActive,p=f.tabWindowId,y=f.title,d=f.url,m=f.lastAccessed,v=f.status,g=f.favIconUrl,b=f.pinned,w=f.discarded,x=f.pipOn,j=f.audible,E=f.mutedInfo,k=f.hostname,L=f.currentWindowId,O=h&&L===p,S=function(){var t,r=(t=on().mark((function t(r){return on().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.stopPropagation(),Vt("highlight_tab",{tabId:e});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){an(a,n,o,i,c,"next",t)}function c(t){an(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}();return(0,n.useEffect)((function(){o&&l.current.focus()}),[o]),y?n.createElement(u.A,{"data-tab-index":r,className:(O?"tab-item active":"tab-item")+(o?" keyboard-selected":""),sx:{position:"relative"},onKeyDown:function(t){t.stopPropagation(),o&&"Enter"===t.key&&S(t)},tabIndex:0},n.createElement(pe.Ay,{ref:l,disablePadding:!0,onClick:S,onMouseDown:function(t){1===t.button&&Vt("bulk_close_tabs",{tabIds:[e]})}},n.createElement(ye.A,{title:y,component:"div",dense:"list"===i,disableGutters:!0,selected:O||o,sx:rn({},Ge(e,w))},n.createElement(ce.A,{useFlexGap:!0,sx:{width:"100%",paddingX:"10px"},direction:s,alignItems:"center",justifyContent:"space-between",spacing:.5},n.createElement(u.A,{sx:{padding:"row"===s?"0 5px 0 10px":"0 10px 0 5px"}},n.createElement(Ye,{status:v,favIconUrl:g,url:d,pinned:b})),n.createElement(rr,{title:y,url:d,hostname:k,lastAccessed:m}),x&&n.createElement(ir,{tabId:e}),j&&n.createElement(pr,{tabId:e,muted:E.muted}),b&&n.createElement(br,{tabId:e}),O&&n.createElement(jr,null),o?n.createElement(Zr,null):n.createElement(le.A,{className:"close-button",sx:{padding:"4px",color:"inherit",display:c?"flex":"none"},onClick:function(t){t.stopPropagation(),Vt("bulk_close_tabs",{tabIds:[e]})}},n.createElement(Vr.A,{size:"small"})))))):null}));var sn=r(92802),un=r(18613),ln=r(13387),fn=r(38521);const hn=(0,n.memo)((function(){var t=vt((function(t){return{theme:t.settings.theme,colorfulBackground:t.settings.colorfulBackground,background:t.settings.background,backgroundImageUrl:t.settings.backgroundImageUrl,backgroundImageFade:t.settings.backgroundImageFade,backgroundImageBlur:t.settings.backgroundImageBlur,backgroundImageBrightness:t.settings.backgroundImageBrightness}})),e=t.theme,r=t.colorfulBackground,o=t.background,a=t.backgroundImageUrl,i=t.backgroundImageFade,c=t.backgroundImageBlur,s=t.backgroundImageBrightness;return r?n.createElement(u.A,{sx:{position:"fixed",zIndex:-1,width:"100%",height:"100%",minHeight:"100vh",overflow:"hidden",transition:"transform .4s,opacity .4s",background:"light"!==e||a?"":o}},n.createElement(u.A,{sx:{transform:"scale(1.1)",position:"absolute",width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center center",transition:"opacity 1s cubic-bezier(.215,.61,.355,1)",zIndex:1,opacity:1,backgroundImage:"url(".concat(a,")"),filter:a?"blur(".concat(c,"px) brightness(").concat(s,") opacity(").concat("light"===e?i:.75*i,")"):"none"}})):null}));function pn(t){return pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pn(t)}function yn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dn(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=0){var t=document.querySelector('[data-tab-index="'.concat(e.selectedTabIndex,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})}}),[e.selectedTabIndex]),(0,n.useEffect)((function(){var t=function(t){"SIDEBAR_LOADED"===t.data.type&&i.current&&i.current.focus(),"SIDEBAR_SHOWN"===t.data.type&&i.current&&i.current.focus(),"SIDEBAR_HIDDEN"===t.data.type&&r({focused:!1,localSearchText:"",selectedTabIndex:-1})};return window.addEventListener("message",t),function(){return window.removeEventListener("message",t)}}),[]);var f=Yr((function(t){return t.tabs.filter((function(t){return t.windowId===s.id})).map((function(t){return{id:t.id,title:t.title,url:t.url,hostname:t.hostname,created_time:t.created_time,lastAccessed:t.lastAccessed,index:t.index,windowId:t.windowId,groupId:t.groupId,pinned:t.pinned}}))}))||[],h=function(t,e,r,n,o){if(o?(t=t.map((function(t){return xe(xe({},t),{},{inActiveWindow:t.windowId===o?1:0})})),t=(0,me.A)(t,["inActiveWindow",n],["desc",r])):r&&n&&(t=(0,me.A)(t,[n],[r])),e.trim().length>0){var a=e.trim().toLowerCase().split(" ").filter(Boolean);t=t.filter((function(t){return a.every((function(e){return t.url&&t.url.toLowerCase().includes(e)||t.title&&t.title.toLowerCase().includes(e)}))}))}return t}(f,e.localSearchText,"asc","index",s.id);return n.createElement(ce.A,{sx:{height:"100vh",backdropFilter:"blur(15px)"},onKeyDown:function(t){if(t.stopPropagation(),e.keyboardEnabled)if("ArrowDown"===t.key)r((function(t){return dn(dn({},t),{},{selectedTabIndex:(t.selectedTabIndex+1)%h.length})}));else if("ArrowUp"===t.key)r((function(t){return dn(dn({},t),{},{selectedTabIndex:(t.selectedTabIndex-1+h.length)%h.length})}));else if("Enter"===t.key&&e.selectedTabIndex>=0){var n=h[e.selectedTabIndex];Vt("highlight_tab",{tabId:n.id}),r((function(t){return dn(dn({},t),{},{selectedTabIndex:-1})}))}else"Escape"===t.key&&r((function(t){return dn(dn({},t),{},{selectedTabIndex:-1})}))},tabIndex:0,onMouseEnter:function(){r((function(t){return dn(dn({},t),{},{keyboardEnabled:!0})}))},onMouseLeave:function(){r((function(t){return dn(dn({},t),{},{keyboardEnabled:!1})}))}},n.createElement(hn,null),n.createElement(se.Ay,{container:!0,justifyContent:"center",alignItems:"center",p:1,sx:{position:"sticky",top:0,zIndex:1}},n.createElement(ue.A,{id:"search-text-input",size:"small",fullWidth:!0,placeholder:"Search",variant:"outlined",autoComplete:"off",focused:e.focused,value:e.localSearchText,inputRef:i,InputProps:{startAdornment:n.createElement(sn.A,{sx:{mr:1,fontSize:"1rem",color:a||"text.primary"}}),endAdornment:e.localSearchText.length>0&&n.createElement(n.Fragment,null,n.createElement(le.A,{onClick:function(){r({focused:!1,localSearchText:"",selectedTabIndex:-1})}},n.createElement(un.A,{size:"small",sx:{color:a||"text.primary"}}))),sx:{borderColor:a||"text.primary",color:a||"text.primary","&::placeholder":{color:a||"text.primary",opacity:1}}},onChange:function(t){var e=t.target.value;r((function(t){return dn(dn({},t),{},{localSearchText:e,selectedTabIndex:-1})}))},onFocus:function(){return r((function(t){return dn(dn({},t),{},{focused:!0})}))},onMouseEnter:function(){return r((function(t){return dn(dn({},t),{},{focused:!0})}))},onMouseLeave:function(){return r((function(t){return dn(dn({},t),{},{focused:!1})}))}})),n.createElement(fn.r,null,h.map((function(t,r){return n.createElement(cn,{key:"tab-".concat(t.id),index:r,tabId:t.id,keyboardSelected:r===e.selectedTabIndex})}))),n.createElement(fe.A,{sx:{my:1}}),n.createElement(he.A,{sx:{padding:"5px",position:"sticky",bottom:0,zIndex:1,color:a||"text.primary"},onClick:function(){Vt("add_new_tab")}},n.createElement(ln.A,null)))}function wn(t){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wn(t)}function xn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xn=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:O(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(C([])));j&&j!==r&&n.call(j,i)&&(w=j);var E=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==wn(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function O(e,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?d:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=d,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function jn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function En(t){for(var e=1;e{var n={"./af/error.json":95956,"./af/messages.json":78458,"./af/options.json":1564,"./af/translation.json":41537,"./am/error.json":31261,"./am/messages.json":29249,"./am/options.json":80009,"./am/translation.json":25340,"./an/error.json":47276,"./an/messages.json":89602,"./an/options.json":52132,"./an/translation.json":73593,"./ar/error.json":21432,"./ar/messages.json":65942,"./ar/options.json":69952,"./ar/translation.json":84901,"./be/error.json":7686,"./be/messages.json":36552,"./be/options.json":88654,"./be/translation.json":16999,"./bg/error.json":98476,"./bg/messages.json":94178,"./bg/options.json":37156,"./bg/translation.json":7513,"./bn/error.json":18539,"./bn/messages.json":92643,"./bn/options.json":64767,"./bn/translation.json":2134,"./bo/error.json":92500,"./bo/messages.json":81498,"./bo/options.json":66300,"./bo/translation.json":45921,"./ca/error.json":13831,"./ca/messages.json":66583,"./ca/options.json":68091,"./ca/translation.json":73570,"./cs/error.json":89057,"./cs/messages.json":25037,"./cs/options.json":56221,"./cs/translation.json":9216,"./cy/error.json":97599,"./cy/messages.json":73247,"./cy/options.json":40515,"./cy/translation.json":90522,"./da/error.json":54896,"./da/messages.json":99390,"./da/options.json":77e3,"./da/translation.json":59389,"./de/error.json":51420,"./de/messages.json":56690,"./de/options.json":67316,"./de/translation.json":31177,"./el/error.json":61202,"./el/messages.json":88684,"./el/options.json":20730,"./el/translation.json":9299,"./en US/error.json":40538,"./en US/messages.json":98532,"./en US/options.json":75858,"./en US/sentry.json":69255,"./en US/translation.json":8315,"./en/error.json":43784,"./en/messages.json":45094,"./en/options.json":50960,"./en/translation.json":82805,"./en_AU/error.json":80141,"./en_AU/messages.json":66833,"./en_AU/options.json":90521,"./en_AU/sentry.json":71462,"./en_AU/translation.json":52588,"./en_GB/error.json":98662,"./en_GB/messages.json":93736,"./en_GB/options.json":19214,"./en_GB/sentry.json":89763,"./en_GB/translation.json":98695,"./eo/error.json":81471,"./eo/messages.json":49279,"./eo/options.json":46595,"./eo/translation.json":51738,"./es/error.json":86547,"./es/messages.json":90587,"./es/options.json":2551,"./es/translation.json":93214,"./es_419/error.json":71642,"./es_419/messages.json":35972,"./es_419/options.json":17810,"./es_419/translation.json":24923,"./et/error.json":69274,"./et/messages.json":97252,"./et/options.json":46930,"./et/translation.json":94651,"./eu/error.json":39665,"./eu/messages.json":91805,"./eu/options.json":34285,"./eu/translation.json":54928,"./fa/error.json":13086,"./fa/messages.json":63504,"./fa/options.json":69142,"./fa/translation.json":78911,"./fi/error.json":72662,"./fi/messages.json":37944,"./fi/options.json":51742,"./fi/translation.json":54391,"./fil/error.json":8032,"./fil/messages.json":11854,"./fil/options.json":21688,"./fil/translation.json":68845,"./fr/error.json":14155,"./fr/messages.json":79779,"./fr/options.json":71391,"./fr/translation.json":62006,"./ga/error.json":8747,"./ga/messages.json":86819,"./ga/options.json":72447,"./ga/translation.json":10390,"./gd/error.json":4616,"./gd/messages.json":61190,"./gd/options.json":81936,"./gd/translation.json":76565,"./gl/error.json":5216,"./gl/messages.json":2574,"./gl/options.json":61912,"./gl/translation.json":39437,"./gu/error.json":63055,"./gu/messages.json":93103,"./gu/options.json":54675,"./gu/translation.json":9418,"./he/error.json":73432,"./he/messages.json":3510,"./he/options.json":17184,"./he/translation.json":33701,"./hi/error.json":69852,"./hi/messages.json":57554,"./hi/options.json":37012,"./hi/translation.json":67337,"./hr/error.json":79557,"./hr/messages.json":31545,"./hr/options.json":66081,"./hr/translation.json":26308,"./ht/error.json":63871,"./ht/messages.json":67359,"./ht/options.json":45379,"./ht/translation.json":84602,"./hu/error.json":42536,"./hu/messages.json":63174,"./hu/options.json":66096,"./hu/translation.json":32021,"./hy/error.json":30956,"./hy/messages.json":34498,"./hy/options.json":31076,"./hy/translation.json":62649,"./id/error.json":46278,"./id/messages.json":61768,"./id/options.json":52142,"./id/translation.json":50855,"./is/error.json":80647,"./is/messages.json":64279,"./is/options.json":48155,"./is/translation.json":33954,"./it/error.json":83126,"./it/messages.json":82392,"./it/options.json":44222,"./it/translation.json":8343,"./ja/error.json":61026,"./ja/messages.json":86556,"./ja/options.json":38730,"./ja/translation.json":65443,"./kn/error.json":57606,"./kn/messages.json":14312,"./kn/options.json":93518,"./kn/translation.json":11079,"./ko/error.json":6429,"./ko/messages.json":18785,"./ko/options.json":13641,"./ko/translation.json":39676,"./la/error.json":54536,"./la/messages.json":55302,"./la/options.json":3152,"./la/translation.json":70645,"./lt/error.json":20827,"./lt/messages.json":42099,"./lt/options.json":60047,"./lt/translation.json":43878,"./lv/error.json":96373,"./lv/messages.json":76681,"./lv/options.json":53265,"./lv/translation.json":10708,"./mk/error.json":86739,"./mk/messages.json":20507,"./mk/options.json":15767,"./mk/translation.json":66590,"./ml/error.json":30874,"./ml/messages.json":91652,"./ml/options.json":9810,"./ml/translation.json":42107,"./mn/error.json":21168,"./mn/messages.json":77150,"./mn/options.json":98216,"./mn/translation.json":53469,"./mr/error.json":51284,"./mr/messages.json":3514,"./mr/options.json":19740,"./mr/translation.json":4225,"./ms/error.json":41227,"./ms/messages.json":10787,"./ms/options.json":66367,"./ms/translation.json":49174,"./mt/error.json":34738,"./mt/messages.json":55852,"./mt/options.json":48186,"./mt/translation.json":92979,"./my/error.json":80221,"./my/messages.json":55297,"./my/options.json":5257,"./my/translation.json":93884,"./nl/error.json":50425,"./nl/messages.json":56565,"./nl/options.json":6917,"./nl/translation.json":34264,"./no/error.json":56728,"./no/messages.json":7062,"./no/options.json":83296,"./no/translation.json":31781,"./pl/error.json":77935,"./pl/messages.json":35151,"./pl/options.json":47379,"./pl/translation.json":97418,"./pt/error.json":50455,"./pt/messages.json":80167,"./pt/options.json":97259,"./pt/translation.json":11634,"./pt_BR/error.json":13858,"./pt_BR/messages.json":74428,"./pt_BR/options.json":58474,"./pt_BR/translation.json":4259,"./pt_PT/error.json":30694,"./pt_PT/messages.json":44488,"./pt_PT/options.json":4046,"./pt_PT/translation.json":46663,"./ro/error.json":98660,"./ro/messages.json":53962,"./ro/options.json":33356,"./ro/translation.json":94577,"./ru/error.json":2118,"./ru/messages.json":58920,"./ru/options.json":98734,"./ru/translation.json":91495,"./rw/error.json":62156,"./rw/messages.json":31650,"./rw/options.json":61188,"./rw/translation.json":45241,"./sk/error.json":11913,"./sk/messages.json":24677,"./sk/options.json":52597,"./sk/translation.json":71720,"./sl/error.json":51124,"./sl/messages.json":75386,"./sl/options.json":45820,"./sl/translation.json":92385,"./sq/error.json":38183,"./sq/messages.json":33015,"./sq/options.json":28667,"./sq/translation.json":12450,"./sr/error.json":30714,"./sr/messages.json":63524,"./sr/options.json":35890,"./sr/translation.json":30267,"./sv/error.json":88438,"./sv/messages.json":7416,"./sv/options.json":55294,"./sv/translation.json":42199,"./sw/error.json":91405,"./sw/messages.json":62385,"./sw/options.json":84601,"./sw/translation.json":22412,"./ta/error.json":40128,"./ta/messages.json":67982,"./ta/options.json":91736,"./ta/translation.json":50093,"./te/error.json":46028,"./te/messages.json":7682,"./te/options.json":67268,"./te/translation.json":6457,"./th/error.json":73567,"./th/messages.json":33407,"./th/options.json":58499,"./th/translation.json":6522,"./tl/error.json":30347,"./tl/messages.json":51651,"./tl/options.json":97471,"./tl/translation.json":66518,"./tr/error.json":74289,"./tr/messages.json":22813,"./tr/options.json":35149,"./tr/translation.json":56048,"./uk/error.json":35611,"./uk/messages.json":1747,"./uk/options.json":1647,"./uk/translation.json":95942,"./vi/error.json":96198,"./vi/messages.json":55880,"./vi/options.json":73358,"./vi/translation.json":44935,"./yi/error.json":22169,"./yi/messages.json":38901,"./yi/options.json":57541,"./yi/translation.json":1752,"./zh_CN/error.json":16685,"./zh_CN/messages.json":27281,"./zh_CN/options.json":80889,"./zh_CN/sentry.json":25094,"./zh_CN/translation.json":25068,"./zh_TW/error.json":58965,"./zh_TW/messages.json":16521,"./zh_TW/options.json":23505,"./zh_TW/translation.json":46164};function o(t){var e=a(t);return r(e)}function a(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=a,t.exports=o,o.id=15632}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}};return n[t].call(r.exports,r,r.exports,a),r.exports}a.m=n,t=[],a.O=(e,r,n,o)=>{if(!r){var i=1/0;for(l=0;l=o)&&Object.keys(a.O).every((t=>a.O[t](r[s])))?r.splice(s--,1):(c=!1,o0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[r,n,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var i={};e=e||[null,r({}),r([]),r(r)];for(var c=2&n&&t;"object"==typeof c&&!~e.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,a.d(o,i),o},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.j=61,(()=>{var t={61:0};a.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);if(s)var l=s(a)}for(e&&e(r);ua(35811)));i=a.O(i)})(); //# sourceMappingURL=sidebar.js.map \ No newline at end of file diff --git a/build/vendors.js b/build/vendors.js index 45d0eb6..129a618 100644 --- a/build/vendors.js +++ b/build/vendors.js @@ -1,4 +1,4 @@ -!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="63c2e87a-e89f-4027-b2fe-29102c24feda",e._sentryDebugIdIdentifier="sentry-dbid-63c2e87a-e89f-4027-b2fe-29102c24feda")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef699834c954eea79c1d8c88ef86e3e8edb639c"},(self.webpackChunkrabbitpair_extension=self.webpackChunkrabbitpair_extension||[]).push([[96],{78797:(e,a,i)=>{"use strict";i.d(a,{Mp:()=>Ke,Hd:()=>ua,vL:()=>X,cA:()=>pe,AN:()=>de,IG:()=>ge,fp:()=>A,Sj:()=>M,fF:()=>Qe,E5:()=>c,PM:()=>Je,zM:()=>Xe,MS:()=>h,FR:()=>k});var t=i(30758),n=i(8143),o=i(37893);const r={display:"none"};function s(e){let{id:a,value:i}=e;return t.createElement("div",{id:a,style:r},i)}function l(e){let{id:a,announcement:i,ariaLiveType:n="assertive"}=e;return t.createElement("div",{id:a,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":n,"aria-atomic":!0},i)}const d=(0,t.createContext)(null);function c(e){const a=(0,t.useContext)(d);(0,t.useEffect)((()=>{if(!a)throw new Error("useDndMonitor must be used within a children of ");return a(e)}),[e,a])}const u={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},p={onDragStart(e){let{active:a}=e;return"Picked up draggable item "+a.id+"."},onDragOver(e){let{active:a,over:i}=e;return i?"Draggable item "+a.id+" was moved over droppable area "+i.id+".":"Draggable item "+a.id+" is no longer over a droppable area."},onDragEnd(e){let{active:a,over:i}=e;return i?"Draggable item "+a.id+" was dropped over droppable area "+i.id:"Draggable item "+a.id+" was dropped."},onDragCancel(e){let{active:a}=e;return"Dragging was cancelled. Draggable item "+a.id+" was dropped."}};function b(e){let{announcements:a=p,container:i,hiddenTextDescribedById:r,screenReaderInstructions:d=u}=e;const{announce:b,announcement:g}=function(){const[e,a]=(0,t.useState)("");return{announce:(0,t.useCallback)((e=>{null!=e&&a(e)}),[]),announcement:e}}(),m=(0,o.YG)("DndLiveRegion"),[h,k]=(0,t.useState)(!1);if((0,t.useEffect)((()=>{k(!0)}),[]),c((0,t.useMemo)((()=>({onDragStart(e){let{active:i}=e;b(a.onDragStart({active:i}))},onDragMove(e){let{active:i,over:t}=e;a.onDragMove&&b(a.onDragMove({active:i,over:t}))},onDragOver(e){let{active:i,over:t}=e;b(a.onDragOver({active:i,over:t}))},onDragEnd(e){let{active:i,over:t}=e;b(a.onDragEnd({active:i,over:t}))},onDragCancel(e){let{active:i,over:t}=e;b(a.onDragCancel({active:i,over:t}))}})),[b,a])),!h)return null;const v=t.createElement(t.Fragment,null,t.createElement(s,{id:r,value:d.draggable}),t.createElement(l,{id:m,announcement:g}));return i?(0,n.createPortal)(v,i):v}var g;function m(){}function h(e,a){return(0,t.useMemo)((()=>({sensor:e,options:null!=a?a:{}})),[e,a])}function k(){for(var e=arguments.length,a=new Array(e),i=0;i[...a].filter((e=>null!=e))),[...a])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(g||(g={}));const v=Object.freeze({x:0,y:0});function f(e,a){return Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2))}function y(e,a){const i=(0,o.e_)(e);if(!i)return"0 0";return(i.x-a.left)/a.width*100+"% "+(i.y-a.top)/a.height*100+"%"}function S(e,a){let{data:{value:i}}=e,{data:{value:t}}=a;return i-t}function w(e,a){let{data:{value:i}}=e,{data:{value:t}}=a;return t-i}function T(e,a,i){return void 0===a&&(a=e.left),void 0===i&&(i=e.top),{x:a+.5*e.width,y:i+.5*e.height}}const A=e=>{let{collisionRect:a,droppableRects:i,droppableContainers:t}=e;const n=T(a,a.left,a.top),o=[];for(const e of t){const{id:a}=e,t=i.get(a);if(t){const i=f(T(t),n);o.push({id:a,data:{droppableContainer:e,value:i}})}}return o.sort(S)};function z(e,a){const i=Math.max(a.top,e.top),t=Math.max(a.left,e.left),n=Math.min(a.left+a.width,e.left+e.width),o=Math.min(a.top+a.height,e.top+e.height),r=n-t,s=o-i;if(t{let{collisionRect:a,droppableRects:i,droppableContainers:t}=e;const n=[];for(const e of t){const{id:t}=e,o=i.get(t);if(o){const i=z(o,a);i>0&&n.push({id:t,data:{droppableContainer:e,value:i}})}}return n.sort(w)};function C(e,a){return e&&a?{x:e.left-a.left,y:e.top-a.top}:v}function P(e){return function(a){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n({...a,top:a.top+e*i.y,bottom:a.bottom+e*i.y,left:a.left+e*i.x,right:a.right+e*i.x})),{...a})}}const x=P(1);function O(e){if(e.startsWith("matrix3d(")){const a=e.slice(9,-1).split(/, /);return{x:+a[12],y:+a[13],scaleX:+a[0],scaleY:+a[5]}}if(e.startsWith("matrix(")){const a=e.slice(7,-1).split(/, /);return{x:+a[4],y:+a[5],scaleX:+a[0],scaleY:+a[3]}}return null}const D={ignoreTransform:!1};function M(e,a){void 0===a&&(a=D);let i=e.getBoundingClientRect();if(a.ignoreTransform){const{transform:a,transformOrigin:t}=(0,o.zk)(e).getComputedStyle(e);a&&(i=function(e,a,i){const t=O(a);if(!t)return e;const{scaleX:n,scaleY:o,x:r,y:s}=t,l=e.left-r-(1-n)*parseFloat(i),d=e.top-s-(1-o)*parseFloat(i.slice(i.indexOf(" ")+1)),c=n?e.width/n:e.width,u=o?e.height/o:e.height;return{width:c,height:u,top:d,right:l+c,bottom:d+u,left:l}}(i,a,t))}const{top:t,left:n,width:r,height:s,bottom:l,right:d}=i;return{top:t,left:n,width:r,height:s,bottom:l,right:d}}function I(e){return M(e,{ignoreTransform:!0})}function B(e,a){const i=[];return e?function t(n){if(null!=a&&i.length>=a)return i;if(!n)return i;if((0,o.wz)(n)&&null!=n.scrollingElement&&!i.includes(n.scrollingElement))return i.push(n.scrollingElement),i;if(!(0,o.sb)(n)||(0,o.xZ)(n))return i;if(i.includes(n))return i;const r=(0,o.zk)(e).getComputedStyle(n);return n!==e&&function(e,a){void 0===a&&(a=(0,o.zk)(e).getComputedStyle(e));const i=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const t=a[e];return"string"==typeof t&&i.test(t)}))}(n,r)&&i.push(n),function(e,a){return void 0===a&&(a=(0,o.zk)(e).getComputedStyle(e)),"fixed"===a.position}(n,r)?i:t(n.parentNode)}(e):i}function R(e){const[a]=B(e,1);return null!=a?a:null}function L(e){return o.Sw&&e?(0,o.l6)(e)?e:(0,o.Ll)(e)?(0,o.wz)(e)||e===(0,o.TW)(e).scrollingElement?window:(0,o.sb)(e)?e:null:null:null}function N(e){return(0,o.l6)(e)?e.scrollX:e.scrollLeft}function E(e){return(0,o.l6)(e)?e.scrollY:e.scrollTop}function _(e){return{x:N(e),y:E(e)}}var F;function W(e){return!(!o.Sw||!e)&&e===document.scrollingElement}function G(e){const a={x:0,y:0},i=W(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},t={x:e.scrollWidth-i.width,y:e.scrollHeight-i.height};return{isTop:e.scrollTop<=a.y,isLeft:e.scrollLeft<=a.x,isBottom:e.scrollTop>=t.y,isRight:e.scrollLeft>=t.x,maxScroll:t,minScroll:a}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(F||(F={}));const U={x:.2,y:.2};function q(e,a,i,t,n){let{top:o,left:r,right:s,bottom:l}=i;void 0===t&&(t=10),void 0===n&&(n=U);const{isTop:d,isBottom:c,isLeft:u,isRight:p}=G(e),b={x:0,y:0},g={x:0,y:0},m=a.height*n.y,h=a.width*n.x;return!d&&o<=a.top+m?(b.y=F.Backward,g.y=t*Math.abs((a.top+m-o)/m)):!c&&l>=a.bottom-m&&(b.y=F.Forward,g.y=t*Math.abs((a.bottom-m-l)/m)),!p&&s>=a.right-h?(b.x=F.Forward,g.x=t*Math.abs((a.right-h-s)/h)):!u&&r<=a.left+h&&(b.x=F.Backward,g.x=t*Math.abs((a.left+h-r)/h)),{direction:b,speed:g}}function K(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:a}=window;return{top:0,left:0,right:e,bottom:a,width:e,height:a}}const{top:a,left:i,right:t,bottom:n}=e.getBoundingClientRect();return{top:a,left:i,right:t,bottom:n,width:e.clientWidth,height:e.clientHeight}}function V(e){return e.reduce(((e,a)=>(0,o.WQ)(e,_(a))),v)}function H(e,a){if(void 0===a&&(a=M),!e)return;const{top:i,left:t,bottom:n,right:o}=a(e);R(e)&&(n<=0||o<=0||i>=window.innerHeight||t>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const $=[["x",["left","right"],function(e){return e.reduce(((e,a)=>e+N(a)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,a)=>e+E(a)),0)}]];class J{constructor(e,a){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const i=B(a),t=V(i);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,a,n]of $)for(const o of a)Object.defineProperty(this,o,{get:()=>{const a=n(i),r=t[e]-a;return this.rect[o]+r},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Q{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var a;return null==(a=this.target)?void 0:a.removeEventListener(...e)}))},this.target=e}add(e,a,i){var t;null==(t=this.target)||t.addEventListener(e,a,i),this.listeners.push([e,a,i])}}function Z(e,a){const i=Math.abs(e.x),t=Math.abs(e.y);return"number"==typeof a?Math.sqrt(i**2+t**2)>a:"x"in a&&"y"in a?i>a.x&&t>a.y:"x"in a?i>a.x:"y"in a&&t>a.y}var Y,X;function ee(e){e.preventDefault()}function ae(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Y||(Y={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(X||(X={}));const ie={start:[X.Space,X.Enter],cancel:[X.Esc],end:[X.Space,X.Enter]},te=(e,a)=>{let{currentCoordinates:i}=a;switch(e.code){case X.Right:return{...i,x:i.x+25};case X.Left:return{...i,x:i.x-25};case X.Down:return{...i,y:i.y+25};case X.Up:return{...i,y:i.y-25}}};class ne{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:a}}=e;this.props=e,this.listeners=new Q((0,o.TW)(a)),this.windowListeners=new Q((0,o.zk)(a)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Y.Resize,this.handleCancel),this.windowListeners.add(Y.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Y.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:a}=this.props,i=e.node.current;i&&H(i),a(v)}handleKeyDown(e){if((0,o.kx)(e)){const{active:a,context:i,options:t}=this.props,{keyboardCodes:n=ie,coordinateGetter:r=te,scrollBehavior:s="smooth"}=t,{code:l}=e;if(n.end.includes(l))return void this.handleEnd(e);if(n.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:d}=i.current,c=d?{x:d.left,y:d.top}:v;this.referenceCoordinates||(this.referenceCoordinates=c);const u=r(e,{active:a,context:i.current,currentCoordinates:c});if(u){const a=(0,o.Re)(u,c),t={x:0,y:0},{scrollableAncestors:n}=i.current;for(const i of n){const n=e.code,{isTop:o,isRight:r,isLeft:l,isBottom:d,maxScroll:c,minScroll:p}=G(i),b=K(i),g={x:Math.min(n===X.Right?b.right-b.width/2:b.right,Math.max(n===X.Right?b.left:b.left+b.width/2,u.x)),y:Math.min(n===X.Down?b.bottom-b.height/2:b.bottom,Math.max(n===X.Down?b.top:b.top+b.height/2,u.y))},m=n===X.Right&&!r||n===X.Left&&!l,h=n===X.Down&&!d||n===X.Up&&!o;if(m&&g.x!==u.x){const e=i.scrollLeft+a.x,o=n===X.Right&&e<=c.x||n===X.Left&&e>=p.x;if(o&&!a.y)return void i.scrollTo({left:e,behavior:s});t.x=o?i.scrollLeft-e:n===X.Right?i.scrollLeft-c.x:i.scrollLeft-p.x,t.x&&i.scrollBy({left:-t.x,behavior:s});break}if(h&&g.y!==u.y){const e=i.scrollTop+a.y,o=n===X.Down&&e<=c.y||n===X.Up&&e>=p.y;if(o&&!a.x)return void i.scrollTo({top:e,behavior:s});t.y=o?i.scrollTop-e:n===X.Down?i.scrollTop-c.y:i.scrollTop-p.y,t.y&&i.scrollBy({top:-t.y,behavior:s});break}}this.handleMove(e,(0,o.WQ)((0,o.Re)(u,this.referenceCoordinates),t))}}}handleMove(e,a){const{onMove:i}=this.props;e.preventDefault(),i(a)}handleEnd(e){const{onEnd:a}=this.props;e.preventDefault(),this.detach(),a()}handleCancel(e){const{onCancel:a}=this.props;e.preventDefault(),this.detach(),a()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function oe(e){return Boolean(e&&"distance"in e)}function re(e){return Boolean(e&&"delay"in e)}ne.activators=[{eventName:"onKeyDown",handler:(e,a,i)=>{let{keyboardCodes:t=ie,onActivation:n}=a,{active:o}=i;const{code:r}=e.nativeEvent;if(t.start.includes(r)){const a=o.activatorNode.current;return(!a||e.target===a)&&(e.preventDefault(),null==n||n({event:e.nativeEvent}),!0)}return!1}}];class se{constructor(e,a,i){var t;void 0===i&&(i=function(e){const{EventTarget:a}=(0,o.zk)(e);return e instanceof a?e:(0,o.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=a;const{event:n}=e,{target:r}=n;this.props=e,this.events=a,this.document=(0,o.TW)(r),this.documentListeners=new Q(this.document),this.listeners=new Q(i),this.windowListeners=new Q((0,o.zk)(r)),this.initialCoordinates=null!=(t=(0,o.e_)(n))?t:v,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:a,bypassActivationConstraint:i}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Y.Resize,this.handleCancel),this.windowListeners.add(Y.DragStart,ee),this.windowListeners.add(Y.VisibilityChange,this.handleCancel),this.windowListeners.add(Y.ContextMenu,ee),this.documentListeners.add(Y.Keydown,this.handleKeydown),a){if(null!=i&&i({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(re(a))return void(this.timeoutId=setTimeout(this.handleStart,a.delay));if(oe(a))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:a}=this.props;e&&(this.activated=!0,this.documentListeners.add(Y.Click,ae,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Y.SelectionChange,this.removeTextSelection),a(e))}handleMove(e){var a;const{activated:i,initialCoordinates:t,props:n}=this,{onMove:r,options:{activationConstraint:s}}=n;if(!t)return;const l=null!=(a=(0,o.e_)(e))?a:v,d=(0,o.Re)(t,l);if(!i&&s){if(oe(s)){if(null!=s.tolerance&&Z(d,s.tolerance))return this.handleCancel();if(Z(d,s.distance))return this.handleStart()}return re(s)&&Z(d,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),r(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===X.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const le={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends se{constructor(e){const{event:a}=e,i=(0,o.TW)(a.target);super(e,le,i)}}de.activators=[{eventName:"onPointerDown",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;return!(!i.isPrimary||0!==i.button)&&(null==t||t({event:i}),!0)}}];const ce={move:{name:"mousemove"},end:{name:"mouseup"}};var ue;!function(e){e[e.RightClick=2]="RightClick"}(ue||(ue={}));class pe extends se{constructor(e){super(e,ce,(0,o.TW)(e.event.target))}}pe.activators=[{eventName:"onMouseDown",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;return i.button!==ue.RightClick&&(null==t||t({event:i}),!0)}}];const be={move:{name:"touchmove"},end:{name:"touchend"}};class ge extends se{constructor(e){super(e,be)}static setup(){return window.addEventListener(be.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(be.move.name,e)};function e(){}}}var me,he;function ke(e){let{acceleration:a,activator:i=me.Pointer,canScroll:n,draggingRect:r,enabled:s,interval:l=5,order:d=he.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:p,delta:b,threshold:g}=e;const m=function(e){let{delta:a,disabled:i}=e;const t=(0,o.ZC)(a);return(0,o.KG)((e=>{if(i||!t||!e)return ve;const n={x:Math.sign(a.x-t.x),y:Math.sign(a.y-t.y)};return{x:{[F.Backward]:e.x[F.Backward]||-1===n.x,[F.Forward]:e.x[F.Forward]||1===n.x},y:{[F.Backward]:e.y[F.Backward]||-1===n.y,[F.Forward]:e.y[F.Forward]||1===n.y}}}),[i,a,t])}({delta:b,disabled:!s}),[h,k]=(0,o.$$)(),v=(0,t.useRef)({x:0,y:0}),f=(0,t.useRef)({x:0,y:0}),y=(0,t.useMemo)((()=>{switch(i){case me.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case me.DraggableRect:return r}}),[i,r,c]),S=(0,t.useRef)(null),w=(0,t.useCallback)((()=>{const e=S.current;if(!e)return;const a=v.current.x*f.current.x,i=v.current.y*f.current.y;e.scrollBy(a,i)}),[]),T=(0,t.useMemo)((()=>d===he.TreeOrder?[...u].reverse():u),[d,u]);(0,t.useEffect)((()=>{if(s&&u.length&&y){for(const e of T){if(!1===(null==n?void 0:n(e)))continue;const i=u.indexOf(e),t=p[i];if(!t)continue;const{direction:o,speed:r}=q(e,t,y,a,g);for(const e of["x","y"])m[e][o[e]]||(r[e]=0,o[e]=0);if(r.x>0||r.y>0)return k(),S.current=e,h(w,l),v.current=r,void(f.current=o)}v.current={x:0,y:0},f.current={x:0,y:0},k()}else k()}),[a,w,n,k,s,l,JSON.stringify(y),JSON.stringify(m),h,u,T,p,JSON.stringify(g)])}ge.activators=[{eventName:"onTouchStart",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;const{touches:n}=i;return!(n.length>1)&&(null==t||t({event:i}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(me||(me={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(he||(he={}));const ve={x:{[F.Backward]:!1,[F.Forward]:!1},y:{[F.Backward]:!1,[F.Forward]:!1}};var fe,ye;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(fe||(fe={})),function(e){e.Optimized="optimized"}(ye||(ye={}));const Se=new Map;function we(e,a){return(0,o.KG)((i=>e?i||("function"==typeof a?a(e):e):null),[a,e])}function Te(e){let{callback:a,disabled:i}=e;const n=(0,o._q)(a),r=(0,t.useMemo)((()=>{if(i||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(n)}),[i]);return(0,t.useEffect)((()=>()=>null==r?void 0:r.disconnect()),[r]),r}function Ae(e){return new J(M(e),e)}function ze(e,a,i){void 0===a&&(a=Ae);const[n,r]=(0,t.useReducer)((function(t){if(!e)return null;var n;if(!1===e.isConnected)return null!=(n=null!=t?t:i)?n:null;const o=a(e);if(JSON.stringify(t)===JSON.stringify(o))return t;return o}),null),s=function(e){let{callback:a,disabled:i}=e;const n=(0,o._q)(a),r=(0,t.useMemo)((()=>{if(i||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(n)}),[n,i]);return(0,t.useEffect)((()=>()=>null==r?void 0:r.disconnect()),[r]),r}({callback(a){if(e)for(const i of a){const{type:a,target:t}=i;if("childList"===a&&t instanceof HTMLElement&&t.contains(e)){r();break}}}}),l=Te({callback:r});return(0,o.Es)((()=>{r(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),n}const je=[];function Ce(e,a){void 0===a&&(a=[]);const i=(0,t.useRef)(null);return(0,t.useEffect)((()=>{i.current=null}),a),(0,t.useEffect)((()=>{const a=e!==v;a&&!i.current&&(i.current=e),!a&&i.current&&(i.current=null)}),[e]),i.current?(0,o.Re)(e,i.current):v}function Pe(e){return(0,t.useMemo)((()=>e?function(e){const a=e.innerWidth,i=e.innerHeight;return{top:0,left:0,right:a,bottom:i,width:a,height:i}}(e):null),[e])}const xe=[];function Oe(e){if(!e)return null;if(e.children.length>1)return e;const a=e.children[0];return(0,o.sb)(a)?a:e}const De=[{sensor:de,options:{}},{sensor:ne,options:{}}],Me={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:fe.WhileDragging,frequency:ye.Optimized},dragOverlay:{measure:M}};class Be extends Map{get(e){var a;return null!=e&&null!=(a=super.get(e))?a:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:a}=e;return!a}))}getNodeFor(e){var a,i;return null!=(a=null==(i=this.get(e))?void 0:i.node.current)?a:void 0}}const Re={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Be,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:m},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:m,windowRect:null,measuringScheduled:!1},Le={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:m,draggableNodes:new Map,over:null,measureDroppableContainers:m},Ne=(0,t.createContext)(Le),Ee=(0,t.createContext)(Re);function _e(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Be}}}function Fe(e,a){switch(a.type){case g.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:a.initialCoordinates,active:a.active}};case g.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:a.coordinates.x-e.draggable.initialCoordinates.x,y:a.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case g.DragEnd:case g.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case g.RegisterDroppable:{const{element:i}=a,{id:t}=i,n=new Be(e.droppable.containers);return n.set(t,i),{...e,droppable:{...e.droppable,containers:n}}}case g.SetDroppableDisabled:{const{id:i,key:t,disabled:n}=a,o=e.droppable.containers.get(i);if(!o||t!==o.key)return e;const r=new Be(e.droppable.containers);return r.set(i,{...o,disabled:n}),{...e,droppable:{...e.droppable,containers:r}}}case g.UnregisterDroppable:{const{id:i,key:t}=a,n=e.droppable.containers.get(i);if(!n||t!==n.key)return e;const o=new Be(e.droppable.containers);return o.delete(i),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function We(e){let{disabled:a}=e;const{active:i,activatorEvent:n,draggableNodes:r}=(0,t.useContext)(Ne),s=(0,o.ZC)(n),l=(0,o.ZC)(null==i?void 0:i.id);return(0,t.useEffect)((()=>{if(!a&&!n&&s&&null!=l){if(!(0,o.kx)(s))return;if(document.activeElement===s.target)return;const e=r.get(l);if(!e)return;const{activatorNode:a,node:i}=e;if(!a.current&&!i.current)return;requestAnimationFrame((()=>{for(const e of[a.current,i.current]){if(!e)continue;const a=(0,o.ag)(e);if(a){a.focus();break}}}))}}),[n,a,r,l,s]),null}function Ge(e,a){let{transform:i,...t}=a;return null!=e&&e.length?e.reduce(((e,a)=>a({transform:e,...t})),i):i}const Ue=(0,t.createContext)({...v,scaleX:1,scaleY:1});var qe;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(qe||(qe={}));const Ke=(0,t.memo)((function(e){var a,i,r,s;let{id:l,accessibility:c,autoScroll:u=!0,children:p,sensors:m=De,collisionDetection:h=j,measuring:k,modifiers:f,...y}=e;const S=(0,t.useReducer)(Fe,void 0,_e),[w,T]=S,[A,z]=function(){const[e]=(0,t.useState)((()=>new Set)),a=(0,t.useCallback)((a=>(e.add(a),()=>e.delete(a))),[e]);return[(0,t.useCallback)((a=>{let{type:i,event:t}=a;e.forEach((e=>{var a;return null==(a=e[i])?void 0:a.call(e,t)}))}),[e]),a]}(),[P,O]=(0,t.useState)(qe.Uninitialized),D=P===qe.Initialized,{draggable:{active:I,nodes:N,translate:E},droppable:{containers:F}}=w,G=I?N.get(I):null,U=(0,t.useRef)({initial:null,translated:null}),q=(0,t.useMemo)((()=>{var e;return null!=I?{id:I,data:null!=(e=null==G?void 0:G.data)?e:Me,rect:U}:null}),[I,G]),K=(0,t.useRef)(null),[H,$]=(0,t.useState)(null),[Q,Z]=(0,t.useState)(null),Y=(0,o.YN)(y,Object.values(y)),X=(0,o.YG)("DndDescribedBy",l),ee=(0,t.useMemo)((()=>F.getEnabled()),[F]),ae=(ie=k,(0,t.useMemo)((()=>({draggable:{...Ie.draggable,...null==ie?void 0:ie.draggable},droppable:{...Ie.droppable,...null==ie?void 0:ie.droppable},dragOverlay:{...Ie.dragOverlay,...null==ie?void 0:ie.dragOverlay}})),[null==ie?void 0:ie.draggable,null==ie?void 0:ie.droppable,null==ie?void 0:ie.dragOverlay]));var ie;const{droppableRects:te,measureDroppableContainers:ne,measuringScheduled:oe}=function(e,a){let{dragging:i,dependencies:n,config:r}=a;const[s,l]=(0,t.useState)(null),{frequency:d,measure:c,strategy:u}=r,p=(0,t.useRef)(e),b=function(){switch(u){case fe.Always:return!1;case fe.BeforeDragging:return i;default:return!i}}(),g=(0,o.YN)(b),m=(0,t.useCallback)((function(e){void 0===e&&(e=[]),g.current||l((a=>null===a?e:a.concat(e.filter((e=>!a.includes(e))))))}),[g]),h=(0,t.useRef)(null),k=(0,o.KG)((a=>{if(b&&!i)return Se;if(!a||a===Se||p.current!==e||null!=s){const a=new Map;for(let i of e){if(!i)continue;if(s&&s.length>0&&!s.includes(i.id)&&i.rect.current){a.set(i.id,i.rect.current);continue}const e=i.node.current,t=e?new J(c(e),e):null;i.rect.current=t,t&&a.set(i.id,t)}return a}return a}),[e,s,i,b,c]);return(0,t.useEffect)((()=>{p.current=e}),[e]),(0,t.useEffect)((()=>{b||m()}),[i,b]),(0,t.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,t.useEffect)((()=>{b||"number"!=typeof d||null!==h.current||(h.current=setTimeout((()=>{m(),h.current=null}),d))}),[d,b,m,...n]),{droppableRects:k,measureDroppableContainers:m,measuringScheduled:null!=s}}(ee,{dragging:D,dependencies:[E.x,E.y],config:ae.droppable}),re=function(e,a){const i=null!==a?e.get(a):void 0,t=i?i.node.current:null;return(0,o.KG)((e=>{var i;return null===a?null:null!=(i=null!=t?t:e)?i:null}),[t,a])}(N,I),se=(0,t.useMemo)((()=>Q?(0,o.e_)(Q):null),[Q]),le=function(){const e=!1===(null==H?void 0:H.autoScrollEnabled),a="object"==typeof u?!1===u.enabled:!1===u,i=D&&!e&&!a;if("object"==typeof u)return{...u,enabled:i};return{enabled:i}}(),de=function(e,a){return we(e,a)}(re,ae.draggable.measure);!function(e){let{activeNode:a,measure:i,initialRect:n,config:r=!0}=e;const s=(0,t.useRef)(!1),{x:l,y:d}="boolean"==typeof r?{x:r,y:r}:r;(0,o.Es)((()=>{if(!l&&!d||!a)return void(s.current=!1);if(s.current||!n)return;const e=null==a?void 0:a.node.current;if(!e||!1===e.isConnected)return;const t=C(i(e),n);if(l||(t.x=0),d||(t.y=0),s.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){const a=R(e);a&&a.scrollBy({top:t.y,left:t.x})}}),[a,l,d,n,i])}({activeNode:I?N.get(I):null,config:le.layoutShiftCompensation,initialRect:de,measure:ae.draggable.measure});const ce=ze(re,ae.draggable.measure,de),ue=ze(re?re.parentElement:null),pe=(0,t.useRef)({activatorEvent:null,active:null,activeNode:re,collisionRect:null,collisions:null,droppableRects:te,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),be=F.getNodeFor(null==(a=pe.current.over)?void 0:a.id),ge=function(e){let{measure:a}=e;const[i,n]=(0,t.useState)(null),r=Te({callback:(0,t.useCallback)((e=>{for(const{target:i}of e)if((0,o.sb)(i)){n((e=>{const t=a(i);return e?{...e,width:t.width,height:t.height}:t}));break}}),[a])}),s=(0,t.useCallback)((e=>{const i=Oe(e);null==r||r.disconnect(),i&&(null==r||r.observe(i)),n(i?a(i):null)}),[a,r]),[l,d]=(0,o.lk)(s);return(0,t.useMemo)((()=>({nodeRef:l,rect:i,setRef:d})),[i,l,d])}({measure:ae.dragOverlay.measure}),me=null!=(i=ge.nodeRef.current)?i:re,he=D?null!=(r=ge.rect)?r:ce:null,ve=Boolean(ge.nodeRef.current&&ge.rect),ye=C(Ae=ve?null:ce,we(Ae));var Ae;const Be=Pe(me?(0,o.zk)(me):null),Re=function(e){const a=(0,t.useRef)(e),i=(0,o.KG)((i=>e?i&&i!==je&&e&&a.current&&e.parentNode===a.current.parentNode?i:B(e):je),[e]);return(0,t.useEffect)((()=>{a.current=e}),[e]),i}(D?null!=be?be:re:null),Le=function(e,a){void 0===a&&(a=M);const[i]=e,n=Pe(i?(0,o.zk)(i):null),[r,s]=(0,t.useReducer)((function(){return e.length?e.map((e=>W(e)?n:new J(a(e),e))):xe}),xe),l=Te({callback:s});return e.length>0&&r===xe&&s(),(0,o.Es)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),r}(Re),Ke=Ge(f,{transform:{x:E.x-ye.x,y:E.y-ye.y,scaleX:1,scaleY:1},activatorEvent:Q,active:q,activeNodeRect:ce,containerNodeRect:ue,draggingNodeRect:he,over:pe.current.over,overlayNodeRect:ge.rect,scrollableAncestors:Re,scrollableAncestorRects:Le,windowRect:Be}),Ve=se?(0,o.WQ)(se,E):null,He=function(e){const[a,i]=(0,t.useState)(null),n=(0,t.useRef)(e),r=(0,t.useCallback)((e=>{const a=L(e.target);a&&i((e=>e?(e.set(a,_(a)),new Map(e)):null))}),[]);return(0,t.useEffect)((()=>{const a=n.current;if(e!==a){t(a);const o=e.map((e=>{const a=L(e);return a?(a.addEventListener("scroll",r,{passive:!0}),[a,_(a)]):null})).filter((e=>null!=e));i(o.length?new Map(o):null),n.current=e}return()=>{t(e),t(a)};function t(e){e.forEach((e=>{const a=L(e);null==a||a.removeEventListener("scroll",r)}))}}),[r,e]),(0,t.useMemo)((()=>e.length?a?Array.from(a.values()).reduce(((e,a)=>(0,o.WQ)(e,a)),v):V(e):v),[e,a])}(Re),$e=Ce(He),Je=Ce(He,[ce]),Qe=(0,o.WQ)(Ke,$e),Ze=he?x(he,Ke):null,Ye=q&&Ze?h({active:q,collisionRect:Ze,droppableRects:te,droppableContainers:ee,pointerCoordinates:Ve}):null,Xe=function(e,a){if(!e||0===e.length)return null;const[i]=e;return a?i[a]:i}(Ye,"id"),[ea,aa]=(0,t.useState)(null),ia=function(e,a,i){return{...e,scaleX:a&&i?a.width/i.width:1,scaleY:a&&i?a.height/i.height:1}}(ve?Ke:(0,o.WQ)(Ke,Je),null!=(s=null==ea?void 0:ea.rect)?s:null,ce),ta=(0,t.useCallback)(((e,a)=>{let{sensor:i,options:t}=a;if(null==K.current)return;const o=N.get(K.current);if(!o)return;const r=e.nativeEvent,s=new i({active:K.current,activeNode:o,event:r,options:t,context:pe,onStart(e){const a=K.current;if(null==a)return;const i=N.get(a);if(!i)return;const{onDragStart:t}=Y.current,o={active:{id:a,data:i.data,rect:U}};(0,n.unstable_batchedUpdates)((()=>{null==t||t(o),O(qe.Initializing),T({type:g.DragStart,initialCoordinates:e,active:a}),A({type:"onDragStart",event:o})}))},onMove(e){T({type:g.DragMove,coordinates:e})},onEnd:l(g.DragEnd),onCancel:l(g.DragCancel)});function l(e){return async function(){const{active:a,collisions:i,over:t,scrollAdjustedTranslate:o}=pe.current;let s=null;if(a&&o){const{cancelDrop:n}=Y.current;if(s={activatorEvent:r,active:a,collisions:i,delta:o,over:t},e===g.DragEnd&&"function"==typeof n){await Promise.resolve(n(s))&&(e=g.DragCancel)}}K.current=null,(0,n.unstable_batchedUpdates)((()=>{T({type:e}),O(qe.Uninitialized),aa(null),$(null),Z(null);const a=e===g.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=Y.current[a];null==e||e(s),A({type:a,event:s})}}))}}(0,n.unstable_batchedUpdates)((()=>{$(s),Z(e.nativeEvent)}))}),[N]),na=(0,t.useCallback)(((e,a)=>(i,t)=>{const n=i.nativeEvent,o=N.get(t);if(null!==K.current||!o||n.dndKit||n.defaultPrevented)return;const r={active:o};!0===e(i,a.options,r)&&(n.dndKit={capturedBy:a.sensor},K.current=t,ta(i,a))}),[N,ta]),oa=function(e,a){return(0,t.useMemo)((()=>e.reduce(((e,i)=>{const{sensor:t}=i;return[...e,...t.activators.map((e=>({eventName:e.eventName,handler:a(e.handler,i)})))]}),[])),[e,a])}(m,na);!function(e){(0,t.useEffect)((()=>{if(!o.Sw)return;const a=e.map((e=>{let{sensor:a}=e;return null==a.setup?void 0:a.setup()}));return()=>{for(const e of a)null==e||e()}}),e.map((e=>{let{sensor:a}=e;return a})))}(m),(0,o.Es)((()=>{ce&&P===qe.Initializing&&O(qe.Initialized)}),[ce,P]),(0,t.useEffect)((()=>{const{onDragMove:e}=Y.current,{active:a,activatorEvent:i,collisions:t,over:o}=pe.current;if(!a||!i)return;const r={active:a,activatorEvent:i,collisions:t,delta:{x:Qe.x,y:Qe.y},over:o};(0,n.unstable_batchedUpdates)((()=>{null==e||e(r),A({type:"onDragMove",event:r})}))}),[Qe.x,Qe.y]),(0,t.useEffect)((()=>{const{active:e,activatorEvent:a,collisions:i,droppableContainers:t,scrollAdjustedTranslate:o}=pe.current;if(!e||null==K.current||!a||!o)return;const{onDragOver:r}=Y.current,s=t.get(Xe),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,d={active:e,activatorEvent:a,collisions:i,delta:{x:o.x,y:o.y},over:l};(0,n.unstable_batchedUpdates)((()=>{aa(l),null==r||r(d),A({type:"onDragOver",event:d})}))}),[Xe]),(0,o.Es)((()=>{pe.current={activatorEvent:Q,active:q,activeNode:re,collisionRect:Ze,collisions:Ye,droppableRects:te,draggableNodes:N,draggingNode:me,draggingNodeRect:he,droppableContainers:F,over:ea,scrollableAncestors:Re,scrollAdjustedTranslate:Qe},U.current={initial:he,translated:Ze}}),[q,re,Ye,Ze,N,me,he,te,F,ea,Re,Qe]),ke({...le,delta:E,draggingRect:Ze,pointerCoordinates:Ve,scrollableAncestors:Re,scrollableAncestorRects:Le});const ra=(0,t.useMemo)((()=>({active:q,activeNode:re,activeNodeRect:ce,activatorEvent:Q,collisions:Ye,containerNodeRect:ue,dragOverlay:ge,draggableNodes:N,droppableContainers:F,droppableRects:te,over:ea,measureDroppableContainers:ne,scrollableAncestors:Re,scrollableAncestorRects:Le,measuringConfiguration:ae,measuringScheduled:oe,windowRect:Be})),[q,re,ce,Q,Ye,ue,ge,N,F,te,ea,ne,Re,Le,ae,oe,Be]),sa=(0,t.useMemo)((()=>({activatorEvent:Q,activators:oa,active:q,activeNodeRect:ce,ariaDescribedById:{draggable:X},dispatch:T,draggableNodes:N,over:ea,measureDroppableContainers:ne})),[Q,oa,q,ce,T,X,N,ea,ne]);return t.createElement(d.Provider,{value:z},t.createElement(Ne.Provider,{value:sa},t.createElement(Ee.Provider,{value:ra},t.createElement(Ue.Provider,{value:ia},p)),t.createElement(We,{disabled:!1===(null==c?void 0:c.restoreFocus)})),t.createElement(b,{...c,hiddenTextDescribedById:X}))})),Ve=(0,t.createContext)(null),He="button",$e="Droppable";function Je(e){let{id:a,data:i,disabled:n=!1,attributes:r}=e;const s=(0,o.YG)($e),{activators:l,activatorEvent:d,active:c,activeNodeRect:u,ariaDescribedById:p,draggableNodes:b,over:g}=(0,t.useContext)(Ne),{role:m=He,roleDescription:h="draggable",tabIndex:k=0}=null!=r?r:{},v=(null==c?void 0:c.id)===a,f=(0,t.useContext)(v?Ue:Ve),[y,S]=(0,o.lk)(),[w,T]=(0,o.lk)(),A=function(e,a){return(0,t.useMemo)((()=>e.reduce(((e,i)=>{let{eventName:t,handler:n}=i;return e[t]=e=>{n(e,a)},e}),{})),[e,a])}(l,a),z=(0,o.YN)(i);(0,o.Es)((()=>(b.set(a,{id:a,key:s,node:y,activatorNode:w,data:z}),()=>{const e=b.get(a);e&&e.key===s&&b.delete(a)})),[b,a]);return{active:c,activatorEvent:d,activeNodeRect:u,attributes:(0,t.useMemo)((()=>({role:m,tabIndex:k,"aria-disabled":n,"aria-pressed":!(!v||m!==He)||void 0,"aria-roledescription":h,"aria-describedby":p.draggable})),[n,m,k,v,h,p.draggable]),isDragging:v,listeners:n?void 0:A,node:y,over:g,setNodeRef:S,setActivatorNodeRef:T,transform:f}}function Qe(){return(0,t.useContext)(Ee)}const Ze="Droppable",Ye={timeout:25};function Xe(e){let{data:a,disabled:i=!1,id:n,resizeObserverConfig:r}=e;const s=(0,o.YG)(Ze),{active:l,dispatch:d,over:c,measureDroppableContainers:u}=(0,t.useContext)(Ne),p=(0,t.useRef)({disabled:i}),b=(0,t.useRef)(!1),m=(0,t.useRef)(null),h=(0,t.useRef)(null),{disabled:k,updateMeasurementsFor:v,timeout:f}={...Ye,...r},y=(0,o.YN)(null!=v?v:n),S=Te({callback:(0,t.useCallback)((()=>{b.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{u(Array.isArray(y.current)?y.current:[y.current]),h.current=null}),f)):b.current=!0}),[f]),disabled:k||!l}),w=(0,t.useCallback)(((e,a)=>{S&&(a&&(S.unobserve(a),b.current=!1),e&&S.observe(e))}),[S]),[T,A]=(0,o.lk)(w),z=(0,o.YN)(a);return(0,t.useEffect)((()=>{S&&T.current&&(S.disconnect(),b.current=!1,S.observe(T.current))}),[T,S]),(0,o.Es)((()=>(d({type:g.RegisterDroppable,element:{id:n,key:s,disabled:i,node:T,rect:m,data:z}}),()=>d({type:g.UnregisterDroppable,key:s,id:n}))),[n]),(0,t.useEffect)((()=>{i!==p.current.disabled&&(d({type:g.SetDroppableDisabled,id:n,key:s,disabled:i}),p.current.disabled=i)}),[n,s,i,d]),{active:l,rect:m,isOver:(null==c?void 0:c.id)===n,node:T,over:c,setNodeRef:A}}function ea(e){let{animation:a,children:i}=e;const[n,r]=(0,t.useState)(null),[s,l]=(0,t.useState)(null),d=(0,o.ZC)(i);return i||n||!d||r(d),(0,o.Es)((()=>{if(!s)return;const e=null==n?void 0:n.key,i=null==n?void 0:n.props.id;null!=e&&null!=i?Promise.resolve(a(i,s)).then((()=>{r(null)})):r(null)}),[a,n,s]),t.createElement(t.Fragment,null,i,n?(0,t.cloneElement)(n,{ref:l}):null)}const aa={x:0,y:0,scaleX:1,scaleY:1};function ia(e){let{children:a}=e;return t.createElement(Ne.Provider,{value:Le},t.createElement(Ue.Provider,{value:aa},a))}const ta={position:"fixed",touchAction:"none"},na=e=>(0,o.kx)(e)?"transform 250ms ease":void 0,oa=575!=i.j?(0,t.forwardRef)(((e,a)=>{let{as:i,activatorEvent:n,adjustScale:r,children:s,className:l,rect:d,style:c,transform:u,transition:p=na}=e;if(!d)return null;const b=r?u:{...u,scaleX:1,scaleY:1},g={...ta,width:d.width,height:d.height,top:d.top,left:d.left,transform:o.Ks.Transform.toString(b),transformOrigin:r&&n?y(n,d):void 0,transition:"function"==typeof p?p(n):p,...c};return t.createElement(i,{className:l,style:g,ref:a},s)})):null,ra=e=>a=>{let{active:i,dragOverlay:t}=a;const n={},{styles:o,className:r}=e;if(null!=o&&o.active)for(const[e,a]of Object.entries(o.active))void 0!==a&&(n[e]=i.node.style.getPropertyValue(e),i.node.style.setProperty(e,a));if(null!=o&&o.dragOverlay)for(const[e,a]of Object.entries(o.dragOverlay))void 0!==a&&t.node.style.setProperty(e,a);return null!=r&&r.active&&i.node.classList.add(r.active),null!=r&&r.dragOverlay&&t.node.classList.add(r.dragOverlay),function(){for(const[e,a]of Object.entries(n))i.node.style.setProperty(e,a);null!=r&&r.active&&i.node.classList.remove(r.active)}},sa={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:a,final:i}}=e;return[{transform:o.Ks.Transform.toString(a)},{transform:o.Ks.Transform.toString(i)}]},sideEffects:ra({styles:{active:{opacity:"0"}}})};function la(e){let{config:a,draggableNodes:i,droppableContainers:t,measuringConfiguration:n}=e;return(0,o._q)(((e,r)=>{if(null===a)return;const s=i.get(e);if(!s)return;const l=s.node.current;if(!l)return;const d=Oe(r);if(!d)return;const{transform:c}=(0,o.zk)(r).getComputedStyle(r),u=O(c);if(!u)return;const p="function"==typeof a?a:function(e){const{duration:a,easing:i,sideEffects:t,keyframes:n}={...sa,...e};return e=>{let{active:o,dragOverlay:r,transform:s,...l}=e;if(!a)return;const d={x:r.rect.left-o.rect.left,y:r.rect.top-o.rect.top},c={scaleX:1!==s.scaleX?o.rect.width*s.scaleX/r.rect.width:1,scaleY:1!==s.scaleY?o.rect.height*s.scaleY/r.rect.height:1},u={x:s.x-d.x,y:s.y-d.y,...c},p=n({...l,active:o,dragOverlay:r,transform:{initial:s,final:u}}),[b]=p,g=p[p.length-1];if(JSON.stringify(b)===JSON.stringify(g))return;const m=null==t?void 0:t({active:o,dragOverlay:r,...l}),h=r.node.animate(p,{duration:a,easing:i,fill:"forwards"});return new Promise((e=>{h.onfinish=()=>{null==m||m(),e()}}))}}(a);return H(l,n.draggable.measure),p({active:{id:e,data:s.data,node:l,rect:n.draggable.measure(l)},draggableNodes:i,dragOverlay:{node:r,rect:n.dragOverlay.measure(d)},droppableContainers:t,measuringConfiguration:n,transform:u})}))}let da=0;function ca(e){return(0,t.useMemo)((()=>{if(null!=e)return da++,da}),[e])}const ua=575!=i.j?t.memo((e=>{let{adjustScale:a=!1,children:i,dropAnimation:n,style:o,transition:r,modifiers:s,wrapperElement:l="div",className:d,zIndex:c=999}=e;const{activatorEvent:u,active:p,activeNodeRect:b,containerNodeRect:g,draggableNodes:m,droppableContainers:h,dragOverlay:k,over:v,measuringConfiguration:f,scrollableAncestors:y,scrollableAncestorRects:S,windowRect:w}=Qe(),T=(0,t.useContext)(Ue),A=ca(null==p?void 0:p.id),z=Ge(s,{activatorEvent:u,active:p,activeNodeRect:b,containerNodeRect:g,draggingNodeRect:k.rect,over:v,overlayNodeRect:k.rect,scrollableAncestors:y,scrollableAncestorRects:S,transform:T,windowRect:w}),j=we(b),C=la({config:n,draggableNodes:m,droppableContainers:h,measuringConfiguration:f}),P=j?k.setRef:void 0;return t.createElement(ia,null,t.createElement(ea,{animation:C},p&&A?t.createElement(oa,{key:A,id:p.id,ref:P,as:l,activatorEvent:u,adjustScale:a,className:d,transition:r,rect:j,style:{zIndex:c,...o},transform:z},i):null))})):null},20395:(e,a,i)=>{"use strict";i.d(a,{_G:()=>b,be:()=>r,gB:()=>h,gl:()=>T,kL:()=>u,m$:()=>c});var t=i(30758),n=i(78797),o=i(37893);function r(e,a,i){const t=e.slice();return t.splice(i<0?t.length+i:i,0,t.splice(a,1)[0]),t}function s(e,a){return e.reduce(((e,i,t)=>{const n=a.get(i);return n&&(e[t]=n),e}),Array(e.length))}function l(e){return null!==e&&e>=0}const d={scaleX:1,scaleY:1},c=e=>{var a;let{rects:i,activeNodeRect:t,activeIndex:n,overIndex:o,index:r}=e;const s=null!=(a=i[n])?a:t;if(!s)return null;const l=function(e,a,i){const t=e[a],n=e[a-1],o=e[a+1];if(!t||!n&&!o)return 0;if(in&&r<=o?{x:-s.width-l,y:0,...d}:r=o?{x:s.width+l,y:0,...d}:{x:0,y:0,...d}};const u=e=>{let{rects:a,activeIndex:i,overIndex:t,index:n}=e;const o=r(a,t,i),s=a[n],l=o[n];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},p={scaleX:1,scaleY:1},b=e=>{var a;let{activeIndex:i,activeNodeRect:t,index:n,rects:o,overIndex:r}=e;const s=null!=(a=o[i])?a:t;if(!s)return null;if(n===i){const e=o[r];return e?{x:0,y:ii&&n<=r?{x:0,y:-s.height-l,...p}:n=r?{x:0,y:s.height+l,...p}:{x:0,y:0,...p}};const g="Sortable",m=t.createContext({activeIndex:-1,containerId:g,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:a,id:i,items:r,strategy:l=u,disabled:d=!1}=e;const{active:c,dragOverlay:p,droppableRects:b,over:h,measureDroppableContainers:k}=(0,n.fF)(),v=(0,o.YG)(g,i),f=Boolean(null!==p.rect),y=(0,t.useMemo)((()=>r.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[r]),S=null!=c,w=c?y.indexOf(c.id):-1,T=h?y.indexOf(h.id):-1,A=(0,t.useRef)(y),z=!function(e,a){if(e===a)return!0;if(e.length!==a.length)return!1;for(let i=0;i{z&&S&&k(y)}),[z,y,S,k]),(0,t.useEffect)((()=>{A.current=y}),[y]);const P=(0,t.useMemo)((()=>({activeIndex:w,containerId:v,disabled:C,disableTransforms:j,items:y,overIndex:T,useDragOverlay:f,sortedRects:s(y,b),strategy:l})),[w,v,C.draggable,C.droppable,j,y,T,b,f,l]);return t.createElement(m.Provider,{value:P},a)}const k=e=>{let{id:a,items:i,activeIndex:t,overIndex:n}=e;return r(i,t,n).indexOf(a)},v=e=>{let{containerId:a,isSorting:i,wasDragging:t,index:n,items:o,newIndex:r,previousItems:s,previousContainerId:l,transition:d}=e;return!(!d||!t)&&((s===o||n!==r)&&(!!i||r!==n&&a===l))},f={duration:200,easing:"ease"},y="transform",S=o.Ks.Transition.toString({property:y,duration:0,easing:"linear"}),w={roleDescription:"sortable"};function T(e){let{animateLayoutChanges:a=v,attributes:i,disabled:r,data:s,getNewIndex:d=k,id:c,strategy:u,resizeObserverConfig:p,transition:b=f}=e;const{items:g,containerId:h,activeIndex:T,disabled:A,disableTransforms:z,sortedRects:j,overIndex:C,useDragOverlay:P,strategy:x}=(0,t.useContext)(m),O=function(e,a){var i,t;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(i=null==e?void 0:e.draggable)?i:a.draggable,droppable:null!=(t=null==e?void 0:e.droppable)?t:a.droppable}}(r,A),D=g.indexOf(c),M=(0,t.useMemo)((()=>({sortable:{containerId:h,index:D,items:g},...s})),[h,s,D,g]),I=(0,t.useMemo)((()=>g.slice(g.indexOf(c))),[g,c]),{rect:B,node:R,isOver:L,setNodeRef:N}=(0,n.zM)({id:c,data:M,disabled:O.droppable,resizeObserverConfig:{updateMeasurementsFor:I,...p}}),{active:E,activatorEvent:_,activeNodeRect:F,attributes:W,setNodeRef:G,listeners:U,isDragging:q,over:K,setActivatorNodeRef:V,transform:H}=(0,n.PM)({id:c,data:M,attributes:{...w,...i},disabled:O.draggable}),$=(0,o.jn)(N,G),J=Boolean(E),Q=J&&!z&&l(T)&&l(C),Z=!P&&q,Y=Z&&Q?H:null,X=Q?null!=Y?Y:(null!=u?u:x)({rects:j,activeNodeRect:F,activeIndex:T,overIndex:C,index:D}):null,ee=l(T)&&l(C)?d({id:c,items:g,activeIndex:T,overIndex:C}):D,ae=null==E?void 0:E.id,ie=(0,t.useRef)({activeId:ae,items:g,newIndex:ee,containerId:h}),te=g!==ie.current.items,ne=a({active:E,containerId:h,isDragging:q,isSorting:J,id:c,index:D,items:g,newIndex:ie.current.newIndex,previousItems:ie.current.items,previousContainerId:ie.current.containerId,transition:b,wasDragging:null!=ie.current.activeId}),oe=function(e){let{disabled:a,index:i,node:r,rect:s}=e;const[l,d]=(0,t.useState)(null),c=(0,t.useRef)(i);return(0,o.Es)((()=>{if(!a&&i!==c.current&&r.current){const e=s.current;if(e){const a=(0,n.Sj)(r.current,{ignoreTransform:!0}),i={x:e.left-a.left,y:e.top-a.top,scaleX:e.width/a.width,scaleY:e.height/a.height};(i.x||i.y)&&d(i)}}i!==c.current&&(c.current=i)}),[a,i,r,s]),(0,t.useEffect)((()=>{l&&d(null)}),[l]),l}({disabled:!ne,index:D,node:R,rect:B});return(0,t.useEffect)((()=>{J&&ie.current.newIndex!==ee&&(ie.current.newIndex=ee),h!==ie.current.containerId&&(ie.current.containerId=h),g!==ie.current.items&&(ie.current.items=g)}),[J,ee,h,g]),(0,t.useEffect)((()=>{if(ae===ie.current.activeId)return;if(ae&&!ie.current.activeId)return void(ie.current.activeId=ae);const e=setTimeout((()=>{ie.current.activeId=ae}),50);return()=>clearTimeout(e)}),[ae]),{active:E,activeIndex:T,attributes:W,data:M,rect:B,index:D,newIndex:ee,items:g,isOver:L,isSorting:J,isDragging:q,listeners:U,node:R,overIndex:C,over:K,setNodeRef:$,setActivatorNodeRef:V,setDroppableNodeRef:N,setDraggableNodeRef:G,transform:null!=oe?oe:X,transition:function(){if(oe||te&&ie.current.newIndex===D)return S;if(Z&&!(0,o.kx)(_)||!b)return;if(J||ne)return o.Ks.Transition.toString({...b,property:y});return}()}}n.vL.Down,n.vL.Right,n.vL.Up,n.vL.Left},37893:(e,a,i)=>{"use strict";i.d(a,{$$:()=>m,Es:()=>b,KG:()=>k,Ks:()=>C,Ll:()=>s,Re:()=>A,Sw:()=>o,TW:()=>p,WQ:()=>T,YG:()=>S,YN:()=>h,ZC:()=>f,_q:()=>g,ag:()=>x,e_:()=>j,jn:()=>n,kx:()=>z,l6:()=>r,lk:()=>v,sb:()=>c,wz:()=>d,xZ:()=>u,zk:()=>l});var t=i(30758);function n(){for(var e=arguments.length,a=new Array(e),i=0;ie=>{a.forEach((a=>a(e)))}),a)}const o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function r(e){const a=Object.prototype.toString.call(e);return"[object Window]"===a||"[object global]"===a}function s(e){return"nodeType"in e}function l(e){var a,i;return e?r(e)?e:s(e)&&null!=(a=null==(i=e.ownerDocument)?void 0:i.defaultView)?a:window:window}function d(e){const{Document:a}=l(e);return e instanceof a}function c(e){return!r(e)&&e instanceof l(e).HTMLElement}function u(e){return e instanceof l(e).SVGElement}function p(e){return e?r(e)?e.document:s(e)?d(e)?e:c(e)||u(e)?e.ownerDocument:document:document:document}const b=61!=i.j?o?t.useLayoutEffect:t.useEffect:null;function g(e){const a=(0,t.useRef)(e);return b((()=>{a.current=e})),(0,t.useCallback)((function(){for(var e=arguments.length,i=new Array(e),t=0;t{e.current=setInterval(a,i)}),[]),(0,t.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function h(e,a){void 0===a&&(a=[e]);const i=(0,t.useRef)(e);return b((()=>{i.current!==e&&(i.current=e)}),a),i}function k(e,a){const i=(0,t.useRef)();return(0,t.useMemo)((()=>{const a=e(i.current);return i.current=a,a}),[...a])}function v(e){const a=g(e),i=(0,t.useRef)(null),n=(0,t.useCallback)((e=>{e!==i.current&&(null==a||a(e,i.current)),i.current=e}),[]);return[i,n]}function f(e){const a=(0,t.useRef)();return(0,t.useEffect)((()=>{a.current=e}),[e]),a.current}let y={};function S(e,a){return(0,t.useMemo)((()=>{if(a)return a;const i=null==y[e]?0:y[e]+1;return y[e]=i,e+"-"+i}),[e,a])}function w(e){return function(a){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n{const t=Object.entries(i);for(const[i,n]of t){const t=a[i];null!=t&&(a[i]=t+e*n)}return a}),{...a})}}const T=61!=i.j?w(1):null,A=61!=i.j?w(-1):null;function z(e){if(!e)return!1;const{KeyboardEvent:a}=l(e.target);return a&&e instanceof a}function j(e){if(function(e){if(!e)return!1;const{TouchEvent:a}=l(e.target);return a&&e instanceof a}(e)){if(e.touches&&e.touches.length){const{clientX:a,clientY:i}=e.touches[0];return{x:a,y:i}}if(e.changedTouches&&e.changedTouches.length){const{clientX:a,clientY:i}=e.changedTouches[0];return{x:a,y:i}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const C=Object.freeze({Translate:{toString(e){if(!e)return;const{x:a,y:i}=e;return"translate3d("+(a?Math.round(a):0)+"px, "+(i?Math.round(i):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:a,scaleY:i}=e;return"scaleX("+a+") scaleY("+i+")"}},Transform:{toString(e){if(e)return[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:a,duration:i,easing:t}=e;return a+" "+i+"ms "+t}}}),P="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function x(e){return e.matches(P)?e:e.querySelector(P)}},32294:(e,a,i)=>{"use strict";i.d(a,{A:()=>ne});var t=function(){function e(e){var a=this;this._insertTag=function(e){var i;i=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,i),a.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var a=0;a0?c(y,--v):0,h--,10===f&&(h=1,m--),f}function A(){return f=v2||P(f)>3?"":" "}function I(e,a){for(;--a&&A()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return C(e,j()+(a<6&&32==z()&&32==A()))}function B(e){for(;A();)switch(f){case e:return v;case 34:case 39:34!==e&&39!==e&&B(f);break;case 40:41===e&&B(e);break;case 92:A()}return v}function R(e,a){for(;A()&&e+f!==57&&(e+f!==84||47!==z()););return"/*"+C(a,v-1)+"*"+o(47===e?e:A())}function L(e){for(;!P(z());)A();return C(e,v)}var N="-ms-",E="-moz-",_="-webkit-",F="comm",W="rule",G="decl",U="@keyframes";function q(e,a){for(var i="",t=b(e),n=0;n0&&p(E)-k&&g(f>32?Q(E+";",t,i,k-1):Q(l(E," ","")+";",t,i,k-2),b);break;case 59:E+=";";default:if(g(N=$(E,a,i,m,h,n,u,x,O=[],B=[],k),r),123===P)if(0===h)H(E,a,N,N,O,r,k,u,B);else switch(99===v&&110===c(E,3)?100:v){case 100:case 108:case 109:case 115:H(e,N,N,t&&g($(e,N,N,0,0,n,u,x,n,O=[],k),B),n,B,k,u,t?O:B);break;default:H(E,N,N,N,[""],B,0,u,B)}}m=h=f=0,S=C=1,x=E="",k=s;break;case 58:k=1+p(E),f=y;default:if(S<1)if(123==P)--S;else if(125==P&&0==S++&&125==T())continue;switch(E+=o(P),P*S){case 38:C=h>0?1:(E+="\f",-1);break;case 44:u[m++]=(p(E)-1)*C,C=1;break;case 64:45===z()&&(E+=D(A())),v=z(),h=k=p(x=E+=L(j())),P++;break;case 45:45===y&&2==p(E)&&(S=0)}}return r}function $(e,a,i,t,o,r,d,c,p,g,m){for(var h=o-1,k=0===o?r:[""],v=b(k),f=0,y=0,w=0;f0?k[T]+" "+A:l(A,/&\f/g,k[T])))&&(p[w++]=z);return S(e,a,i,0===o?W:c,p,g,m)}function J(e,a,i){return S(e,a,i,F,o(f),u(e,2,-2),0)}function Q(e,a,i,t){return S(e,a,i,G,u(e,0,t),u(e,t+1,-1),t)}var Z=function(e,a,i){for(var t=0,n=0;t=n,n=z(),38===t&&12===n&&(a[i]=1),!P(n);)A();return C(e,v)},Y=function(e,a){return O(function(e,a){var i=-1,t=44;do{switch(P(t)){case 0:38===t&&12===z()&&(a[i]=1),e[i]+=Z(v-1,a,i);break;case 2:e[i]+=D(t);break;case 4:if(44===t){e[++i]=58===z()?"&\f":"",a[i]=e[i].length;break}default:e[i]+=o(t)}}while(t=A());return e}(x(e),a))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,i=e.parent,t=e.column===i.column&&e.line===i.line;"rule"!==i.type;)if(!(i=i.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||X.get(i))&&!t){X.set(e,!0);for(var n=[],o=Y(a,n),r=i.props,s=0,l=0;s6)switch(c(e,a+1)){case 109:if(45!==c(e,a+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+E+(108==c(e,a+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?ie(l(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(115!==c(e,a+1))break;case 6444:switch(c(e,p(e)-3-(~d(e,"!important")&&10))){case 107:return l(e,":",":"+_)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(45===c(e,14)?"inline-":"")+"box$3$1"+_+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(c(e,a+11)){case 114:return _+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _+e+N+e+e}return e}var te=[function(e,a,i,t){if(e.length>-1&&!e.return)switch(e.type){case G:e.return=ie(e.value,e.length);break;case U:return q([w(e,{value:l(e.value,"@","@"+_)})],t);case W:if(e.length)return function(e,a){return e.map(a).join("")}(e.props,(function(a){switch(function(e,a){return(e=a.exec(e))?e[0]:e}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([w(e,{props:[l(a,/:(read-\w+)/,":-moz-$1")]})],t);case"::placeholder":return q([w(e,{props:[l(a,/:(plac\w+)/,":"+_+"input-$1")]}),w(e,{props:[l(a,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[l(a,/:(plac\w+)/,N+"input-$1")]})],t)}return""}))}}],ne=function(e){var a=e.key;if("css"===a){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,r=e.stylisPlugins||te,s={},l=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),i=1;i{"use strict";function t(e){var a=Object.create(null);return function(i){return void 0===a[i]&&(a[i]=e(i)),a[i]}}i.d(a,{A:()=>t})},12285:(e,a,i)=>{"use strict";i.d(a,{C:()=>r,T:()=>l,u:()=>d,w:()=>s});var t=i(30758),n=i(32294),o=(i(59987),i(59410),t.createContext("undefined"!=typeof HTMLElement?(0,n.A)({key:"css"}):null)),r=o.Provider,s=function(e){return(0,t.forwardRef)((function(a,i){var n=(0,t.useContext)(o);return e(a,n,i)}))},l=t.createContext({}),d=function(){return t.useContext(l)}},20020:(e,a,i)=>{"use strict";i.d(a,{AH:()=>d,i7:()=>c,mL:()=>l});var t=i(12285),n=i(30758),o=i(9817),r=i(59410),s=i(59987),l=(i(32294),i(31035),(0,t.w)((function(e,a){var i=e.styles,l=(0,s.J)([i],void 0,n.useContext(t.T)),d=n.useRef();return(0,r.i)((function(){var e=a.key+"-global",i=new a.sheet.constructor({key:e,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),t=!1,n=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return a.sheet.tags.length&&(i.before=a.sheet.tags[0]),null!==n&&(t=!0,n.setAttribute("data-emotion",e),i.hydrate([n])),d.current=[i,t],function(){i.flush()}}),[a]),(0,r.i)((function(){var e=d.current,i=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,o.sk)(a,l.next,!0),i.tags.length){var t=i.tags[i.tags.length-1].nextElementSibling;i.before=t,i.flush()}a.insert("",l,i,!1)}}),[a,l.name]),null})));function d(){for(var e=arguments.length,a=new Array(e),i=0;i{"use strict";i.d(a,{J:()=>h});var t={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},n=i(96606),o=!1,r=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},c=(0,n.A)((function(e){return l(e)?e:e.replace(r,"-$&").toLowerCase()})),u=function(e,a){switch(e){case"animation":case"animationName":if("string"==typeof a)return a.replace(s,(function(e,a,i){return g={name:a,styles:i,next:g},a}))}return 1===t[e]||l(e)||"number"!=typeof a||0===a?a:a+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function b(e,a,i){if(null==i)return"";var t=i;if(void 0!==t.__emotion_styles)return t;switch(typeof i){case"boolean":return"";case"object":var n=i;if(1===n.anim)return g={name:n.name,styles:n.styles,next:g},n.name;var r=i;if(void 0!==r.styles){var s=r.next;if(void 0!==s)for(;void 0!==s;)g={name:s.name,styles:s.styles,next:g},s=s.next;return r.styles+";"}return function(e,a,i){var t="";if(Array.isArray(i))for(var n=0;n=4;++t,n-=4)a=1540483477*(65535&(a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24))+(59797*(a>>>16)<<16),i=1540483477*(65535&(a^=a>>>24))+(59797*(a>>>16)<<16)^1540483477*(65535&i)+(59797*(i>>>16)<<16);switch(n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(t)))+(59797*(i>>>16)<<16)}return(((i=1540483477*(65535&(i^=i>>>13))+(59797*(i>>>16)<<16))^i>>>15)>>>0).toString(36)}(n)+l;return{name:d,styles:n,next:g}}},59410:(e,a,i)=>{"use strict";var t;i.d(a,{i:()=>s,s:()=>r});var n=i(30758),o=!!(t||(t=i.t(n,2))).useInsertionEffect&&(t||(t=i.t(n,2))).useInsertionEffect,r=o||function(e){return e()},s=o||n.useLayoutEffect},9817:(e,a,i)=>{"use strict";i.d(a,{Rk:()=>t,SF:()=>n,sk:()=>o});function t(e,a,i){var t="";return i.split(" ").forEach((function(i){void 0!==e[i]?a.push(e[i]+";"):t+=i+" "})),t}var n=function(e,a,i){var t=e.key+"-"+a.name;!1===i&&void 0===e.registered[t]&&(e.registered[t]=a.styles)},o=function(e,a,i){n(e,a,i);var t=e.key+"-"+a.name;if(void 0===e.inserted[a.name]){var o=a;do{e.insert(a===o?"."+t:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},23650:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},3038:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"}),"Cached")},34882:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},52079:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},41326:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},84332:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},74641:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList")},86676:(e,a,i)=>{"use strict";var t=i(59173);a.A=void 0;var n=t(i(2227)),o=i(86070);a.A=(0,n.default)((0,o.jsx)("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"}),"ViewQuilt")},60777:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},61864:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"}),"AddAPhoto")},30272:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},11374:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},90630:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},8794:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"m14 7-5 5 5 5z"}),"ArrowLeft")},14397:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight")},4250:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt")},27979:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"Block")},85908:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2"}),"Bookmark")},2390:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},75458:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},25680:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"}),"Circle")},23563:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},70546:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},90619:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkMode")},90127:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},9100:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},37140:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},43617:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess")},41817:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},49502:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05"}),"FavoriteBorder")},28874:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"FileDownload")},27475:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload")},44235:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M5 15H3v4c0 1.1.9 2 2 2h4v-2H5zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2m0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2zM12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"FilterCenterFocus")},58283:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},11357:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},678:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History")},57385:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft")},58448:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},93431:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},89295:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9H9V9h10zm-4 4H9v-2h6zm4-8H9V5h10z"}),"LibraryBooks")},24717:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightMode")},11061:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 16h5v-2H3zm6.5 0h5v-2h-5zm6.5 0h5v-2h-5zM3 20h2v-2H3zm4 0h2v-2H7zm4 0h2v-2h-2zm4 0h2v-2h-2zm4 0h2v-2h-2zM3 12h8v-2H3zm10 0h8v-2h-8zM3 4v4h18V4z"}),"LineStyle")},82110:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Markunread")},69170:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)([(0,n.jsx)("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55"},"0"),(0,n.jsx)("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2"},"1")],"MonitorHeart")},64119:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},77020:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested")},90856:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},85666:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 11h-8v6h8zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2m-2 .02H3V4.97h18z"}),"PictureInPictureAlt")},57797:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},1251:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)([(0,n.jsx)("path",{d:"M17 19.22H5V7h7V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-7h-2z"},"0"),(0,n.jsx)("path",{d:"M19 2h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V7h3V5h-3zM7 9h8v2H7zm0 3v2h8v-2h-3zm0 3h8v2H7z"},"1")],"PostAdd")},62473:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public")},35841:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"}),"PushPin")},25060:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"RadioButtonChecked")},81633:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"RadioButtonUnchecked")},6852:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove")},90156:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11H7v-2h10z"}),"RemoveCircle")},34253:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m0 14H3V5h18zm-5-7v2H8v-2z"}),"RemoveFromQueue")},86168:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},85825:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},92896:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort")},84668:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M7.06 8.94 5 8l2.06-.94L8 5l.94 2.06L11 8l-2.06.94L8 11zM8 21l.94-2.06L11 18l-2.06-.94L8 15l-.94 2.06L5 18l2.06.94zm-3.63-8.63L3 13l1.37.63L5 15l.63-1.37L7 13l-1.37-.63L5 11zM12 12c0-2.73 1.08-5.27 2.75-7.25L12 2h7v7l-2.82-2.82C14.84 7.82 14 9.88 14 12c0 3.32 2.1 6.36 5 7.82V22c-4.09-1.59-7-5.65-7-10"}),"SwitchAccessShortcut")},44225:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z"}),"UnfoldLess")},80089:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"}),"UnfoldMore")},7166:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z"}),"VerticalAlignBottom")},22026:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M8 11h3v10h2V11h3l-4-4zM4 3v2h16V3z"}),"VerticalAlignTop")},86941:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList")},28864:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"}),"ViewQuilt")},31155:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},50549:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff")},41679:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp")},73800:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)([(0,n.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},"0"),(0,n.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn")},72232:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M9 9V3H7v2.59L3.91 2.5 2.5 3.91 5.59 7H3v2zm12 0V7h-2.59l3.09-3.09-1.41-1.41L17 5.59V3h-2v6zM3 15v2h2.59L2.5 20.09l1.41 1.41L7 18.41V21h2v-6zm12 0v6h2v-2.59l3.09 3.09 1.41-1.41L18.41 17H21v-2z"}),"ZoomInMap")},2227:(e,a,i)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=i(16108)},62030:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>r,QM:()=>s,eR:()=>l,vU:()=>d});var t=i(30758),n=i(86070);const o=/^(575|61)$/.test(i.j)?null:t.createContext(null);function r(e){const{children:a,value:i}=e,r=function(){const[e,a]=t.useState(null);return t.useEffect((()=>{a(`mui-p-${Math.round(1e5*Math.random())}`)}),[]),e}(),s=t.useMemo((()=>({idPrefix:r,value:i})),[r,i]);return(0,n.jsx)(o.Provider,{value:s,children:a})}function s(){return t.useContext(o)}function l(e,a){const{idPrefix:i}=e;return null===i?null:`${e.idPrefix}-P-${a}`}function d(e,a){const{idPrefix:i}=e;return null===i?null:`${e.idPrefix}-T-${a}`}},69116:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>u}),!/^(575|61)$/.test(i.j))var t=i(40991);if(!/^(575|61)$/.test(i.j))var n=i(23302);var o=i(30758);if(!/^(575|61)$/.test(i.j))var r=i(70682);if(!/^(575|61)$/.test(i.j))var s=i(62030);var l=i(86070);const d=/^(575|61)$/.test(i.j)?null:["children"],c=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const{children:i}=e,c=(0,n.A)(e,d),u=(0,s.QM)();if(null===u)throw new TypeError("No TabContext provided");const p=o.Children.map(i,(e=>o.isValidElement(e)?o.cloneElement(e,{"aria-controls":(0,s.eR)(u,e.props.value),id:(0,s.vU)(u,e.props.value)}):null));return(0,l.jsx)(r.A,(0,t.A)({},c,{ref:a,value:u.value,children:p}))})),u=/^(575|61)$/.test(i.j)?null:c},46215:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),575==i.j)var t=i(40991);if(575==i.j)var n=i(23302);var o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(3582);if(575==i.j)var d=i(67335);var c=i(67463);if(575==i.j)var u=i(71251);var p=i(86070);const b=575==i.j?["className"]:null,g=(0,l.Ay)(c.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),m=575==i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAlertTitle"}),{className:o}=i,l=(0,n.A)(i,b),c=i,m=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.x,a)})(c);return(0,p.jsx)(g,(0,t.A)({gutterBottom:!0,component:"div",ownerState:c,ref:a,className:(0,r.A)(m.root,o)},l))})):null,h=575==i.j?m:null},71251:(e,a,i)=>{"use strict";i.d(a,{x:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiAlertTitle",e)}(0,t.A)("MuiAlertTitle",["root"])},63294:(e,a,i)=>{"use strict";i.d(a,{A:()=>M});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582),c=i(67335),u=i(53731),p=i(40996),b=i(89928),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiAlert",e)}const k=(0,g.A)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=i(99967),f=i(96631),y=i(86070);const S=(0,f.A)((0,y.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),w=(0,f.A)((0,y.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),T=(0,f.A)((0,y.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),A=(0,f.A)((0,y.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined");var z=i(5652);const j=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],C=(0,d.Ay)(b.A,{name:"MuiAlert",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${(0,p.A)(i.color||i.severity)}`]]}})((({theme:e})=>{const a="light"===e.palette.mode?l.e$:l.a,i="light"===e.palette.mode?l.a:l.e$;return(0,n.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([t])=>({props:{colorSeverity:t,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${t}Color`]:a(e.palette[t].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${t}StandardBg`]:i(e.palette[t].light,.9),[`& .${k.icon}`]:e.vars?{color:e.vars.palette.Alert[`${t}IconColor`]}:{color:e.palette[t].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:a(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${k.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.dark)).map((([a])=>({props:{colorSeverity:a,variant:"filled"},style:(0,n.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${a}FilledColor`],backgroundColor:e.vars.palette.Alert[`${a}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[a].dark:e.palette[a].main,color:e.palette.getContrastText(e.palette[a].main)})})))]})})),P=(0,d.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,a)=>a.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),x=(0,d.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),O=(0,d.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),D={success:(0,y.jsx)(S,{fontSize:"inherit"}),warning:(0,y.jsx)(w,{fontSize:"inherit"}),error:(0,y.jsx)(T,{fontSize:"inherit"}),info:(0,y.jsx)(A,{fontSize:"inherit"})},M=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiAlert"}),{action:o,children:l,className:d,closeText:b="Close",color:g,components:m={},componentsProps:k={},icon:f,iconMapping:S=D,onClose:w,role:T="alert",severity:A="success",slotProps:M={},slots:I={},variant:B="standard"}=i,R=(0,t.A)(i,j),L=(0,n.A)({},i,{color:g,severity:A,variant:B,colorSeverity:g||A}),N=(e=>{const{variant:a,color:i,severity:t,classes:n}=e,o={root:["root",`color${(0,p.A)(i||t)}`,`${a}${(0,p.A)(i||t)}`,`${a}`],icon:["icon"],message:["message"],action:["action"]};return(0,s.A)(o,h,n)})(L),E={slots:(0,n.A)({closeButton:m.CloseButton,closeIcon:m.CloseIcon},I),slotProps:(0,n.A)({},k,M)},[_,F]=(0,u.A)("closeButton",{elementType:v.A,externalForwardedProps:E,ownerState:L}),[W,G]=(0,u.A)("closeIcon",{elementType:z.A,externalForwardedProps:E,ownerState:L});return(0,y.jsxs)(C,(0,n.A)({role:T,elevation:0,ownerState:L,className:(0,r.A)(N.root,d),ref:a},R,{children:[!1!==f?(0,y.jsx)(P,{ownerState:L,className:N.icon,children:f||S[A]||D[A]}):null,(0,y.jsx)(x,{ownerState:L,className:N.message,children:l}),null!=o?(0,y.jsx)(O,{ownerState:L,className:N.action,children:o}):null,null==o&&w?(0,y.jsx)(O,{ownerState:L,className:N.action,children:(0,y.jsx)(_,(0,n.A)({size:"small","aria-label":b,title:b,color:"inherit",onClick:w},F,{children:(0,y.jsx)(W,(0,n.A)({fontSize:"small"},G))}))}):null]}))}))},44155:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>v}),!/^(575|61)$/.test(i.j))var t=i(23302);var n=i(40991),o=i(30758);if(!/^(575|61)$/.test(i.j))var r=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(12060);var l=i(3582);if(!/^(575|61)$/.test(i.j))var d=i(67335);var c=i(40996),u=i(89928);if(!/^(575|61)$/.test(i.j))var p=i(37455);var b=i(86070);const g=/^(575|61)$/.test(i.j)?null:["className","color","enableColorOnDark","position"],m=(e,a)=>e?`${null==e?void 0:e.replace(")","")}, ${a})`:a,h=(0,l.Ay)(u.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`position${(0,c.A)(i.position)}`],a[`color${(0,c.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,n.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===a.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===a.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===a.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===a.position&&{position:"static"},"relative"===a.position&&{position:"relative"},!e.vars&&(0,n.A)({},"default"===a.color&&{backgroundColor:i,color:e.palette.getContrastText(i)},a.color&&"default"!==a.color&&"inherit"!==a.color&&"transparent"!==a.color&&{backgroundColor:e.palette[a.color].main,color:e.palette[a.color].contrastText},"inherit"===a.color&&{color:"inherit"},"dark"===e.palette.mode&&!a.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===a.color&&(0,n.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,n.A)({},"default"===a.color&&{"--AppBar-background":a.enableColorOnDark?e.vars.palette.AppBar.defaultBg:m(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":a.enableColorOnDark?e.vars.palette.text.primary:m(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},a.color&&!a.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":a.enableColorOnDark?e.vars.palette[a.color].main:m(e.vars.palette.AppBar.darkBg,e.vars.palette[a.color].main),"--AppBar-color":a.enableColorOnDark?e.vars.palette[a.color].contrastText:m(e.vars.palette.AppBar.darkColor,e.vars.palette[a.color].contrastText)},!["inherit","transparent"].includes(a.color)&&{backgroundColor:"var(--AppBar-background)"},{color:"inherit"===a.color?"inherit":"var(--AppBar-color)"},"transparent"===a.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),k=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAppBar"}),{className:o,color:l="primary",enableColorOnDark:u=!1,position:m="fixed"}=i,k=(0,t.A)(i,g),v=(0,n.A)({},i,{color:l,position:m,enableColorOnDark:u}),f=(e=>{const{color:a,position:i,classes:t}=e,n={root:["root",`color${(0,c.A)(a)}`,`position${(0,c.A)(i)}`]};return(0,s.A)(n,p.F,t)})(v);return(0,b.jsx)(h,(0,n.A)({square:!0,component:"header",ownerState:v,elevation:4,className:(0,r.A)(f.root,o,"fixed"===m&&"mui-fixed"),ref:a},k))})),v=/^(575|61)$/.test(i.j)?null:k},37455:(e,a,i)=>{"use strict";i.d(a,{F:()=>o});var t=i(82070);if(!/^(575|61)$/.test(i.j))var n=i(87310);function o(e){return(0,n.Ay)("MuiAppBar",e)}(0,t.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"])},59184:(e,a,i)=>{"use strict";i.d(a,{A:()=>Z});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(71537),c=i(25594),u=i(3582),p=i(67335),b=i(40996),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiListSubheader",e)}(0,g.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var k=i(86070);const v=["className","color","component","disableGutters","disableSticky","inset"],f=(0,u.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"default"!==i.color&&a[`color${(0,b.A)(i.color)}`],!i.disableGutters&&a.gutters,i.inset&&a.inset,!i.disableSticky&&a.sticky]}})((({theme:e,ownerState:a})=>(0,n.A)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===a.color&&{color:(e.vars||e).palette.primary.main},"inherit"===a.color&&{color:"inherit"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.inset&&{paddingLeft:72},!a.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),y=o.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiListSubheader"}),{className:o,color:l="default",component:d="li",disableGutters:c=!1,disableSticky:u=!1,inset:g=!1}=i,m=(0,t.A)(i,v),y=(0,n.A)({},i,{color:l,component:d,disableGutters:c,disableSticky:u,inset:g}),S=(e=>{const{classes:a,color:i,disableGutters:t,inset:n,disableSticky:o}=e,r={root:["root","default"!==i&&`color${(0,b.A)(i)}`,!t&&"gutters",n&&"inset",!o&&"sticky"]};return(0,s.A)(r,h,a)})(y);return(0,k.jsx)(f,(0,n.A)({as:d,className:(0,r.A)(S.root,o),ref:a,ownerState:y},m))}));y.muiSkipListHighlight=!0;const S=y;var w=i(89928),T=i(99967),A=i(31597),z=i(57065),j=i(44013),C=i(83909),P=i(10229),x=i(5652),O=i(82768);function D(e){return(0,m.Ay)("MuiAutocomplete",e)}const M=(0,g.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var I,B,R=i(47786);const L=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],N=["ref"],E=["key"],_=["key"],F=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{fullWidth:t,hasClearIcon:n,hasPopupIcon:o,inputFocused:r,size:s}=i;return[{[`& .${M.tag}`]:a.tag},{[`& .${M.tag}`]:a[`tagSize${(0,b.A)(s)}`]},{[`& .${M.inputRoot}`]:a.inputRoot},{[`& .${M.input}`]:a.input},{[`& .${M.input}`]:r&&a.inputFocused},a.root,t&&a.fullWidth,o&&a.hasPopupIcon,n&&a.hasClearIcon]}})({[`&.${M.focused} .${M.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${M.clearIndicator}`]:{visibility:"visible"}},[`& .${M.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${M.inputRoot}`]:{[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:30},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:56},[`& .${M.input}`]:{width:0,minWidth:30}},[`& .${z.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${z.A.root}.${j.A.sizeSmall}`]:{[`& .${z.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${C.A.root}`]:{padding:9,[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:39},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:65},[`& .${M.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${M.endAdornment}`]:{right:9}},[`& .${C.A.root}.${j.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${M.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${P.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:39},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:65},[`& .${P.A.input}`]:{padding:"7px 4px"},[`& .${M.endAdornment}`]:{right:9}},[`& .${P.A.root}.${j.A.sizeSmall}`]:{paddingBottom:1,[`& .${P.A.input}`]:{padding:"2.5px 4px"}},[`& .${j.A.hiddenLabel}`]:{paddingTop:8},[`& .${P.A.root}.${j.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${M.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${P.A.root}.${j.A.hiddenLabel}.${j.A.sizeSmall}`]:{[`& .${M.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${M.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${M.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${M.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${M.inputRoot}`]:{flexWrap:"wrap"}}}]}),W=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,a)=>a.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),G=(0,u.Ay)(T.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,a)=>a.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),U=(0,u.Ay)(T.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.popupIndicator,e.popupOpen&&a.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),q=(0,u.Ay)(c.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${M.option}`]:a.option},a.popper,i.disablePortal&&a.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),K=(0,u.Ay)(w.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,a)=>a.paper})((({theme:e})=>(0,n.A)({},e.typography.body1,{overflow:"auto"}))),V=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,a)=>a.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),H=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,a)=>a.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),$=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,a)=>a.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${M.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${M.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${M.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${M.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${M.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),J=(0,u.Ay)(S,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,a)=>a.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Q=(0,u.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,a)=>a.groupUl})({padding:0,[`& .${M.option}`]:{paddingLeft:24}}),Z=o.forwardRef((function(e,a){var i,l,u,g;const m=(0,p.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:h=!1,autoHighlight:v=!1,autoSelect:f=!1,blurOnSelect:y=!1,ChipProps:S,className:T,clearIcon:z=I||(I=(0,k.jsx)(x.A,{fontSize:"small"})),clearOnBlur:j=!m.freeSolo,clearOnEscape:C=!1,clearText:P="Clear",closeText:M="Close",componentsProps:Z={},defaultValue:Y=(m.multiple?[]:null),disableClearable:X=!1,disableCloseOnSelect:ee=!1,disabled:ae=!1,disabledItemsFocusable:ie=!1,disableListWrap:te=!1,disablePortal:ne=!1,filterSelectedOptions:oe=!1,forcePopupIcon:re="auto",freeSolo:se=!1,fullWidth:le=!1,getLimitTagsText:de=e=>`+${e}`,getOptionLabel:ce,groupBy:ue,handleHomeEndKeys:pe=!m.freeSolo,includeInputInList:be=!1,limitTags:ge=-1,ListboxComponent:me="ul",ListboxProps:he,loading:ke=!1,loadingText:ve="Loading…",multiple:fe=!1,noOptionsText:ye="No options",openOnFocus:Se=!1,openText:we="Open",PaperComponent:Te=w.A,PopperComponent:Ae=c.A,popupIcon:ze=B||(B=(0,k.jsx)(O.A,{})),readOnly:je=!1,renderGroup:Ce,renderInput:Pe,renderOption:xe,renderTags:Oe,selectOnFocus:De=!m.freeSolo,size:Me="medium",slotProps:Ie={}}=m,Be=(0,t.A)(m,L),{getRootProps:Re,getInputProps:Le,getInputLabelProps:Ne,getPopupIndicatorProps:Ee,getClearProps:_e,getTagProps:Fe,getListboxProps:We,getOptionProps:Ge,value:Ue,dirty:qe,expanded:Ke,id:Ve,popupOpen:He,focused:$e,focusedTag:Je,anchorEl:Qe,setAnchorEl:Ze,inputValue:Ye,groupedOptions:Xe}=(0,d.A)((0,n.A)({},m,{componentName:"Autocomplete"})),ea=!X&&!ae&&qe&&!je,aa=(!se||!0===re)&&!1!==re,{onMouseDown:ia}=Le(),{ref:ta}=null!=he?he:{},na=We(),{ref:oa}=na,ra=(0,t.A)(na,N),sa=(0,R.A)(oa,ta),la=ce||(e=>{var a;return null!=(a=e.label)?a:e}),da=(0,n.A)({},m,{disablePortal:ne,expanded:Ke,focused:$e,fullWidth:le,getOptionLabel:la,hasClearIcon:ea,hasPopupIcon:aa,inputFocused:-1===Je,popupOpen:He,size:Me}),ca=(e=>{const{classes:a,disablePortal:i,expanded:t,focused:n,fullWidth:o,hasClearIcon:r,hasPopupIcon:l,inputFocused:d,popupOpen:c,size:u}=e,p={root:["root",t&&"expanded",n&&"focused",o&&"fullWidth",r&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",d&&"inputFocused"],tag:["tag",`tagSize${(0,b.A)(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",i&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,s.A)(p,D,a)})(da);let ua;if(fe&&Ue.length>0){const e=e=>(0,n.A)({className:ca.tag,disabled:ae},Fe(e));ua=Oe?Oe(Ue,e,da):Ue.map(((a,i)=>{const o=e({index:i}),{key:r}=o,s=(0,t.A)(o,E);return(0,k.jsx)(A.A,(0,n.A)({label:la(a),size:Me},s,S),r)}))}if(ge>-1&&Array.isArray(ua)){const e=ua.length-ge;!$e&&e>0&&(ua=ua.splice(0,ge),ua.push((0,k.jsx)("span",{className:ca.tag,children:de(e)},ua.length)))}const pa=Ce||(e=>(0,k.jsxs)("li",{children:[(0,k.jsx)(J,{className:ca.groupLabel,ownerState:da,component:"div",children:e.group}),(0,k.jsx)(Q,{className:ca.groupUl,ownerState:da,children:e.children})]},e.key)),ba=xe||((e,a)=>{const{key:i}=e,o=(0,t.A)(e,_);return(0,k.jsx)("li",(0,n.A)({},o,{children:la(a)}),i)}),ga=(e,a)=>{const i=Ge({option:e,index:a});return ba((0,n.A)({},i,{className:ca.option}),e,{selected:i["aria-selected"],index:a,inputValue:Ye},da)},ma=null!=(i=Ie.clearIndicator)?i:Z.clearIndicator,ha=null!=(l=Ie.paper)?l:Z.paper,ka=null!=(u=Ie.popper)?u:Z.popper,va=null!=(g=Ie.popupIndicator)?g:Z.popupIndicator,fa=e=>(0,k.jsx)(q,(0,n.A)({as:Ae,disablePortal:ne,style:{width:Qe?Qe.clientWidth:null},ownerState:da,role:"presentation",anchorEl:Qe,open:He},ka,{className:(0,r.A)(ca.popper,null==ka?void 0:ka.className),children:(0,k.jsx)(K,(0,n.A)({ownerState:da,as:Te},ha,{className:(0,r.A)(ca.paper,null==ha?void 0:ha.className),children:e}))}));let ya=null;return Xe.length>0?ya=fa((0,k.jsx)($,(0,n.A)({as:me,className:ca.listbox,ownerState:da},ra,he,{ref:sa,children:Xe.map(((e,a)=>ue?pa({key:e.key,group:e.group,children:e.options.map(((a,i)=>ga(a,e.index+i)))}):ga(e,a)))}))):ke&&0===Xe.length?ya=fa((0,k.jsx)(V,{className:ca.loading,ownerState:da,children:ve})):0!==Xe.length||se||ke||(ya=fa((0,k.jsx)(H,{className:ca.noOptions,ownerState:da,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ye}))),(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(F,(0,n.A)({ref:a,className:(0,r.A)(ca.root,T),ownerState:da},Re(Be),{children:Pe({id:Ve,disabled:ae,fullWidth:!0,size:"small"===Me?"small":void 0,InputLabelProps:Ne(),InputProps:(0,n.A)({ref:Ze,className:ca.inputRoot,startAdornment:ua,onClick:e=>{e.target===e.currentTarget&&ia(e)}},(ea||aa)&&{endAdornment:(0,k.jsxs)(W,{className:ca.endAdornment,ownerState:da,children:[ea?(0,k.jsx)(G,(0,n.A)({},_e(),{"aria-label":P,title:P,ownerState:da},ma,{className:(0,r.A)(ca.clearIndicator,null==ma?void 0:ma.className),children:z})):null,aa?(0,k.jsx)(U,(0,n.A)({},Ee(),{disabled:ae,"aria-label":He?M:we,title:He?M:we,ownerState:da},va,{className:(0,r.A)(ca.popupIndicator,null==va?void 0:va.className),children:ze})):null]})}),inputProps:(0,n.A)({className:ca.input,disabled:ae,readOnly:je},Le())})})),Qe?ya:null]})}))},53661:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(23302),n=i(40991),o=i(30758),r=(i(84276),i(13526)),s=i(12060),l=i(3582),d=i(67335),c=i(42465),u=i(49251),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiAvatarGroup",e)}const m=(0,p.A)("MuiAvatarGroup",["root","avatar"]);var h=i(86070);const k=["children","className","component","componentsProps","max","renderSurplus","slotProps","spacing","total","variant"],v={small:-16,medium:null},f=(0,l.Ay)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,a)=>(0,n.A)({[`& .${m.avatar}`]:a.avatar},a.root)})((({theme:e,ownerState:a})=>{const i=a.spacing&&void 0!==v[a.spacing]?v[a.spacing]:-a.spacing;return{[`& .${c.A.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:null!=i?i:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}})),y=o.forwardRef((function(e,a){var i;const l=(0,d.b)({props:e,name:"MuiAvatarGroup"}),{children:c,className:p,component:b="div",componentsProps:m={},max:v=5,renderSurplus:y,slotProps:S={},spacing:w="medium",total:T,variant:A="circular"}=l,z=(0,t.A)(l,k);let j=v<2?2:v;const C=(0,n.A)({},l,{max:v,spacing:w,component:b,variant:A}),P=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],avatar:["avatar"]},g,a)})(C),x=o.Children.toArray(c).filter((e=>o.isValidElement(e))),O=T||x.length;O===j&&(j+=1),j=Math.min(O+1,j);const D=Math.min(x.length,j-1),M=Math.max(O-j,O-D,0),I=y?y(M):`+${M}`,B=null!=(i=S.additionalAvatar)?i:m.additionalAvatar;return(0,h.jsxs)(f,(0,n.A)({as:b,ownerState:C,className:(0,r.A)(P.root,p),ref:a},z,{children:[M?(0,h.jsx)(u.A,(0,n.A)({variant:A},B,{className:(0,r.A)(P.avatar,null==B?void 0:B.className),children:I})):null,x.slice(0,D).reverse().map((e=>o.cloneElement(e,{className:(0,r.A)(e.props.className,P.avatar),variant:e.props.variant||A})))]}))}))},49251:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(3582),d=i(67335),c=i(96631),u=i(86070);const p=(0,c.A)((0,u.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var b=i(42465),g=i(53731);const m=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],h=(0,l.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],i.colorDefault&&a.colorDefault]}})((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,n.A)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:(0,n.A)({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]}))),k=(0,l.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,a)=>a.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),v=(0,l.Ay)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,a)=>a.fallback})({width:"75%",height:"75%"});const f=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAvatar"}),{alt:l,children:c,className:p,component:f="div",slots:y={},slotProps:S={},imgProps:w,sizes:T,src:A,srcSet:z,variant:j="circular"}=i,C=(0,t.A)(i,m);let P=null;const x=function({crossOrigin:e,referrerPolicy:a,src:i,srcSet:t}){const[n,r]=o.useState(!1);return o.useEffect((()=>{if(!i&&!t)return;r(!1);let n=!0;const o=new Image;return o.onload=()=>{n&&r("loaded")},o.onerror=()=>{n&&r("error")},o.crossOrigin=e,o.referrerPolicy=a,o.src=i,t&&(o.srcset=t),()=>{n=!1}}),[e,a,i,t]),n}((0,n.A)({},w,{src:A,srcSet:z})),O=A||z,D=O&&"error"!==x,M=(0,n.A)({},i,{colorDefault:!D,component:f,variant:j}),I=(e=>{const{classes:a,variant:i,colorDefault:t}=e,n={root:["root",i,t&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.A)(n,b.k,a)})(M),[B,R]=(0,g.A)("img",{className:I.img,elementType:k,externalForwardedProps:{slots:y,slotProps:{img:(0,n.A)({},w,S.img)}},additionalProps:{alt:l,src:A,srcSet:z,sizes:T},ownerState:M});return P=D?(0,u.jsx)(B,(0,n.A)({},R)):c||0===c?c:O&&l?l[0]:(0,u.jsx)(v,{ownerState:M,className:I.fallback}),(0,u.jsx)(h,(0,n.A)({as:f,ownerState:M,className:(0,r.A)(I.root,p),ref:a},C,{children:P}))}))},42465:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,k:()=>o});var t=i(82070),n=i(87310);function o(e){return(0,n.Ay)("MuiAvatar",e)}const r=(0,t.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),s=/^(575|61)$/.test(i.j)?null:r},41485:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(3582),d=i(67335),c=i(16527),u=i(82070),p=i(87310);function b(e){return(0,p.Ay)("MuiBackdrop",e)}(0,u.A)("MuiBackdrop",["root","invisible"]);var g=i(86070);const m=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],h=(0,l.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.invisible&&a.invisible]}})((({ownerState:e})=>(0,n.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),k=o.forwardRef((function(e,a){var i,o,l;const u=(0,d.b)({props:e,name:"MuiBackdrop"}),{children:p,className:k,component:v="div",components:f={},componentsProps:y={},invisible:S=!1,open:w,slotProps:T={},slots:A={},TransitionComponent:z=c.A,transitionDuration:j}=u,C=(0,t.A)(u,m),P=(0,n.A)({},u,{component:v,invisible:S}),x=(e=>{const{classes:a,invisible:i}=e,t={root:["root",i&&"invisible"]};return(0,s.A)(t,b,a)})(P),O=null!=(i=T.root)?i:y.root;return(0,g.jsx)(z,(0,n.A)({in:w,timeout:j},C,{children:(0,g.jsx)(h,(0,n.A)({"aria-hidden":!0},O,{as:null!=(o=null!=(l=A.root)?l:f.Root)?o:v,className:(0,r.A)(x.root,k,null==O?void 0:O.className),ownerState:(0,n.A)({},P,null==O?void 0:O.ownerState),classes:x,ref:a,children:p}))}))}))},76558:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(22252),l=i(12060),d=i(30838),c=i(16350),u=i(3582),p=i(67335),b=i(40996),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiBadge",e)}const k=(0,g.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var v=i(86070);const f=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],y=(0,u.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,a)=>a.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),S=(0,u.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.badge,a[i.variant],a[`anchorOrigin${(0,b.A)(i.anchorOrigin.vertical)}${(0,b.A)(i.anchorOrigin.horizontal)}${(0,b.A)(i.overlap)}`],"default"!==i.color&&a[`color${(0,b.A)(i.color)}`],i.invisible&&a.invisible]}})((({theme:e})=>{var a;return{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}),variants:[...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i,t;return(null!=(i=e.vars)?i:e).palette[a].main&&(null!=(t=e.vars)?t:e).palette[a].contrastText})).map((a=>({props:{color:a},style:{backgroundColor:(e.vars||e).palette[a].main,color:(e.vars||e).palette[a].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}})),w=o.forwardRef((function(e,a){var i,o,u,g,m,k;const w=(0,p.b)({props:e,name:"MuiBadge"}),{anchorOrigin:T={vertical:"top",horizontal:"right"},className:A,component:z,components:j={},componentsProps:C={},children:P,overlap:x="rectangular",color:O="default",invisible:D=!1,max:M=99,badgeContent:I,slots:B,slotProps:R,showZero:L=!1,variant:N="standard"}=w,E=(0,n.A)(w,f),{badgeContent:_,invisible:F,max:W,displayValue:G}=(0,c.A)({max:M,invisible:D,badgeContent:I,showZero:L}),U=(0,s.A)({anchorOrigin:T,color:O,overlap:x,variant:N,badgeContent:I}),q=F||null==_&&"dot"!==N,{color:K=O,overlap:V=x,anchorOrigin:H=T,variant:$=N}=q?U:w,J="dot"!==$?G:void 0,Q=(0,t.A)({},w,{badgeContent:_,invisible:q,max:W,displayValue:J,showZero:L,anchorOrigin:H,color:K,overlap:V,variant:$}),Z=(e=>{const{color:a,anchorOrigin:i,invisible:t,overlap:n,variant:o,classes:r={}}=e,s={root:["root"],badge:["badge",o,t&&"invisible",`anchorOrigin${(0,b.A)(i.vertical)}${(0,b.A)(i.horizontal)}`,`anchorOrigin${(0,b.A)(i.vertical)}${(0,b.A)(i.horizontal)}${(0,b.A)(n)}`,`overlap${(0,b.A)(n)}`,"default"!==a&&`color${(0,b.A)(a)}`]};return(0,l.A)(s,h,r)})(Q),Y=null!=(i=null!=(o=null==B?void 0:B.root)?o:j.Root)?i:y,X=null!=(u=null!=(g=null==B?void 0:B.badge)?g:j.Badge)?u:S,ee=null!=(m=null==R?void 0:R.root)?m:C.root,ae=null!=(k=null==R?void 0:R.badge)?k:C.badge,ie=(0,d.A)({elementType:Y,externalSlotProps:ee,externalForwardedProps:E,additionalProps:{ref:a,as:z},ownerState:Q,className:(0,r.A)(null==ee?void 0:ee.className,Z.root,A)}),te=(0,d.A)({elementType:X,externalSlotProps:ae,ownerState:Q,className:(0,r.A)(Z.badge,null==ae?void 0:ae.className)});return(0,v.jsxs)(Y,(0,t.A)({},ie,{children:[P,(0,v.jsx)(X,(0,t.A)({},te,{children:J}))]}))}))},16350:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),!/^(575|61)$/.test(i.j))var t=i(22252);const n=/^(575|61)$/.test(i.j)?null:function(e){const{badgeContent:a,invisible:i=!1,max:n=99,showZero:o=!1}=e,r=(0,t.A)({badgeContent:a,max:n});let s=i;!1!==i||0!==a||o||(s=!0);const{badgeContent:l,max:d=n}=s?r:e;return{badgeContent:l,invisible:s,max:d,displayValue:l&&Number(l)>d?`${d}+`:l}}},15106:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(3582),d=i(67335),c=i(54463),u=i(82070),p=i(87310);function b(e){return(0,p.Ay)("MuiBottomNavigationAction",e)}const g=(0,u.A)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);var m=i(86070);const h=["className","icon","label","onChange","onClick","selected","showLabel","value"],k=(0,l.Ay)(c.A,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.showLabel&&!i.selected&&a.iconOnly]}})((({theme:e,ownerState:a})=>(0,n.A)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!a.showLabel&&!a.selected&&{paddingTop:14},!a.showLabel&&!a.selected&&!a.label&&{paddingTop:0},{[`&.${g.selected}`]:{color:(e.vars||e).palette.primary.main}}))),v=(0,l.Ay)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,a)=>a.label})((({theme:e,ownerState:a})=>(0,n.A)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!a.showLabel&&!a.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${g.selected}`]:{fontSize:e.typography.pxToRem(14)}}))),f=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiBottomNavigationAction"}),{className:o,icon:l,label:c,onChange:u,onClick:p,value:g}=i,f=(0,t.A)(i,h),y=i,S=(e=>{const{classes:a,showLabel:i,selected:t}=e,n={root:["root",!i&&!t&&"iconOnly",t&&"selected"],label:["label",!i&&!t&&"iconOnly",t&&"selected"]};return(0,s.A)(n,b,a)})(y);return(0,m.jsxs)(k,(0,n.A)({ref:a,className:(0,r.A)(S.root,o),focusRipple:!0,onClick:e=>{u&&u(e,g),p&&p(e)},ownerState:y},f,{children:[l,(0,m.jsx)(v,{className:S.label,ownerState:y,children:c})]}))}))},32185:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>m}),!/^(575|61)$/.test(i.j))var t=i(40991);if(!/^(575|61)$/.test(i.j))var n=i(23302);var o=i(30758);i(84276);if(!/^(575|61)$/.test(i.j))var r=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(12060);var l=i(3582);if(!/^(575|61)$/.test(i.j))var d=i(67335);if(!/^(575|61)$/.test(i.j))var c=i(34697);var u=i(86070);const p=/^(575|61)$/.test(i.j)?null:["children","className","component","onChange","showLabels","value"],b=(0,l.Ay)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),g=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiBottomNavigation"}),{children:l,className:g,component:m="div",onChange:h,showLabels:k=!1,value:v}=i,f=(0,n.A)(i,p),y=(0,t.A)({},i,{component:m,showLabels:k}),S=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},c.o,a)})(y);return(0,u.jsx)(b,(0,t.A)({as:m,className:(0,r.A)(S.root,g),ref:a,ownerState:y},f,{children:o.Children.map(l,((e,a)=>{if(!o.isValidElement(e))return null;const i=void 0===e.props.value?a:e.props.value;return o.cloneElement(e,{selected:i===v,showLabel:void 0!==e.props.showLabel?e.props.showLabel:k,value:i,onChange:h})}))}))})),m=/^(575|61)$/.test(i.j)?null:g},34697:(e,a,i)=>{"use strict";i.d(a,{o:()=>o});var t=i(82070);if(!/^(575|61)$/.test(i.j))var n=i(87310);function o(e){return(0,n.Ay)("MuiBottomNavigation",e)}(0,t.A)("MuiBottomNavigation",["root"])},81191:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(709),l=i(42898),d=i(13376),c=i(25657),u=i(86070);const p=["className","component"];var b=i(26444),g=i(62398),m=i(43878);const h=(0,i(82070).A)("MuiBox",["root"]),k=(0,g.A)(),v=function(e={}){const{themeId:a,defaultTheme:i,defaultClassName:b="MuiBox-root",generateClassName:g}=e,m=(0,s.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.A);return o.forwardRef((function(e,o){const s=(0,c.A)(i),l=(0,d.A)(e),{className:h,component:k="div"}=l,v=(0,n.A)(l,p);return(0,u.jsx)(m,(0,t.A)({as:k,ref:o,className:(0,r.A)(h,g?g(b):b),theme:a&&s[a]||s},v))}))}({themeId:m.A,defaultTheme:k,defaultClassName:h.root,generateClassName:b.A.generate}),f=v},54463:(e,a,i)=>{"use strict";i.d(a,{A:()=>q});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(12060),l=i(3582),d=i(67335),c=i(47786),u=i(848),p=i(61533);var b=i(93045),g=i(67620);function m(e,a){var i=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){i[e.key]=function(e){return a&&(0,o.isValidElement)(e)?a(e):e}(e)})),i}function h(e,a,i){return null!=i[a]?i[a]:e.props[a]}function k(e,a,i){var t=m(e.children),n=function(e,a){function i(i){return i in a?a[i]:e[i]}e=e||{},a=a||{};var t,n=Object.create(null),o=[];for(var r in e)r in a?o.length&&(n[r]=o,o=[]):o.push(r);var s={};for(var l in a){if(n[l])for(t=0;t{if(!d&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}}),[c,d,u]),(0,T.jsx)("span",{className:g,style:m,children:(0,T.jsx)("span",{className:h})})};var z=i(82070);const j=(0,z.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),C=["center","classes","className"];let P,x,O,D,M=e=>e;const I=(0,S.i7)(P||(P=M` +!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9d5aa227-333e-481a-8d4e-1258f497d258",e._sentryDebugIdIdentifier="sentry-dbid-9d5aa227-333e-481a-8d4e-1258f497d258")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"29ba52ca662501e3df5439703f917863c97bfb4c"},(self.webpackChunkrabbitpair_extension=self.webpackChunkrabbitpair_extension||[]).push([[96],{78797:(e,a,i)=>{"use strict";i.d(a,{Mp:()=>Ve,Hd:()=>ua,vL:()=>X,cA:()=>pe,AN:()=>de,IG:()=>be,fp:()=>A,Sj:()=>M,fF:()=>Qe,E5:()=>c,PM:()=>Je,zM:()=>Xe,MS:()=>h,FR:()=>k});var t=i(30758),n=i(8143),r=i(37893);const o={display:"none"};function s(e){let{id:a,value:i}=e;return t.createElement("div",{id:a,style:o},i)}function l(e){let{id:a,announcement:i,ariaLiveType:n="assertive"}=e;return t.createElement("div",{id:a,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":n,"aria-atomic":!0},i)}const d=(0,t.createContext)(null);function c(e){const a=(0,t.useContext)(d);(0,t.useEffect)((()=>{if(!a)throw new Error("useDndMonitor must be used within a children of ");return a(e)}),[e,a])}const u={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},p={onDragStart(e){let{active:a}=e;return"Picked up draggable item "+a.id+"."},onDragOver(e){let{active:a,over:i}=e;return i?"Draggable item "+a.id+" was moved over droppable area "+i.id+".":"Draggable item "+a.id+" is no longer over a droppable area."},onDragEnd(e){let{active:a,over:i}=e;return i?"Draggable item "+a.id+" was dropped over droppable area "+i.id:"Draggable item "+a.id+" was dropped."},onDragCancel(e){let{active:a}=e;return"Dragging was cancelled. Draggable item "+a.id+" was dropped."}};function m(e){let{announcements:a=p,container:i,hiddenTextDescribedById:o,screenReaderInstructions:d=u}=e;const{announce:m,announcement:b}=function(){const[e,a]=(0,t.useState)("");return{announce:(0,t.useCallback)((e=>{null!=e&&a(e)}),[]),announcement:e}}(),g=(0,r.YG)("DndLiveRegion"),[h,k]=(0,t.useState)(!1);if((0,t.useEffect)((()=>{k(!0)}),[]),c((0,t.useMemo)((()=>({onDragStart(e){let{active:i}=e;m(a.onDragStart({active:i}))},onDragMove(e){let{active:i,over:t}=e;a.onDragMove&&m(a.onDragMove({active:i,over:t}))},onDragOver(e){let{active:i,over:t}=e;m(a.onDragOver({active:i,over:t}))},onDragEnd(e){let{active:i,over:t}=e;m(a.onDragEnd({active:i,over:t}))},onDragCancel(e){let{active:i,over:t}=e;m(a.onDragCancel({active:i,over:t}))}})),[m,a])),!h)return null;const v=t.createElement(t.Fragment,null,t.createElement(s,{id:o,value:d.draggable}),t.createElement(l,{id:g,announcement:b}));return i?(0,n.createPortal)(v,i):v}var b;function g(){}function h(e,a){return(0,t.useMemo)((()=>({sensor:e,options:null!=a?a:{}})),[e,a])}function k(){for(var e=arguments.length,a=new Array(e),i=0;i[...a].filter((e=>null!=e))),[...a])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(b||(b={}));const v=Object.freeze({x:0,y:0});function f(e,a){return Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2))}function y(e,a){const i=(0,r.e_)(e);if(!i)return"0 0";return(i.x-a.left)/a.width*100+"% "+(i.y-a.top)/a.height*100+"%"}function w(e,a){let{data:{value:i}}=e,{data:{value:t}}=a;return i-t}function S(e,a){let{data:{value:i}}=e,{data:{value:t}}=a;return t-i}function T(e,a,i){return void 0===a&&(a=e.left),void 0===i&&(i=e.top),{x:a+.5*e.width,y:i+.5*e.height}}const A=e=>{let{collisionRect:a,droppableRects:i,droppableContainers:t}=e;const n=T(a,a.left,a.top),r=[];for(const e of t){const{id:a}=e,t=i.get(a);if(t){const i=f(T(t),n);r.push({id:a,data:{droppableContainer:e,value:i}})}}return r.sort(w)};function z(e,a){const i=Math.max(a.top,e.top),t=Math.max(a.left,e.left),n=Math.min(a.left+a.width,e.left+e.width),r=Math.min(a.top+a.height,e.top+e.height),o=n-t,s=r-i;if(t{let{collisionRect:a,droppableRects:i,droppableContainers:t}=e;const n=[];for(const e of t){const{id:t}=e,r=i.get(t);if(r){const i=z(r,a);i>0&&n.push({id:t,data:{droppableContainer:e,value:i}})}}return n.sort(S)};function j(e,a){return e&&a?{x:e.left-a.left,y:e.top-a.top}:v}function C(e){return function(a){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n({...a,top:a.top+e*i.y,bottom:a.bottom+e*i.y,left:a.left+e*i.x,right:a.right+e*i.x})),{...a})}}const x=C(1);function D(e){if(e.startsWith("matrix3d(")){const a=e.slice(9,-1).split(/, /);return{x:+a[12],y:+a[13],scaleX:+a[0],scaleY:+a[5]}}if(e.startsWith("matrix(")){const a=e.slice(7,-1).split(/, /);return{x:+a[4],y:+a[5],scaleX:+a[0],scaleY:+a[3]}}return null}const O={ignoreTransform:!1};function M(e,a){void 0===a&&(a=O);let i=e.getBoundingClientRect();if(a.ignoreTransform){const{transform:a,transformOrigin:t}=(0,r.zk)(e).getComputedStyle(e);a&&(i=function(e,a,i){const t=D(a);if(!t)return e;const{scaleX:n,scaleY:r,x:o,y:s}=t,l=e.left-o-(1-n)*parseFloat(i),d=e.top-s-(1-r)*parseFloat(i.slice(i.indexOf(" ")+1)),c=n?e.width/n:e.width,u=r?e.height/r:e.height;return{width:c,height:u,top:d,right:l+c,bottom:d+u,left:l}}(i,a,t))}const{top:t,left:n,width:o,height:s,bottom:l,right:d}=i;return{top:t,left:n,width:o,height:s,bottom:l,right:d}}function I(e){return M(e,{ignoreTransform:!0})}function B(e,a){const i=[];return e?function t(n){if(null!=a&&i.length>=a)return i;if(!n)return i;if((0,r.wz)(n)&&null!=n.scrollingElement&&!i.includes(n.scrollingElement))return i.push(n.scrollingElement),i;if(!(0,r.sb)(n)||(0,r.xZ)(n))return i;if(i.includes(n))return i;const o=(0,r.zk)(e).getComputedStyle(n);return n!==e&&function(e,a){void 0===a&&(a=(0,r.zk)(e).getComputedStyle(e));const i=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const t=a[e];return"string"==typeof t&&i.test(t)}))}(n,o)&&i.push(n),function(e,a){return void 0===a&&(a=(0,r.zk)(e).getComputedStyle(e)),"fixed"===a.position}(n,o)?i:t(n.parentNode)}(e):i}function L(e){const[a]=B(e,1);return null!=a?a:null}function R(e){return r.Sw&&e?(0,r.l6)(e)?e:(0,r.Ll)(e)?(0,r.wz)(e)||e===(0,r.TW)(e).scrollingElement?window:(0,r.sb)(e)?e:null:null:null}function N(e){return(0,r.l6)(e)?e.scrollX:e.scrollLeft}function E(e){return(0,r.l6)(e)?e.scrollY:e.scrollTop}function F(e){return{x:N(e),y:E(e)}}var _;function W(e){return!(!r.Sw||!e)&&e===document.scrollingElement}function U(e){const a={x:0,y:0},i=W(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},t={x:e.scrollWidth-i.width,y:e.scrollHeight-i.height};return{isTop:e.scrollTop<=a.y,isLeft:e.scrollLeft<=a.x,isBottom:e.scrollTop>=t.y,isRight:e.scrollLeft>=t.x,maxScroll:t,minScroll:a}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(_||(_={}));const G={x:.2,y:.2};function K(e,a,i,t,n){let{top:r,left:o,right:s,bottom:l}=i;void 0===t&&(t=10),void 0===n&&(n=G);const{isTop:d,isBottom:c,isLeft:u,isRight:p}=U(e),m={x:0,y:0},b={x:0,y:0},g=a.height*n.y,h=a.width*n.x;return!d&&r<=a.top+g?(m.y=_.Backward,b.y=t*Math.abs((a.top+g-r)/g)):!c&&l>=a.bottom-g&&(m.y=_.Forward,b.y=t*Math.abs((a.bottom-g-l)/g)),!p&&s>=a.right-h?(m.x=_.Forward,b.x=t*Math.abs((a.right-h-s)/h)):!u&&o<=a.left+h&&(m.x=_.Backward,b.x=t*Math.abs((a.left+h-o)/h)),{direction:m,speed:b}}function V(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:a}=window;return{top:0,left:0,right:e,bottom:a,width:e,height:a}}const{top:a,left:i,right:t,bottom:n}=e.getBoundingClientRect();return{top:a,left:i,right:t,bottom:n,width:e.clientWidth,height:e.clientHeight}}function q(e){return e.reduce(((e,a)=>(0,r.WQ)(e,F(a))),v)}function H(e,a){if(void 0===a&&(a=M),!e)return;const{top:i,left:t,bottom:n,right:r}=a(e);L(e)&&(n<=0||r<=0||i>=window.innerHeight||t>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const $=[["x",["left","right"],function(e){return e.reduce(((e,a)=>e+N(a)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,a)=>e+E(a)),0)}]];class J{constructor(e,a){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const i=B(a),t=q(i);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,a,n]of $)for(const r of a)Object.defineProperty(this,r,{get:()=>{const a=n(i),o=t[e]-a;return this.rect[r]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Q{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var a;return null==(a=this.target)?void 0:a.removeEventListener(...e)}))},this.target=e}add(e,a,i){var t;null==(t=this.target)||t.addEventListener(e,a,i),this.listeners.push([e,a,i])}}function Z(e,a){const i=Math.abs(e.x),t=Math.abs(e.y);return"number"==typeof a?Math.sqrt(i**2+t**2)>a:"x"in a&&"y"in a?i>a.x&&t>a.y:"x"in a?i>a.x:"y"in a&&t>a.y}var Y,X;function ee(e){e.preventDefault()}function ae(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Y||(Y={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(X||(X={}));const ie={start:[X.Space,X.Enter],cancel:[X.Esc],end:[X.Space,X.Enter]},te=(e,a)=>{let{currentCoordinates:i}=a;switch(e.code){case X.Right:return{...i,x:i.x+25};case X.Left:return{...i,x:i.x-25};case X.Down:return{...i,y:i.y+25};case X.Up:return{...i,y:i.y-25}}};class ne{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:a}}=e;this.props=e,this.listeners=new Q((0,r.TW)(a)),this.windowListeners=new Q((0,r.zk)(a)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Y.Resize,this.handleCancel),this.windowListeners.add(Y.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Y.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:a}=this.props,i=e.node.current;i&&H(i),a(v)}handleKeyDown(e){if((0,r.kx)(e)){const{active:a,context:i,options:t}=this.props,{keyboardCodes:n=ie,coordinateGetter:o=te,scrollBehavior:s="smooth"}=t,{code:l}=e;if(n.end.includes(l))return void this.handleEnd(e);if(n.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:d}=i.current,c=d?{x:d.left,y:d.top}:v;this.referenceCoordinates||(this.referenceCoordinates=c);const u=o(e,{active:a,context:i.current,currentCoordinates:c});if(u){const a=(0,r.Re)(u,c),t={x:0,y:0},{scrollableAncestors:n}=i.current;for(const i of n){const n=e.code,{isTop:r,isRight:o,isLeft:l,isBottom:d,maxScroll:c,minScroll:p}=U(i),m=V(i),b={x:Math.min(n===X.Right?m.right-m.width/2:m.right,Math.max(n===X.Right?m.left:m.left+m.width/2,u.x)),y:Math.min(n===X.Down?m.bottom-m.height/2:m.bottom,Math.max(n===X.Down?m.top:m.top+m.height/2,u.y))},g=n===X.Right&&!o||n===X.Left&&!l,h=n===X.Down&&!d||n===X.Up&&!r;if(g&&b.x!==u.x){const e=i.scrollLeft+a.x,r=n===X.Right&&e<=c.x||n===X.Left&&e>=p.x;if(r&&!a.y)return void i.scrollTo({left:e,behavior:s});t.x=r?i.scrollLeft-e:n===X.Right?i.scrollLeft-c.x:i.scrollLeft-p.x,t.x&&i.scrollBy({left:-t.x,behavior:s});break}if(h&&b.y!==u.y){const e=i.scrollTop+a.y,r=n===X.Down&&e<=c.y||n===X.Up&&e>=p.y;if(r&&!a.x)return void i.scrollTo({top:e,behavior:s});t.y=r?i.scrollTop-e:n===X.Down?i.scrollTop-c.y:i.scrollTop-p.y,t.y&&i.scrollBy({top:-t.y,behavior:s});break}}this.handleMove(e,(0,r.WQ)((0,r.Re)(u,this.referenceCoordinates),t))}}}handleMove(e,a){const{onMove:i}=this.props;e.preventDefault(),i(a)}handleEnd(e){const{onEnd:a}=this.props;e.preventDefault(),this.detach(),a()}handleCancel(e){const{onCancel:a}=this.props;e.preventDefault(),this.detach(),a()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function re(e){return Boolean(e&&"distance"in e)}function oe(e){return Boolean(e&&"delay"in e)}ne.activators=[{eventName:"onKeyDown",handler:(e,a,i)=>{let{keyboardCodes:t=ie,onActivation:n}=a,{active:r}=i;const{code:o}=e.nativeEvent;if(t.start.includes(o)){const a=r.activatorNode.current;return(!a||e.target===a)&&(e.preventDefault(),null==n||n({event:e.nativeEvent}),!0)}return!1}}];class se{constructor(e,a,i){var t;void 0===i&&(i=function(e){const{EventTarget:a}=(0,r.zk)(e);return e instanceof a?e:(0,r.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=a;const{event:n}=e,{target:o}=n;this.props=e,this.events=a,this.document=(0,r.TW)(o),this.documentListeners=new Q(this.document),this.listeners=new Q(i),this.windowListeners=new Q((0,r.zk)(o)),this.initialCoordinates=null!=(t=(0,r.e_)(n))?t:v,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:a,bypassActivationConstraint:i}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Y.Resize,this.handleCancel),this.windowListeners.add(Y.DragStart,ee),this.windowListeners.add(Y.VisibilityChange,this.handleCancel),this.windowListeners.add(Y.ContextMenu,ee),this.documentListeners.add(Y.Keydown,this.handleKeydown),a){if(null!=i&&i({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(oe(a))return void(this.timeoutId=setTimeout(this.handleStart,a.delay));if(re(a))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:a}=this.props;e&&(this.activated=!0,this.documentListeners.add(Y.Click,ae,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Y.SelectionChange,this.removeTextSelection),a(e))}handleMove(e){var a;const{activated:i,initialCoordinates:t,props:n}=this,{onMove:o,options:{activationConstraint:s}}=n;if(!t)return;const l=null!=(a=(0,r.e_)(e))?a:v,d=(0,r.Re)(t,l);if(!i&&s){if(re(s)){if(null!=s.tolerance&&Z(d,s.tolerance))return this.handleCancel();if(Z(d,s.distance))return this.handleStart()}return oe(s)&&Z(d,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),o(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===X.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const le={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends se{constructor(e){const{event:a}=e,i=(0,r.TW)(a.target);super(e,le,i)}}de.activators=[{eventName:"onPointerDown",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;return!(!i.isPrimary||0!==i.button)&&(null==t||t({event:i}),!0)}}];const ce={move:{name:"mousemove"},end:{name:"mouseup"}};var ue;!function(e){e[e.RightClick=2]="RightClick"}(ue||(ue={}));class pe extends se{constructor(e){super(e,ce,(0,r.TW)(e.event.target))}}pe.activators=[{eventName:"onMouseDown",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;return i.button!==ue.RightClick&&(null==t||t({event:i}),!0)}}];const me={move:{name:"touchmove"},end:{name:"touchend"}};class be extends se{constructor(e){super(e,me)}static setup(){return window.addEventListener(me.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(me.move.name,e)};function e(){}}}var ge,he;function ke(e){let{acceleration:a,activator:i=ge.Pointer,canScroll:n,draggingRect:o,enabled:s,interval:l=5,order:d=he.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:p,delta:m,threshold:b}=e;const g=function(e){let{delta:a,disabled:i}=e;const t=(0,r.ZC)(a);return(0,r.KG)((e=>{if(i||!t||!e)return ve;const n={x:Math.sign(a.x-t.x),y:Math.sign(a.y-t.y)};return{x:{[_.Backward]:e.x[_.Backward]||-1===n.x,[_.Forward]:e.x[_.Forward]||1===n.x},y:{[_.Backward]:e.y[_.Backward]||-1===n.y,[_.Forward]:e.y[_.Forward]||1===n.y}}}),[i,a,t])}({delta:m,disabled:!s}),[h,k]=(0,r.$$)(),v=(0,t.useRef)({x:0,y:0}),f=(0,t.useRef)({x:0,y:0}),y=(0,t.useMemo)((()=>{switch(i){case ge.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ge.DraggableRect:return o}}),[i,o,c]),w=(0,t.useRef)(null),S=(0,t.useCallback)((()=>{const e=w.current;if(!e)return;const a=v.current.x*f.current.x,i=v.current.y*f.current.y;e.scrollBy(a,i)}),[]),T=(0,t.useMemo)((()=>d===he.TreeOrder?[...u].reverse():u),[d,u]);(0,t.useEffect)((()=>{if(s&&u.length&&y){for(const e of T){if(!1===(null==n?void 0:n(e)))continue;const i=u.indexOf(e),t=p[i];if(!t)continue;const{direction:r,speed:o}=K(e,t,y,a,b);for(const e of["x","y"])g[e][r[e]]||(o[e]=0,r[e]=0);if(o.x>0||o.y>0)return k(),w.current=e,h(S,l),v.current=o,void(f.current=r)}v.current={x:0,y:0},f.current={x:0,y:0},k()}else k()}),[a,S,n,k,s,l,JSON.stringify(y),JSON.stringify(g),h,u,T,p,JSON.stringify(b)])}be.activators=[{eventName:"onTouchStart",handler:(e,a)=>{let{nativeEvent:i}=e,{onActivation:t}=a;const{touches:n}=i;return!(n.length>1)&&(null==t||t({event:i}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ge||(ge={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(he||(he={}));const ve={x:{[_.Backward]:!1,[_.Forward]:!1},y:{[_.Backward]:!1,[_.Forward]:!1}};var fe,ye;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(fe||(fe={})),function(e){e.Optimized="optimized"}(ye||(ye={}));const we=new Map;function Se(e,a){return(0,r.KG)((i=>e?i||("function"==typeof a?a(e):e):null),[a,e])}function Te(e){let{callback:a,disabled:i}=e;const n=(0,r._q)(a),o=(0,t.useMemo)((()=>{if(i||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(n)}),[i]);return(0,t.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function Ae(e){return new J(M(e),e)}function ze(e,a,i){void 0===a&&(a=Ae);const[n,o]=(0,t.useReducer)((function(t){if(!e)return null;var n;if(!1===e.isConnected)return null!=(n=null!=t?t:i)?n:null;const r=a(e);if(JSON.stringify(t)===JSON.stringify(r))return t;return r}),null),s=function(e){let{callback:a,disabled:i}=e;const n=(0,r._q)(a),o=(0,t.useMemo)((()=>{if(i||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(n)}),[n,i]);return(0,t.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(a){if(e)for(const i of a){const{type:a,target:t}=i;if("childList"===a&&t instanceof HTMLElement&&t.contains(e)){o();break}}}}),l=Te({callback:o});return(0,r.Es)((()=>{o(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),n}const Pe=[];function je(e,a){void 0===a&&(a=[]);const i=(0,t.useRef)(null);return(0,t.useEffect)((()=>{i.current=null}),a),(0,t.useEffect)((()=>{const a=e!==v;a&&!i.current&&(i.current=e),!a&&i.current&&(i.current=null)}),[e]),i.current?(0,r.Re)(e,i.current):v}function Ce(e){return(0,t.useMemo)((()=>e?function(e){const a=e.innerWidth,i=e.innerHeight;return{top:0,left:0,right:a,bottom:i,width:a,height:i}}(e):null),[e])}const xe=[];function De(e){if(!e)return null;if(e.children.length>1)return e;const a=e.children[0];return(0,r.sb)(a)?a:e}const Oe=[{sensor:de,options:{}},{sensor:ne,options:{}}],Me={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:fe.WhileDragging,frequency:ye.Optimized},dragOverlay:{measure:M}};class Be extends Map{get(e){var a;return null!=e&&null!=(a=super.get(e))?a:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:a}=e;return!a}))}getNodeFor(e){var a,i;return null!=(a=null==(i=this.get(e))?void 0:i.node.current)?a:void 0}}const Le={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Be,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:g},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:g,windowRect:null,measuringScheduled:!1},Re={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:g,draggableNodes:new Map,over:null,measureDroppableContainers:g},Ne=(0,t.createContext)(Re),Ee=(0,t.createContext)(Le);function Fe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Be}}}function _e(e,a){switch(a.type){case b.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:a.initialCoordinates,active:a.active}};case b.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:a.coordinates.x-e.draggable.initialCoordinates.x,y:a.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case b.DragEnd:case b.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case b.RegisterDroppable:{const{element:i}=a,{id:t}=i,n=new Be(e.droppable.containers);return n.set(t,i),{...e,droppable:{...e.droppable,containers:n}}}case b.SetDroppableDisabled:{const{id:i,key:t,disabled:n}=a,r=e.droppable.containers.get(i);if(!r||t!==r.key)return e;const o=new Be(e.droppable.containers);return o.set(i,{...r,disabled:n}),{...e,droppable:{...e.droppable,containers:o}}}case b.UnregisterDroppable:{const{id:i,key:t}=a,n=e.droppable.containers.get(i);if(!n||t!==n.key)return e;const r=new Be(e.droppable.containers);return r.delete(i),{...e,droppable:{...e.droppable,containers:r}}}default:return e}}function We(e){let{disabled:a}=e;const{active:i,activatorEvent:n,draggableNodes:o}=(0,t.useContext)(Ne),s=(0,r.ZC)(n),l=(0,r.ZC)(null==i?void 0:i.id);return(0,t.useEffect)((()=>{if(!a&&!n&&s&&null!=l){if(!(0,r.kx)(s))return;if(document.activeElement===s.target)return;const e=o.get(l);if(!e)return;const{activatorNode:a,node:i}=e;if(!a.current&&!i.current)return;requestAnimationFrame((()=>{for(const e of[a.current,i.current]){if(!e)continue;const a=(0,r.ag)(e);if(a){a.focus();break}}}))}}),[n,a,o,l,s]),null}function Ue(e,a){let{transform:i,...t}=a;return null!=e&&e.length?e.reduce(((e,a)=>a({transform:e,...t})),i):i}const Ge=(0,t.createContext)({...v,scaleX:1,scaleY:1});var Ke;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ke||(Ke={}));const Ve=(0,t.memo)((function(e){var a,i,o,s;let{id:l,accessibility:c,autoScroll:u=!0,children:p,sensors:g=Oe,collisionDetection:h=P,measuring:k,modifiers:f,...y}=e;const w=(0,t.useReducer)(_e,void 0,Fe),[S,T]=w,[A,z]=function(){const[e]=(0,t.useState)((()=>new Set)),a=(0,t.useCallback)((a=>(e.add(a),()=>e.delete(a))),[e]);return[(0,t.useCallback)((a=>{let{type:i,event:t}=a;e.forEach((e=>{var a;return null==(a=e[i])?void 0:a.call(e,t)}))}),[e]),a]}(),[C,D]=(0,t.useState)(Ke.Uninitialized),O=C===Ke.Initialized,{draggable:{active:I,nodes:N,translate:E},droppable:{containers:_}}=S,U=I?N.get(I):null,G=(0,t.useRef)({initial:null,translated:null}),K=(0,t.useMemo)((()=>{var e;return null!=I?{id:I,data:null!=(e=null==U?void 0:U.data)?e:Me,rect:G}:null}),[I,U]),V=(0,t.useRef)(null),[H,$]=(0,t.useState)(null),[Q,Z]=(0,t.useState)(null),Y=(0,r.YN)(y,Object.values(y)),X=(0,r.YG)("DndDescribedBy",l),ee=(0,t.useMemo)((()=>_.getEnabled()),[_]),ae=(ie=k,(0,t.useMemo)((()=>({draggable:{...Ie.draggable,...null==ie?void 0:ie.draggable},droppable:{...Ie.droppable,...null==ie?void 0:ie.droppable},dragOverlay:{...Ie.dragOverlay,...null==ie?void 0:ie.dragOverlay}})),[null==ie?void 0:ie.draggable,null==ie?void 0:ie.droppable,null==ie?void 0:ie.dragOverlay]));var ie;const{droppableRects:te,measureDroppableContainers:ne,measuringScheduled:re}=function(e,a){let{dragging:i,dependencies:n,config:o}=a;const[s,l]=(0,t.useState)(null),{frequency:d,measure:c,strategy:u}=o,p=(0,t.useRef)(e),m=function(){switch(u){case fe.Always:return!1;case fe.BeforeDragging:return i;default:return!i}}(),b=(0,r.YN)(m),g=(0,t.useCallback)((function(e){void 0===e&&(e=[]),b.current||l((a=>null===a?e:a.concat(e.filter((e=>!a.includes(e))))))}),[b]),h=(0,t.useRef)(null),k=(0,r.KG)((a=>{if(m&&!i)return we;if(!a||a===we||p.current!==e||null!=s){const a=new Map;for(let i of e){if(!i)continue;if(s&&s.length>0&&!s.includes(i.id)&&i.rect.current){a.set(i.id,i.rect.current);continue}const e=i.node.current,t=e?new J(c(e),e):null;i.rect.current=t,t&&a.set(i.id,t)}return a}return a}),[e,s,i,m,c]);return(0,t.useEffect)((()=>{p.current=e}),[e]),(0,t.useEffect)((()=>{m||g()}),[i,m]),(0,t.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,t.useEffect)((()=>{m||"number"!=typeof d||null!==h.current||(h.current=setTimeout((()=>{g(),h.current=null}),d))}),[d,m,g,...n]),{droppableRects:k,measureDroppableContainers:g,measuringScheduled:null!=s}}(ee,{dragging:O,dependencies:[E.x,E.y],config:ae.droppable}),oe=function(e,a){const i=null!==a?e.get(a):void 0,t=i?i.node.current:null;return(0,r.KG)((e=>{var i;return null===a?null:null!=(i=null!=t?t:e)?i:null}),[t,a])}(N,I),se=(0,t.useMemo)((()=>Q?(0,r.e_)(Q):null),[Q]),le=function(){const e=!1===(null==H?void 0:H.autoScrollEnabled),a="object"==typeof u?!1===u.enabled:!1===u,i=O&&!e&&!a;if("object"==typeof u)return{...u,enabled:i};return{enabled:i}}(),de=function(e,a){return Se(e,a)}(oe,ae.draggable.measure);!function(e){let{activeNode:a,measure:i,initialRect:n,config:o=!0}=e;const s=(0,t.useRef)(!1),{x:l,y:d}="boolean"==typeof o?{x:o,y:o}:o;(0,r.Es)((()=>{if(!l&&!d||!a)return void(s.current=!1);if(s.current||!n)return;const e=null==a?void 0:a.node.current;if(!e||!1===e.isConnected)return;const t=j(i(e),n);if(l||(t.x=0),d||(t.y=0),s.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){const a=L(e);a&&a.scrollBy({top:t.y,left:t.x})}}),[a,l,d,n,i])}({activeNode:I?N.get(I):null,config:le.layoutShiftCompensation,initialRect:de,measure:ae.draggable.measure});const ce=ze(oe,ae.draggable.measure,de),ue=ze(oe?oe.parentElement:null),pe=(0,t.useRef)({activatorEvent:null,active:null,activeNode:oe,collisionRect:null,collisions:null,droppableRects:te,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:_,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),me=_.getNodeFor(null==(a=pe.current.over)?void 0:a.id),be=function(e){let{measure:a}=e;const[i,n]=(0,t.useState)(null),o=Te({callback:(0,t.useCallback)((e=>{for(const{target:i}of e)if((0,r.sb)(i)){n((e=>{const t=a(i);return e?{...e,width:t.width,height:t.height}:t}));break}}),[a])}),s=(0,t.useCallback)((e=>{const i=De(e);null==o||o.disconnect(),i&&(null==o||o.observe(i)),n(i?a(i):null)}),[a,o]),[l,d]=(0,r.lk)(s);return(0,t.useMemo)((()=>({nodeRef:l,rect:i,setRef:d})),[i,l,d])}({measure:ae.dragOverlay.measure}),ge=null!=(i=be.nodeRef.current)?i:oe,he=O?null!=(o=be.rect)?o:ce:null,ve=Boolean(be.nodeRef.current&&be.rect),ye=j(Ae=ve?null:ce,Se(Ae));var Ae;const Be=Ce(ge?(0,r.zk)(ge):null),Le=function(e){const a=(0,t.useRef)(e),i=(0,r.KG)((i=>e?i&&i!==Pe&&e&&a.current&&e.parentNode===a.current.parentNode?i:B(e):Pe),[e]);return(0,t.useEffect)((()=>{a.current=e}),[e]),i}(O?null!=me?me:oe:null),Re=function(e,a){void 0===a&&(a=M);const[i]=e,n=Ce(i?(0,r.zk)(i):null),[o,s]=(0,t.useReducer)((function(){return e.length?e.map((e=>W(e)?n:new J(a(e),e))):xe}),xe),l=Te({callback:s});return e.length>0&&o===xe&&s(),(0,r.Es)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),o}(Le),Ve=Ue(f,{transform:{x:E.x-ye.x,y:E.y-ye.y,scaleX:1,scaleY:1},activatorEvent:Q,active:K,activeNodeRect:ce,containerNodeRect:ue,draggingNodeRect:he,over:pe.current.over,overlayNodeRect:be.rect,scrollableAncestors:Le,scrollableAncestorRects:Re,windowRect:Be}),qe=se?(0,r.WQ)(se,E):null,He=function(e){const[a,i]=(0,t.useState)(null),n=(0,t.useRef)(e),o=(0,t.useCallback)((e=>{const a=R(e.target);a&&i((e=>e?(e.set(a,F(a)),new Map(e)):null))}),[]);return(0,t.useEffect)((()=>{const a=n.current;if(e!==a){t(a);const r=e.map((e=>{const a=R(e);return a?(a.addEventListener("scroll",o,{passive:!0}),[a,F(a)]):null})).filter((e=>null!=e));i(r.length?new Map(r):null),n.current=e}return()=>{t(e),t(a)};function t(e){e.forEach((e=>{const a=R(e);null==a||a.removeEventListener("scroll",o)}))}}),[o,e]),(0,t.useMemo)((()=>e.length?a?Array.from(a.values()).reduce(((e,a)=>(0,r.WQ)(e,a)),v):q(e):v),[e,a])}(Le),$e=je(He),Je=je(He,[ce]),Qe=(0,r.WQ)(Ve,$e),Ze=he?x(he,Ve):null,Ye=K&&Ze?h({active:K,collisionRect:Ze,droppableRects:te,droppableContainers:ee,pointerCoordinates:qe}):null,Xe=function(e,a){if(!e||0===e.length)return null;const[i]=e;return a?i[a]:i}(Ye,"id"),[ea,aa]=(0,t.useState)(null),ia=function(e,a,i){return{...e,scaleX:a&&i?a.width/i.width:1,scaleY:a&&i?a.height/i.height:1}}(ve?Ve:(0,r.WQ)(Ve,Je),null!=(s=null==ea?void 0:ea.rect)?s:null,ce),ta=(0,t.useCallback)(((e,a)=>{let{sensor:i,options:t}=a;if(null==V.current)return;const r=N.get(V.current);if(!r)return;const o=e.nativeEvent,s=new i({active:V.current,activeNode:r,event:o,options:t,context:pe,onStart(e){const a=V.current;if(null==a)return;const i=N.get(a);if(!i)return;const{onDragStart:t}=Y.current,r={active:{id:a,data:i.data,rect:G}};(0,n.unstable_batchedUpdates)((()=>{null==t||t(r),D(Ke.Initializing),T({type:b.DragStart,initialCoordinates:e,active:a}),A({type:"onDragStart",event:r})}))},onMove(e){T({type:b.DragMove,coordinates:e})},onEnd:l(b.DragEnd),onCancel:l(b.DragCancel)});function l(e){return async function(){const{active:a,collisions:i,over:t,scrollAdjustedTranslate:r}=pe.current;let s=null;if(a&&r){const{cancelDrop:n}=Y.current;if(s={activatorEvent:o,active:a,collisions:i,delta:r,over:t},e===b.DragEnd&&"function"==typeof n){await Promise.resolve(n(s))&&(e=b.DragCancel)}}V.current=null,(0,n.unstable_batchedUpdates)((()=>{T({type:e}),D(Ke.Uninitialized),aa(null),$(null),Z(null);const a=e===b.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=Y.current[a];null==e||e(s),A({type:a,event:s})}}))}}(0,n.unstable_batchedUpdates)((()=>{$(s),Z(e.nativeEvent)}))}),[N]),na=(0,t.useCallback)(((e,a)=>(i,t)=>{const n=i.nativeEvent,r=N.get(t);if(null!==V.current||!r||n.dndKit||n.defaultPrevented)return;const o={active:r};!0===e(i,a.options,o)&&(n.dndKit={capturedBy:a.sensor},V.current=t,ta(i,a))}),[N,ta]),ra=function(e,a){return(0,t.useMemo)((()=>e.reduce(((e,i)=>{const{sensor:t}=i;return[...e,...t.activators.map((e=>({eventName:e.eventName,handler:a(e.handler,i)})))]}),[])),[e,a])}(g,na);!function(e){(0,t.useEffect)((()=>{if(!r.Sw)return;const a=e.map((e=>{let{sensor:a}=e;return null==a.setup?void 0:a.setup()}));return()=>{for(const e of a)null==e||e()}}),e.map((e=>{let{sensor:a}=e;return a})))}(g),(0,r.Es)((()=>{ce&&C===Ke.Initializing&&D(Ke.Initialized)}),[ce,C]),(0,t.useEffect)((()=>{const{onDragMove:e}=Y.current,{active:a,activatorEvent:i,collisions:t,over:r}=pe.current;if(!a||!i)return;const o={active:a,activatorEvent:i,collisions:t,delta:{x:Qe.x,y:Qe.y},over:r};(0,n.unstable_batchedUpdates)((()=>{null==e||e(o),A({type:"onDragMove",event:o})}))}),[Qe.x,Qe.y]),(0,t.useEffect)((()=>{const{active:e,activatorEvent:a,collisions:i,droppableContainers:t,scrollAdjustedTranslate:r}=pe.current;if(!e||null==V.current||!a||!r)return;const{onDragOver:o}=Y.current,s=t.get(Xe),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,d={active:e,activatorEvent:a,collisions:i,delta:{x:r.x,y:r.y},over:l};(0,n.unstable_batchedUpdates)((()=>{aa(l),null==o||o(d),A({type:"onDragOver",event:d})}))}),[Xe]),(0,r.Es)((()=>{pe.current={activatorEvent:Q,active:K,activeNode:oe,collisionRect:Ze,collisions:Ye,droppableRects:te,draggableNodes:N,draggingNode:ge,draggingNodeRect:he,droppableContainers:_,over:ea,scrollableAncestors:Le,scrollAdjustedTranslate:Qe},G.current={initial:he,translated:Ze}}),[K,oe,Ye,Ze,N,ge,he,te,_,ea,Le,Qe]),ke({...le,delta:E,draggingRect:Ze,pointerCoordinates:qe,scrollableAncestors:Le,scrollableAncestorRects:Re});const oa=(0,t.useMemo)((()=>({active:K,activeNode:oe,activeNodeRect:ce,activatorEvent:Q,collisions:Ye,containerNodeRect:ue,dragOverlay:be,draggableNodes:N,droppableContainers:_,droppableRects:te,over:ea,measureDroppableContainers:ne,scrollableAncestors:Le,scrollableAncestorRects:Re,measuringConfiguration:ae,measuringScheduled:re,windowRect:Be})),[K,oe,ce,Q,Ye,ue,be,N,_,te,ea,ne,Le,Re,ae,re,Be]),sa=(0,t.useMemo)((()=>({activatorEvent:Q,activators:ra,active:K,activeNodeRect:ce,ariaDescribedById:{draggable:X},dispatch:T,draggableNodes:N,over:ea,measureDroppableContainers:ne})),[Q,ra,K,ce,T,X,N,ea,ne]);return t.createElement(d.Provider,{value:z},t.createElement(Ne.Provider,{value:sa},t.createElement(Ee.Provider,{value:oa},t.createElement(Ge.Provider,{value:ia},p)),t.createElement(We,{disabled:!1===(null==c?void 0:c.restoreFocus)})),t.createElement(m,{...c,hiddenTextDescribedById:X}))})),qe=(0,t.createContext)(null),He="button",$e="Droppable";function Je(e){let{id:a,data:i,disabled:n=!1,attributes:o}=e;const s=(0,r.YG)($e),{activators:l,activatorEvent:d,active:c,activeNodeRect:u,ariaDescribedById:p,draggableNodes:m,over:b}=(0,t.useContext)(Ne),{role:g=He,roleDescription:h="draggable",tabIndex:k=0}=null!=o?o:{},v=(null==c?void 0:c.id)===a,f=(0,t.useContext)(v?Ge:qe),[y,w]=(0,r.lk)(),[S,T]=(0,r.lk)(),A=function(e,a){return(0,t.useMemo)((()=>e.reduce(((e,i)=>{let{eventName:t,handler:n}=i;return e[t]=e=>{n(e,a)},e}),{})),[e,a])}(l,a),z=(0,r.YN)(i);(0,r.Es)((()=>(m.set(a,{id:a,key:s,node:y,activatorNode:S,data:z}),()=>{const e=m.get(a);e&&e.key===s&&m.delete(a)})),[m,a]);return{active:c,activatorEvent:d,activeNodeRect:u,attributes:(0,t.useMemo)((()=>({role:g,tabIndex:k,"aria-disabled":n,"aria-pressed":!(!v||g!==He)||void 0,"aria-roledescription":h,"aria-describedby":p.draggable})),[n,g,k,v,h,p.draggable]),isDragging:v,listeners:n?void 0:A,node:y,over:b,setNodeRef:w,setActivatorNodeRef:T,transform:f}}function Qe(){return(0,t.useContext)(Ee)}const Ze="Droppable",Ye={timeout:25};function Xe(e){let{data:a,disabled:i=!1,id:n,resizeObserverConfig:o}=e;const s=(0,r.YG)(Ze),{active:l,dispatch:d,over:c,measureDroppableContainers:u}=(0,t.useContext)(Ne),p=(0,t.useRef)({disabled:i}),m=(0,t.useRef)(!1),g=(0,t.useRef)(null),h=(0,t.useRef)(null),{disabled:k,updateMeasurementsFor:v,timeout:f}={...Ye,...o},y=(0,r.YN)(null!=v?v:n),w=Te({callback:(0,t.useCallback)((()=>{m.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{u(Array.isArray(y.current)?y.current:[y.current]),h.current=null}),f)):m.current=!0}),[f]),disabled:k||!l}),S=(0,t.useCallback)(((e,a)=>{w&&(a&&(w.unobserve(a),m.current=!1),e&&w.observe(e))}),[w]),[T,A]=(0,r.lk)(S),z=(0,r.YN)(a);return(0,t.useEffect)((()=>{w&&T.current&&(w.disconnect(),m.current=!1,w.observe(T.current))}),[T,w]),(0,r.Es)((()=>(d({type:b.RegisterDroppable,element:{id:n,key:s,disabled:i,node:T,rect:g,data:z}}),()=>d({type:b.UnregisterDroppable,key:s,id:n}))),[n]),(0,t.useEffect)((()=>{i!==p.current.disabled&&(d({type:b.SetDroppableDisabled,id:n,key:s,disabled:i}),p.current.disabled=i)}),[n,s,i,d]),{active:l,rect:g,isOver:(null==c?void 0:c.id)===n,node:T,over:c,setNodeRef:A}}function ea(e){let{animation:a,children:i}=e;const[n,o]=(0,t.useState)(null),[s,l]=(0,t.useState)(null),d=(0,r.ZC)(i);return i||n||!d||o(d),(0,r.Es)((()=>{if(!s)return;const e=null==n?void 0:n.key,i=null==n?void 0:n.props.id;null!=e&&null!=i?Promise.resolve(a(i,s)).then((()=>{o(null)})):o(null)}),[a,n,s]),t.createElement(t.Fragment,null,i,n?(0,t.cloneElement)(n,{ref:l}):null)}const aa={x:0,y:0,scaleX:1,scaleY:1};function ia(e){let{children:a}=e;return t.createElement(Ne.Provider,{value:Re},t.createElement(Ge.Provider,{value:aa},a))}const ta={position:"fixed",touchAction:"none"},na=e=>(0,r.kx)(e)?"transform 250ms ease":void 0,ra=575!=i.j?(0,t.forwardRef)(((e,a)=>{let{as:i,activatorEvent:n,adjustScale:o,children:s,className:l,rect:d,style:c,transform:u,transition:p=na}=e;if(!d)return null;const m=o?u:{...u,scaleX:1,scaleY:1},b={...ta,width:d.width,height:d.height,top:d.top,left:d.left,transform:r.Ks.Transform.toString(m),transformOrigin:o&&n?y(n,d):void 0,transition:"function"==typeof p?p(n):p,...c};return t.createElement(i,{className:l,style:b,ref:a},s)})):null,oa=e=>a=>{let{active:i,dragOverlay:t}=a;const n={},{styles:r,className:o}=e;if(null!=r&&r.active)for(const[e,a]of Object.entries(r.active))void 0!==a&&(n[e]=i.node.style.getPropertyValue(e),i.node.style.setProperty(e,a));if(null!=r&&r.dragOverlay)for(const[e,a]of Object.entries(r.dragOverlay))void 0!==a&&t.node.style.setProperty(e,a);return null!=o&&o.active&&i.node.classList.add(o.active),null!=o&&o.dragOverlay&&t.node.classList.add(o.dragOverlay),function(){for(const[e,a]of Object.entries(n))i.node.style.setProperty(e,a);null!=o&&o.active&&i.node.classList.remove(o.active)}},sa={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:a,final:i}}=e;return[{transform:r.Ks.Transform.toString(a)},{transform:r.Ks.Transform.toString(i)}]},sideEffects:oa({styles:{active:{opacity:"0"}}})};function la(e){let{config:a,draggableNodes:i,droppableContainers:t,measuringConfiguration:n}=e;return(0,r._q)(((e,o)=>{if(null===a)return;const s=i.get(e);if(!s)return;const l=s.node.current;if(!l)return;const d=De(o);if(!d)return;const{transform:c}=(0,r.zk)(o).getComputedStyle(o),u=D(c);if(!u)return;const p="function"==typeof a?a:function(e){const{duration:a,easing:i,sideEffects:t,keyframes:n}={...sa,...e};return e=>{let{active:r,dragOverlay:o,transform:s,...l}=e;if(!a)return;const d={x:o.rect.left-r.rect.left,y:o.rect.top-r.rect.top},c={scaleX:1!==s.scaleX?r.rect.width*s.scaleX/o.rect.width:1,scaleY:1!==s.scaleY?r.rect.height*s.scaleY/o.rect.height:1},u={x:s.x-d.x,y:s.y-d.y,...c},p=n({...l,active:r,dragOverlay:o,transform:{initial:s,final:u}}),[m]=p,b=p[p.length-1];if(JSON.stringify(m)===JSON.stringify(b))return;const g=null==t?void 0:t({active:r,dragOverlay:o,...l}),h=o.node.animate(p,{duration:a,easing:i,fill:"forwards"});return new Promise((e=>{h.onfinish=()=>{null==g||g(),e()}}))}}(a);return H(l,n.draggable.measure),p({active:{id:e,data:s.data,node:l,rect:n.draggable.measure(l)},draggableNodes:i,dragOverlay:{node:o,rect:n.dragOverlay.measure(d)},droppableContainers:t,measuringConfiguration:n,transform:u})}))}let da=0;function ca(e){return(0,t.useMemo)((()=>{if(null!=e)return da++,da}),[e])}const ua=575!=i.j?t.memo((e=>{let{adjustScale:a=!1,children:i,dropAnimation:n,style:r,transition:o,modifiers:s,wrapperElement:l="div",className:d,zIndex:c=999}=e;const{activatorEvent:u,active:p,activeNodeRect:m,containerNodeRect:b,draggableNodes:g,droppableContainers:h,dragOverlay:k,over:v,measuringConfiguration:f,scrollableAncestors:y,scrollableAncestorRects:w,windowRect:S}=Qe(),T=(0,t.useContext)(Ge),A=ca(null==p?void 0:p.id),z=Ue(s,{activatorEvent:u,active:p,activeNodeRect:m,containerNodeRect:b,draggingNodeRect:k.rect,over:v,overlayNodeRect:k.rect,scrollableAncestors:y,scrollableAncestorRects:w,transform:T,windowRect:S}),P=Se(m),j=la({config:n,draggableNodes:g,droppableContainers:h,measuringConfiguration:f}),C=P?k.setRef:void 0;return t.createElement(ia,null,t.createElement(ea,{animation:j},p&&A?t.createElement(ra,{key:A,id:p.id,ref:C,as:l,activatorEvent:u,adjustScale:a,className:d,transition:o,rect:P,style:{zIndex:c,...r},transform:z},i):null))})):null},55796:(e,a,i)=>{"use strict";i.d(a,{FN:()=>t});i(37893);const t=e=>{let{transform:a}=e;return{...a,x:0}}},20395:(e,a,i)=>{"use strict";i.d(a,{_G:()=>m,be:()=>o,gB:()=>h,gl:()=>T,kL:()=>u,m$:()=>c});var t=i(30758),n=i(78797),r=i(37893);function o(e,a,i){const t=e.slice();return t.splice(i<0?t.length+i:i,0,t.splice(a,1)[0]),t}function s(e,a){return e.reduce(((e,i,t)=>{const n=a.get(i);return n&&(e[t]=n),e}),Array(e.length))}function l(e){return null!==e&&e>=0}const d={scaleX:1,scaleY:1},c=e=>{var a;let{rects:i,activeNodeRect:t,activeIndex:n,overIndex:r,index:o}=e;const s=null!=(a=i[n])?a:t;if(!s)return null;const l=function(e,a,i){const t=e[a],n=e[a-1],r=e[a+1];if(!t||!n&&!r)return 0;if(in&&o<=r?{x:-s.width-l,y:0,...d}:o=r?{x:s.width+l,y:0,...d}:{x:0,y:0,...d}};const u=e=>{let{rects:a,activeIndex:i,overIndex:t,index:n}=e;const r=o(a,t,i),s=a[n],l=r[n];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},p={scaleX:1,scaleY:1},m=e=>{var a;let{activeIndex:i,activeNodeRect:t,index:n,rects:r,overIndex:o}=e;const s=null!=(a=r[i])?a:t;if(!s)return null;if(n===i){const e=r[o];return e?{x:0,y:ii&&n<=o?{x:0,y:-s.height-l,...p}:n=o?{x:0,y:s.height+l,...p}:{x:0,y:0,...p}};const b="Sortable",g=t.createContext({activeIndex:-1,containerId:b,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:a,id:i,items:o,strategy:l=u,disabled:d=!1}=e;const{active:c,dragOverlay:p,droppableRects:m,over:h,measureDroppableContainers:k}=(0,n.fF)(),v=(0,r.YG)(b,i),f=Boolean(null!==p.rect),y=(0,t.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),w=null!=c,S=c?y.indexOf(c.id):-1,T=h?y.indexOf(h.id):-1,A=(0,t.useRef)(y),z=!function(e,a){if(e===a)return!0;if(e.length!==a.length)return!1;for(let i=0;i{z&&w&&k(y)}),[z,y,w,k]),(0,t.useEffect)((()=>{A.current=y}),[y]);const C=(0,t.useMemo)((()=>({activeIndex:S,containerId:v,disabled:j,disableTransforms:P,items:y,overIndex:T,useDragOverlay:f,sortedRects:s(y,m),strategy:l})),[S,v,j.draggable,j.droppable,P,y,T,m,f,l]);return t.createElement(g.Provider,{value:C},a)}const k=e=>{let{id:a,items:i,activeIndex:t,overIndex:n}=e;return o(i,t,n).indexOf(a)},v=e=>{let{containerId:a,isSorting:i,wasDragging:t,index:n,items:r,newIndex:o,previousItems:s,previousContainerId:l,transition:d}=e;return!(!d||!t)&&((s===r||n!==o)&&(!!i||o!==n&&a===l))},f={duration:200,easing:"ease"},y="transform",w=r.Ks.Transition.toString({property:y,duration:0,easing:"linear"}),S={roleDescription:"sortable"};function T(e){let{animateLayoutChanges:a=v,attributes:i,disabled:o,data:s,getNewIndex:d=k,id:c,strategy:u,resizeObserverConfig:p,transition:m=f}=e;const{items:b,containerId:h,activeIndex:T,disabled:A,disableTransforms:z,sortedRects:P,overIndex:j,useDragOverlay:C,strategy:x}=(0,t.useContext)(g),D=function(e,a){var i,t;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(i=null==e?void 0:e.draggable)?i:a.draggable,droppable:null!=(t=null==e?void 0:e.droppable)?t:a.droppable}}(o,A),O=b.indexOf(c),M=(0,t.useMemo)((()=>({sortable:{containerId:h,index:O,items:b},...s})),[h,s,O,b]),I=(0,t.useMemo)((()=>b.slice(b.indexOf(c))),[b,c]),{rect:B,node:L,isOver:R,setNodeRef:N}=(0,n.zM)({id:c,data:M,disabled:D.droppable,resizeObserverConfig:{updateMeasurementsFor:I,...p}}),{active:E,activatorEvent:F,activeNodeRect:_,attributes:W,setNodeRef:U,listeners:G,isDragging:K,over:V,setActivatorNodeRef:q,transform:H}=(0,n.PM)({id:c,data:M,attributes:{...S,...i},disabled:D.draggable}),$=(0,r.jn)(N,U),J=Boolean(E),Q=J&&!z&&l(T)&&l(j),Z=!C&&K,Y=Z&&Q?H:null,X=Q?null!=Y?Y:(null!=u?u:x)({rects:P,activeNodeRect:_,activeIndex:T,overIndex:j,index:O}):null,ee=l(T)&&l(j)?d({id:c,items:b,activeIndex:T,overIndex:j}):O,ae=null==E?void 0:E.id,ie=(0,t.useRef)({activeId:ae,items:b,newIndex:ee,containerId:h}),te=b!==ie.current.items,ne=a({active:E,containerId:h,isDragging:K,isSorting:J,id:c,index:O,items:b,newIndex:ie.current.newIndex,previousItems:ie.current.items,previousContainerId:ie.current.containerId,transition:m,wasDragging:null!=ie.current.activeId}),re=function(e){let{disabled:a,index:i,node:o,rect:s}=e;const[l,d]=(0,t.useState)(null),c=(0,t.useRef)(i);return(0,r.Es)((()=>{if(!a&&i!==c.current&&o.current){const e=s.current;if(e){const a=(0,n.Sj)(o.current,{ignoreTransform:!0}),i={x:e.left-a.left,y:e.top-a.top,scaleX:e.width/a.width,scaleY:e.height/a.height};(i.x||i.y)&&d(i)}}i!==c.current&&(c.current=i)}),[a,i,o,s]),(0,t.useEffect)((()=>{l&&d(null)}),[l]),l}({disabled:!ne,index:O,node:L,rect:B});return(0,t.useEffect)((()=>{J&&ie.current.newIndex!==ee&&(ie.current.newIndex=ee),h!==ie.current.containerId&&(ie.current.containerId=h),b!==ie.current.items&&(ie.current.items=b)}),[J,ee,h,b]),(0,t.useEffect)((()=>{if(ae===ie.current.activeId)return;if(ae&&!ie.current.activeId)return void(ie.current.activeId=ae);const e=setTimeout((()=>{ie.current.activeId=ae}),50);return()=>clearTimeout(e)}),[ae]),{active:E,activeIndex:T,attributes:W,data:M,rect:B,index:O,newIndex:ee,items:b,isOver:R,isSorting:J,isDragging:K,listeners:G,node:L,overIndex:j,over:V,setNodeRef:$,setActivatorNodeRef:q,setDroppableNodeRef:N,setDraggableNodeRef:U,transform:null!=re?re:X,transition:function(){if(re||te&&ie.current.newIndex===O)return w;if(Z&&!(0,r.kx)(F)||!m)return;if(J||ne)return r.Ks.Transition.toString({...m,property:y});return}()}}n.vL.Down,n.vL.Right,n.vL.Up,n.vL.Left},37893:(e,a,i)=>{"use strict";i.d(a,{$$:()=>g,Es:()=>m,KG:()=>k,Ks:()=>j,Ll:()=>s,Re:()=>A,Sw:()=>r,TW:()=>p,WQ:()=>T,YG:()=>w,YN:()=>h,ZC:()=>f,_q:()=>b,ag:()=>x,e_:()=>P,jn:()=>n,kx:()=>z,l6:()=>o,lk:()=>v,sb:()=>c,wz:()=>d,xZ:()=>u,zk:()=>l});var t=i(30758);function n(){for(var e=arguments.length,a=new Array(e),i=0;ie=>{a.forEach((a=>a(e)))}),a)}const r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function o(e){const a=Object.prototype.toString.call(e);return"[object Window]"===a||"[object global]"===a}function s(e){return"nodeType"in e}function l(e){var a,i;return e?o(e)?e:s(e)&&null!=(a=null==(i=e.ownerDocument)?void 0:i.defaultView)?a:window:window}function d(e){const{Document:a}=l(e);return e instanceof a}function c(e){return!o(e)&&e instanceof l(e).HTMLElement}function u(e){return e instanceof l(e).SVGElement}function p(e){return e?o(e)?e.document:s(e)?d(e)?e:c(e)||u(e)?e.ownerDocument:document:document:document}const m=61!=i.j?r?t.useLayoutEffect:t.useEffect:null;function b(e){const a=(0,t.useRef)(e);return m((()=>{a.current=e})),(0,t.useCallback)((function(){for(var e=arguments.length,i=new Array(e),t=0;t{e.current=setInterval(a,i)}),[]),(0,t.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function h(e,a){void 0===a&&(a=[e]);const i=(0,t.useRef)(e);return m((()=>{i.current!==e&&(i.current=e)}),a),i}function k(e,a){const i=(0,t.useRef)();return(0,t.useMemo)((()=>{const a=e(i.current);return i.current=a,a}),[...a])}function v(e){const a=b(e),i=(0,t.useRef)(null),n=(0,t.useCallback)((e=>{e!==i.current&&(null==a||a(e,i.current)),i.current=e}),[]);return[i,n]}function f(e){const a=(0,t.useRef)();return(0,t.useEffect)((()=>{a.current=e}),[e]),a.current}let y={};function w(e,a){return(0,t.useMemo)((()=>{if(a)return a;const i=null==y[e]?0:y[e]+1;return y[e]=i,e+"-"+i}),[e,a])}function S(e){return function(a){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n{const t=Object.entries(i);for(const[i,n]of t){const t=a[i];null!=t&&(a[i]=t+e*n)}return a}),{...a})}}const T=61!=i.j?S(1):null,A=61!=i.j?S(-1):null;function z(e){if(!e)return!1;const{KeyboardEvent:a}=l(e.target);return a&&e instanceof a}function P(e){if(function(e){if(!e)return!1;const{TouchEvent:a}=l(e.target);return a&&e instanceof a}(e)){if(e.touches&&e.touches.length){const{clientX:a,clientY:i}=e.touches[0];return{x:a,y:i}}if(e.changedTouches&&e.changedTouches.length){const{clientX:a,clientY:i}=e.changedTouches[0];return{x:a,y:i}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const j=Object.freeze({Translate:{toString(e){if(!e)return;const{x:a,y:i}=e;return"translate3d("+(a?Math.round(a):0)+"px, "+(i?Math.round(i):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:a,scaleY:i}=e;return"scaleX("+a+") scaleY("+i+")"}},Transform:{toString(e){if(e)return[j.Translate.toString(e),j.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:a,duration:i,easing:t}=e;return a+" "+i+"ms "+t}}}),C="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function x(e){return e.matches(C)?e:e.querySelector(C)}},32294:(e,a,i)=>{"use strict";i.d(a,{A:()=>ne});var t=function(){function e(e){var a=this;this._insertTag=function(e){var i;i=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,i),a.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var a=0;a0?c(y,--v):0,h--,10===f&&(h=1,g--),f}function A(){return f=v2||C(f)>3?"":" "}function I(e,a){for(;--a&&A()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return j(e,P()+(a<6&&32==z()&&32==A()))}function B(e){for(;A();)switch(f){case e:return v;case 34:case 39:34!==e&&39!==e&&B(f);break;case 40:41===e&&B(e);break;case 92:A()}return v}function L(e,a){for(;A()&&e+f!==57&&(e+f!==84||47!==z()););return"/*"+j(a,v-1)+"*"+r(47===e?e:A())}function R(e){for(;!C(z());)A();return j(e,v)}var N="-ms-",E="-moz-",F="-webkit-",_="comm",W="rule",U="decl",G="@keyframes";function K(e,a){for(var i="",t=m(e),n=0;n0&&p(E)-k&&b(f>32?Q(E+";",t,i,k-1):Q(l(E," ","")+";",t,i,k-2),m);break;case 59:E+=";";default:if(b(N=$(E,a,i,g,h,n,u,x,D=[],B=[],k),o),123===C)if(0===h)H(E,a,N,N,D,o,k,u,B);else switch(99===v&&110===c(E,3)?100:v){case 100:case 108:case 109:case 115:H(e,N,N,t&&b($(e,N,N,0,0,n,u,x,n,D=[],k),B),n,B,k,u,t?D:B);break;default:H(E,N,N,N,[""],B,0,u,B)}}g=h=f=0,w=j=1,x=E="",k=s;break;case 58:k=1+p(E),f=y;default:if(w<1)if(123==C)--w;else if(125==C&&0==w++&&125==T())continue;switch(E+=r(C),C*w){case 38:j=h>0?1:(E+="\f",-1);break;case 44:u[g++]=(p(E)-1)*j,j=1;break;case 64:45===z()&&(E+=O(A())),v=z(),h=k=p(x=E+=R(P())),C++;break;case 45:45===y&&2==p(E)&&(w=0)}}return o}function $(e,a,i,t,r,o,d,c,p,b,g){for(var h=r-1,k=0===r?o:[""],v=m(k),f=0,y=0,S=0;f0?k[T]+" "+A:l(A,/&\f/g,k[T])))&&(p[S++]=z);return w(e,a,i,0===r?W:c,p,b,g)}function J(e,a,i){return w(e,a,i,_,r(f),u(e,2,-2),0)}function Q(e,a,i,t){return w(e,a,i,U,u(e,0,t),u(e,t+1,-1),t)}var Z=function(e,a,i){for(var t=0,n=0;t=n,n=z(),38===t&&12===n&&(a[i]=1),!C(n);)A();return j(e,v)},Y=function(e,a){return D(function(e,a){var i=-1,t=44;do{switch(C(t)){case 0:38===t&&12===z()&&(a[i]=1),e[i]+=Z(v-1,a,i);break;case 2:e[i]+=O(t);break;case 4:if(44===t){e[++i]=58===z()?"&\f":"",a[i]=e[i].length;break}default:e[i]+=r(t)}}while(t=A());return e}(x(e),a))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,i=e.parent,t=e.column===i.column&&e.line===i.line;"rule"!==i.type;)if(!(i=i.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||X.get(i))&&!t){X.set(e,!0);for(var n=[],r=Y(a,n),o=i.props,s=0,l=0;s6)switch(c(e,a+1)){case 109:if(45!==c(e,a+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+E+(108==c(e,a+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?ie(l(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(115!==c(e,a+1))break;case 6444:switch(c(e,p(e)-3-(~d(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===c(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(c(e,a+11)){case 114:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+N+e+e}return e}var te=[function(e,a,i,t){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ie(e.value,e.length);break;case G:return K([S(e,{value:l(e.value,"@","@"+F)})],t);case W:if(e.length)return function(e,a){return e.map(a).join("")}(e.props,(function(a){switch(function(e,a){return(e=a.exec(e))?e[0]:e}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return K([S(e,{props:[l(a,/:(read-\w+)/,":-moz-$1")]})],t);case"::placeholder":return K([S(e,{props:[l(a,/:(plac\w+)/,":"+F+"input-$1")]}),S(e,{props:[l(a,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(a,/:(plac\w+)/,N+"input-$1")]})],t)}return""}))}}],ne=function(e){var a=e.key;if("css"===a){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,r,o=e.stylisPlugins||te,s={},l=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),i=1;i{"use strict";function t(e){var a=Object.create(null);return function(i){return void 0===a[i]&&(a[i]=e(i)),a[i]}}i.d(a,{A:()=>t})},27700:(e,a,i)=>{"use strict";i.d(a,{C:()=>o,T:()=>l,u:()=>d,w:()=>s});var t=i(30758),n=i(32294),r=(i(60398),i(59410),t.createContext("undefined"!=typeof HTMLElement?(0,n.A)({key:"css"}):null)),o=r.Provider,s=function(e){return(0,t.forwardRef)((function(a,i){var n=(0,t.useContext)(r);return e(a,n,i)}))},l=t.createContext({}),d=function(){return t.useContext(l)}},51935:(e,a,i)=>{"use strict";i.d(a,{AH:()=>d,i7:()=>c,mL:()=>l});var t=i(27700),n=i(30758),r=i(9817),o=i(59410),s=i(60398),l=(i(32294),i(31035),(0,t.w)((function(e,a){var i=e.styles,l=(0,s.J)([i],void 0,n.useContext(t.T)),d=n.useRef();return(0,o.i)((function(){var e=a.key+"-global",i=new a.sheet.constructor({key:e,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),t=!1,n=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return a.sheet.tags.length&&(i.before=a.sheet.tags[0]),null!==n&&(t=!0,n.setAttribute("data-emotion",e),i.hydrate([n])),d.current=[i,t],function(){i.flush()}}),[a]),(0,o.i)((function(){var e=d.current,i=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,r.sk)(a,l.next,!0),i.tags.length){var t=i.tags[i.tags.length-1].nextElementSibling;i.before=t,i.flush()}a.insert("",l,i,!1)}}),[a,l.name]),null})));function d(){for(var e=arguments.length,a=new Array(e),i=0;i{"use strict";i.d(a,{J:()=>h});var t={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},n=i(96606),r=!1,o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},c=(0,n.A)((function(e){return l(e)?e:e.replace(o,"-$&").toLowerCase()})),u=function(e,a){switch(e){case"animation":case"animationName":if("string"==typeof a)return a.replace(s,(function(e,a,i){return b={name:a,styles:i,next:b},a}))}return 1===t[e]||l(e)||"number"!=typeof a||0===a?a:a+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function m(e,a,i){if(null==i)return"";var t=i;if(void 0!==t.__emotion_styles)return t;switch(typeof i){case"boolean":return"";case"object":var n=i;if(1===n.anim)return b={name:n.name,styles:n.styles,next:b},n.name;var o=i;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)b={name:s.name,styles:s.styles,next:b},s=s.next;return o.styles+";"}return function(e,a,i){var t="";if(Array.isArray(i))for(var n=0;n=4;++t,n-=4)a=1540483477*(65535&(a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24))+(59797*(a>>>16)<<16),i=1540483477*(65535&(a^=a>>>24))+(59797*(a>>>16)<<16)^1540483477*(65535&i)+(59797*(i>>>16)<<16);switch(n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(t)))+(59797*(i>>>16)<<16)}return(((i=1540483477*(65535&(i^=i>>>13))+(59797*(i>>>16)<<16))^i>>>15)>>>0).toString(36)}(n)+l;return{name:d,styles:n,next:b}}},59410:(e,a,i)=>{"use strict";var t;i.d(a,{i:()=>s,s:()=>o});var n=i(30758),r=!!(t||(t=i.t(n,2))).useInsertionEffect&&(t||(t=i.t(n,2))).useInsertionEffect,o=r||function(e){return e()},s=r||n.useLayoutEffect},9817:(e,a,i)=>{"use strict";i.d(a,{Rk:()=>t,SF:()=>n,sk:()=>r});function t(e,a,i){var t="";return i.split(" ").forEach((function(i){void 0!==e[i]?a.push(e[i]+";"):t+=i+" "})),t}var n=function(e,a,i){var t=e.key+"-"+a.name;!1===i&&void 0===e.registered[t]&&(e.registered[t]=a.styles)},r=function(e,a,i){n(e,a,i);var t=e.key+"-"+a.name;if(void 0===e.inserted[a.name]){var r=a;do{e.insert(a===r?"."+t:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}},68688:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},13604:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"}),"Cached")},99552:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},84865:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},73236:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},10308:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},49630:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},25419:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList")},88710:(e,a,i)=>{"use strict";var t=i(5855);a.A=void 0;var n=t(i(86629)),r=i(86070);a.A=(0,n.default)((0,r.jsx)("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"}),"ViewQuilt")},61:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)([(0,n.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,n.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime")},13387:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},86730:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"}),"AddAPhoto")},31948:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"}),"AddModerator")},51510:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},65684:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},20824:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},86376:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m14 7-5 5 5 5z"}),"ArrowLeft")},8011:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight")},96204:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt")},83470:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z"}),"AutoAwesome")},18389:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"Block")},88978:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2"}),"Bookmark")},74663:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M21 7h-2v2h-2V7h-2V5h2V3h2v2h2zm-2 14-7-3-7 3V5c0-1.1.9-2 2-2h7c-.63.84-1 1.87-1 3 0 2.76 2.24 5 5 5 .34 0 .68-.03 1-.1z"}),"BookmarkAdd")},63050:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M21 7h-6V5h6zm-2 3.9c-.32.07-.66.1-1 .1-2.76 0-5-2.24-5-5 0-1.13.37-2.16 1-3H7c-1.1 0-2 .9-2 2v16l7-3 7 3z"}),"BookmarkRemove")},70417:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m19 18 2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"}),"Bookmarks")},37404:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},8068:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},73914:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"}),"Circle")},18613:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},62128:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},18854:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M21.5 14.98c-.02 0-.03 0-.05.01C21.2 13.3 19.76 12 18 12c-1.4 0-2.6.83-3.16 2.02C13.26 14.1 12 15.4 12 17c0 1.66 1.34 3 3 3l6.5-.02c1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5M10 4.26v2.09C7.67 7.18 6 9.39 6 12c0 1.77.78 3.34 2 4.44V14h2v6H4v-2h2.73C5.06 16.54 4 14.4 4 12c0-3.73 2.55-6.85 6-7.74M20 6h-2.73c1.43 1.26 2.41 3.01 2.66 5h-2.02c-.23-1.36-.93-2.55-1.91-3.44V10h-2V4h6z"}),"CloudSync")},29610:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3z"}),"CreateNewFolder")},34101:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkMode")},47749:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},74754:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},99241:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)([(0,n.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),(0,n.jsx)("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed")},25210:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},53899:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess")},70211:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},56578:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{fillRule:"evenodd",d:"M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M10 17H5v-2h5zm0-4H5v-2h5zm0-4H5V7h5zm4.82 6L12 12.16l1.41-1.41 1.41 1.42L17.99 9l1.42 1.42z"}),"FactCheck")},68564:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05"}),"FavoriteBorder")},50684:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"FileDownload")},22273:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload")},80801:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M5 15H3v4c0 1.1.9 2 2 2h4v-2H5zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2m0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2zM12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"FilterCenterFocus")},99013:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},72238:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder")},30949:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M22 8v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2l.01-12c0-1.1.89-2 1.99-2h6l2 2h8c1.1 0 2 .9 2 2m-5.5 2V9h-2v1H12v1.5h1v4c0 .83.67 1.5 1.5 1.5h2c.83 0 1.5-.67 1.5-1.5v-4h1V10zm0 5.5h-2v-4h2z"}),"FolderDelete")},82919:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},40773:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help")},8636:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History")},41991:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft")},33798:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},83029:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},33813:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9H9V9h10zm-4 4H9v-2h6zm4-8H9V5h10z"}),"LibraryBooks")},11823:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightMode")},6487:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 16h5v-2H3zm6.5 0h5v-2h-5zm6.5 0h5v-2h-5zM3 20h2v-2H3zm4 0h2v-2H7zm4 0h2v-2h-2zm4 0h2v-2h-2zm4 0h2v-2h-2zM3 12h8v-2H3zm10 0h8v-2h-8zM3 4v4h18V4z"}),"LineStyle")},14621:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},80802:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List")},21252:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Markunread")},98876:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)([(0,n.jsx)("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55"},"0"),(0,n.jsx)("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2"},"1")],"MonitorHeart")},50557:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},87546:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested")},371:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew")},54638:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},38799:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 7h-8v6h8zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2m0 16.01H3V4.98h18z"}),"PictureInPicture")},80328:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 11h-8v6h8zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2m-2 .02H3V4.97h18z"}),"PictureInPictureAlt")},6799:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},99701:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)([(0,n.jsx)("path",{d:"M17 19.22H5V7h7V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-7h-2z"},"0"),(0,n.jsx)("path",{d:"M19 2h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V7h3V5h-3zM7 9h8v2H7zm0 3v2h8v-2h-3zm0 3h8v2H7z"},"1")],"PostAdd")},74199:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public")},87331:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"}),"PushPin")},49226:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"RadioButtonChecked")},37739:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"RadioButtonUnchecked")},10398:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove")},63626:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11H7v-2h10z"}),"RemoveCircle")},91663:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m0 14H3V5h18zm-5-7v2H8v-2z"}),"RemoveFromQueue")},92802:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},75552:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security")},37735:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},29394:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort")},54499:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M14.94 4.66h-4.72l2.36-2.36zm-4.69 14.71h4.66l-2.33 2.33zM6.1 6.27 1.6 17.73h1.84l.92-2.45h5.11l.92 2.45h1.84L7.74 6.27zm-1.13 7.37 1.94-5.18 1.94 5.18zm10.76 2.5h6.12v1.59h-8.53v-1.29l5.92-8.56h-5.88v-1.6h8.3v1.26z"}),"SortByAlpha")},86190:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M7.06 8.94 5 8l2.06-.94L8 5l.94 2.06L11 8l-2.06.94L8 11zM8 21l.94-2.06L11 18l-2.06-.94L8 15l-.94 2.06L5 18l2.06.94zm-3.63-8.63L3 13l1.37.63L5 15l.63-1.37L7 13l-1.37-.63L5 11zM12 12c0-2.73 1.08-5.27 2.75-7.25L12 2h7v7l-2.82-2.82C14.84 7.82 14 9.88 14 12c0 3.32 2.1 6.36 5 7.82V22c-4.09-1.59-7-5.65-7-10"}),"SwitchAccessShortcut")},8235:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z"}),"UnfoldLess")},40899:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"}),"UnfoldMore")},81448:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z"}),"VerticalAlignBottom")},78368:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M8 11h3v10h2V11h3l-4-4zM4 3v2h16V3z"}),"VerticalAlignTop")},27055:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList")},15370:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"}),"ViewQuilt")},11949:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},81275:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff")},38253:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp")},34097:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"}),"Webhook")},56493:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"}),"Widgets")},51334:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)([(0,n.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},"0"),(0,n.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn")},6698:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M9 9V3H7v2.59L3.91 2.5 2.5 3.91 5.59 7H3v2zm12 0V7h-2.59l3.09-3.09-1.41-1.41L17 5.59V3h-2v6zM3 15v2h2.59L2.5 20.09l1.41 1.41L7 18.41V21h2v-6zm12 0v6h2v-2.59l3.09 3.09 1.41-1.41L18.41 17H21v-2z"}),"ZoomInMap")},86629:(e,a,i)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=i(22735)},79184:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),575==i.j)var t=i(26325);if(575==i.j)var n=i(39460);var r=i(30758);if(575==i.j)var o=i(13526);if(575==i.j)var s=i(85154);var l=i(84361);if(575==i.j)var d=i(74692);var c=i(64858);if(575==i.j)var u=i(67842);var p=i(86070);const m=575==i.j?["className"]:null,b=(0,l.Ay)(c.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),g=575==i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAlertTitle"}),{className:r}=i,l=(0,n.A)(i,m),c=i,g=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.x,a)})(c);return(0,p.jsx)(b,(0,t.A)({gutterBottom:!0,component:"div",ownerState:c,ref:a,className:(0,o.A)(g.root,r)},l))})):null,h=575==i.j?g:null},67842:(e,a,i)=>{"use strict";i.d(a,{x:()=>r});var t=i(13028);if(575==i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiAlertTitle",e)}(0,t.A)("MuiAlertTitle",["root"])},20859:(e,a,i)=>{"use strict";i.d(a,{A:()=>M});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361),c=i(74692),u=i(48056),p=i(25697),m=i(74365),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiAlert",e)}const k=(0,b.A)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=i(82794),f=i(23520),y=i(86070);const w=(0,f.A)((0,y.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),S=(0,f.A)((0,y.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),T=(0,f.A)((0,y.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),A=(0,f.A)((0,y.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined");var z=i(26313);const P=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],j=(0,d.Ay)(m.A,{name:"MuiAlert",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${(0,p.A)(i.color||i.severity)}`]]}})((({theme:e})=>{const a="light"===e.palette.mode?l.e$:l.a,i="light"===e.palette.mode?l.a:l.e$;return(0,n.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([t])=>({props:{colorSeverity:t,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${t}Color`]:a(e.palette[t].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${t}StandardBg`]:i(e.palette[t].light,.9),[`& .${k.icon}`]:e.vars?{color:e.vars.palette.Alert[`${t}IconColor`]}:{color:e.palette[t].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:a(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${k.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.dark)).map((([a])=>({props:{colorSeverity:a,variant:"filled"},style:(0,n.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${a}FilledColor`],backgroundColor:e.vars.palette.Alert[`${a}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[a].dark:e.palette[a].main,color:e.palette.getContrastText(e.palette[a].main)})})))]})})),C=(0,d.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,a)=>a.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),x=(0,d.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),D=(0,d.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),O={success:(0,y.jsx)(w,{fontSize:"inherit"}),warning:(0,y.jsx)(S,{fontSize:"inherit"}),error:(0,y.jsx)(T,{fontSize:"inherit"}),info:(0,y.jsx)(A,{fontSize:"inherit"})},M=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiAlert"}),{action:r,children:l,className:d,closeText:m="Close",color:b,components:g={},componentsProps:k={},icon:f,iconMapping:w=O,onClose:S,role:T="alert",severity:A="success",slotProps:M={},slots:I={},variant:B="standard"}=i,L=(0,t.A)(i,P),R=(0,n.A)({},i,{color:b,severity:A,variant:B,colorSeverity:b||A}),N=(e=>{const{variant:a,color:i,severity:t,classes:n}=e,r={root:["root",`color${(0,p.A)(i||t)}`,`${a}${(0,p.A)(i||t)}`,`${a}`],icon:["icon"],message:["message"],action:["action"]};return(0,s.A)(r,h,n)})(R),E={slots:(0,n.A)({closeButton:g.CloseButton,closeIcon:g.CloseIcon},I),slotProps:(0,n.A)({},k,M)},[F,_]=(0,u.A)("closeButton",{elementType:v.A,externalForwardedProps:E,ownerState:R}),[W,U]=(0,u.A)("closeIcon",{elementType:z.A,externalForwardedProps:E,ownerState:R});return(0,y.jsxs)(j,(0,n.A)({role:T,elevation:0,ownerState:R,className:(0,o.A)(N.root,d),ref:a},L,{children:[!1!==f?(0,y.jsx)(C,{ownerState:R,className:N.icon,children:f||w[A]||O[A]}):null,(0,y.jsx)(x,{ownerState:R,className:N.message,children:l}),null!=r?(0,y.jsx)(D,{ownerState:R,className:N.action,children:r}):null,null==r&&S?(0,y.jsx)(D,{ownerState:R,className:N.action,children:(0,y.jsx)(F,(0,n.A)({size:"small","aria-label":m,title:m,color:"inherit",onClick:S},_,{children:(0,y.jsx)(W,(0,n.A)({fontSize:"small"},U))}))}):null]}))}))},48360:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>v}),!/^(575|61)$/.test(i.j))var t=i(39460);var n=i(26325),r=i(30758);if(!/^(575|61)$/.test(i.j))var o=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(85154);var l=i(84361);if(!/^(575|61)$/.test(i.j))var d=i(74692);var c=i(25697),u=i(74365);if(!/^(575|61)$/.test(i.j))var p=i(80218);var m=i(86070);const b=/^(575|61)$/.test(i.j)?null:["className","color","enableColorOnDark","position"],g=(e,a)=>e?`${null==e?void 0:e.replace(")","")}, ${a})`:a,h=(0,l.Ay)(u.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`position${(0,c.A)(i.position)}`],a[`color${(0,c.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,n.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===a.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===a.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===a.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===a.position&&{position:"static"},"relative"===a.position&&{position:"relative"},!e.vars&&(0,n.A)({},"default"===a.color&&{backgroundColor:i,color:e.palette.getContrastText(i)},a.color&&"default"!==a.color&&"inherit"!==a.color&&"transparent"!==a.color&&{backgroundColor:e.palette[a.color].main,color:e.palette[a.color].contrastText},"inherit"===a.color&&{color:"inherit"},"dark"===e.palette.mode&&!a.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===a.color&&(0,n.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,n.A)({},"default"===a.color&&{"--AppBar-background":a.enableColorOnDark?e.vars.palette.AppBar.defaultBg:g(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":a.enableColorOnDark?e.vars.palette.text.primary:g(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},a.color&&!a.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":a.enableColorOnDark?e.vars.palette[a.color].main:g(e.vars.palette.AppBar.darkBg,e.vars.palette[a.color].main),"--AppBar-color":a.enableColorOnDark?e.vars.palette[a.color].contrastText:g(e.vars.palette.AppBar.darkColor,e.vars.palette[a.color].contrastText)},!["inherit","transparent"].includes(a.color)&&{backgroundColor:"var(--AppBar-background)"},{color:"inherit"===a.color?"inherit":"var(--AppBar-color)"},"transparent"===a.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),k=/^(575|61)$/.test(i.j)?null:r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAppBar"}),{className:r,color:l="primary",enableColorOnDark:u=!1,position:g="fixed"}=i,k=(0,t.A)(i,b),v=(0,n.A)({},i,{color:l,position:g,enableColorOnDark:u}),f=(e=>{const{color:a,position:i,classes:t}=e,n={root:["root",`color${(0,c.A)(a)}`,`position${(0,c.A)(i)}`]};return(0,s.A)(n,p.F,t)})(v);return(0,m.jsx)(h,(0,n.A)({square:!0,component:"header",ownerState:v,elevation:4,className:(0,o.A)(f.root,r,"fixed"===g&&"mui-fixed"),ref:a},k))})),v=/^(575|61)$/.test(i.j)?null:k},80218:(e,a,i)=>{"use strict";i.d(a,{F:()=>r});var t=i(13028);if(!/^(575|61)$/.test(i.j))var n=i(26468);function r(e){return(0,n.Ay)("MuiAppBar",e)}(0,t.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"])},20649:(e,a,i)=>{"use strict";i.d(a,{A:()=>Z});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(37446),c=i(89823),u=i(84361),p=i(74692),m=i(25697),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiListSubheader",e)}(0,b.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var k=i(86070);const v=["className","color","component","disableGutters","disableSticky","inset"],f=(0,u.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"default"!==i.color&&a[`color${(0,m.A)(i.color)}`],!i.disableGutters&&a.gutters,i.inset&&a.inset,!i.disableSticky&&a.sticky]}})((({theme:e,ownerState:a})=>(0,n.A)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===a.color&&{color:(e.vars||e).palette.primary.main},"inherit"===a.color&&{color:"inherit"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.inset&&{paddingLeft:72},!a.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),y=r.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiListSubheader"}),{className:r,color:l="default",component:d="li",disableGutters:c=!1,disableSticky:u=!1,inset:b=!1}=i,g=(0,t.A)(i,v),y=(0,n.A)({},i,{color:l,component:d,disableGutters:c,disableSticky:u,inset:b}),w=(e=>{const{classes:a,color:i,disableGutters:t,inset:n,disableSticky:r}=e,o={root:["root","default"!==i&&`color${(0,m.A)(i)}`,!t&&"gutters",n&&"inset",!r&&"sticky"]};return(0,s.A)(o,h,a)})(y);return(0,k.jsx)(f,(0,n.A)({as:d,className:(0,o.A)(w.root,r),ref:a,ownerState:y},g))}));y.muiSkipListHighlight=!0;const w=y;var S=i(74365),T=i(82794),A=i(8992),z=i(63444),P=i(81360),j=i(15744),C=i(48584),x=i(26313),D=i(74321);function O(e){return(0,g.Ay)("MuiAutocomplete",e)}const M=(0,b.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var I,B,L=i(7443);const R=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],N=["ref"],E=["key"],F=["key"],_=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{fullWidth:t,hasClearIcon:n,hasPopupIcon:r,inputFocused:o,size:s}=i;return[{[`& .${M.tag}`]:a.tag},{[`& .${M.tag}`]:a[`tagSize${(0,m.A)(s)}`]},{[`& .${M.inputRoot}`]:a.inputRoot},{[`& .${M.input}`]:a.input},{[`& .${M.input}`]:o&&a.inputFocused},a.root,t&&a.fullWidth,r&&a.hasPopupIcon,n&&a.hasClearIcon]}})({[`&.${M.focused} .${M.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${M.clearIndicator}`]:{visibility:"visible"}},[`& .${M.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${M.inputRoot}`]:{[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:30},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:56},[`& .${M.input}`]:{width:0,minWidth:30}},[`& .${z.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${z.A.root}.${P.A.sizeSmall}`]:{[`& .${z.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${j.A.root}`]:{padding:9,[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:39},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:65},[`& .${M.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${M.endAdornment}`]:{right:9}},[`& .${j.A.root}.${P.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${M.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${C.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${M.hasPopupIcon}&, .${M.hasClearIcon}&`]:{paddingRight:39},[`.${M.hasPopupIcon}.${M.hasClearIcon}&`]:{paddingRight:65},[`& .${C.A.input}`]:{padding:"7px 4px"},[`& .${M.endAdornment}`]:{right:9}},[`& .${C.A.root}.${P.A.sizeSmall}`]:{paddingBottom:1,[`& .${C.A.input}`]:{padding:"2.5px 4px"}},[`& .${P.A.hiddenLabel}`]:{paddingTop:8},[`& .${C.A.root}.${P.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${M.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${C.A.root}.${P.A.hiddenLabel}.${P.A.sizeSmall}`]:{[`& .${M.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${M.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${M.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${M.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${M.inputRoot}`]:{flexWrap:"wrap"}}}]}),W=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,a)=>a.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),U=(0,u.Ay)(T.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,a)=>a.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),G=(0,u.Ay)(T.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.popupIndicator,e.popupOpen&&a.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),K=(0,u.Ay)(c.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${M.option}`]:a.option},a.popper,i.disablePortal&&a.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),V=(0,u.Ay)(S.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,a)=>a.paper})((({theme:e})=>(0,n.A)({},e.typography.body1,{overflow:"auto"}))),q=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,a)=>a.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),H=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,a)=>a.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),$=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,a)=>a.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${M.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${M.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${M.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${M.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${M.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),J=(0,u.Ay)(w,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,a)=>a.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Q=(0,u.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,a)=>a.groupUl})({padding:0,[`& .${M.option}`]:{paddingLeft:24}}),Z=r.forwardRef((function(e,a){var i,l,u,b;const g=(0,p.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:h=!1,autoHighlight:v=!1,autoSelect:f=!1,blurOnSelect:y=!1,ChipProps:w,className:T,clearIcon:z=I||(I=(0,k.jsx)(x.A,{fontSize:"small"})),clearOnBlur:P=!g.freeSolo,clearOnEscape:j=!1,clearText:C="Clear",closeText:M="Close",componentsProps:Z={},defaultValue:Y=(g.multiple?[]:null),disableClearable:X=!1,disableCloseOnSelect:ee=!1,disabled:ae=!1,disabledItemsFocusable:ie=!1,disableListWrap:te=!1,disablePortal:ne=!1,filterSelectedOptions:re=!1,forcePopupIcon:oe="auto",freeSolo:se=!1,fullWidth:le=!1,getLimitTagsText:de=e=>`+${e}`,getOptionLabel:ce,groupBy:ue,handleHomeEndKeys:pe=!g.freeSolo,includeInputInList:me=!1,limitTags:be=-1,ListboxComponent:ge="ul",ListboxProps:he,loading:ke=!1,loadingText:ve="Loading…",multiple:fe=!1,noOptionsText:ye="No options",openOnFocus:we=!1,openText:Se="Open",PaperComponent:Te=S.A,PopperComponent:Ae=c.A,popupIcon:ze=B||(B=(0,k.jsx)(D.A,{})),readOnly:Pe=!1,renderGroup:je,renderInput:Ce,renderOption:xe,renderTags:De,selectOnFocus:Oe=!g.freeSolo,size:Me="medium",slotProps:Ie={}}=g,Be=(0,t.A)(g,R),{getRootProps:Le,getInputProps:Re,getInputLabelProps:Ne,getPopupIndicatorProps:Ee,getClearProps:Fe,getTagProps:_e,getListboxProps:We,getOptionProps:Ue,value:Ge,dirty:Ke,expanded:Ve,id:qe,popupOpen:He,focused:$e,focusedTag:Je,anchorEl:Qe,setAnchorEl:Ze,inputValue:Ye,groupedOptions:Xe}=(0,d.A)((0,n.A)({},g,{componentName:"Autocomplete"})),ea=!X&&!ae&&Ke&&!Pe,aa=(!se||!0===oe)&&!1!==oe,{onMouseDown:ia}=Re(),{ref:ta}=null!=he?he:{},na=We(),{ref:ra}=na,oa=(0,t.A)(na,N),sa=(0,L.A)(ra,ta),la=ce||(e=>{var a;return null!=(a=e.label)?a:e}),da=(0,n.A)({},g,{disablePortal:ne,expanded:Ve,focused:$e,fullWidth:le,getOptionLabel:la,hasClearIcon:ea,hasPopupIcon:aa,inputFocused:-1===Je,popupOpen:He,size:Me}),ca=(e=>{const{classes:a,disablePortal:i,expanded:t,focused:n,fullWidth:r,hasClearIcon:o,hasPopupIcon:l,inputFocused:d,popupOpen:c,size:u}=e,p={root:["root",t&&"expanded",n&&"focused",r&&"fullWidth",o&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",d&&"inputFocused"],tag:["tag",`tagSize${(0,m.A)(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",i&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,s.A)(p,O,a)})(da);let ua;if(fe&&Ge.length>0){const e=e=>(0,n.A)({className:ca.tag,disabled:ae},_e(e));ua=De?De(Ge,e,da):Ge.map(((a,i)=>{const r=e({index:i}),{key:o}=r,s=(0,t.A)(r,E);return(0,k.jsx)(A.A,(0,n.A)({label:la(a),size:Me},s,w),o)}))}if(be>-1&&Array.isArray(ua)){const e=ua.length-be;!$e&&e>0&&(ua=ua.splice(0,be),ua.push((0,k.jsx)("span",{className:ca.tag,children:de(e)},ua.length)))}const pa=je||(e=>(0,k.jsxs)("li",{children:[(0,k.jsx)(J,{className:ca.groupLabel,ownerState:da,component:"div",children:e.group}),(0,k.jsx)(Q,{className:ca.groupUl,ownerState:da,children:e.children})]},e.key)),ma=xe||((e,a)=>{const{key:i}=e,r=(0,t.A)(e,F);return(0,k.jsx)("li",(0,n.A)({},r,{children:la(a)}),i)}),ba=(e,a)=>{const i=Ue({option:e,index:a});return ma((0,n.A)({},i,{className:ca.option}),e,{selected:i["aria-selected"],index:a,inputValue:Ye},da)},ga=null!=(i=Ie.clearIndicator)?i:Z.clearIndicator,ha=null!=(l=Ie.paper)?l:Z.paper,ka=null!=(u=Ie.popper)?u:Z.popper,va=null!=(b=Ie.popupIndicator)?b:Z.popupIndicator,fa=e=>(0,k.jsx)(K,(0,n.A)({as:Ae,disablePortal:ne,style:{width:Qe?Qe.clientWidth:null},ownerState:da,role:"presentation",anchorEl:Qe,open:He},ka,{className:(0,o.A)(ca.popper,null==ka?void 0:ka.className),children:(0,k.jsx)(V,(0,n.A)({ownerState:da,as:Te},ha,{className:(0,o.A)(ca.paper,null==ha?void 0:ha.className),children:e}))}));let ya=null;return Xe.length>0?ya=fa((0,k.jsx)($,(0,n.A)({as:ge,className:ca.listbox,ownerState:da},oa,he,{ref:sa,children:Xe.map(((e,a)=>ue?pa({key:e.key,group:e.group,children:e.options.map(((a,i)=>ba(a,e.index+i)))}):ba(e,a)))}))):ke&&0===Xe.length?ya=fa((0,k.jsx)(q,{className:ca.loading,ownerState:da,children:ve})):0!==Xe.length||se||ke||(ya=fa((0,k.jsx)(H,{className:ca.noOptions,ownerState:da,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ye}))),(0,k.jsxs)(r.Fragment,{children:[(0,k.jsx)(_,(0,n.A)({ref:a,className:(0,o.A)(ca.root,T),ownerState:da},Le(Be),{children:Ce({id:qe,disabled:ae,fullWidth:!0,size:"small"===Me?"small":void 0,InputLabelProps:Ne(),InputProps:(0,n.A)({ref:Ze,className:ca.inputRoot,startAdornment:ua,onClick:e=>{e.target===e.currentTarget&&ia(e)}},(ea||aa)&&{endAdornment:(0,k.jsxs)(W,{className:ca.endAdornment,ownerState:da,children:[ea?(0,k.jsx)(U,(0,n.A)({},Fe(),{"aria-label":C,title:C,ownerState:da},ga,{className:(0,o.A)(ca.clearIndicator,null==ga?void 0:ga.className),children:z})):null,aa?(0,k.jsx)(G,(0,n.A)({},Ee(),{disabled:ae,"aria-label":He?M:Se,title:He?M:Se,ownerState:da},va,{className:(0,o.A)(ca.popupIndicator,null==va?void 0:va.className),children:ze})):null]})}),inputProps:(0,n.A)({className:ca.input,disabled:ae,readOnly:Pe},Re())})})),Qe?ya:null]})}))},56780:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(39460),n=i(26325),r=i(30758),o=(i(84276),i(13526)),s=i(85154),l=i(84361),d=i(74692),c=i(75272),u=i(10858),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiAvatarGroup",e)}const g=(0,p.A)("MuiAvatarGroup",["root","avatar"]);var h=i(86070);const k=["children","className","component","componentsProps","max","renderSurplus","slotProps","spacing","total","variant"],v={small:-16,medium:null},f=(0,l.Ay)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,a)=>(0,n.A)({[`& .${g.avatar}`]:a.avatar},a.root)})((({theme:e,ownerState:a})=>{const i=a.spacing&&void 0!==v[a.spacing]?v[a.spacing]:-a.spacing;return{[`& .${c.A.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:null!=i?i:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}})),y=r.forwardRef((function(e,a){var i;const l=(0,d.b)({props:e,name:"MuiAvatarGroup"}),{children:c,className:p,component:m="div",componentsProps:g={},max:v=5,renderSurplus:y,slotProps:w={},spacing:S="medium",total:T,variant:A="circular"}=l,z=(0,t.A)(l,k);let P=v<2?2:v;const j=(0,n.A)({},l,{max:v,spacing:S,component:m,variant:A}),C=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],avatar:["avatar"]},b,a)})(j),x=r.Children.toArray(c).filter((e=>r.isValidElement(e))),D=T||x.length;D===P&&(P+=1),P=Math.min(D+1,P);const O=Math.min(x.length,P-1),M=Math.max(D-P,D-O,0),I=y?y(M):`+${M}`,B=null!=(i=w.additionalAvatar)?i:g.additionalAvatar;return(0,h.jsxs)(f,(0,n.A)({as:m,ownerState:j,className:(0,o.A)(C.root,p),ref:a},z,{children:[M?(0,h.jsx)(u.A,(0,n.A)({variant:A},B,{className:(0,o.A)(C.avatar,null==B?void 0:B.className),children:I})):null,x.slice(0,O).reverse().map((e=>r.cloneElement(e,{className:(0,o.A)(e.props.className,C.avatar),variant:e.props.variant||A})))]}))}))},10858:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(84361),d=i(74692),c=i(23520),u=i(86070);const p=(0,c.A)((0,u.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var m=i(75272),b=i(48056);const g=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],h=(0,l.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],i.colorDefault&&a.colorDefault]}})((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,n.A)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:(0,n.A)({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]}))),k=(0,l.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,a)=>a.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),v=(0,l.Ay)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,a)=>a.fallback})({width:"75%",height:"75%"});const f=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiAvatar"}),{alt:l,children:c,className:p,component:f="div",slots:y={},slotProps:w={},imgProps:S,sizes:T,src:A,srcSet:z,variant:P="circular"}=i,j=(0,t.A)(i,g);let C=null;const x=function({crossOrigin:e,referrerPolicy:a,src:i,srcSet:t}){const[n,o]=r.useState(!1);return r.useEffect((()=>{if(!i&&!t)return;o(!1);let n=!0;const r=new Image;return r.onload=()=>{n&&o("loaded")},r.onerror=()=>{n&&o("error")},r.crossOrigin=e,r.referrerPolicy=a,r.src=i,t&&(r.srcset=t),()=>{n=!1}}),[e,a,i,t]),n}((0,n.A)({},S,{src:A,srcSet:z})),D=A||z,O=D&&"error"!==x,M=(0,n.A)({},i,{colorDefault:!O,component:f,variant:P}),I=(e=>{const{classes:a,variant:i,colorDefault:t}=e,n={root:["root",i,t&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.A)(n,m.k,a)})(M),[B,L]=(0,b.A)("img",{className:I.img,elementType:k,externalForwardedProps:{slots:y,slotProps:{img:(0,n.A)({},S,w.img)}},additionalProps:{alt:l,src:A,srcSet:z,sizes:T},ownerState:M});return C=O?(0,u.jsx)(B,(0,n.A)({},L)):c||0===c?c:D&&l?l[0]:(0,u.jsx)(v,{ownerState:M,className:I.fallback}),(0,u.jsx)(h,(0,n.A)({as:f,ownerState:M,className:(0,o.A)(I.root,p),ref:a},j,{children:C}))}))},75272:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,k:()=>r});var t=i(13028),n=i(26468);function r(e){return(0,n.Ay)("MuiAvatar",e)}const o=(0,t.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),s=/^(575|61)$/.test(i.j)?null:o},77880:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(84361),d=i(74692),c=i(86272),u=i(13028),p=i(26468);function m(e){return(0,p.Ay)("MuiBackdrop",e)}(0,u.A)("MuiBackdrop",["root","invisible"]);var b=i(86070);const g=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],h=(0,l.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.invisible&&a.invisible]}})((({ownerState:e})=>(0,n.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),k=r.forwardRef((function(e,a){var i,r,l;const u=(0,d.b)({props:e,name:"MuiBackdrop"}),{children:p,className:k,component:v="div",components:f={},componentsProps:y={},invisible:w=!1,open:S,slotProps:T={},slots:A={},TransitionComponent:z=c.A,transitionDuration:P}=u,j=(0,t.A)(u,g),C=(0,n.A)({},u,{component:v,invisible:w}),x=(e=>{const{classes:a,invisible:i}=e,t={root:["root",i&&"invisible"]};return(0,s.A)(t,m,a)})(C),D=null!=(i=T.root)?i:y.root;return(0,b.jsx)(z,(0,n.A)({in:S,timeout:P},j,{children:(0,b.jsx)(h,(0,n.A)({"aria-hidden":!0},D,{as:null!=(r=null!=(l=A.root)?l:f.Root)?r:v,className:(0,o.A)(x.root,k,null==D?void 0:D.className),ownerState:(0,n.A)({},C,null==D?void 0:D.ownerState),classes:x,ref:a,children:p}))}))}))},75471:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(40034),l=i(85154),d=i(54860),c=i(82163),u=i(84361),p=i(74692),m=i(25697),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiBadge",e)}const k=(0,b.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var v=i(86070);const f=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],y=(0,u.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,a)=>a.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),w=(0,u.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.badge,a[i.variant],a[`anchorOrigin${(0,m.A)(i.anchorOrigin.vertical)}${(0,m.A)(i.anchorOrigin.horizontal)}${(0,m.A)(i.overlap)}`],"default"!==i.color&&a[`color${(0,m.A)(i.color)}`],i.invisible&&a.invisible]}})((({theme:e})=>{var a;return{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}),variants:[...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i,t;return(null!=(i=e.vars)?i:e).palette[a].main&&(null!=(t=e.vars)?t:e).palette[a].contrastText})).map((a=>({props:{color:a},style:{backgroundColor:(e.vars||e).palette[a].main,color:(e.vars||e).palette[a].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${k.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}})),S=r.forwardRef((function(e,a){var i,r,u,b,g,k;const S=(0,p.b)({props:e,name:"MuiBadge"}),{anchorOrigin:T={vertical:"top",horizontal:"right"},className:A,component:z,components:P={},componentsProps:j={},children:C,overlap:x="rectangular",color:D="default",invisible:O=!1,max:M=99,badgeContent:I,slots:B,slotProps:L,showZero:R=!1,variant:N="standard"}=S,E=(0,n.A)(S,f),{badgeContent:F,invisible:_,max:W,displayValue:U}=(0,c.A)({max:M,invisible:O,badgeContent:I,showZero:R}),G=(0,s.A)({anchorOrigin:T,color:D,overlap:x,variant:N,badgeContent:I}),K=_||null==F&&"dot"!==N,{color:V=D,overlap:q=x,anchorOrigin:H=T,variant:$=N}=K?G:S,J="dot"!==$?U:void 0,Q=(0,t.A)({},S,{badgeContent:F,invisible:K,max:W,displayValue:J,showZero:R,anchorOrigin:H,color:V,overlap:q,variant:$}),Z=(e=>{const{color:a,anchorOrigin:i,invisible:t,overlap:n,variant:r,classes:o={}}=e,s={root:["root"],badge:["badge",r,t&&"invisible",`anchorOrigin${(0,m.A)(i.vertical)}${(0,m.A)(i.horizontal)}`,`anchorOrigin${(0,m.A)(i.vertical)}${(0,m.A)(i.horizontal)}${(0,m.A)(n)}`,`overlap${(0,m.A)(n)}`,"default"!==a&&`color${(0,m.A)(a)}`]};return(0,l.A)(s,h,o)})(Q),Y=null!=(i=null!=(r=null==B?void 0:B.root)?r:P.Root)?i:y,X=null!=(u=null!=(b=null==B?void 0:B.badge)?b:P.Badge)?u:w,ee=null!=(g=null==L?void 0:L.root)?g:j.root,ae=null!=(k=null==L?void 0:L.badge)?k:j.badge,ie=(0,d.A)({elementType:Y,externalSlotProps:ee,externalForwardedProps:E,additionalProps:{ref:a,as:z},ownerState:Q,className:(0,o.A)(null==ee?void 0:ee.className,Z.root,A)}),te=(0,d.A)({elementType:X,externalSlotProps:ae,ownerState:Q,className:(0,o.A)(Z.badge,null==ae?void 0:ae.className)});return(0,v.jsxs)(Y,(0,t.A)({},ie,{children:[C,(0,v.jsx)(X,(0,t.A)({},te,{children:J}))]}))}))},82163:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),!/^(575|61)$/.test(i.j))var t=i(40034);const n=/^(575|61)$/.test(i.j)?null:function(e){const{badgeContent:a,invisible:i=!1,max:n=99,showZero:r=!1}=e,o=(0,t.A)({badgeContent:a,max:n});let s=i;!1!==i||0!==a||r||(s=!0);const{badgeContent:l,max:d=n}=s?o:e;return{badgeContent:l,invisible:s,max:d,displayValue:l&&Number(l)>d?`${d}+`:l}}},3263:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(84361),d=i(74692),c=i(32057),u=i(13028),p=i(26468);function m(e){return(0,p.Ay)("MuiBottomNavigationAction",e)}const b=(0,u.A)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);var g=i(86070);const h=["className","icon","label","onChange","onClick","selected","showLabel","value"],k=(0,l.Ay)(c.A,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.showLabel&&!i.selected&&a.iconOnly]}})((({theme:e,ownerState:a})=>(0,n.A)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!a.showLabel&&!a.selected&&{paddingTop:14},!a.showLabel&&!a.selected&&!a.label&&{paddingTop:0},{[`&.${b.selected}`]:{color:(e.vars||e).palette.primary.main}}))),v=(0,l.Ay)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,a)=>a.label})((({theme:e,ownerState:a})=>(0,n.A)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!a.showLabel&&!a.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${b.selected}`]:{fontSize:e.typography.pxToRem(14)}}))),f=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiBottomNavigationAction"}),{className:r,icon:l,label:c,onChange:u,onClick:p,value:b}=i,f=(0,t.A)(i,h),y=i,w=(e=>{const{classes:a,showLabel:i,selected:t}=e,n={root:["root",!i&&!t&&"iconOnly",t&&"selected"],label:["label",!i&&!t&&"iconOnly",t&&"selected"]};return(0,s.A)(n,m,a)})(y);return(0,g.jsxs)(k,(0,n.A)({ref:a,className:(0,o.A)(w.root,r),focusRipple:!0,onClick:e=>{u&&u(e,b),p&&p(e)},ownerState:y},f,{children:[l,(0,g.jsx)(v,{className:w.label,ownerState:y,children:c})]}))}))},12050:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>g}),!/^(575|61)$/.test(i.j))var t=i(26325);if(!/^(575|61)$/.test(i.j))var n=i(39460);var r=i(30758);i(84276);if(!/^(575|61)$/.test(i.j))var o=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(85154);var l=i(84361);if(!/^(575|61)$/.test(i.j))var d=i(74692);if(!/^(575|61)$/.test(i.j))var c=i(52336);var u=i(86070);const p=/^(575|61)$/.test(i.j)?null:["children","className","component","onChange","showLabels","value"],m=(0,l.Ay)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),b=/^(575|61)$/.test(i.j)?null:r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiBottomNavigation"}),{children:l,className:b,component:g="div",onChange:h,showLabels:k=!1,value:v}=i,f=(0,n.A)(i,p),y=(0,t.A)({},i,{component:g,showLabels:k}),w=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},c.o,a)})(y);return(0,u.jsx)(m,(0,t.A)({as:g,className:(0,o.A)(w.root,b),ref:a,ownerState:y},f,{children:r.Children.map(l,((e,a)=>{if(!r.isValidElement(e))return null;const i=void 0===e.props.value?a:e.props.value;return r.cloneElement(e,{selected:i===v,showLabel:void 0!==e.props.showLabel?e.props.showLabel:k,value:i,onChange:h})}))}))})),g=/^(575|61)$/.test(i.j)?null:b},52336:(e,a,i)=>{"use strict";i.d(a,{o:()=>r});var t=i(13028);if(!/^(575|61)$/.test(i.j))var n=i(26468);function r(e){return(0,n.Ay)("MuiBottomNavigation",e)}(0,t.A)("MuiBottomNavigation",["root"])},63606:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(85516),l=i(80780),d=i(60506),c=i(8583),u=i(86070);const p=["className","component"];var m=i(74986),b=i(89797),g=i(65857);const h=(0,i(13028).A)("MuiBox",["root"]),k=(0,b.A)(),v=function(e={}){const{themeId:a,defaultTheme:i,defaultClassName:m="MuiBox-root",generateClassName:b}=e,g=(0,s.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.A);return r.forwardRef((function(e,r){const s=(0,c.A)(i),l=(0,d.A)(e),{className:h,component:k="div"}=l,v=(0,n.A)(l,p);return(0,u.jsx)(g,(0,t.A)({as:k,ref:r,className:(0,o.A)(h,b?b(m):m),theme:a&&s[a]||s},v))}))}({themeId:g.A,defaultTheme:k,defaultClassName:h.root,generateClassName:m.A.generate}),f=v},32057:(e,a,i)=>{"use strict";i.d(a,{A:()=>K});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(85154),l=i(84361),d=i(74692),c=i(7443),u=i(63361),p=i(15506);var m=i(30123),b=i(67620);function g(e,a){var i=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){i[e.key]=function(e){return a&&(0,r.isValidElement)(e)?a(e):e}(e)})),i}function h(e,a,i){return null!=i[a]?i[a]:e.props[a]}function k(e,a,i){var t=g(e.children),n=function(e,a){function i(i){return i in a?a[i]:e[i]}e=e||{},a=a||{};var t,n=Object.create(null),r=[];for(var o in e)o in a?r.length&&(n[o]=r,r=[]):r.push(o);var s={};for(var l in a){if(n[l])for(t=0;t{if(!d&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}}),[c,d,u]),(0,T.jsx)("span",{className:b,style:g,children:(0,T.jsx)("span",{className:h})})};var z=i(13028);const P=(0,z.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),j=["center","classes","className"];let C,x,D,O,M=e=>e;const I=(0,w.i7)(C||(C=M` 0% { transform: scale(0); opacity: 0.1; @@ -8,7 +8,7 @@ transform: scale(1); opacity: 0.3; } -`)),B=(0,S.i7)(x||(x=M` +`)),B=(0,w.i7)(x||(x=M` 0% { opacity: 1; } @@ -16,7 +16,7 @@ 100% { opacity: 0; } -`)),R=(0,S.i7)(O||(O=M` +`)),L=(0,w.i7)(D||(D=M` 0% { transform: scale(1); } @@ -28,7 +28,7 @@ 100% { transform: scale(1); } -`)),L=(0,l.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),N=(0,l.Ay)(A,{name:"MuiTouchRipple",slot:"Ripple"})(D||(D=M` +`)),R=(0,l.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),N=(0,l.Ay)(A,{name:"MuiTouchRipple",slot:"Ripple"})(O||(O=M` opacity: 0; position: absolute; @@ -71,7 +71,7 @@ animation-iteration-count: infinite; animation-delay: 200ms; } -`),j.rippleVisible,I,550,(({theme:e})=>e.transitions.easing.easeInOut),j.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),j.child,j.childLeaving,B,550,(({theme:e})=>e.transitions.easing.easeInOut),j.childPulsate,R,(({theme:e})=>e.transitions.easing.easeInOut)),E=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:c}=i,u=(0,n.A)(i,C),[p,b]=o.useState([]),g=o.useRef(0),m=o.useRef(null);o.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[p]);const h=o.useRef(!1),k=(0,w.A)(),v=o.useRef(null),f=o.useRef(null),S=o.useCallback((e=>{const{pulsate:a,rippleX:i,rippleY:t,rippleSize:n,cb:o}=e;b((e=>[...e,(0,T.jsx)(N,{classes:{ripple:(0,r.A)(l.ripple,j.ripple),rippleVisible:(0,r.A)(l.rippleVisible,j.rippleVisible),ripplePulsate:(0,r.A)(l.ripplePulsate,j.ripplePulsate),child:(0,r.A)(l.child,j.child),childLeaving:(0,r.A)(l.childLeaving,j.childLeaving),childPulsate:(0,r.A)(l.childPulsate,j.childPulsate)},timeout:550,pulsate:a,rippleX:i,rippleY:t,rippleSize:n},g.current)])),g.current+=1,m.current=o}),[l]),A=o.useCallback(((e={},a={},i=()=>{})=>{const{pulsate:t=!1,center:n=s||a.pulsate,fakeElement:o=!1}=a;if("mousedown"===(null==e?void 0:e.type)&&h.current)return void(h.current=!1);"touchstart"===(null==e?void 0:e.type)&&(h.current=!0);const r=o?null:f.current,l=r?r.getBoundingClientRect():{width:0,height:0,left:0,top:0};let d,c,u;if(n||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)d=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:a,clientY:i}=e.touches&&e.touches.length>0?e.touches[0]:e;d=Math.round(a-l.left),c=Math.round(i-l.top)}if(n)u=Math.sqrt((2*l.width**2+l.height**2)/3),u%2==0&&(u+=1);else{const e=2*Math.max(Math.abs((r?r.clientWidth:0)-d),d)+2,a=2*Math.max(Math.abs((r?r.clientHeight:0)-c),c)+2;u=Math.sqrt(e**2+a**2)}null!=e&&e.touches?null===v.current&&(v.current=()=>{S({pulsate:t,rippleX:d,rippleY:c,rippleSize:u,cb:i})},k.start(80,(()=>{v.current&&(v.current(),v.current=null)}))):S({pulsate:t,rippleX:d,rippleY:c,rippleSize:u,cb:i})}),[s,S,k]),z=o.useCallback((()=>{A({},{pulsate:!0})}),[A]),P=o.useCallback(((e,a)=>{if(k.clear(),"touchend"===(null==e?void 0:e.type)&&v.current)return v.current(),v.current=null,void k.start(0,(()=>{P(e,a)}));v.current=null,b((e=>e.length>0?e.slice(1):e)),m.current=a}),[k]);return o.useImperativeHandle(a,(()=>({pulsate:z,start:A,stop:P})),[z,A,P]),(0,T.jsx)(L,(0,t.A)({className:(0,r.A)(j.root,l.root,c),ref:f},u,{children:(0,T.jsx)(y,{component:null,exit:!0,children:p})}))}));var _=i(87310);function F(e){return(0,_.Ay)("MuiButtonBase",e)}const W=(0,z.A)("MuiButtonBase",["root","disabled","focusVisible"]),G=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],U=(0,l.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,a)=>a.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${W.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),q=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:b=!1,children:g,className:m,component:h="button",disabled:k=!1,disableRipple:v=!1,disableTouchRipple:f=!1,focusRipple:y=!1,LinkComponent:S="a",onBlur:w,onClick:A,onContextMenu:z,onDragLeave:j,onFocus:C,onFocusVisible:P,onKeyDown:x,onKeyUp:O,onMouseDown:D,onMouseLeave:M,onMouseUp:I,onTouchEnd:B,onTouchMove:R,onTouchStart:L,tabIndex:N=0,TouchRippleProps:_,touchRippleRef:W,type:q}=i,K=(0,n.A)(i,G),V=o.useRef(null),H=o.useRef(null),$=(0,c.A)(H,W),{isFocusVisibleRef:J,onFocus:Q,onBlur:Z,ref:Y}=(0,p.A)(),[X,ee]=o.useState(!1);k&&X&&ee(!1),o.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),V.current.focus()}})),[]);const[ae,ie]=o.useState(!1);o.useEffect((()=>{ie(!0)}),[]);const te=ae&&!v&&!k;function ne(e,a,i=f){return(0,u.A)((t=>{a&&a(t);return!i&&H.current&&H.current[e](t),!0}))}o.useEffect((()=>{X&&y&&!v&&ae&&H.current.pulsate()}),[v,y,X,ae]);const oe=ne("start",D),re=ne("stop",z),se=ne("stop",j),le=ne("stop",I),de=ne("stop",(e=>{X&&e.preventDefault(),M&&M(e)})),ce=ne("start",L),ue=ne("stop",B),pe=ne("stop",R),be=ne("stop",(e=>{Z(e),!1===J.current&&ee(!1),w&&w(e)}),!1),ge=(0,u.A)((e=>{V.current||(V.current=e.currentTarget),Q(e),!0===J.current&&(ee(!0),P&&P(e)),C&&C(e)})),me=()=>{const e=V.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},he=o.useRef(!1),ke=(0,u.A)((e=>{y&&!he.current&&X&&H.current&&" "===e.key&&(he.current=!0,H.current.stop(e,(()=>{H.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!k&&(e.preventDefault(),A&&A(e))})),ve=(0,u.A)((e=>{y&&" "===e.key&&H.current&&X&&!e.defaultPrevented&&(he.current=!1,H.current.stop(e,(()=>{H.current.pulsate(e)}))),O&&O(e),A&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&A(e)}));let fe=h;"button"===fe&&(K.href||K.to)&&(fe=S);const ye={};"button"===fe?(ye.type=void 0===q?"button":q,ye.disabled=k):(K.href||K.to||(ye.role="button"),k&&(ye["aria-disabled"]=k));const Se=(0,c.A)(a,Y,V);const we=(0,t.A)({},i,{centerRipple:b,component:h,disabled:k,disableRipple:v,disableTouchRipple:f,focusRipple:y,tabIndex:N,focusVisible:X}),Te=(e=>{const{disabled:a,focusVisible:i,focusVisibleClassName:t,classes:n}=e,o={root:["root",a&&"disabled",i&&"focusVisible"]},r=(0,s.A)(o,F,n);return i&&t&&(r.root+=` ${t}`),r})(we);return(0,T.jsxs)(U,(0,t.A)({as:fe,className:(0,r.A)(Te.root,m),ownerState:we,onBlur:be,onClick:A,onContextMenu:re,onFocus:ge,onKeyDown:ke,onKeyUp:ve,onMouseDown:oe,onMouseLeave:de,onMouseUp:le,onDragLeave:se,onTouchEnd:ue,onTouchMove:pe,onTouchStart:ce,ref:Se,tabIndex:k?-1:N,type:q},ye,K,{children:[g,te?(0,T.jsx)(E,(0,t.A)({ref:$,center:b},_)):null]}))}))},91119:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(88830),c=i(40996),u=i(3582),p=i(67335),b=i(82070),g=i(87310);function m(e){return(0,g.Ay)("MuiButtonGroup",e)}const h=(0,b.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var k=i(55266),v=i(50186),f=i(86070);const y=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],S=(0,u.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${h.grouped}`]:a.grouped},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.orientation)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}${(0,c.A)(i.orientation)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}${(0,c.A)(i.color)}`]},{[`& .${h.firstButton}`]:a.firstButton},{[`& .${h.lastButton}`]:a.lastButton},{[`& .${h.middleButton}`]:a.middleButton},a.root,a[i.variant],!0===i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth,"vertical"===i.orientation&&a.vertical]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[2]},a.disableElevation&&{boxShadow:"none"},a.fullWidth&&{width:"100%"},"vertical"===a.orientation&&{flexDirection:"column"},{[`& .${h.grouped}`]:(0,n.A)({minWidth:40,"&:hover":(0,n.A)({},"contained"===a.variant&&{boxShadow:"none"})},"contained"===a.variant&&{boxShadow:"none"}),[`& .${h.firstButton},& .${h.middleButton}`]:(0,n.A)({},"horizontal"===a.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===a.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===a.variant&&"horizontal"===a.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${h.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===a.variant&&"vertical"===a.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${h.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===a.variant&&"inherit"!==a.color&&{borderColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.5)`:(0,l.X4)(e.palette[a.color].main,.5)},"outlined"===a.variant&&"horizontal"===a.orientation&&{borderRightColor:"transparent"},"outlined"===a.variant&&"vertical"===a.orientation&&{borderBottomColor:"transparent"},"contained"===a.variant&&"horizontal"===a.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${h.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===a.variant&&"vertical"===a.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${h.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===a.variant&&"inherit"!==a.color&&{borderColor:(e.vars||e).palette[a.color].dark},{"&:hover":(0,n.A)({},"outlined"===a.variant&&"horizontal"===a.orientation&&{borderRightColor:"currentColor"},"outlined"===a.variant&&"vertical"===a.orientation&&{borderBottomColor:"currentColor"})}),[`& .${h.lastButton},& .${h.middleButton}`]:(0,n.A)({},"horizontal"===a.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===a.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===a.variant&&"horizontal"===a.orientation&&{marginLeft:-1},"outlined"===a.variant&&"vertical"===a.orientation&&{marginTop:-1})}))),w=o.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiButtonGroup"}),{children:l,className:u,color:b="primary",component:g="div",disabled:h=!1,disableElevation:w=!1,disableFocusRipple:T=!1,disableRipple:A=!1,fullWidth:z=!1,orientation:j="horizontal",size:C="medium",variant:P="outlined"}=i,x=(0,t.A)(i,y),O=(0,n.A)({},i,{color:b,component:g,disabled:h,disableElevation:w,disableFocusRipple:T,disableRipple:A,fullWidth:z,orientation:j,size:C,variant:P}),D=(e=>{const{classes:a,color:i,disabled:t,disableElevation:n,fullWidth:o,orientation:r,variant:l}=e,d={root:["root",l,"vertical"===r&&"vertical",o&&"fullWidth",n&&"disableElevation"],grouped:["grouped",`grouped${(0,c.A)(r)}`,`grouped${(0,c.A)(l)}`,`grouped${(0,c.A)(l)}${(0,c.A)(r)}`,`grouped${(0,c.A)(l)}${(0,c.A)(i)}`,t&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.A)(d,m,a)})(O),M=o.useMemo((()=>({className:D.grouped,color:b,disabled:h,disableElevation:w,disableFocusRipple:T,disableRipple:A,fullWidth:z,size:C,variant:P})),[b,h,w,T,A,z,C,P,D.grouped]),I=(0,d.A)(l),B=I.length,R=e=>{const a=0===e,i=e===B-1;return a&&i?"":a?D.firstButton:i?D.lastButton:D.middleButton};return(0,f.jsx)(S,(0,n.A)({as:g,role:"group",className:(0,r.A)(D.root,u),ref:a,ownerState:O},x,{children:(0,f.jsx)(k.A.Provider,{value:M,children:I.map(((e,a)=>(0,f.jsx)(v.A.Provider,{value:R(a),children:e},a)))})}))}))},50186:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext(void 0)},55266:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext({})},25790:(e,a,i)=>{"use strict";i.d(a,{A:()=>C});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(79728),l=i(12060),d=i(89692),c=i(3582),u=i(96896),p=i(67335),b=i(54463),g=i(40996),m=i(82070),h=i(87310);function k(e){return(0,h.Ay)("MuiButton",e)}const v=(0,m.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var f=i(55266),y=i(50186),S=i(86070);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],T=e=>(0,n.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),A=(0,c.Ay)(b.A,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${(0,g.A)(i.color)}`],a[`size${(0,g.A)(i.size)}`],a[`${i.variant}Size${(0,g.A)(i.size)}`],"inherit"===i.color&&a.colorInherit,i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth]}})((({theme:e,ownerState:a})=>{var i,t;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],r="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===a.variant&&"inherit"!==a.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===a.variant&&"inherit"!==a.color&&{border:`1px solid ${(e.vars||e).palette[a.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===a.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===a.variant&&"inherit"!==a.color&&{backgroundColor:(e.vars||e).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[a.color].main}}),"&:active":(0,n.A)({},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${v.focusVisible}`]:(0,n.A)({},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${v.disabled}`]:(0,n.A)({color:(e.vars||e).palette.action.disabled},"outlined"===a.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===a.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===a.variant&&{padding:"6px 8px"},"text"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].main},"outlined"===a.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[a.color].mainChannel} / 0.5)`:`1px solid ${(0,d.X4)(e.palette[a.color].main,.5)}`},"contained"===a.variant&&{color:e.vars?e.vars.palette.text.primary:null==(i=(t=e.palette).getContrastText)?void 0:i.call(t,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].contrastText,backgroundColor:(e.vars||e).palette[a.color].main},"inherit"===a.color&&{color:"inherit",borderColor:"currentColor"},"small"===a.size&&"text"===a.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"text"===a.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===a.size&&"outlined"===a.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"outlined"===a.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===a.size&&"contained"===a.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"contained"===a.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}})),z=(0,c.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.startIcon,a[`iconSize${(0,g.A)(i.size)}`]]}})((({ownerState:e})=>(0,n.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},T(e)))),j=(0,c.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.endIcon,a[`iconSize${(0,g.A)(i.size)}`]]}})((({ownerState:e})=>(0,n.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},T(e)))),C=o.forwardRef((function(e,a){const i=o.useContext(f.A),d=o.useContext(y.A),c=(0,s.A)(i,e),u=(0,p.b)({props:c,name:"MuiButton"}),{children:b,color:m="primary",component:h="button",className:v,disabled:T=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:x,focusVisibleClassName:O,fullWidth:D=!1,size:M="medium",startIcon:I,type:B,variant:R="text"}=u,L=(0,t.A)(u,w),N=(0,n.A)({},u,{color:m,component:h,disabled:T,disableElevation:C,disableFocusRipple:P,fullWidth:D,size:M,type:B,variant:R}),E=(e=>{const{color:a,disableElevation:i,fullWidth:t,size:o,variant:r,classes:s}=e,d={root:["root",r,`${r}${(0,g.A)(a)}`,`size${(0,g.A)(o)}`,`${r}Size${(0,g.A)(o)}`,`color${(0,g.A)(a)}`,i&&"disableElevation",t&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,g.A)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,g.A)(o)}`]},c=(0,l.A)(d,k,s);return(0,n.A)({},s,c)})(N),_=I&&(0,S.jsx)(z,{className:E.startIcon,ownerState:N,children:I}),F=x&&(0,S.jsx)(j,{className:E.endIcon,ownerState:N,children:x}),W=d||"";return(0,S.jsxs)(A,(0,n.A)({ownerState:N,className:(0,r.A)(i.className,E.root,v,W),component:h,disabled:T,focusRipple:!P,focusVisibleClassName:(0,r.A)(E.focusVisible,O),ref:a,type:B},L,{classes:E,children:[_,b,F]}))}))},61649:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>m}),61!=i.j)var t=i(40991);if(61!=i.j)var n=i(23302);var o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);var l=i(3582);if(61!=i.j)var d=i(67335);if(61!=i.j)var c=i(65441);var u=i(86070);const p=61!=i.j?["className","component"]:null,b=(0,l.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,a)=>a.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),g=61!=i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiCardContent"}),{className:o,component:l="div"}=i,g=(0,n.A)(i,p),m=(0,t.A)({},i,{component:l}),h=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},c.h,a)})(m);return(0,u.jsx)(b,(0,t.A)({as:l,className:(0,r.A)(h.root,o),ownerState:m,ref:a},g))})):null,m=61!=i.j?g:null},65441:(e,a,i)=>{"use strict";i.d(a,{h:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiCardContent",e)}(0,t.A)("MuiCardContent",["root"])},82845:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(23302);var n=i(40991),o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);if(61!=i.j)var l=i(67335);var d=i(3582);if(61!=i.j)var c=i(47797);var u=i(86070);const p=61!=i.j?["children","className","component","image","src","style"]:null,b=(0,d.Ay)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{isMediaComponent:t,isImageComponent:n}=i;return[a.root,t&&a.media,n&&a.img]}})((({ownerState:e})=>(0,n.A)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),g=61!=i.j?["video","audio","picture","iframe","img"]:null,m=61!=i.j?["picture","img"]:null,h=61!=i.j?o.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiCardMedia"}),{children:o,className:d,component:h="div",image:k,src:v,style:f}=i,y=(0,t.A)(i,p),S=-1!==g.indexOf(h),w=!S&&k?(0,n.A)({backgroundImage:`url("${k}")`},f):f,T=(0,n.A)({},i,{component:h,isMediaComponent:S,isImageComponent:-1!==m.indexOf(h)}),A=(e=>{const{classes:a,isMediaComponent:i,isImageComponent:t}=e,n={root:["root",i&&"media",t&&"img"]};return(0,s.A)(n,c.R,a)})(T);return(0,u.jsx)(b,(0,n.A)({className:(0,r.A)(A.root,d),as:h,role:!S&&k?"img":void 0,ref:a,style:w,ownerState:T,src:S?k||v:void 0},y,{children:o}))})):null,k=61!=i.j?h:null},47797:(e,a,i)=>{"use strict";i.d(a,{R:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiCardMedia",e)}(0,t.A)("MuiCardMedia",["root","media","img"])},85219:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),61!=i.j)var t=i(40991);if(61!=i.j)var n=i(23302);var o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);var l=i(3582);if(61!=i.j)var d=i(67335);var c=i(89928);if(61!=i.j)var u=i(17527);var p=i(86070);const b=61!=i.j?["className","raised"]:null,g=(0,l.Ay)(c.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,a)=>a.root})((()=>({overflow:"hidden"}))),m=61!=i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiCard"}),{className:o,raised:l=!1}=i,c=(0,n.A)(i,b),m=(0,t.A)({},i,{raised:l}),h=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.T,a)})(m);return(0,p.jsx)(g,(0,t.A)({className:(0,r.A)(h.root,o),elevation:l?8:void 0,ref:a,ownerState:m},c))})):null,h=61!=i.j?m:null},17527:(e,a,i)=>{"use strict";i.d(a,{T:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiCard",e)}(0,t.A)("MuiCard",["root"])},51464:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(80253),c=i(96631),u=i(86070);const p=(0,c.A)((0,u.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),b=(0,c.A)((0,u.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),g=(0,c.A)((0,u.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var m=i(40996),h=i(67335),k=i(3582),v=i(96896),f=i(82070),y=i(87310);function S(e){return(0,y.Ay)("MuiCheckbox",e)}const w=(0,f.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),T=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],A=(0,k.Ay)(d.A,{shouldForwardProp:e=>(0,v.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.indeterminate&&a.indeterminate,a[`size${(0,m.A)(i.size)}`],"default"!==i.color&&a[`color${(0,m.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===a.color?e.vars.palette.action.activeChannel:e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)("default"===a.color?e.palette.action.active:e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&{[`&.${w.checked}, &.${w.indeterminate}`]:{color:(e.vars||e).palette[a.color].main},[`&.${w.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),z=(0,u.jsx)(b,{}),j=(0,u.jsx)(p,{}),C=(0,u.jsx)(g,{}),P=o.forwardRef((function(e,a){var i,l;const d=(0,h.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:c=z,color:p="primary",icon:b=j,indeterminate:g=!1,indeterminateIcon:k=C,inputProps:v,size:f="medium",className:y}=d,w=(0,t.A)(d,T),P=g?k:b,x=g?k:c,O=(0,n.A)({},d,{color:p,indeterminate:g,size:f}),D=(e=>{const{classes:a,indeterminate:i,color:t,size:o}=e,r={root:["root",i&&"indeterminate",`color${(0,m.A)(t)}`,`size${(0,m.A)(o)}`]},l=(0,s.A)(r,S,a);return(0,n.A)({},a,l)})(O);return(0,u.jsx)(A,(0,n.A)({type:"checkbox",inputProps:(0,n.A)({"data-indeterminate":g},v),icon:o.cloneElement(P,{fontSize:null!=(i=P.props.fontSize)?i:f}),checkedIcon:o.cloneElement(x,{fontSize:null!=(l=x.props.fontSize)?l:f}),ownerState:O,ref:a,className:(0,r.A)(D.root,y)},w,{classes:D}))}))},31597:(e,a,i)=>{"use strict";i.d(a,{A:()=>A});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(34956),c=i(47786),u=i(40996),p=i(54463),b=i(67335),g=i(3582),m=i(82070),h=i(87310);function k(e){return(0,h.Ay)("MuiChip",e)}const v=(0,m.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var f=i(86070);const y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],S=(0,g.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{color:t,iconColor:n,clickable:o,onDelete:r,size:s,variant:l}=i;return[{[`& .${v.avatar}`]:a.avatar},{[`& .${v.avatar}`]:a[`avatar${(0,u.A)(s)}`]},{[`& .${v.avatar}`]:a[`avatarColor${(0,u.A)(t)}`]},{[`& .${v.icon}`]:a.icon},{[`& .${v.icon}`]:a[`icon${(0,u.A)(s)}`]},{[`& .${v.icon}`]:a[`iconColor${(0,u.A)(n)}`]},{[`& .${v.deleteIcon}`]:a.deleteIcon},{[`& .${v.deleteIcon}`]:a[`deleteIcon${(0,u.A)(s)}`]},{[`& .${v.deleteIcon}`]:a[`deleteIconColor${(0,u.A)(t)}`]},{[`& .${v.deleteIcon}`]:a[`deleteIcon${(0,u.A)(l)}Color${(0,u.A)(t)}`]},a.root,a[`size${(0,u.A)(s)}`],a[`color${(0,u.A)(t)}`],o&&a.clickable,o&&"default"!==t&&a[`clickableColor${(0,u.A)(t)})`],r&&a.deletable,r&&"default"!==t&&a[`deletableColor${(0,u.A)(t)}`],a[l],a[`${l}${(0,u.A)(t)}`]]}})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,n.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${v.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${v.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:i,fontSize:e.typography.pxToRem(12)},[`& .${v.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${v.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${v.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${v.icon}`]:(0,n.A)({marginLeft:5,marginRight:-6},"small"===a.size&&{fontSize:18,marginLeft:4,marginRight:-4},a.iconColor===a.color&&(0,n.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:i},"default"!==a.color&&{color:"inherit"})),[`& .${v.deleteIcon}`]:(0,n.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.X4)(e.palette.text.primary,.4)}},"small"===a.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==a.color&&{color:e.vars?`rgba(${e.vars.palette[a.color].contrastTextChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[a.color].contrastText}})},"small"===a.size&&{height:24},"default"!==a.color&&{backgroundColor:(e.vars||e).palette[a.color].main,color:(e.vars||e).palette[a.color].contrastText},a.onDelete&&{[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},a.onDelete&&"default"!==a.color&&{[`&.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette[a.color].dark}})}),(({theme:e,ownerState:a})=>(0,n.A)({},a.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},a.clickable&&"default"!==a.color&&{[`&:hover, &.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette[a.color].dark}})),(({theme:e,ownerState:a})=>(0,n.A)({},"outlined"===a.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${v.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${v.avatar}`]:{marginLeft:4},[`& .${v.avatarSmall}`]:{marginLeft:2},[`& .${v.icon}`]:{marginLeft:4},[`& .${v.iconSmall}`]:{marginLeft:2},[`& .${v.deleteIcon}`]:{marginRight:5},[`& .${v.deleteIconSmall}`]:{marginRight:3}},"outlined"===a.variant&&"default"!==a.color&&{color:(e.vars||e).palette[a.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].main,.7)}`,[`&.${v.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity)},[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.X4)(e.palette[a.color].main,e.palette.action.focusOpacity)},[`& .${v.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[a.color].main}}}))),w=(0,g.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,a)=>{const{ownerState:i}=e,{size:t}=i;return[a.label,a[`label${(0,u.A)(t)}`]]}})((({ownerState:e})=>(0,n.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7})));function T(e){return"Backspace"===e.key||"Delete"===e.key}const A=o.forwardRef((function(e,a){const i=(0,b.b)({props:e,name:"MuiChip"}),{avatar:l,className:g,clickable:m,color:h="default",component:v,deleteIcon:A,disabled:z=!1,icon:j,label:C,onClick:P,onDelete:x,onKeyDown:O,onKeyUp:D,size:M="medium",variant:I="filled",tabIndex:B,skipFocusWhenDisabled:R=!1}=i,L=(0,t.A)(i,y),N=o.useRef(null),E=(0,c.A)(N,a),_=e=>{e.stopPropagation(),x&&x(e)},F=!(!1===m||!P)||m,W=F||x?p.A:v||"div",G=(0,n.A)({},i,{component:W,disabled:z,size:M,color:h,iconColor:o.isValidElement(j)&&j.props.color||h,onDelete:!!x,clickable:F,variant:I}),U=(e=>{const{classes:a,disabled:i,size:t,color:n,iconColor:o,onDelete:r,clickable:l,variant:d}=e,c={root:["root",d,i&&"disabled",`size${(0,u.A)(t)}`,`color${(0,u.A)(n)}`,l&&"clickable",l&&`clickableColor${(0,u.A)(n)}`,r&&"deletable",r&&`deletableColor${(0,u.A)(n)}`,`${d}${(0,u.A)(n)}`],label:["label",`label${(0,u.A)(t)}`],avatar:["avatar",`avatar${(0,u.A)(t)}`,`avatarColor${(0,u.A)(n)}`],icon:["icon",`icon${(0,u.A)(t)}`,`iconColor${(0,u.A)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,u.A)(t)}`,`deleteIconColor${(0,u.A)(n)}`,`deleteIcon${(0,u.A)(d)}Color${(0,u.A)(n)}`]};return(0,s.A)(c,k,a)})(G),q=W===p.A?(0,n.A)({component:v||"div",focusVisibleClassName:U.focusVisible},x&&{disableRipple:!0}):{};let K=null;x&&(K=A&&o.isValidElement(A)?o.cloneElement(A,{className:(0,r.A)(A.props.className,U.deleteIcon),onClick:_}):(0,f.jsx)(d.A,{className:(0,r.A)(U.deleteIcon),onClick:_}));let V=null;l&&o.isValidElement(l)&&(V=o.cloneElement(l,{className:(0,r.A)(U.avatar,l.props.className)}));let H=null;return j&&o.isValidElement(j)&&(H=o.cloneElement(j,{className:(0,r.A)(U.icon,j.props.className)})),(0,f.jsxs)(S,(0,n.A)({as:W,className:(0,r.A)(U.root,g),disabled:!(!F||!z)||void 0,onClick:P,onKeyDown:e=>{e.currentTarget===e.target&&T(e)&&e.preventDefault(),O&&O(e)},onKeyUp:e=>{e.currentTarget===e.target&&(x&&T(e)?x(e):"Escape"===e.key&&N.current&&N.current.blur()),D&&D(e)},ref:E,tabIndex:R&&z?-1:B,ownerState:G},q,L,{children:[V||H,(0,f.jsx)(w,{className:(0,r.A)(U.label),ownerState:G,children:C}),K]}))}))},26059:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(20020),d=i(40996),c=i(67335),u=i(3582),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiCircularProgress",e)}(0,p.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=i(86070);const h=["className","color","disableShrink","size","style","thickness","value","variant"];let k,v,f,y,S=e=>e;const w=44,T=(0,l.i7)(k||(k=S` +`),P.rippleVisible,I,550,(({theme:e})=>e.transitions.easing.easeInOut),P.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),P.child,P.childLeaving,B,550,(({theme:e})=>e.transitions.easing.easeInOut),P.childPulsate,L,(({theme:e})=>e.transitions.easing.easeInOut)),E=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:c}=i,u=(0,n.A)(i,j),[p,m]=r.useState([]),b=r.useRef(0),g=r.useRef(null);r.useEffect((()=>{g.current&&(g.current(),g.current=null)}),[p]);const h=r.useRef(!1),k=(0,S.A)(),v=r.useRef(null),f=r.useRef(null),w=r.useCallback((e=>{const{pulsate:a,rippleX:i,rippleY:t,rippleSize:n,cb:r}=e;m((e=>[...e,(0,T.jsx)(N,{classes:{ripple:(0,o.A)(l.ripple,P.ripple),rippleVisible:(0,o.A)(l.rippleVisible,P.rippleVisible),ripplePulsate:(0,o.A)(l.ripplePulsate,P.ripplePulsate),child:(0,o.A)(l.child,P.child),childLeaving:(0,o.A)(l.childLeaving,P.childLeaving),childPulsate:(0,o.A)(l.childPulsate,P.childPulsate)},timeout:550,pulsate:a,rippleX:i,rippleY:t,rippleSize:n},b.current)])),b.current+=1,g.current=r}),[l]),A=r.useCallback(((e={},a={},i=()=>{})=>{const{pulsate:t=!1,center:n=s||a.pulsate,fakeElement:r=!1}=a;if("mousedown"===(null==e?void 0:e.type)&&h.current)return void(h.current=!1);"touchstart"===(null==e?void 0:e.type)&&(h.current=!0);const o=r?null:f.current,l=o?o.getBoundingClientRect():{width:0,height:0,left:0,top:0};let d,c,u;if(n||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)d=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:a,clientY:i}=e.touches&&e.touches.length>0?e.touches[0]:e;d=Math.round(a-l.left),c=Math.round(i-l.top)}if(n)u=Math.sqrt((2*l.width**2+l.height**2)/3),u%2==0&&(u+=1);else{const e=2*Math.max(Math.abs((o?o.clientWidth:0)-d),d)+2,a=2*Math.max(Math.abs((o?o.clientHeight:0)-c),c)+2;u=Math.sqrt(e**2+a**2)}null!=e&&e.touches?null===v.current&&(v.current=()=>{w({pulsate:t,rippleX:d,rippleY:c,rippleSize:u,cb:i})},k.start(80,(()=>{v.current&&(v.current(),v.current=null)}))):w({pulsate:t,rippleX:d,rippleY:c,rippleSize:u,cb:i})}),[s,w,k]),z=r.useCallback((()=>{A({},{pulsate:!0})}),[A]),C=r.useCallback(((e,a)=>{if(k.clear(),"touchend"===(null==e?void 0:e.type)&&v.current)return v.current(),v.current=null,void k.start(0,(()=>{C(e,a)}));v.current=null,m((e=>e.length>0?e.slice(1):e)),g.current=a}),[k]);return r.useImperativeHandle(a,(()=>({pulsate:z,start:A,stop:C})),[z,A,C]),(0,T.jsx)(R,(0,t.A)({className:(0,o.A)(P.root,l.root,c),ref:f},u,{children:(0,T.jsx)(y,{component:null,exit:!0,children:p})}))}));var F=i(26468);function _(e){return(0,F.Ay)("MuiButtonBase",e)}const W=(0,z.A)("MuiButtonBase",["root","disabled","focusVisible"]),U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],G=(0,l.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,a)=>a.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${W.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),K=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:m=!1,children:b,className:g,component:h="button",disabled:k=!1,disableRipple:v=!1,disableTouchRipple:f=!1,focusRipple:y=!1,LinkComponent:w="a",onBlur:S,onClick:A,onContextMenu:z,onDragLeave:P,onFocus:j,onFocusVisible:C,onKeyDown:x,onKeyUp:D,onMouseDown:O,onMouseLeave:M,onMouseUp:I,onTouchEnd:B,onTouchMove:L,onTouchStart:R,tabIndex:N=0,TouchRippleProps:F,touchRippleRef:W,type:K}=i,V=(0,n.A)(i,U),q=r.useRef(null),H=r.useRef(null),$=(0,c.A)(H,W),{isFocusVisibleRef:J,onFocus:Q,onBlur:Z,ref:Y}=(0,p.A)(),[X,ee]=r.useState(!1);k&&X&&ee(!1),r.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),q.current.focus()}})),[]);const[ae,ie]=r.useState(!1);r.useEffect((()=>{ie(!0)}),[]);const te=ae&&!v&&!k;function ne(e,a,i=f){return(0,u.A)((t=>{a&&a(t);return!i&&H.current&&H.current[e](t),!0}))}r.useEffect((()=>{X&&y&&!v&&ae&&H.current.pulsate()}),[v,y,X,ae]);const re=ne("start",O),oe=ne("stop",z),se=ne("stop",P),le=ne("stop",I),de=ne("stop",(e=>{X&&e.preventDefault(),M&&M(e)})),ce=ne("start",R),ue=ne("stop",B),pe=ne("stop",L),me=ne("stop",(e=>{Z(e),!1===J.current&&ee(!1),S&&S(e)}),!1),be=(0,u.A)((e=>{q.current||(q.current=e.currentTarget),Q(e),!0===J.current&&(ee(!0),C&&C(e)),j&&j(e)})),ge=()=>{const e=q.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},he=r.useRef(!1),ke=(0,u.A)((e=>{y&&!he.current&&X&&H.current&&" "===e.key&&(he.current=!0,H.current.stop(e,(()=>{H.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!k&&(e.preventDefault(),A&&A(e))})),ve=(0,u.A)((e=>{y&&" "===e.key&&H.current&&X&&!e.defaultPrevented&&(he.current=!1,H.current.stop(e,(()=>{H.current.pulsate(e)}))),D&&D(e),A&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&A(e)}));let fe=h;"button"===fe&&(V.href||V.to)&&(fe=w);const ye={};"button"===fe?(ye.type=void 0===K?"button":K,ye.disabled=k):(V.href||V.to||(ye.role="button"),k&&(ye["aria-disabled"]=k));const we=(0,c.A)(a,Y,q);const Se=(0,t.A)({},i,{centerRipple:m,component:h,disabled:k,disableRipple:v,disableTouchRipple:f,focusRipple:y,tabIndex:N,focusVisible:X}),Te=(e=>{const{disabled:a,focusVisible:i,focusVisibleClassName:t,classes:n}=e,r={root:["root",a&&"disabled",i&&"focusVisible"]},o=(0,s.A)(r,_,n);return i&&t&&(o.root+=` ${t}`),o})(Se);return(0,T.jsxs)(G,(0,t.A)({as:fe,className:(0,o.A)(Te.root,g),ownerState:Se,onBlur:me,onClick:A,onContextMenu:oe,onFocus:be,onKeyDown:ke,onKeyUp:ve,onMouseDown:re,onMouseLeave:de,onMouseUp:le,onDragLeave:se,onTouchEnd:ue,onTouchMove:pe,onTouchStart:ce,ref:we,tabIndex:k?-1:N,type:K},ye,V,{children:[b,te?(0,T.jsx)(E,(0,t.A)({ref:$,center:m},F)):null]}))}))},65810:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(81628),c=i(25697),u=i(84361),p=i(74692),m=i(13028),b=i(26468);function g(e){return(0,b.Ay)("MuiButtonGroup",e)}const h=(0,m.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var k=i(74955),v=i(1543),f=i(86070);const y=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],w=(0,u.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${h.grouped}`]:a.grouped},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.orientation)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}${(0,c.A)(i.orientation)}`]},{[`& .${h.grouped}`]:a[`grouped${(0,c.A)(i.variant)}${(0,c.A)(i.color)}`]},{[`& .${h.firstButton}`]:a.firstButton},{[`& .${h.lastButton}`]:a.lastButton},{[`& .${h.middleButton}`]:a.middleButton},a.root,a[i.variant],!0===i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth,"vertical"===i.orientation&&a.vertical]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[2]},a.disableElevation&&{boxShadow:"none"},a.fullWidth&&{width:"100%"},"vertical"===a.orientation&&{flexDirection:"column"},{[`& .${h.grouped}`]:(0,n.A)({minWidth:40,"&:hover":(0,n.A)({},"contained"===a.variant&&{boxShadow:"none"})},"contained"===a.variant&&{boxShadow:"none"}),[`& .${h.firstButton},& .${h.middleButton}`]:(0,n.A)({},"horizontal"===a.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===a.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===a.variant&&"horizontal"===a.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${h.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===a.variant&&"vertical"===a.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${h.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===a.variant&&"inherit"!==a.color&&{borderColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.5)`:(0,l.X4)(e.palette[a.color].main,.5)},"outlined"===a.variant&&"horizontal"===a.orientation&&{borderRightColor:"transparent"},"outlined"===a.variant&&"vertical"===a.orientation&&{borderBottomColor:"transparent"},"contained"===a.variant&&"horizontal"===a.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${h.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===a.variant&&"vertical"===a.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${h.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===a.variant&&"inherit"!==a.color&&{borderColor:(e.vars||e).palette[a.color].dark},{"&:hover":(0,n.A)({},"outlined"===a.variant&&"horizontal"===a.orientation&&{borderRightColor:"currentColor"},"outlined"===a.variant&&"vertical"===a.orientation&&{borderBottomColor:"currentColor"})}),[`& .${h.lastButton},& .${h.middleButton}`]:(0,n.A)({},"horizontal"===a.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===a.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===a.variant&&"horizontal"===a.orientation&&{marginLeft:-1},"outlined"===a.variant&&"vertical"===a.orientation&&{marginTop:-1})}))),S=r.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiButtonGroup"}),{children:l,className:u,color:m="primary",component:b="div",disabled:h=!1,disableElevation:S=!1,disableFocusRipple:T=!1,disableRipple:A=!1,fullWidth:z=!1,orientation:P="horizontal",size:j="medium",variant:C="outlined"}=i,x=(0,t.A)(i,y),D=(0,n.A)({},i,{color:m,component:b,disabled:h,disableElevation:S,disableFocusRipple:T,disableRipple:A,fullWidth:z,orientation:P,size:j,variant:C}),O=(e=>{const{classes:a,color:i,disabled:t,disableElevation:n,fullWidth:r,orientation:o,variant:l}=e,d={root:["root",l,"vertical"===o&&"vertical",r&&"fullWidth",n&&"disableElevation"],grouped:["grouped",`grouped${(0,c.A)(o)}`,`grouped${(0,c.A)(l)}`,`grouped${(0,c.A)(l)}${(0,c.A)(o)}`,`grouped${(0,c.A)(l)}${(0,c.A)(i)}`,t&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.A)(d,g,a)})(D),M=r.useMemo((()=>({className:O.grouped,color:m,disabled:h,disableElevation:S,disableFocusRipple:T,disableRipple:A,fullWidth:z,size:j,variant:C})),[m,h,S,T,A,z,j,C,O.grouped]),I=(0,d.A)(l),B=I.length,L=e=>{const a=0===e,i=e===B-1;return a&&i?"":a?O.firstButton:i?O.lastButton:O.middleButton};return(0,f.jsx)(w,(0,n.A)({as:b,role:"group",className:(0,o.A)(O.root,u),ref:a,ownerState:D},x,{children:(0,f.jsx)(k.A.Provider,{value:M,children:I.map(((e,a)=>(0,f.jsx)(v.A.Provider,{value:L(a),children:e},a)))})}))}))},1543:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext(void 0)},74955:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext({})},58459:(e,a,i)=>{"use strict";i.d(a,{A:()=>j});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(63318),l=i(85154),d=i(62162),c=i(84361),u=i(81197),p=i(74692),m=i(32057),b=i(25697),g=i(13028),h=i(26468);function k(e){return(0,h.Ay)("MuiButton",e)}const v=(0,g.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var f=i(74955),y=i(1543),w=i(86070);const S=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],T=e=>(0,n.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),A=(0,c.Ay)(m.A,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`${i.variant}${(0,b.A)(i.color)}`],a[`size${(0,b.A)(i.size)}`],a[`${i.variant}Size${(0,b.A)(i.size)}`],"inherit"===i.color&&a.colorInherit,i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth]}})((({theme:e,ownerState:a})=>{var i,t;const r="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],o="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===a.variant&&"inherit"!==a.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===a.variant&&"inherit"!==a.color&&{border:`1px solid ${(e.vars||e).palette[a.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===a.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===a.variant&&"inherit"!==a.color&&{backgroundColor:(e.vars||e).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[a.color].main}}),"&:active":(0,n.A)({},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${v.focusVisible}`]:(0,n.A)({},"contained"===a.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${v.disabled}`]:(0,n.A)({color:(e.vars||e).palette.action.disabled},"outlined"===a.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===a.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===a.variant&&{padding:"6px 8px"},"text"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].main},"outlined"===a.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[a.color].mainChannel} / 0.5)`:`1px solid ${(0,d.X4)(e.palette[a.color].main,.5)}`},"contained"===a.variant&&{color:e.vars?e.vars.palette.text.primary:null==(i=(t=e.palette).getContrastText)?void 0:i.call(t,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:r,boxShadow:(e.vars||e).shadows[2]},"contained"===a.variant&&"inherit"!==a.color&&{color:(e.vars||e).palette[a.color].contrastText,backgroundColor:(e.vars||e).palette[a.color].main},"inherit"===a.color&&{color:"inherit",borderColor:"currentColor"},"small"===a.size&&"text"===a.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"text"===a.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===a.size&&"outlined"===a.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"outlined"===a.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===a.size&&"contained"===a.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===a.size&&"contained"===a.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}})),z=(0,c.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.startIcon,a[`iconSize${(0,b.A)(i.size)}`]]}})((({ownerState:e})=>(0,n.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},T(e)))),P=(0,c.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.endIcon,a[`iconSize${(0,b.A)(i.size)}`]]}})((({ownerState:e})=>(0,n.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},T(e)))),j=r.forwardRef((function(e,a){const i=r.useContext(f.A),d=r.useContext(y.A),c=(0,s.A)(i,e),u=(0,p.b)({props:c,name:"MuiButton"}),{children:m,color:g="primary",component:h="button",className:v,disabled:T=!1,disableElevation:j=!1,disableFocusRipple:C=!1,endIcon:x,focusVisibleClassName:D,fullWidth:O=!1,size:M="medium",startIcon:I,type:B,variant:L="text"}=u,R=(0,t.A)(u,S),N=(0,n.A)({},u,{color:g,component:h,disabled:T,disableElevation:j,disableFocusRipple:C,fullWidth:O,size:M,type:B,variant:L}),E=(e=>{const{color:a,disableElevation:i,fullWidth:t,size:r,variant:o,classes:s}=e,d={root:["root",o,`${o}${(0,b.A)(a)}`,`size${(0,b.A)(r)}`,`${o}Size${(0,b.A)(r)}`,`color${(0,b.A)(a)}`,i&&"disableElevation",t&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,b.A)(r)}`],endIcon:["icon","endIcon",`iconSize${(0,b.A)(r)}`]},c=(0,l.A)(d,k,s);return(0,n.A)({},s,c)})(N),F=I&&(0,w.jsx)(z,{className:E.startIcon,ownerState:N,children:I}),_=x&&(0,w.jsx)(P,{className:E.endIcon,ownerState:N,children:x}),W=d||"";return(0,w.jsxs)(A,(0,n.A)({ownerState:N,className:(0,o.A)(i.className,E.root,v,W),component:h,disabled:T,focusRipple:!C,focusVisibleClassName:(0,o.A)(E.focusVisible,D),ref:a,type:B},R,{classes:E,children:[F,m,_]}))}))},26134:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>g}),61!=i.j)var t=i(26325);if(61!=i.j)var n=i(39460);var r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361);if(61!=i.j)var d=i(74692);if(61!=i.j)var c=i(40268);var u=i(86070);const p=61!=i.j?["className","component"]:null,m=(0,l.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,a)=>a.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),b=61!=i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiCardContent"}),{className:r,component:l="div"}=i,b=(0,n.A)(i,p),g=(0,t.A)({},i,{component:l}),h=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},c.h,a)})(g);return(0,u.jsx)(m,(0,t.A)({as:l,className:(0,o.A)(h.root,r),ownerState:g,ref:a},b))})):null,g=61!=i.j?b:null},40268:(e,a,i)=>{"use strict";i.d(a,{h:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiCardContent",e)}(0,t.A)("MuiCardContent",["root"])},43850:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);if(61!=i.j)var l=i(74692);var d=i(84361);if(61!=i.j)var c=i(85640);var u=i(86070);const p=61!=i.j?["children","className","component","image","src","style"]:null,m=(0,d.Ay)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{isMediaComponent:t,isImageComponent:n}=i;return[a.root,t&&a.media,n&&a.img]}})((({ownerState:e})=>(0,n.A)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),b=61!=i.j?["video","audio","picture","iframe","img"]:null,g=61!=i.j?["picture","img"]:null,h=61!=i.j?r.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiCardMedia"}),{children:r,className:d,component:h="div",image:k,src:v,style:f}=i,y=(0,t.A)(i,p),w=-1!==b.indexOf(h),S=!w&&k?(0,n.A)({backgroundImage:`url("${k}")`},f):f,T=(0,n.A)({},i,{component:h,isMediaComponent:w,isImageComponent:-1!==g.indexOf(h)}),A=(e=>{const{classes:a,isMediaComponent:i,isImageComponent:t}=e,n={root:["root",i&&"media",t&&"img"]};return(0,s.A)(n,c.R,a)})(T);return(0,u.jsx)(m,(0,n.A)({className:(0,o.A)(A.root,d),as:h,role:!w&&k?"img":void 0,ref:a,style:S,ownerState:T,src:w?k||v:void 0},y,{children:r}))})):null,k=61!=i.j?h:null},85640:(e,a,i)=>{"use strict";i.d(a,{R:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiCardMedia",e)}(0,t.A)("MuiCardMedia",["root","media","img"])},90520:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),61!=i.j)var t=i(26325);if(61!=i.j)var n=i(39460);var r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361);if(61!=i.j)var d=i(74692);var c=i(74365);if(61!=i.j)var u=i(12074);var p=i(86070);const m=61!=i.j?["className","raised"]:null,b=(0,l.Ay)(c.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,a)=>a.root})((()=>({overflow:"hidden"}))),g=61!=i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiCard"}),{className:r,raised:l=!1}=i,c=(0,n.A)(i,m),g=(0,t.A)({},i,{raised:l}),h=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.T,a)})(g);return(0,p.jsx)(b,(0,t.A)({className:(0,o.A)(h.root,r),elevation:l?8:void 0,ref:a,ownerState:g},c))})):null,h=61!=i.j?g:null},12074:(e,a,i)=>{"use strict";i.d(a,{T:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiCard",e)}(0,t.A)("MuiCard",["root"])},45433:(e,a,i)=>{"use strict";i.d(a,{A:()=>C});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(82078),c=i(23520),u=i(86070);const p=(0,c.A)((0,u.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),m=(0,c.A)((0,u.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),b=(0,c.A)((0,u.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var g=i(25697),h=i(74692),k=i(84361),v=i(81197),f=i(13028),y=i(26468);function w(e){return(0,y.Ay)("MuiCheckbox",e)}const S=(0,f.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),T=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],A=(0,k.Ay)(d.A,{shouldForwardProp:e=>(0,v.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.indeterminate&&a.indeterminate,a[`size${(0,g.A)(i.size)}`],"default"!==i.color&&a[`color${(0,g.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===a.color?e.vars.palette.action.activeChannel:e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)("default"===a.color?e.palette.action.active:e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&{[`&.${S.checked}, &.${S.indeterminate}`]:{color:(e.vars||e).palette[a.color].main},[`&.${S.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),z=(0,u.jsx)(m,{}),P=(0,u.jsx)(p,{}),j=(0,u.jsx)(b,{}),C=r.forwardRef((function(e,a){var i,l;const d=(0,h.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:c=z,color:p="primary",icon:m=P,indeterminate:b=!1,indeterminateIcon:k=j,inputProps:v,size:f="medium",className:y}=d,S=(0,t.A)(d,T),C=b?k:m,x=b?k:c,D=(0,n.A)({},d,{color:p,indeterminate:b,size:f}),O=(e=>{const{classes:a,indeterminate:i,color:t,size:r}=e,o={root:["root",i&&"indeterminate",`color${(0,g.A)(t)}`,`size${(0,g.A)(r)}`]},l=(0,s.A)(o,w,a);return(0,n.A)({},a,l)})(D);return(0,u.jsx)(A,(0,n.A)({type:"checkbox",inputProps:(0,n.A)({"data-indeterminate":b},v),icon:r.cloneElement(C,{fontSize:null!=(i=C.props.fontSize)?i:f}),checkedIcon:r.cloneElement(x,{fontSize:null!=(l=x.props.fontSize)?l:f}),ownerState:D,ref:a,className:(0,o.A)(O.root,y)},S,{classes:O}))}))},8992:(e,a,i)=>{"use strict";i.d(a,{A:()=>A});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(93015),c=i(7443),u=i(25697),p=i(32057),m=i(74692),b=i(84361),g=i(13028),h=i(26468);function k(e){return(0,h.Ay)("MuiChip",e)}const v=(0,g.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var f=i(86070);const y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],w=(0,b.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{color:t,iconColor:n,clickable:r,onDelete:o,size:s,variant:l}=i;return[{[`& .${v.avatar}`]:a.avatar},{[`& .${v.avatar}`]:a[`avatar${(0,u.A)(s)}`]},{[`& .${v.avatar}`]:a[`avatarColor${(0,u.A)(t)}`]},{[`& .${v.icon}`]:a.icon},{[`& .${v.icon}`]:a[`icon${(0,u.A)(s)}`]},{[`& .${v.icon}`]:a[`iconColor${(0,u.A)(n)}`]},{[`& .${v.deleteIcon}`]:a.deleteIcon},{[`& .${v.deleteIcon}`]:a[`deleteIcon${(0,u.A)(s)}`]},{[`& .${v.deleteIcon}`]:a[`deleteIconColor${(0,u.A)(t)}`]},{[`& .${v.deleteIcon}`]:a[`deleteIcon${(0,u.A)(l)}Color${(0,u.A)(t)}`]},a.root,a[`size${(0,u.A)(s)}`],a[`color${(0,u.A)(t)}`],r&&a.clickable,r&&"default"!==t&&a[`clickableColor${(0,u.A)(t)})`],o&&a.deletable,o&&"default"!==t&&a[`deletableColor${(0,u.A)(t)}`],a[l],a[`${l}${(0,u.A)(t)}`]]}})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,n.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${v.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${v.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:i,fontSize:e.typography.pxToRem(12)},[`& .${v.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${v.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${v.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${v.icon}`]:(0,n.A)({marginLeft:5,marginRight:-6},"small"===a.size&&{fontSize:18,marginLeft:4,marginRight:-4},a.iconColor===a.color&&(0,n.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:i},"default"!==a.color&&{color:"inherit"})),[`& .${v.deleteIcon}`]:(0,n.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.X4)(e.palette.text.primary,.4)}},"small"===a.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==a.color&&{color:e.vars?`rgba(${e.vars.palette[a.color].contrastTextChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[a.color].contrastText}})},"small"===a.size&&{height:24},"default"!==a.color&&{backgroundColor:(e.vars||e).palette[a.color].main,color:(e.vars||e).palette[a.color].contrastText},a.onDelete&&{[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},a.onDelete&&"default"!==a.color&&{[`&.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette[a.color].dark}})}),(({theme:e,ownerState:a})=>(0,n.A)({},a.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},a.clickable&&"default"!==a.color&&{[`&:hover, &.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette[a.color].dark}})),(({theme:e,ownerState:a})=>(0,n.A)({},"outlined"===a.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${v.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${v.avatar}`]:{marginLeft:4},[`& .${v.avatarSmall}`]:{marginLeft:2},[`& .${v.icon}`]:{marginLeft:4},[`& .${v.iconSmall}`]:{marginLeft:2},[`& .${v.deleteIcon}`]:{marginRight:5},[`& .${v.deleteIconSmall}`]:{marginRight:3}},"outlined"===a.variant&&"default"!==a.color&&{color:(e.vars||e).palette[a.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].main,.7)}`,[`&.${v.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[a.color].main,e.palette.action.hoverOpacity)},[`&.${v.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.X4)(e.palette[a.color].main,e.palette.action.focusOpacity)},[`& .${v.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[a.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[a.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[a.color].main}}}))),S=(0,b.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,a)=>{const{ownerState:i}=e,{size:t}=i;return[a.label,a[`label${(0,u.A)(t)}`]]}})((({ownerState:e})=>(0,n.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7})));function T(e){return"Backspace"===e.key||"Delete"===e.key}const A=r.forwardRef((function(e,a){const i=(0,m.b)({props:e,name:"MuiChip"}),{avatar:l,className:b,clickable:g,color:h="default",component:v,deleteIcon:A,disabled:z=!1,icon:P,label:j,onClick:C,onDelete:x,onKeyDown:D,onKeyUp:O,size:M="medium",variant:I="filled",tabIndex:B,skipFocusWhenDisabled:L=!1}=i,R=(0,t.A)(i,y),N=r.useRef(null),E=(0,c.A)(N,a),F=e=>{e.stopPropagation(),x&&x(e)},_=!(!1===g||!C)||g,W=_||x?p.A:v||"div",U=(0,n.A)({},i,{component:W,disabled:z,size:M,color:h,iconColor:r.isValidElement(P)&&P.props.color||h,onDelete:!!x,clickable:_,variant:I}),G=(e=>{const{classes:a,disabled:i,size:t,color:n,iconColor:r,onDelete:o,clickable:l,variant:d}=e,c={root:["root",d,i&&"disabled",`size${(0,u.A)(t)}`,`color${(0,u.A)(n)}`,l&&"clickable",l&&`clickableColor${(0,u.A)(n)}`,o&&"deletable",o&&`deletableColor${(0,u.A)(n)}`,`${d}${(0,u.A)(n)}`],label:["label",`label${(0,u.A)(t)}`],avatar:["avatar",`avatar${(0,u.A)(t)}`,`avatarColor${(0,u.A)(n)}`],icon:["icon",`icon${(0,u.A)(t)}`,`iconColor${(0,u.A)(r)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,u.A)(t)}`,`deleteIconColor${(0,u.A)(n)}`,`deleteIcon${(0,u.A)(d)}Color${(0,u.A)(n)}`]};return(0,s.A)(c,k,a)})(U),K=W===p.A?(0,n.A)({component:v||"div",focusVisibleClassName:G.focusVisible},x&&{disableRipple:!0}):{};let V=null;x&&(V=A&&r.isValidElement(A)?r.cloneElement(A,{className:(0,o.A)(A.props.className,G.deleteIcon),onClick:F}):(0,f.jsx)(d.A,{className:(0,o.A)(G.deleteIcon),onClick:F}));let q=null;l&&r.isValidElement(l)&&(q=r.cloneElement(l,{className:(0,o.A)(G.avatar,l.props.className)}));let H=null;return P&&r.isValidElement(P)&&(H=r.cloneElement(P,{className:(0,o.A)(G.icon,P.props.className)})),(0,f.jsxs)(w,(0,n.A)({as:W,className:(0,o.A)(G.root,b),disabled:!(!_||!z)||void 0,onClick:C,onKeyDown:e=>{e.currentTarget===e.target&&T(e)&&e.preventDefault(),D&&D(e)},onKeyUp:e=>{e.currentTarget===e.target&&(x&&T(e)?x(e):"Escape"===e.key&&N.current&&N.current.blur()),O&&O(e)},ref:E,tabIndex:L&&z?-1:B,ownerState:U},K,R,{children:[q||H,(0,f.jsx)(S,{className:(0,o.A)(G.label),ownerState:U,children:j}),V]}))}))},40222:(e,a,i)=>{"use strict";i.d(a,{A:()=>C});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(51935),d=i(25697),c=i(74692),u=i(84361),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiCircularProgress",e)}(0,p.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g=i(86070);const h=["className","color","disableShrink","size","style","thickness","value","variant"];let k,v,f,y,w=e=>e;const S=44,T=(0,l.i7)(k||(k=w` 0% { transform: rotate(0deg); } @@ -79,7 +79,7 @@ 100% { transform: rotate(360deg); } -`)),A=(0,l.i7)(v||(v=S` +`)),A=(0,l.i7)(v||(v=w` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -94,11 +94,11 @@ stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),z=(0,u.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`color${(0,d.A)(i.color)}`]]}})((({ownerState:e,theme:a})=>(0,n.A)({display:"inline-block"},"determinate"===e.variant&&{transition:a.transitions.create("transform")},"inherit"!==e.color&&{color:(a.vars||a).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.AH)(f||(f=S` +`)),z=(0,u.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],a[`color${(0,d.A)(i.color)}`]]}})((({ownerState:e,theme:a})=>(0,n.A)({display:"inline-block"},"determinate"===e.variant&&{transition:a.transitions.create("transform")},"inherit"!==e.color&&{color:(a.vars||a).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.AH)(f||(f=w` animation: ${0} 1.4s linear infinite; - `),T))),j=(0,u.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,a)=>a.svg})({display:"block"}),C=(0,u.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.circle,a[`circle${(0,d.A)(i.variant)}`],i.disableShrink&&a.circleDisableShrink]}})((({ownerState:e,theme:a})=>(0,n.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:a.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.AH)(y||(y=S` + `),T))),P=(0,u.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,a)=>a.svg})({display:"block"}),j=(0,u.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.circle,a[`circle${(0,d.A)(i.variant)}`],i.disableShrink&&a.circleDisableShrink]}})((({ownerState:e,theme:a})=>(0,n.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:a.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.AH)(y||(y=w` animation: ${0} 1.4s ease-in-out infinite; - `),A))),P=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:o,color:l="primary",disableShrink:u=!1,size:p=40,style:b,thickness:k=3.6,value:v=0,variant:f="indeterminate"}=i,y=(0,t.A)(i,h),S=(0,n.A)({},i,{color:l,disableShrink:u,size:p,thickness:k,value:v,variant:f}),T=(e=>{const{classes:a,variant:i,color:t,disableShrink:n}=e,o={root:["root",i,`color${(0,d.A)(t)}`],svg:["svg"],circle:["circle",`circle${(0,d.A)(i)}`,n&&"circleDisableShrink"]};return(0,s.A)(o,g,a)})(S),A={},P={},x={};if("determinate"===f){const e=2*Math.PI*((w-k)/2);A.strokeDasharray=e.toFixed(3),x["aria-valuenow"]=Math.round(v),A.strokeDashoffset=`${((100-v)/100*e).toFixed(3)}px`,P.transform="rotate(-90deg)"}return(0,m.jsx)(z,(0,n.A)({className:(0,r.A)(T.root,o),style:(0,n.A)({width:p,height:p},P,b),ownerState:S,ref:a,role:"progressbar"},x,y,{children:(0,m.jsx)(j,{className:T.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,m.jsx)(C,{className:T.circle,style:A,ownerState:S,cx:w,cy:w,r:(w-k)/2,fill:"none",strokeWidth:k})})}))}))},29738:(e,a,i)=>{"use strict";i.d(a,{A:()=>z});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(8586),l=i(36109),d=i(12060),c=i(3582),u=i(67335),p=i(87305),b=i(56264),g=i(77329),m=i(47786),h=i(82070),k=i(87310);function v(e){return(0,k.Ay)("MuiCollapse",e)}(0,h.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var f=i(86070);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],S=(0,c.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.orientation],"entered"===i.state&&a.entered,"exited"===i.state&&!i.in&&"0px"===i.collapsedSize&&a.hidden]}})((({theme:e,ownerState:a})=>(0,n.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===a.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===a.state&&(0,n.A)({height:"auto",overflow:"visible"},"horizontal"===a.orientation&&{width:"auto"}),"exited"===a.state&&!a.in&&"0px"===a.collapsedSize&&{visibility:"hidden"}))),w=(0,c.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,a)=>a.wrapper})((({ownerState:e})=>(0,n.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),T=(0,c.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,a)=>a.wrapperInner})((({ownerState:e})=>(0,n.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),A=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:h,className:k,collapsedSize:A="0px",component:z,easing:j,in:C,onEnter:P,onEntered:x,onEntering:O,onExit:D,onExited:M,onExiting:I,orientation:B="vertical",style:R,timeout:L=p.p0.standard,TransitionComponent:N=s.Ay}=i,E=(0,t.A)(i,y),_=(0,n.A)({},i,{orientation:B,collapsedSize:A}),F=(e=>{const{orientation:a,classes:i}=e,t={root:["root",`${a}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${a}`],wrapperInner:["wrapperInner",`${a}`]};return(0,d.A)(t,v,i)})(_),W=(0,g.A)(),G=(0,l.A)(),U=o.useRef(null),q=o.useRef(),K="number"==typeof A?`${A}px`:A,V="horizontal"===B,H=V?"width":"height",$=o.useRef(null),J=(0,m.A)(a,$),Q=e=>a=>{if(e){const i=$.current;void 0===a?e(i):e(i,a)}},Z=()=>U.current?U.current[V?"clientWidth":"clientHeight"]:0,Y=Q(((e,a)=>{U.current&&V&&(U.current.style.position="absolute"),e.style[H]=K,P&&P(e,a)})),X=Q(((e,a)=>{const i=Z();U.current&&V&&(U.current.style.position="");const{duration:t,easing:n}=(0,b.c)({style:R,timeout:L,easing:j},{mode:"enter"});if("auto"===L){const a=W.transitions.getAutoHeightDuration(i);e.style.transitionDuration=`${a}ms`,q.current=a}else e.style.transitionDuration="string"==typeof t?t:`${t}ms`;e.style[H]=`${i}px`,e.style.transitionTimingFunction=n,O&&O(e,a)})),ee=Q(((e,a)=>{e.style[H]="auto",x&&x(e,a)})),ae=Q((e=>{e.style[H]=`${Z()}px`,D&&D(e)})),ie=Q(M),te=Q((e=>{const a=Z(),{duration:i,easing:t}=(0,b.c)({style:R,timeout:L,easing:j},{mode:"exit"});if("auto"===L){const i=W.transitions.getAutoHeightDuration(a);e.style.transitionDuration=`${i}ms`,q.current=i}else e.style.transitionDuration="string"==typeof i?i:`${i}ms`;e.style[H]=K,e.style.transitionTimingFunction=t,I&&I(e)}));return(0,f.jsx)(N,(0,n.A)({in:C,onEnter:Y,onEntered:ee,onEntering:X,onExit:ae,onExited:ie,onExiting:te,addEndListener:e=>{"auto"===L&&G.start(q.current||0,e),c&&c($.current,e)},nodeRef:$,timeout:"auto"===L?null:L},E,{children:(e,a)=>(0,f.jsx)(S,(0,n.A)({as:z,className:(0,r.A)(F.root,k,{entered:F.entered,exited:!C&&"0px"===K&&F.hidden}[e]),style:(0,n.A)({[V?"minWidth":"minHeight"]:K},R),ref:J},a,{ownerState:(0,n.A)({},_,{state:e}),children:(0,f.jsx)(w,{ownerState:(0,n.A)({},_,{state:e}),className:F.wrapper,ref:U,children:(0,f.jsx)(T,{ownerState:(0,n.A)({},_,{state:e}),className:F.wrapperInner,children:h})})}))}))}));A.muiSupportAuto=!0;const z=A},92711:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(87310),l=i(12060),d=i(60184),c=i(23141),u=i(86769),p=i(42046),b=i(86070);const g=["className","component","disableGutters","fixed","maxWidth","classes"],m=(0,p.A)(),h=(0,u.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`maxWidth${(0,d.A)(String(i.maxWidth))}`],i.fixed&&a.fixed,i.disableGutters&&a.disableGutters]}}),k=e=>(0,c.A)({props:e,name:"MuiContainer",defaultTheme:m});var v=i(40996),f=i(3582),y=i(67335);const S=function(e={}){const{createStyledComponent:a=h,useThemeProps:i=k,componentName:c="MuiContainer"}=e,u=a((({theme:e,ownerState:a})=>(0,n.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:a})=>a.fixed&&Object.keys(e.breakpoints.values).reduce(((a,i)=>{const t=i,n=e.breakpoints.values[t];return 0!==n&&(a[e.breakpoints.up(t)]={maxWidth:`${n}${e.breakpoints.unit}`}),a}),{})),(({theme:e,ownerState:a})=>(0,n.A)({},"xs"===a.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},a.maxWidth&&"xs"!==a.maxWidth&&{[e.breakpoints.up(a.maxWidth)]:{maxWidth:`${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`}}))),p=o.forwardRef((function(e,a){const o=i(e),{className:p,component:m="div",disableGutters:h=!1,fixed:k=!1,maxWidth:v="lg"}=o,f=(0,t.A)(o,g),y=(0,n.A)({},o,{component:m,disableGutters:h,fixed:k,maxWidth:v}),S=((e,a)=>{const{classes:i,fixed:t,disableGutters:n,maxWidth:o}=e,r={root:["root",o&&`maxWidth${(0,d.A)(String(o))}`,t&&"fixed",n&&"disableGutters"]};return(0,l.A)(r,(e=>(0,s.Ay)(a,e)),i)})(y,c);return(0,b.jsx)(u,(0,n.A)({as:m,ownerState:y,className:(0,r.A)(S.root,p),ref:a},f))}));return p}({createStyledComponent:(0,f.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`maxWidth${(0,v.A)(String(i.maxWidth))}`],i.fixed&&a.fixed,i.disableGutters&&a.disableGutters]}}),useThemeProps:e=>(0,y.b)({props:e,name:"MuiContainer"})}),w=S},71393:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>c});var t=i(40991),n=i(30758),o=i(67335),r=i(11110),s=i(86070);const l=(e,a)=>(0,t.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},a&&!e.vars&&{colorScheme:e.palette.mode}),d=e=>(0,t.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const c=function(e){const a=(0,o.b)({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:c=!1}=a;return(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(r.A,{styles:e=>((e,a=!1)=>{var i;const n={};a&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([a,i])=>{var t;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:null==(t=i.palette)?void 0:t.mode}}));let o=(0,t.A)({html:l(e,a),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,t.A)({margin:0},d(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const r=null==(i=e.components)||null==(i=i.MuiCssBaseline)?void 0:i.styleOverrides;return r&&(o=[o,r]),o})(e,c)}),i]})}},67335:(e,a,i)=>{"use strict";i.d(a,{b:()=>n});i(30758);var t=i(88780);i(86070);function n(e){return(0,t.b)(e)}},61793:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>m}),575==i.j)var t=i(23302);var n=i(40991),o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(3582);if(575==i.j)var d=i(67335);if(575==i.j)var c=i(38801);var u=i(86070);const p=575==i.j?["className","disableSpacing"]:null,b=(0,l.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disableSpacing&&a.spacing]}})((({ownerState:e})=>(0,n.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),g=575==i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiDialogActions"}),{className:o,disableSpacing:l=!1}=i,g=(0,t.A)(i,p),m=(0,n.A)({},i,{disableSpacing:l}),h=(e=>{const{classes:a,disableSpacing:i}=e,t={root:["root",!i&&"spacing"]};return(0,s.A)(t,c.C,a)})(m);return(0,u.jsx)(b,(0,n.A)({className:(0,r.A)(h.root,o),ownerState:m,ref:a},g))})):null,m=575==i.j?g:null},38801:(e,a,i)=>{"use strict";i.d(a,{C:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiDialogActions",e)}(0,t.A)("MuiDialogActions",["root","spacing"])},96729:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(23302);if(575==i.j)var n=i(40991);var o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(3582),d=i(96896);if(575==i.j)var c=i(67335);var u=i(67463);if(575==i.j)var p=i(7241);var b=i(86070);const g=575==i.j?["children","className"]:null,m=(0,l.Ay)(u.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,a)=>a.root})({}),h=575==i.j?o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDialogContentText"}),{className:o}=i,l=(0,t.A)(i,g),d=(e=>{const{classes:a}=e,i=(0,s.A)({root:["root"]},p.D,a);return(0,n.A)({},a,i)})(l);return(0,b.jsx)(m,(0,n.A)({component:"p",variant:"body1",color:"text.secondary",ref:a,ownerState:l,className:(0,r.A)(d.root,o)},i,{classes:d}))})):null,k=575==i.j?h:null},7241:(e,a,i)=>{"use strict";i.d(a,{D:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiDialogContentText",e)}(0,t.A)("MuiDialogContentText",["root"])},64009:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),575==i.j)var t=i(23302);var n=i(40991),o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(3582);if(575==i.j)var d=i(67335);if(575==i.j)var c=i(65177);var u=i(3673),p=i(86070);const b=575==i.j?["className","dividers"]:null,g=(0,l.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dividers&&a.dividers]}})((({theme:e,ownerState:a})=>(0,n.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},a.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${u.A.root} + &`]:{paddingTop:0}}))),m=575==i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiDialogContent"}),{className:o,dividers:l=!1}=i,u=(0,t.A)(i,b),m=(0,n.A)({},i,{dividers:l}),h=(e=>{const{classes:a,dividers:i}=e,t={root:["root",i&&"dividers"]};return(0,s.A)(t,c.E,a)})(m);return(0,p.jsx)(g,(0,n.A)({className:(0,r.A)(h.root,o),ownerState:m,ref:a},u))})):null,h=575==i.j?m:null},65177:(e,a,i)=>{"use strict";i.d(a,{E:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiDialogContent",e)}(0,t.A)("MuiDialogContent",["root","dividers"])},82441:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(40991);if(575==i.j)var n=i(23302);var o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(67463),d=i(3582);if(575==i.j)var c=i(67335);if(575==i.j)var u=i(3673);if(575==i.j)var p=i(98056);var b=i(86070);const g=575==i.j?["className","id"]:null,m=(0,d.Ay)(l.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,a)=>a.root})({padding:"16px 24px",flex:"0 0 auto"}),h=575==i.j?o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDialogTitle"}),{className:l,id:d}=i,h=(0,n.A)(i,g),k=i,v=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.t,a)})(k),{titleId:f=d}=o.useContext(p.A);return(0,b.jsx)(m,(0,t.A)({component:"h2",className:(0,r.A)(v.root,l),ownerState:k,ref:a,variant:"h6",id:null!=d?d:f},h))})):null,k=575==i.j?h:null},3673:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,t:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiDialogTitle",e)}const r=(0,t.A)("MuiDialogTitle",["root"]),s=575==i.j?r:null},39805:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(1542),d=i(40996),c=i(20753),u=i(16527),p=i(89928),b=i(67335),g=i(3582),m=i(82070),h=i(87310);function k(e){return(0,h.Ay)("MuiDialog",e)}const v=(0,m.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var f=i(98056),y=i(41485),S=i(77329),w=i(86070);const T=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],A=(0,g.Ay)(y.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,a)=>a.backdrop})({zIndex:-1}),z=(0,g.Ay)(c.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,a)=>a.root})({"@media print":{position:"absolute !important"}}),j=(0,g.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.container,a[`scroll${(0,d.A)(i.scroll)}`]]}})((({ownerState:e})=>(0,n.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),C=(0,g.Ay)(p.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.paper,a[`scrollPaper${(0,d.A)(i.scroll)}`],a[`paperWidth${(0,d.A)(String(i.maxWidth))}`],i.fullWidth&&a.paperFullWidth,i.fullScreen&&a.paperFullScreen]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===a.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===a.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!a.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===a.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},a.maxWidth&&"xs"!==a.maxWidth&&{maxWidth:`${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[a.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},a.fullWidth&&{width:"calc(100% - 64px)"},a.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${v.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),P=o.forwardRef((function(e,a){const i=(0,b.b)({props:e,name:"MuiDialog"}),c=(0,S.A)(),g={enter:c.transitions.duration.enteringScreen,exit:c.transitions.duration.leavingScreen},{"aria-describedby":m,"aria-labelledby":h,BackdropComponent:v,BackdropProps:y,children:P,className:x,disableEscapeKeyDown:O=!1,fullScreen:D=!1,fullWidth:M=!1,maxWidth:I="sm",onBackdropClick:B,onClick:R,onClose:L,open:N,PaperComponent:E=p.A,PaperProps:_={},scroll:F="paper",TransitionComponent:W=u.A,transitionDuration:G=g,TransitionProps:U}=i,q=(0,t.A)(i,T),K=(0,n.A)({},i,{disableEscapeKeyDown:O,fullScreen:D,fullWidth:M,maxWidth:I,scroll:F}),V=(e=>{const{classes:a,scroll:i,maxWidth:t,fullWidth:n,fullScreen:o}=e,r={root:["root"],container:["container",`scroll${(0,d.A)(i)}`],paper:["paper",`paperScroll${(0,d.A)(i)}`,`paperWidth${(0,d.A)(String(t))}`,n&&"paperFullWidth",o&&"paperFullScreen"]};return(0,s.A)(r,k,a)})(K),H=o.useRef(),$=(0,l.A)(h),J=o.useMemo((()=>({titleId:$})),[$]);return(0,w.jsx)(z,(0,n.A)({className:(0,r.A)(V.root,x),closeAfterTransition:!0,components:{Backdrop:A},componentsProps:{backdrop:(0,n.A)({transitionDuration:G,as:v},y)},disableEscapeKeyDown:O,onClose:L,open:N,ref:a,onClick:e=>{R&&R(e),H.current&&(H.current=null,B&&B(e),L&&L(e,"backdropClick"))},ownerState:K},q,{children:(0,w.jsx)(W,(0,n.A)({appear:!0,in:N,timeout:G,role:"presentation"},U,{children:(0,w.jsx)(j,{className:(0,r.A)(V.container),onMouseDown:e=>{H.current=e.target===e.currentTarget},ownerState:K,children:(0,w.jsx)(C,(0,n.A)({as:E,elevation:24,role:"dialog","aria-describedby":m,"aria-labelledby":$},_,{className:(0,r.A)(V.paper,_.className),ownerState:K,children:(0,w.jsx)(f.A.Provider,{value:J,children:P})}))})}))}))}))},98056:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=i(30758).createContext({});const n=61!=i.j?t:null},77678:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582),c=i(67335),u=i(66769),p=i(86070);const b=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],g=(0,d.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.absolute&&a.absolute,a[i.variant],i.light&&a.light,"vertical"===i.orientation&&a.vertical,i.flexItem&&a.flexItem,i.children&&a.withChildren,i.children&&"vertical"===i.orientation&&a.withChildrenVertical,"right"===i.textAlign&&"vertical"!==i.orientation&&a.textAlignRight,"left"===i.textAlign&&"vertical"!==i.orientation&&a.textAlignLeft]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},a.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},a.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===a.variant&&{marginLeft:72},"middle"===a.variant&&"horizontal"===a.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===a.variant&&"vertical"===a.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===a.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},a.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,n.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:a})=>(0,n.A)({},a.children&&"vertical"!==a.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:a})=>(0,n.A)({},a.children&&"vertical"===a.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>(0,n.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),m=(0,d.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.wrapper,"vertical"===i.orientation&&a.wrapperVertical]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===a.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),h=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:l,className:d,component:h=(l?"div":"hr"),flexItem:k=!1,light:v=!1,orientation:f="horizontal",role:y=("hr"!==h?"separator":void 0),textAlign:S="center",variant:w="fullWidth"}=i,T=(0,t.A)(i,b),A=(0,n.A)({},i,{absolute:o,component:h,flexItem:k,light:v,orientation:f,role:y,textAlign:S,variant:w}),z=(e=>{const{absolute:a,children:i,classes:t,flexItem:n,light:o,orientation:r,textAlign:l,variant:d}=e,c={root:["root",a&&"absolute",d,o&&"light","vertical"===r&&"vertical",n&&"flexItem",i&&"withChildren",i&&"vertical"===r&&"withChildrenVertical","right"===l&&"vertical"!==r&&"textAlignRight","left"===l&&"vertical"!==r&&"textAlignLeft"],wrapper:["wrapper","vertical"===r&&"wrapperVertical"]};return(0,s.A)(c,u.K,t)})(A);return(0,p.jsx)(g,(0,n.A)({as:h,className:(0,r.A)(z.root,d),role:y,ref:a,ownerState:A},T,{children:l?(0,p.jsx)(m,{className:z.wrapper,ownerState:A,children:l}):null}))}));h.muiSkipListHighlight=!0;const k=h},66769:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,K:()=>o});var t=i(82070),n=i(87310);function o(e){return(0,n.Ay)("MuiDivider",e)}const r=(0,t.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),s=61!=i.j?r:null},31161:(e,a,i)=>{"use strict";if(i.d(a,{Ay:()=>C}),!/^(575|61)$/.test(i.j))var t=i(23302);var n=i(40991),o=i(30758);if(!/^(575|61)$/.test(i.j))var r=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(12060);if(!/^(575|61)$/.test(i.j))var l=i(9073);var d=i(20753);if(!/^(575|61)$/.test(i.j))var c=i(95605);var u=i(89928),p=i(40996);if(!/^(575|61)$/.test(i.j))var b=i(77329);if(!/^(575|61)$/.test(i.j))var g=i(67335);var m=i(3582),h=i(96896);if(!/^(575|61)$/.test(i.j))var k=i(53033);var v=i(86070);const f=/^(575|61)$/.test(i.j)?null:["BackdropProps"],y=/^(575|61)$/.test(i.j)?null:["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],S=(e,a)=>{const{ownerState:i}=e;return[a.root,("permanent"===i.variant||"persistent"===i.variant)&&a.docked,a.modal]},w=(0,m.Ay)(d.A,{name:"MuiDrawer",slot:"Root",overridesResolver:S})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),T=(0,m.Ay)("div",{shouldForwardProp:h.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:S})({flex:"0 0 auto"}),A=(0,m.Ay)(u.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.paper,a[`paperAnchor${(0,p.A)(i.anchor)}`],"temporary"!==i.variant&&a[`paperAnchorDocked${(0,p.A)(i.anchor)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===a.anchor&&{left:0},"top"===a.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===a.anchor&&{right:0},"bottom"===a.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===a.anchor&&"temporary"!==a.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===a.anchor&&"temporary"!==a.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===a.anchor&&"temporary"!==a.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===a.anchor&&"temporary"!==a.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),z={left:"right",right:"left",top:"down",bottom:"up"};const j=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const i=(0,g.b)({props:e,name:"MuiDrawer"}),d=(0,b.A)(),u=(0,l.I)(),m={enter:d.transitions.duration.enteringScreen,exit:d.transitions.duration.leavingScreen},{anchor:h="left",BackdropProps:S,children:j,className:C,elevation:P=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:O}={},onClose:D,open:M=!1,PaperProps:I={},SlideProps:B,TransitionComponent:R=c.A,transitionDuration:L=m,variant:N="temporary"}=i,E=(0,t.A)(i.ModalProps,f),_=(0,t.A)(i,y),F=o.useRef(!1);o.useEffect((()=>{F.current=!0}),[]);const W=function({direction:e},a){return"rtl"===e&&function(e){return-1!==["left","right"].indexOf(e)}(a)?z[a]:a}({direction:u?"rtl":"ltr"},h),G=h,U=(0,n.A)({},i,{anchor:G,elevation:P,open:M,variant:N},_),q=(e=>{const{classes:a,anchor:i,variant:t}=e,n={root:["root"],docked:[("permanent"===t||"persistent"===t)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,p.A)(i)}`,"temporary"!==t&&`paperAnchorDocked${(0,p.A)(i)}`]};return(0,s.A)(n,k.S,a)})(U),K=(0,v.jsx)(A,(0,n.A)({elevation:"temporary"===N?P:0,square:!0},I,{className:(0,r.A)(q.paper,I.className),ownerState:U,children:j}));if("permanent"===N)return(0,v.jsx)(T,(0,n.A)({className:(0,r.A)(q.root,q.docked,C),ownerState:U,ref:a},_,{children:K}));const V=(0,v.jsx)(R,(0,n.A)({in:M,direction:z[W],timeout:L,appear:F.current},B,{children:K}));return"persistent"===N?(0,v.jsx)(T,(0,n.A)({className:(0,r.A)(q.root,q.docked,C),ownerState:U,ref:a},_,{children:V})):(0,v.jsx)(w,(0,n.A)({BackdropProps:(0,n.A)({},S,O,{transitionDuration:L}),className:(0,r.A)(q.root,q.modal,C),open:M,ownerState:U,onClose:D,hideBackdrop:x,ref:a},_,E,{children:V}))})),C=/^(575|61)$/.test(i.j)?null:j},53033:(e,a,i)=>{"use strict";i.d(a,{S:()=>o});var t=i(82070);if(!/^(575|61)$/.test(i.j))var n=i(87310);function o(e){return(0,n.Ay)("MuiDrawer",e)}(0,t.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},16527:(e,a,i)=>{"use strict";i.d(a,{A:()=>b});var t=i(40991),n=i(23302),o=i(30758),r=i(8586),s=i(77329),l=i(56264),d=i(47786),c=i(86070);const u=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},b=o.forwardRef((function(e,a){const i=(0,s.A)(),b={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:g,appear:m=!0,children:h,easing:k,in:v,onEnter:f,onEntered:y,onEntering:S,onExit:w,onExited:T,onExiting:A,style:z,timeout:j=b,TransitionComponent:C=r.Ay}=e,P=(0,n.A)(e,u),x=o.useRef(null),O=(0,d.A)(x,h.ref,a),D=e=>a=>{if(e){const i=x.current;void 0===a?e(i):e(i,a)}},M=D(S),I=D(((e,a)=>{(0,l.q)(e);const t=(0,l.c)({style:z,timeout:j,easing:k},{mode:"enter"});e.style.webkitTransition=i.transitions.create("opacity",t),e.style.transition=i.transitions.create("opacity",t),f&&f(e,a)})),B=D(y),R=D(A),L=D((e=>{const a=(0,l.c)({style:z,timeout:j,easing:k},{mode:"exit"});e.style.webkitTransition=i.transitions.create("opacity",a),e.style.transition=i.transitions.create("opacity",a),w&&w(e)})),N=D(T);return(0,c.jsx)(C,(0,t.A)({appear:m,in:v,nodeRef:x,onEnter:I,onEntered:B,onEntering:M,onExit:L,onExited:N,onExiting:R,addEndListener:e=>{g&&g(x.current,e)},timeout:j},P,{children:(e,a)=>o.cloneElement(h,(0,t.A)({style:(0,t.A)({opacity:0,visibility:"exited"!==e||v?void 0:"hidden"},p[e],z,h.props.style),ref:O},a))}))}))},10229:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,N:()=>s});var t=i(40991),n=i(82070),o=i(87310),r=i(44013);function s(e){return(0,o.Ay)("MuiFilledInput",e)}const l=(0,t.A)({},r.A,(0,n.A)("MuiFilledInput",["root","underline","input"]))},34078:(e,a,i)=>{"use strict";i.d(a,{A:()=>T});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(16910),d=i(98054),c=i(67463),u=i(40996),p=i(3582),b=i(67335),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiFormControlLabel",e)}const k=(0,g.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var v=i(3688),f=i(86070);const y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],S=(0,p.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${k.label}`]:a.label},a.root,a[`labelPlacement${(0,u.A)(i.labelPlacement)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${k.disabled}`]:{cursor:"default"}},"start"===a.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===a.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===a.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${k.label}`]:{[`&.${k.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),w=(0,p.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,a)=>a.asterisk})((({theme:e})=>({[`&.${k.error}`]:{color:(e.vars||e).palette.error.main}}))),T=o.forwardRef((function(e,a){var i,p;const g=(0,b.b)({props:e,name:"MuiFormControlLabel"}),{className:m,componentsProps:k={},control:T,disabled:A,disableTypography:z,label:j,labelPlacement:C="end",required:P,slotProps:x={}}=g,O=(0,t.A)(g,y),D=(0,l.A)(),M=null!=(i=null!=A?A:T.props.disabled)?i:null==D?void 0:D.disabled,I=null!=P?P:T.props.required,B={disabled:M,required:I};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===T.props[e]&&void 0!==g[e]&&(B[e]=g[e])}));const R=(0,v.A)({props:g,muiFormControl:D,states:["error"]}),L=(0,n.A)({},g,{disabled:M,labelPlacement:C,required:I,error:R.error}),N=(e=>{const{classes:a,disabled:i,labelPlacement:t,error:n,required:o}=e,r={root:["root",i&&"disabled",`labelPlacement${(0,u.A)(t)}`,n&&"error",o&&"required"],label:["label",i&&"disabled"],asterisk:["asterisk",n&&"error"]};return(0,s.A)(r,h,a)})(L),E=null!=(p=x.typography)?p:k.typography;let _=j;return null==_||_.type===c.A||z||(_=(0,f.jsx)(c.A,(0,n.A)({component:"span"},E,{className:(0,r.A)(N.label,null==E?void 0:E.className),children:_}))),(0,f.jsxs)(S,(0,n.A)({className:(0,r.A)(N.root,m),ownerState:L,ref:a},O,{children:[o.cloneElement(T,B),I?(0,f.jsxs)(d.A,{display:"block",children:[_,(0,f.jsxs)(w,{ownerState:L,"aria-hidden":!0,className:N.asterisk,children:[" ","*"]})]}):_]}))}))},75013:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(67335),d=i(3582),c=i(17181),u=i(40996),p=i(21162),b=i(49058),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiFormControl",e)}(0,g.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var k=i(86070);const v=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],f=(0,d.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.root,a[`margin${(0,u.A)(e.margin)}`],e.fullWidth&&a.fullWidth)})((({ownerState:e})=>(0,n.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),y=o.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiFormControl"}),{children:d,className:g,color:m="primary",component:y="div",disabled:S=!1,error:w=!1,focused:T,fullWidth:A=!1,hiddenLabel:z=!1,margin:j="none",required:C=!1,size:P="medium",variant:x="outlined"}=i,O=(0,t.A)(i,v),D=(0,n.A)({},i,{color:m,component:y,disabled:S,error:w,fullWidth:A,hiddenLabel:z,margin:j,required:C,size:P,variant:x}),M=(e=>{const{classes:a,margin:i,fullWidth:t}=e,n={root:["root","none"!==i&&`margin${(0,u.A)(i)}`,t&&"fullWidth"]};return(0,s.A)(n,h,a)})(D),[I,B]=o.useState((()=>{let e=!1;return d&&o.Children.forEach(d,(a=>{if(!(0,p.A)(a,["Input","Select"]))return;const i=(0,p.A)(a,["Select"])?a.props.input:a;i&&(0,c.gr)(i.props)&&(e=!0)})),e})),[R,L]=o.useState((()=>{let e=!1;return d&&o.Children.forEach(d,(a=>{(0,p.A)(a,["Input","Select"])&&((0,c.lq)(a.props,!0)||(0,c.lq)(a.props.inputProps,!0))&&(e=!0)})),e})),[N,E]=o.useState(!1);S&&N&&E(!1);const _=void 0===T||S?N:T;let F;const W=o.useMemo((()=>({adornedStart:I,setAdornedStart:B,color:m,disabled:S,error:w,filled:R,focused:_,fullWidth:A,hiddenLabel:z,size:P,onBlur:()=>{E(!1)},onEmpty:()=>{L(!1)},onFilled:()=>{L(!0)},onFocus:()=>{E(!0)},registerEffect:F,required:C,variant:x})),[I,m,S,w,R,_,A,z,F,C,P,x]);return(0,k.jsx)(b.A.Provider,{value:W,children:(0,k.jsx)(f,(0,n.A)({as:y,ownerState:D,className:(0,r.A)(M.root,g),ref:a},O,{children:d}))})}))},49058:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext(void 0)},3688:(e,a,i)=>{"use strict";function t({props:e,states:a,muiFormControl:i}){return a.reduce(((a,t)=>(a[t]=e[t],i&&void 0===e[t]&&(a[t]=i[t]),a)),{})}i.d(a,{A:()=>t})},16910:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758),n=i(49058);function o(){return t.useContext(n.A)}},94041:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(23302);var n=i(40991),o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);var l=i(3582);if(575==i.j)var d=i(67335);if(575==i.j)var c=i(40393);if(575==i.j)var u=i(16910);if(575==i.j)var p=i(3688);var b=i(86070);const g=575==i.j?["className","row"]:null,m=(0,l.Ay)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.row&&a.row]}})((({ownerState:e})=>(0,n.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),h=575==i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiFormGroup"}),{className:o,row:l=!1}=i,h=(0,t.A)(i,g),k=(0,u.A)(),v=(0,p.A)({props:i,muiFormControl:k,states:["error"]}),f=(0,n.A)({},i,{row:l,error:v.error}),y=(e=>{const{classes:a,row:i,error:t}=e,n={root:["root",i&&"row",t&&"error"]};return(0,s.A)(n,c.c,a)})(f);return(0,b.jsx)(m,(0,n.A)({className:(0,r.A)(y.root,o),ownerState:f,ref:a},h))})):null,k=575==i.j?h:null},40393:(e,a,i)=>{"use strict";i.d(a,{c:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiFormGroup",e)}(0,t.A)("MuiFormGroup",["root","row","error"])},24453:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(3688),d=i(16910),c=i(40996),u=i(67335),p=i(3582),b=i(30173),g=i(86070);const m=["children","className","color","component","disabled","error","filled","focused","required"],h=(0,p.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.root,"secondary"===e.color&&a.colorSecondary,e.filled&&a.filled)})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${b.A.focused}`]:{color:(e.vars||e).palette[a.color].main},[`&.${b.A.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${b.A.error}`]:{color:(e.vars||e).palette.error.main}}))),k=(0,p.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,a)=>a.asterisk})((({theme:e})=>({[`&.${b.A.error}`]:{color:(e.vars||e).palette.error.main}}))),v=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiFormLabel"}),{children:o,className:p,component:v="label"}=i,f=(0,t.A)(i,m),y=(0,d.A)(),S=(0,l.A)({props:i,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),w=(0,n.A)({},i,{color:S.color||"primary",component:v,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required}),T=(e=>{const{classes:a,color:i,focused:t,disabled:n,error:o,filled:r,required:l}=e,d={root:["root",`color${(0,c.A)(i)}`,n&&"disabled",o&&"error",r&&"filled",t&&"focused",l&&"required"],asterisk:["asterisk",o&&"error"]};return(0,s.A)(d,b.Z,a)})(w);return(0,g.jsxs)(h,(0,n.A)({as:v,ownerState:w,className:(0,r.A)(T.root,p),ref:a},f,{children:[o,S.required&&(0,g.jsxs)(k,{ownerState:w,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}))}))},30173:(e,a,i)=>{"use strict";i.d(a,{A:()=>r,Z:()=>o});var t=i(82070),n=i(87310);function o(e){return(0,n.Ay)("MuiFormLabel",e)}const r=(0,t.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},11110:(e,a,i)=>{"use strict";i.d(a,{A:()=>c});var t=i(40991),n=(i(30758),i(1241)),o=i(25657),r=i(86070);const s=function({styles:e,themeId:a,defaultTheme:i={}}){const t=(0,o.A)(i),s="function"==typeof e?e(a&&t[a]||t):e;return(0,r.jsx)(n.A,{styles:s})};var l=i(50907),d=i(43878);const c=function(e){return(0,r.jsx)(s,(0,t.A)({},e,{defaultTheme:l.A,themeId:d.A}))}},421:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>j});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(81385),l=i(13376),d=i(12060),c=i(3582),u=i(67335),p=i(77329);const b=o.createContext();var g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiGrid",e)}const k=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],v=(0,g.A)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...k.map((e=>`grid-xs-${e}`)),...k.map((e=>`grid-sm-${e}`)),...k.map((e=>`grid-md-${e}`)),...k.map((e=>`grid-lg-${e}`)),...k.map((e=>`grid-xl-${e}`))]);var f=i(86070);const y=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function S(e){const a=parseFloat(e);return`${a}${String(e).replace(String(a),"")||"px"}`}function w({breakpoints:e,values:a}){let i="";Object.keys(a).forEach((e=>{""===i&&0!==a[e]&&(i=e)}));const t=Object.keys(e).sort(((a,i)=>e[a]-e[i]));return t.slice(0,t.indexOf(i))}const T=(0,c.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{container:t,direction:n,item:o,spacing:r,wrap:s,zeroMinWidth:l,breakpoints:d}=i;let c=[];t&&(c=function(e,a,i={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[i[`spacing-xs-${String(e)}`]];const t=[];return a.forEach((a=>{const n=e[a];Number(n)>0&&t.push(i[`spacing-${a}-${String(n)}`])})),t}(r,d,a));const u=[];return d.forEach((e=>{const t=i[e];t&&u.push(a[`grid-${e}-${String(t)}`])})),[a.root,t&&a.container,o&&a.item,l&&a.zeroMinWidth,...c,"row"!==n&&a[`direction-xs-${String(n)}`],"wrap"!==s&&a[`wrap-xs-${String(s)}`],...u]}})((({ownerState:e})=>(0,n.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:a}){const i=(0,s.kW)({values:a.direction,breakpoints:e.breakpoints.values});return(0,s.NI)({theme:e},i,(e=>{const a={flexDirection:e};return 0===e.indexOf("column")&&(a[`& > .${v.item}`]={maxWidth:"none"}),a}))}),(function({theme:e,ownerState:a}){const{container:i,rowSpacing:t}=a;let n={};if(i&&0!==t){const a=(0,s.kW)({values:t,breakpoints:e.breakpoints.values});let i;"object"==typeof a&&(i=w({breakpoints:e.breakpoints.values,values:a})),n=(0,s.NI)({theme:e},a,((a,t)=>{var n;const o=e.spacing(a);return"0px"!==o?{marginTop:`-${S(o)}`,[`& > .${v.item}`]:{paddingTop:S(o)}}:null!=(n=i)&&n.includes(t)?{}:{marginTop:0,[`& > .${v.item}`]:{paddingTop:0}}}))}return n}),(function({theme:e,ownerState:a}){const{container:i,columnSpacing:t}=a;let n={};if(i&&0!==t){const a=(0,s.kW)({values:t,breakpoints:e.breakpoints.values});let i;"object"==typeof a&&(i=w({breakpoints:e.breakpoints.values,values:a})),n=(0,s.NI)({theme:e},a,((a,t)=>{var n;const o=e.spacing(a);return"0px"!==o?{width:`calc(100% + ${S(o)})`,marginLeft:`-${S(o)}`,[`& > .${v.item}`]:{paddingLeft:S(o)}}:null!=(n=i)&&n.includes(t)?{}:{width:"100%",marginLeft:0,[`& > .${v.item}`]:{paddingLeft:0}}}))}return n}),(function({theme:e,ownerState:a}){let i;return e.breakpoints.keys.reduce(((t,o)=>{let r={};if(a[o]&&(i=a[o]),!i)return t;if(!0===i)r={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===i)r={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.kW)({values:a.columns,breakpoints:e.breakpoints.values}),d="object"==typeof l?l[o]:l;if(null==d)return t;const c=Math.round(i/d*1e8)/1e6+"%";let u={};if(a.container&&a.item&&0!==a.columnSpacing){const i=e.spacing(a.columnSpacing);if("0px"!==i){const e=`calc(${c} + ${S(i)})`;u={flexBasis:e,maxWidth:e}}}r=(0,n.A)({flexBasis:c,flexGrow:0,maxWidth:c},u)}return 0===e.breakpoints.values[o]?Object.assign(t,r):t[e.breakpoints.up(o)]=r,t}),{})}));const A=e=>{const{classes:a,container:i,direction:t,item:n,spacing:o,wrap:r,zeroMinWidth:s,breakpoints:l}=e;let c=[];i&&(c=function(e,a){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const i=[];return a.forEach((a=>{const t=e[a];if(Number(t)>0){const e=`spacing-${a}-${String(t)}`;i.push(e)}})),i}(o,l));const u=[];l.forEach((a=>{const i=e[a];i&&u.push(`grid-${a}-${String(i)}`)}));const p={root:["root",i&&"container",n&&"item",s&&"zeroMinWidth",...c,"row"!==t&&`direction-xs-${String(t)}`,"wrap"!==r&&`wrap-xs-${String(r)}`,...u]};return(0,d.A)(p,h,a)},z=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,p.A)(),d=(0,l.A)(i),{className:c,columns:g,columnSpacing:m,component:h="div",container:k=!1,direction:v="row",item:S=!1,rowSpacing:w,spacing:z=0,wrap:j="wrap",zeroMinWidth:C=!1}=d,P=(0,t.A)(d,y),x=w||z,O=m||z,D=o.useContext(b),M=k?g||12:D,I={},B=(0,n.A)({},P);s.keys.forEach((e=>{null!=P[e]&&(I[e]=P[e],delete B[e])}));const R=(0,n.A)({},d,{columns:M,container:k,direction:v,item:S,rowSpacing:x,columnSpacing:O,wrap:j,zeroMinWidth:C,spacing:z},I,{breakpoints:s.keys}),L=A(R);return(0,f.jsx)(b.Provider,{value:M,children:(0,f.jsx)(T,(0,n.A)({ownerState:R,className:(0,r.A)(L.root,c),as:h,ref:a},B))})}));const j=z},86989:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(40991),n=i(23302),o=i(30758),r=i(36109),s=i(8586),l=i(77329),d=i(56264),c=i(47786),u=i(86070);const p=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function b(e){return`scale(${e}, ${e**2})`}const g={entering:{opacity:1,transform:b(1)},entered:{opacity:1,transform:"none"}},m="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),h=o.forwardRef((function(e,a){const{addEndListener:i,appear:h=!0,children:k,easing:v,in:f,onEnter:y,onEntered:S,onEntering:w,onExit:T,onExited:A,onExiting:z,style:j,timeout:C="auto",TransitionComponent:P=s.Ay}=e,x=(0,n.A)(e,p),O=(0,r.A)(),D=o.useRef(),M=(0,l.A)(),I=o.useRef(null),B=(0,c.A)(I,k.ref,a),R=e=>a=>{if(e){const i=I.current;void 0===a?e(i):e(i,a)}},L=R(w),N=R(((e,a)=>{(0,d.q)(e);const{duration:i,delay:t,easing:n}=(0,d.c)({style:j,timeout:C,easing:v},{mode:"enter"});let o;"auto"===C?(o=M.transitions.getAutoHeightDuration(e.clientHeight),D.current=o):o=i,e.style.transition=[M.transitions.create("opacity",{duration:o,delay:t}),M.transitions.create("transform",{duration:m?o:.666*o,delay:t,easing:n})].join(","),y&&y(e,a)})),E=R(S),_=R(z),F=R((e=>{const{duration:a,delay:i,easing:t}=(0,d.c)({style:j,timeout:C,easing:v},{mode:"exit"});let n;"auto"===C?(n=M.transitions.getAutoHeightDuration(e.clientHeight),D.current=n):n=a,e.style.transition=[M.transitions.create("opacity",{duration:n,delay:i}),M.transitions.create("transform",{duration:m?n:.666*n,delay:m?i:i||.333*n,easing:t})].join(","),e.style.opacity=0,e.style.transform=b(.75),T&&T(e)})),W=R(A);return(0,u.jsx)(P,(0,t.A)({appear:h,in:f,nodeRef:I,onEnter:N,onEntered:E,onEntering:L,onExit:F,onExited:W,onExiting:_,addEndListener:e=>{"auto"===C&&O.start(D.current||0,e),i&&i(I.current,e)},timeout:"auto"===C?null:C},x,{children:(e,a)=>o.cloneElement(k,(0,t.A)({style:(0,t.A)({opacity:0,transform:b(.75),visibility:"exited"!==e||f?void 0:"hidden"},g[e],j,k.props.style),ref:B},a))}))}));h.muiSupportAuto=!0;const k=h},99967:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582),c=i(67335),u=i(54463),p=i(40996),b=i(82070),g=i(87310);function m(e){return(0,g.Ay)("MuiIconButton",e)}const h=(0,b.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var k=i(86070);const v=["edge","children","className","color","disabled","disableFocusRipple","size"],f=(0,d.Ay)(u.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"default"!==i.color&&a[`color${(0,p.A)(i.color)}`],i.edge&&a[`edge${(0,p.A)(i.edge)}`],a[`size${(0,p.A)(i.size)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===a.edge&&{marginLeft:"small"===a.size?-3:-12},"end"===a.edge&&{marginRight:"small"===a.size?-3:-12})),(({theme:e,ownerState:a})=>{var i;const t=null==(i=(e.vars||e).palette)?void 0:i[a.color];return(0,n.A)({},"inherit"===a.color&&{color:"inherit"},"inherit"!==a.color&&"default"!==a.color&&(0,n.A)({color:null==t?void 0:t.main},!a.disableRipple&&{"&:hover":(0,n.A)({},t&&{backgroundColor:e.vars?`rgba(${t.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(t.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===a.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===a.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${h.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),y=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiIconButton"}),{edge:o=!1,children:l,className:d,color:u="default",disabled:b=!1,disableFocusRipple:g=!1,size:h="medium"}=i,y=(0,t.A)(i,v),S=(0,n.A)({},i,{edge:o,color:u,disabled:b,disableFocusRipple:g,size:h}),w=(e=>{const{classes:a,disabled:i,color:t,edge:n,size:o}=e,r={root:["root",i&&"disabled","default"!==t&&`color${(0,p.A)(t)}`,n&&`edge${(0,p.A)(n)}`,`size${(0,p.A)(o)}`]};return(0,s.A)(r,m,a)})(S);return(0,k.jsx)(f,(0,n.A)({className:(0,r.A)(w.root,d),centerRipple:!0,focusRipple:!g,disabled:b,ref:a},y,{ownerState:S,children:l}))}))},57637:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(40996),d=i(67463),c=i(49058),u=i(16910),p=i(3582),b=i(82070),g=i(87310);function m(e){return(0,g.Ay)("MuiInputAdornment",e)}const h=(0,b.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var k,v=i(67335),f=i(86070);const y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],S=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`position${(0,l.A)(i.position)}`],!0===i.disablePointerEvents&&a.disablePointerEvents,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===a.variant&&{[`&.${h.positionStart}&:not(.${h.hiddenLabel})`]:{marginTop:16}},"start"===a.position&&{marginRight:8},"end"===a.position&&{marginLeft:8},!0===a.disablePointerEvents&&{pointerEvents:"none"}))),w=o.forwardRef((function(e,a){const i=(0,v.b)({props:e,name:"MuiInputAdornment"}),{children:p,className:b,component:g="div",disablePointerEvents:h=!1,disableTypography:w=!1,position:T,variant:A}=i,z=(0,t.A)(i,y),j=(0,u.A)()||{};let C=A;A&&j.variant,j&&!C&&(C=j.variant);const P=(0,n.A)({},i,{hiddenLabel:j.hiddenLabel,size:j.size,disablePointerEvents:h,position:T,variant:C}),x=(e=>{const{classes:a,disablePointerEvents:i,hiddenLabel:t,position:n,size:o,variant:r}=e,d={root:["root",i&&"disablePointerEvents",n&&`position${(0,l.A)(n)}`,r,t&&"hiddenLabel",o&&`size${(0,l.A)(o)}`]};return(0,s.A)(d,m,a)})(P);return(0,f.jsx)(c.A.Provider,{value:null,children:(0,f.jsx)(S,(0,n.A)({as:g,ownerState:P,className:(0,r.A)(x.root,b),ref:a},z,{children:"string"!=typeof p||w?(0,f.jsxs)(o.Fragment,{children:["start"===T?k||(k=(0,f.jsx)("span",{className:"notranslate",children:"​"})):null,p]}):(0,f.jsx)(d.A,{color:"text.secondary",children:p})}))})}))},2041:(e,a,i)=>{"use strict";i.d(a,{f3:()=>B,Sh:()=>I,Ay:()=>L,Oj:()=>M,WC:()=>D});var t=i(23302),n=i(40991),o=i(19862),r=i(30758),s=i(13526),l=i(12060),d=i(69454),c=i(58384),u=i(63558),p=i(47226),b=i(10070),g=i(86070);const m=["onChange","maxRows","minRows","style","value"];function h(e){return parseInt(e,10)||0}const k={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const v=r.forwardRef((function(e,a){const{onChange:i,maxRows:o,minRows:s=1,style:l,value:d}=e,v=(0,t.A)(e,m),{current:f}=r.useRef(null!=d),y=r.useRef(null),S=(0,c.A)(a,y),w=r.useRef(null),T=r.useRef(null),A=r.useCallback((()=>{const a=y.current,i=(0,u.A)(a).getComputedStyle(a);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};const t=T.current;t.style.width=i.width,t.value=a.value||e.placeholder||"x","\n"===t.value.slice(-1)&&(t.value+=" ");const n=i.boxSizing,r=h(i.paddingBottom)+h(i.paddingTop),l=h(i.borderBottomWidth)+h(i.borderTopWidth),d=t.scrollHeight;t.value="x";const c=t.scrollHeight;let p=d;s&&(p=Math.max(Number(s)*c,p)),o&&(p=Math.min(Number(o)*c,p)),p=Math.max(p,c);return{outerHeightStyle:p+("border-box"===n?r+l:0),overflowing:Math.abs(p-d)<=1}}),[o,s,e.placeholder]),z=r.useCallback((()=>{const e=A();if(null==(a=e)||0===Object.keys(a).length||0===a.outerHeightStyle&&!a.overflowing)return;var a;const i=e.outerHeightStyle,t=y.current;w.current!==i&&(w.current=i,t.style.height=`${i}px`),t.style.overflow=e.overflowing?"hidden":""}),[A]);(0,p.A)((()=>{const e=()=>{z()};let a;const i=(0,b.A)(e),t=y.current,n=(0,u.A)(t);let o;return n.addEventListener("resize",i),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(t)),()=>{i.clear(),cancelAnimationFrame(a),n.removeEventListener("resize",i),o&&o.disconnect()}}),[A,z]),(0,p.A)((()=>{z()}));return(0,g.jsxs)(r.Fragment,{children:[(0,g.jsx)("textarea",(0,n.A)({value:d,onChange:e=>{f||z(),i&&i(e)},ref:S,rows:s,style:l},v)),(0,g.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:T,tabIndex:-1,style:(0,n.A)({},k,l,{paddingTop:0,paddingBottom:0})})]})}));var f=i(3688),y=i(49058),S=i(16910),w=i(3582),T=i(67335),A=i(40996),z=i(47786),j=i(10908),C=i(11110),P=i(17181),x=i(44013);const O=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],D=(e,a)=>{const{ownerState:i}=e;return[a.root,i.formControl&&a.formControl,i.startAdornment&&a.adornedStart,i.endAdornment&&a.adornedEnd,i.error&&a.error,"small"===i.size&&a.sizeSmall,i.multiline&&a.multiline,i.color&&a[`color${(0,A.A)(i.color)}`],i.fullWidth&&a.fullWidth,i.hiddenLabel&&a.hiddenLabel]},M=(e,a)=>{const{ownerState:i}=e;return[a.input,"small"===i.size&&a.inputSizeSmall,i.multiline&&a.inputMultiline,"search"===i.type&&a.inputTypeSearch,i.startAdornment&&a.inputAdornedStart,i.endAdornment&&a.inputAdornedEnd,i.hiddenLabel&&a.inputHiddenLabel]},I=(0,w.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:D})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${x.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},a.multiline&&(0,n.A)({padding:"4px 0 5px"},"small"===a.size&&{paddingTop:1}),a.fullWidth&&{width:"100%"}))),B=(0,w.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:M})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode,t=(0,n.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},r=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,n.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":t,"&::-moz-placeholder":t,"&:-ms-input-placeholder":t,"&::-ms-input-placeholder":t,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${x.A.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":r,"&:focus::-moz-placeholder":r,"&:focus:-ms-input-placeholder":r,"&:focus::-ms-input-placeholder":r},[`&.${x.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===a.size&&{paddingTop:1},a.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===a.type&&{MozAppearance:"textfield"})})),R=(0,g.jsx)(C.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),L=r.forwardRef((function(e,a){var i;const c=(0,T.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":u,autoComplete:p,autoFocus:b,className:m,components:h={},componentsProps:k={},defaultValue:w,disabled:C,disableInjectingGlobalStyles:D,endAdornment:M,fullWidth:L=!1,id:N,inputComponent:E="input",inputProps:_={},inputRef:F,maxRows:W,minRows:G,multiline:U=!1,name:q,onBlur:K,onChange:V,onClick:H,onFocus:$,onKeyDown:J,onKeyUp:Q,placeholder:Z,readOnly:Y,renderSuffix:X,rows:ee,slotProps:ae={},slots:ie={},startAdornment:te,type:ne="text",value:oe}=c,re=(0,t.A)(c,O),se=null!=_.value?_.value:oe,{current:le}=r.useRef(null!=se),de=r.useRef(),ce=r.useCallback((e=>{0}),[]),ue=(0,z.A)(de,F,_.ref,ce),[pe,be]=r.useState(!1),ge=(0,S.A)();const me=(0,f.A)({props:c,muiFormControl:ge,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=ge?ge.focused:pe,r.useEffect((()=>{!ge&&C&&pe&&(be(!1),K&&K())}),[ge,C,pe,K]);const he=ge&&ge.onFilled,ke=ge&&ge.onEmpty,ve=r.useCallback((e=>{(0,P.lq)(e)?he&&he():ke&&ke()}),[he,ke]);(0,j.A)((()=>{le&&ve({value:se})}),[se,ve,le]);r.useEffect((()=>{ve(de.current)}),[]);let fe=E,ye=_;U&&"input"===fe&&(ye=ee?(0,n.A)({type:void 0,minRows:ee,maxRows:ee},ye):(0,n.A)({type:void 0,maxRows:W,minRows:G},ye),fe=v);r.useEffect((()=>{ge&&ge.setAdornedStart(Boolean(te))}),[ge,te]);const Se=(0,n.A)({},c,{color:me.color||"primary",disabled:me.disabled,endAdornment:M,error:me.error,focused:me.focused,formControl:ge,fullWidth:L,hiddenLabel:me.hiddenLabel,multiline:U,size:me.size,startAdornment:te,type:ne}),we=(e=>{const{classes:a,color:i,disabled:t,error:n,endAdornment:o,focused:r,formControl:s,fullWidth:d,hiddenLabel:c,multiline:u,readOnly:p,size:b,startAdornment:g,type:m}=e,h={root:["root",`color${(0,A.A)(i)}`,t&&"disabled",n&&"error",d&&"fullWidth",r&&"focused",s&&"formControl",b&&"medium"!==b&&`size${(0,A.A)(b)}`,u&&"multiline",g&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",t&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===b&&"inputSizeSmall",c&&"inputHiddenLabel",g&&"inputAdornedStart",o&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.A)(h,x.g,a)})(Se),Te=ie.root||h.Root||I,Ae=ae.root||k.root||{},ze=ie.input||h.Input||B;return ye=(0,n.A)({},ye,null!=(i=ae.input)?i:k.input),(0,g.jsxs)(r.Fragment,{children:[!D&&R,(0,g.jsxs)(Te,(0,n.A)({},Ae,!(0,d.A)(Te)&&{ownerState:(0,n.A)({},Se,Ae.ownerState)},{ref:a,onClick:e=>{de.current&&e.currentTarget===e.target&&de.current.focus(),H&&H(e)}},re,{className:(0,s.A)(we.root,Ae.className,m,Y&&"MuiInputBase-readOnly"),children:[te,(0,g.jsx)(y.A.Provider,{value:null,children:(0,g.jsx)(ze,(0,n.A)({ownerState:Se,"aria-invalid":me.error,"aria-describedby":u,autoComplete:p,autoFocus:b,defaultValue:w,disabled:me.disabled,id:N,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?de.current:{value:"x"})},name:q,placeholder:Z,readOnly:Y,required:me.required,rows:ee,value:se,onKeyDown:J,onKeyUp:Q,type:ne},ye,!(0,d.A)(ze)&&{as:fe,ownerState:(0,n.A)({},Se,ye.ownerState)},{ref:ue,className:(0,s.A)(we.input,ye.className,Y&&"MuiInputBase-readOnly"),onBlur:e=>{K&&K(e),_.onBlur&&_.onBlur(e),ge&&ge.onBlur?ge.onBlur(e):be(!1)},onChange:(e,...a)=>{if(!le){const a=e.target||de.current;if(null==a)throw new Error((0,o.A)(1));ve({value:a.value})}_.onChange&&_.onChange(e,...a),V&&V(e,...a)},onFocus:e=>{me.disabled?e.stopPropagation():($&&$(e),_.onFocus&&_.onFocus(e),ge&&ge.onFocus?ge.onFocus(e):be(!0))}}))}),M,X?X((0,n.A)({},me,{startAdornment:te})):null]}))]})}))},44013:(e,a,i)=>{"use strict";i.d(a,{A:()=>r,g:()=>o});var t=i(82070),n=i(87310);function o(e){return(0,n.Ay)("MuiInputBase",e)}const r=(0,t.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},17181:(e,a,i)=>{"use strict";function t(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function n(e,a=!1){return e&&(t(e.value)&&""!==e.value||a&&t(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}i.d(a,{gr:()=>o,lq:()=>n})},46989:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=i(12060),s=i(13526),l=i(3688),d=i(16910),c=i(24453),u=i(30173),p=i(67335),b=i(40996),g=i(3582),m=i(96896),h=i(82070),k=i(87310);function v(e){return(0,k.Ay)("MuiInputLabel",e)}(0,h.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var f=i(86070);const y=["disableAnimation","margin","shrink","variant","className"],S=(0,g.Ay)(c.A,{shouldForwardProp:e=>(0,m.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${u.A.asterisk}`]:a.asterisk},a.root,i.formControl&&a.formControl,"small"===i.size&&a.sizeSmall,i.shrink&&a.shrink,!i.disableAnimation&&a.animated,i.focused&&a.focused,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},a.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===a.size&&{transform:"translate(0, 17px) scale(1)"},a.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!a.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===a.variant&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===a.size&&{transform:"translate(12px, 13px) scale(1)"},a.shrink&&(0,n.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===a.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===a.variant&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===a.size&&{transform:"translate(14px, 9px) scale(1)"},a.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),w=o.forwardRef((function(e,a){const i=(0,p.b)({name:"MuiInputLabel",props:e}),{disableAnimation:o=!1,shrink:c,className:u}=i,g=(0,t.A)(i,y),m=(0,d.A)();let h=c;void 0===h&&m&&(h=m.filled||m.focused||m.adornedStart);const k=(0,l.A)({props:i,muiFormControl:m,states:["size","variant","required","focused"]}),w=(0,n.A)({},i,{disableAnimation:o,formControl:m,shrink:h,size:k.size,variant:k.variant,required:k.required,focused:k.focused}),T=(e=>{const{classes:a,formControl:i,size:t,shrink:o,disableAnimation:s,variant:l,required:d}=e,c={root:["root",i&&"formControl",!s&&"animated",o&&"shrink",t&&"normal"!==t&&`size${(0,b.A)(t)}`,l],asterisk:[d&&"asterisk"]},u=(0,r.A)(c,v,a);return(0,n.A)({},a,u)})(w);return(0,f.jsx)(S,(0,n.A)({"data-shrink":h,ownerState:w,ref:a,className:(0,s.A)(T.root,u)},g,{classes:T}))}))},59161:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(23302),n=i(40991),o=i(30758),r=i(12060),s=i(98638),l=i(2041),d=i(3582),c=i(96896),u=i(67335),p=i(57065),b=i(86070);const g=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],m=(0,d.Ay)(l.Sh,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[...(0,l.WC)(e,a),!i.disableUnderline&&a.underline]}})((({theme:e,ownerState:a})=>{let i="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(i=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,n.A)({position:"relative"},a.formControl&&{"label + &":{marginTop:16}},!a.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${i}`}},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}})})),h=(0,d.Ay)(l.f3,{name:"MuiInput",slot:"Input",overridesResolver:l.Oj})({}),k=o.forwardRef((function(e,a){var i,o,d,c;const k=(0,u.b)({props:e,name:"MuiInput"}),{disableUnderline:v,components:f={},componentsProps:y,fullWidth:S=!1,inputComponent:w="input",multiline:T=!1,slotProps:A,slots:z={},type:j="text"}=k,C=(0,t.A)(k,g),P=(e=>{const{classes:a,disableUnderline:i}=e,t={root:["root",!i&&"underline"],input:["input"]},o=(0,r.A)(t,p.B,a);return(0,n.A)({},a,o)})(k),x={root:{ownerState:{disableUnderline:v}}},O=(null!=A?A:y)?(0,s.A)(null!=A?A:y,x):x,D=null!=(i=null!=(o=z.root)?o:f.Root)?i:m,M=null!=(d=null!=(c=z.input)?c:f.Input)?d:h;return(0,b.jsx)(l.Ay,(0,n.A)({slots:{root:D,input:M},slotProps:O,fullWidth:S,inputComponent:w,multiline:T,ref:a,type:j},C,{classes:P}))}));k.muiName="Input";const v=k},57065:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,B:()=>s});var t=i(40991),n=i(82070),o=i(87310),r=i(44013);function s(e){return(0,o.Ay)("MuiInput",e)}const l=(0,t.A)({},r.A,(0,n.A)("MuiInput",["root","underline","input"]))},12619:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>I}),61!=i.j)var t=i(23302);var n=i(40991),o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);var l=i(20020),d=i(89692);if(61!=i.j)var c=i(9073);var u=i(40996),p=i(3582);if(61!=i.j)var b=i(67335);if(61!=i.j)var g=i(83199);var m=i(86070);const h=61!=i.j?["className","color","value","valueBuffer","variant"]:null;let k,v,f,y,S,w,T=e=>e;const A=(0,l.i7)(k||(k=T` + `),A))),C=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:l="primary",disableShrink:u=!1,size:p=40,style:m,thickness:k=3.6,value:v=0,variant:f="indeterminate"}=i,y=(0,t.A)(i,h),w=(0,n.A)({},i,{color:l,disableShrink:u,size:p,thickness:k,value:v,variant:f}),T=(e=>{const{classes:a,variant:i,color:t,disableShrink:n}=e,r={root:["root",i,`color${(0,d.A)(t)}`],svg:["svg"],circle:["circle",`circle${(0,d.A)(i)}`,n&&"circleDisableShrink"]};return(0,s.A)(r,b,a)})(w),A={},C={},x={};if("determinate"===f){const e=2*Math.PI*((S-k)/2);A.strokeDasharray=e.toFixed(3),x["aria-valuenow"]=Math.round(v),A.strokeDashoffset=`${((100-v)/100*e).toFixed(3)}px`,C.transform="rotate(-90deg)"}return(0,g.jsx)(z,(0,n.A)({className:(0,o.A)(T.root,r),style:(0,n.A)({width:p,height:p},C,m),ownerState:w,ref:a,role:"progressbar"},x,y,{children:(0,g.jsx)(P,{className:T.svg,ownerState:w,viewBox:"22 22 44 44",children:(0,g.jsx)(j,{className:T.circle,style:A,ownerState:w,cx:S,cy:S,r:(S-k)/2,fill:"none",strokeWidth:k})})}))}))},80323:(e,a,i)=>{"use strict";i.d(a,{A:()=>z});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(8586),l=i(48467),d=i(85154),c=i(84361),u=i(74692),p=i(20160),m=i(5895),b=i(75826),g=i(7443),h=i(13028),k=i(26468);function v(e){return(0,k.Ay)("MuiCollapse",e)}(0,h.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var f=i(86070);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],w=(0,c.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.orientation],"entered"===i.state&&a.entered,"exited"===i.state&&!i.in&&"0px"===i.collapsedSize&&a.hidden]}})((({theme:e,ownerState:a})=>(0,n.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===a.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===a.state&&(0,n.A)({height:"auto",overflow:"visible"},"horizontal"===a.orientation&&{width:"auto"}),"exited"===a.state&&!a.in&&"0px"===a.collapsedSize&&{visibility:"hidden"}))),S=(0,c.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,a)=>a.wrapper})((({ownerState:e})=>(0,n.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),T=(0,c.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,a)=>a.wrapperInner})((({ownerState:e})=>(0,n.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),A=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:h,className:k,collapsedSize:A="0px",component:z,easing:P,in:j,onEnter:C,onEntered:x,onEntering:D,onExit:O,onExited:M,onExiting:I,orientation:B="vertical",style:L,timeout:R=p.p0.standard,TransitionComponent:N=s.Ay}=i,E=(0,t.A)(i,y),F=(0,n.A)({},i,{orientation:B,collapsedSize:A}),_=(e=>{const{orientation:a,classes:i}=e,t={root:["root",`${a}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${a}`],wrapperInner:["wrapperInner",`${a}`]};return(0,d.A)(t,v,i)})(F),W=(0,b.A)(),U=(0,l.A)(),G=r.useRef(null),K=r.useRef(),V="number"==typeof A?`${A}px`:A,q="horizontal"===B,H=q?"width":"height",$=r.useRef(null),J=(0,g.A)(a,$),Q=e=>a=>{if(e){const i=$.current;void 0===a?e(i):e(i,a)}},Z=()=>G.current?G.current[q?"clientWidth":"clientHeight"]:0,Y=Q(((e,a)=>{G.current&&q&&(G.current.style.position="absolute"),e.style[H]=V,C&&C(e,a)})),X=Q(((e,a)=>{const i=Z();G.current&&q&&(G.current.style.position="");const{duration:t,easing:n}=(0,m.c)({style:L,timeout:R,easing:P},{mode:"enter"});if("auto"===R){const a=W.transitions.getAutoHeightDuration(i);e.style.transitionDuration=`${a}ms`,K.current=a}else e.style.transitionDuration="string"==typeof t?t:`${t}ms`;e.style[H]=`${i}px`,e.style.transitionTimingFunction=n,D&&D(e,a)})),ee=Q(((e,a)=>{e.style[H]="auto",x&&x(e,a)})),ae=Q((e=>{e.style[H]=`${Z()}px`,O&&O(e)})),ie=Q(M),te=Q((e=>{const a=Z(),{duration:i,easing:t}=(0,m.c)({style:L,timeout:R,easing:P},{mode:"exit"});if("auto"===R){const i=W.transitions.getAutoHeightDuration(a);e.style.transitionDuration=`${i}ms`,K.current=i}else e.style.transitionDuration="string"==typeof i?i:`${i}ms`;e.style[H]=V,e.style.transitionTimingFunction=t,I&&I(e)}));return(0,f.jsx)(N,(0,n.A)({in:j,onEnter:Y,onEntered:ee,onEntering:X,onExit:ae,onExited:ie,onExiting:te,addEndListener:e=>{"auto"===R&&U.start(K.current||0,e),c&&c($.current,e)},nodeRef:$,timeout:"auto"===R?null:R},E,{children:(e,a)=>(0,f.jsx)(w,(0,n.A)({as:z,className:(0,o.A)(_.root,k,{entered:_.entered,exited:!j&&"0px"===V&&_.hidden}[e]),style:(0,n.A)({[q?"minWidth":"minHeight"]:V},L),ref:J},a,{ownerState:(0,n.A)({},F,{state:e}),children:(0,f.jsx)(S,{ownerState:(0,n.A)({},F,{state:e}),className:_.wrapper,ref:G,children:(0,f.jsx)(T,{ownerState:(0,n.A)({},F,{state:e}),className:_.wrapperInner,children:h})})}))}))}));A.muiSupportAuto=!0;const z=A},38662:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(26468),l=i(85154),d=i(25438),c=i(84087),u=i(11371),p=i(63924),m=i(86070);const b=["className","component","disableGutters","fixed","maxWidth","classes"],g=(0,p.A)(),h=(0,u.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`maxWidth${(0,d.A)(String(i.maxWidth))}`],i.fixed&&a.fixed,i.disableGutters&&a.disableGutters]}}),k=e=>(0,c.A)({props:e,name:"MuiContainer",defaultTheme:g});var v=i(25697),f=i(84361),y=i(74692);const w=function(e={}){const{createStyledComponent:a=h,useThemeProps:i=k,componentName:c="MuiContainer"}=e,u=a((({theme:e,ownerState:a})=>(0,n.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:a})=>a.fixed&&Object.keys(e.breakpoints.values).reduce(((a,i)=>{const t=i,n=e.breakpoints.values[t];return 0!==n&&(a[e.breakpoints.up(t)]={maxWidth:`${n}${e.breakpoints.unit}`}),a}),{})),(({theme:e,ownerState:a})=>(0,n.A)({},"xs"===a.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},a.maxWidth&&"xs"!==a.maxWidth&&{[e.breakpoints.up(a.maxWidth)]:{maxWidth:`${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`}}))),p=r.forwardRef((function(e,a){const r=i(e),{className:p,component:g="div",disableGutters:h=!1,fixed:k=!1,maxWidth:v="lg"}=r,f=(0,t.A)(r,b),y=(0,n.A)({},r,{component:g,disableGutters:h,fixed:k,maxWidth:v}),w=((e,a)=>{const{classes:i,fixed:t,disableGutters:n,maxWidth:r}=e,o={root:["root",r&&`maxWidth${(0,d.A)(String(r))}`,t&&"fixed",n&&"disableGutters"]};return(0,l.A)(o,(e=>(0,s.Ay)(a,e)),i)})(y,c);return(0,m.jsx)(u,(0,n.A)({as:g,ownerState:y,className:(0,o.A)(w.root,p),ref:a},f))}));return p}({createStyledComponent:(0,f.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`maxWidth${(0,v.A)(String(i.maxWidth))}`],i.fixed&&a.fixed,i.disableGutters&&a.disableGutters]}}),useThemeProps:e=>(0,y.b)({props:e,name:"MuiContainer"})}),S=w},20678:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>c});var t=i(26325),n=i(30758),r=i(74692),o=i(70897),s=i(86070);const l=(e,a)=>(0,t.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},a&&!e.vars&&{colorScheme:e.palette.mode}),d=e=>(0,t.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const c=function(e){const a=(0,r.b)({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:c=!1}=a;return(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(o.A,{styles:e=>((e,a=!1)=>{var i;const n={};a&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([a,i])=>{var t;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:null==(t=i.palette)?void 0:t.mode}}));let r=(0,t.A)({html:l(e,a),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,t.A)({margin:0},d(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const o=null==(i=e.components)||null==(i=i.MuiCssBaseline)?void 0:i.styleOverrides;return o&&(r=[r,o]),r})(e,c)}),i]})}},74692:(e,a,i)=>{"use strict";i.d(a,{b:()=>n});i(30758);var t=i(44838);i(86070);function n(e){return(0,t.b)(e)}},97950:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>g}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361);if(61!=i.j)var d=i(74692);if(61!=i.j)var c=i(2132);var u=i(86070);const p=61!=i.j?["className","disableSpacing"]:null,m=(0,l.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disableSpacing&&a.spacing]}})((({ownerState:e})=>(0,n.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),b=61!=i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:l=!1}=i,b=(0,t.A)(i,p),g=(0,n.A)({},i,{disableSpacing:l}),h=(e=>{const{classes:a,disableSpacing:i}=e,t={root:["root",!i&&"spacing"]};return(0,s.A)(t,c.C,a)})(g);return(0,u.jsx)(m,(0,n.A)({className:(0,o.A)(h.root,r),ownerState:g,ref:a},b))})):null,g=61!=i.j?b:null},2132:(e,a,i)=>{"use strict";i.d(a,{C:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiDialogActions",e)}(0,t.A)("MuiDialogActions",["root","spacing"])},58470:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(39460);if(61!=i.j)var n=i(26325);var r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361),d=i(81197);if(61!=i.j)var c=i(74692);var u=i(64858);if(61!=i.j)var p=i(40284);var m=i(86070);const b=61!=i.j?["children","className"]:null,g=(0,l.Ay)(u.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,a)=>a.root})({}),h=61!=i.j?r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDialogContentText"}),{className:r}=i,l=(0,t.A)(i,b),d=(e=>{const{classes:a}=e,i=(0,s.A)({root:["root"]},p.D,a);return(0,n.A)({},a,i)})(l);return(0,m.jsx)(g,(0,n.A)({component:"p",variant:"body1",color:"text.secondary",ref:a,ownerState:l,className:(0,o.A)(d.root,r)},i,{classes:d}))})):null,k=61!=i.j?h:null},40284:(e,a,i)=>{"use strict";i.d(a,{D:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiDialogContentText",e)}(0,t.A)("MuiDialogContentText",["root"])},42606:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361);if(61!=i.j)var d=i(74692);if(61!=i.j)var c=i(5540);var u=i(82484),p=i(86070);const m=61!=i.j?["className","dividers"]:null,b=(0,l.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dividers&&a.dividers]}})((({theme:e,ownerState:a})=>(0,n.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},a.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${u.A.root} + &`]:{paddingTop:0}}))),g=61!=i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiDialogContent"}),{className:r,dividers:l=!1}=i,u=(0,t.A)(i,m),g=(0,n.A)({},i,{dividers:l}),h=(e=>{const{classes:a,dividers:i}=e,t={root:["root",i&&"dividers"]};return(0,s.A)(t,c.E,a)})(g);return(0,p.jsx)(b,(0,n.A)({className:(0,o.A)(h.root,r),ownerState:g,ref:a},u))})):null,h=61!=i.j?g:null},5540:(e,a,i)=>{"use strict";i.d(a,{E:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiDialogContent",e)}(0,t.A)("MuiDialogContent",["root","dividers"])},21054:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(26325);if(61!=i.j)var n=i(39460);var r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(64858),d=i(84361);if(61!=i.j)var c=i(74692);if(61!=i.j)var u=i(82484);if(61!=i.j)var p=i(79785);var m=i(86070);const b=61!=i.j?["className","id"]:null,g=(0,d.Ay)(l.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,a)=>a.root})({padding:"16px 24px",flex:"0 0 auto"}),h=61!=i.j?r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDialogTitle"}),{className:l,id:d}=i,h=(0,n.A)(i,b),k=i,v=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},u.t,a)})(k),{titleId:f=d}=r.useContext(p.A);return(0,m.jsx)(g,(0,t.A)({component:"h2",className:(0,o.A)(v.root,l),ownerState:k,ref:a,variant:"h6",id:null!=d?d:f},h))})):null,k=61!=i.j?h:null},82484:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,t:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiDialogTitle",e)}const o=(0,t.A)("MuiDialogTitle",["root"]),s=61!=i.j?o:null},94512:(e,a,i)=>{"use strict";i.d(a,{A:()=>C});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(48260),d=i(25697),c=i(8716),u=i(86272),p=i(74365),m=i(74692),b=i(84361),g=i(13028),h=i(26468);function k(e){return(0,h.Ay)("MuiDialog",e)}const v=(0,g.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var f=i(79785),y=i(77880),w=i(75826),S=i(86070);const T=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],A=(0,b.Ay)(y.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,a)=>a.backdrop})({zIndex:-1}),z=(0,b.Ay)(c.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,a)=>a.root})({"@media print":{position:"absolute !important"}}),P=(0,b.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.container,a[`scroll${(0,d.A)(i.scroll)}`]]}})((({ownerState:e})=>(0,n.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),j=(0,b.Ay)(p.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.paper,a[`scrollPaper${(0,d.A)(i.scroll)}`],a[`paperWidth${(0,d.A)(String(i.maxWidth))}`],i.fullWidth&&a.paperFullWidth,i.fullScreen&&a.paperFullScreen]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===a.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===a.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!a.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===a.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},a.maxWidth&&"xs"!==a.maxWidth&&{maxWidth:`${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[a.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},a.fullWidth&&{width:"calc(100% - 64px)"},a.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${v.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),C=r.forwardRef((function(e,a){const i=(0,m.b)({props:e,name:"MuiDialog"}),c=(0,w.A)(),b={enter:c.transitions.duration.enteringScreen,exit:c.transitions.duration.leavingScreen},{"aria-describedby":g,"aria-labelledby":h,BackdropComponent:v,BackdropProps:y,children:C,className:x,disableEscapeKeyDown:D=!1,fullScreen:O=!1,fullWidth:M=!1,maxWidth:I="sm",onBackdropClick:B,onClick:L,onClose:R,open:N,PaperComponent:E=p.A,PaperProps:F={},scroll:_="paper",TransitionComponent:W=u.A,transitionDuration:U=b,TransitionProps:G}=i,K=(0,t.A)(i,T),V=(0,n.A)({},i,{disableEscapeKeyDown:D,fullScreen:O,fullWidth:M,maxWidth:I,scroll:_}),q=(e=>{const{classes:a,scroll:i,maxWidth:t,fullWidth:n,fullScreen:r}=e,o={root:["root"],container:["container",`scroll${(0,d.A)(i)}`],paper:["paper",`paperScroll${(0,d.A)(i)}`,`paperWidth${(0,d.A)(String(t))}`,n&&"paperFullWidth",r&&"paperFullScreen"]};return(0,s.A)(o,k,a)})(V),H=r.useRef(),$=(0,l.A)(h),J=r.useMemo((()=>({titleId:$})),[$]);return(0,S.jsx)(z,(0,n.A)({className:(0,o.A)(q.root,x),closeAfterTransition:!0,components:{Backdrop:A},componentsProps:{backdrop:(0,n.A)({transitionDuration:U,as:v},y)},disableEscapeKeyDown:D,onClose:R,open:N,ref:a,onClick:e=>{L&&L(e),H.current&&(H.current=null,B&&B(e),R&&R(e,"backdropClick"))},ownerState:V},K,{children:(0,S.jsx)(W,(0,n.A)({appear:!0,in:N,timeout:U,role:"presentation"},G,{children:(0,S.jsx)(P,{className:(0,o.A)(q.container),onMouseDown:e=>{H.current=e.target===e.currentTarget},ownerState:V,children:(0,S.jsx)(j,(0,n.A)({as:E,elevation:24,role:"dialog","aria-describedby":g,"aria-labelledby":$},F,{className:(0,o.A)(q.paper,F.className),ownerState:V,children:(0,S.jsx)(f.A.Provider,{value:J,children:C})}))})}))}))}))},79785:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=i(30758).createContext({});const n=61!=i.j?t:null},32894:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361),c=i(74692),u=i(59732),p=i(86070);const m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],b=(0,d.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.absolute&&a.absolute,a[i.variant],i.light&&a.light,"vertical"===i.orientation&&a.vertical,i.flexItem&&a.flexItem,i.children&&a.withChildren,i.children&&"vertical"===i.orientation&&a.withChildrenVertical,"right"===i.textAlign&&"vertical"!==i.orientation&&a.textAlignRight,"left"===i.textAlign&&"vertical"!==i.orientation&&a.textAlignLeft]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},a.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},a.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===a.variant&&{marginLeft:72},"middle"===a.variant&&"horizontal"===a.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===a.variant&&"vertical"===a.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===a.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},a.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,n.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:a})=>(0,n.A)({},a.children&&"vertical"!==a.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:a})=>(0,n.A)({},a.children&&"vertical"===a.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>(0,n.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),g=(0,d.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.wrapper,"vertical"===i.orientation&&a.wrapperVertical]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===a.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),h=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:l,className:d,component:h=(l?"div":"hr"),flexItem:k=!1,light:v=!1,orientation:f="horizontal",role:y=("hr"!==h?"separator":void 0),textAlign:w="center",variant:S="fullWidth"}=i,T=(0,t.A)(i,m),A=(0,n.A)({},i,{absolute:r,component:h,flexItem:k,light:v,orientation:f,role:y,textAlign:w,variant:S}),z=(e=>{const{absolute:a,children:i,classes:t,flexItem:n,light:r,orientation:o,textAlign:l,variant:d}=e,c={root:["root",a&&"absolute",d,r&&"light","vertical"===o&&"vertical",n&&"flexItem",i&&"withChildren",i&&"vertical"===o&&"withChildrenVertical","right"===l&&"vertical"!==o&&"textAlignRight","left"===l&&"vertical"!==o&&"textAlignLeft"],wrapper:["wrapper","vertical"===o&&"wrapperVertical"]};return(0,s.A)(c,u.K,t)})(A);return(0,p.jsx)(b,(0,n.A)({as:h,className:(0,o.A)(z.root,d),role:y,ref:a,ownerState:A},T,{children:l?(0,p.jsx)(g,{className:z.wrapper,ownerState:A,children:l}):null}))}));h.muiSkipListHighlight=!0;const k=h},59732:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,K:()=>r});var t=i(13028),n=i(26468);function r(e){return(0,n.Ay)("MuiDivider",e)}const o=(0,t.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),s=61!=i.j?o:null},48238:(e,a,i)=>{"use strict";if(i.d(a,{Ay:()=>j}),!/^(575|61)$/.test(i.j))var t=i(39460);var n=i(26325),r=i(30758);if(!/^(575|61)$/.test(i.j))var o=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(85154);if(!/^(575|61)$/.test(i.j))var l=i(70955);var d=i(8716);if(!/^(575|61)$/.test(i.j))var c=i(53498);var u=i(74365),p=i(25697);if(!/^(575|61)$/.test(i.j))var m=i(75826);if(!/^(575|61)$/.test(i.j))var b=i(74692);var g=i(84361),h=i(81197);if(!/^(575|61)$/.test(i.j))var k=i(21828);var v=i(86070);const f=/^(575|61)$/.test(i.j)?null:["BackdropProps"],y=/^(575|61)$/.test(i.j)?null:["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],w=(e,a)=>{const{ownerState:i}=e;return[a.root,("permanent"===i.variant||"persistent"===i.variant)&&a.docked,a.modal]},S=(0,g.Ay)(d.A,{name:"MuiDrawer",slot:"Root",overridesResolver:w})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),T=(0,g.Ay)("div",{shouldForwardProp:h.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:w})({flex:"0 0 auto"}),A=(0,g.Ay)(u.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.paper,a[`paperAnchor${(0,p.A)(i.anchor)}`],"temporary"!==i.variant&&a[`paperAnchorDocked${(0,p.A)(i.anchor)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===a.anchor&&{left:0},"top"===a.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===a.anchor&&{right:0},"bottom"===a.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===a.anchor&&"temporary"!==a.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===a.anchor&&"temporary"!==a.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===a.anchor&&"temporary"!==a.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===a.anchor&&"temporary"!==a.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),z={left:"right",right:"left",top:"down",bottom:"up"};const P=/^(575|61)$/.test(i.j)?null:r.forwardRef((function(e,a){const i=(0,b.b)({props:e,name:"MuiDrawer"}),d=(0,m.A)(),u=(0,l.I)(),g={enter:d.transitions.duration.enteringScreen,exit:d.transitions.duration.leavingScreen},{anchor:h="left",BackdropProps:w,children:P,className:j,elevation:C=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:D}={},onClose:O,open:M=!1,PaperProps:I={},SlideProps:B,TransitionComponent:L=c.A,transitionDuration:R=g,variant:N="temporary"}=i,E=(0,t.A)(i.ModalProps,f),F=(0,t.A)(i,y),_=r.useRef(!1);r.useEffect((()=>{_.current=!0}),[]);const W=function({direction:e},a){return"rtl"===e&&function(e){return-1!==["left","right"].indexOf(e)}(a)?z[a]:a}({direction:u?"rtl":"ltr"},h),U=h,G=(0,n.A)({},i,{anchor:U,elevation:C,open:M,variant:N},F),K=(e=>{const{classes:a,anchor:i,variant:t}=e,n={root:["root"],docked:[("permanent"===t||"persistent"===t)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,p.A)(i)}`,"temporary"!==t&&`paperAnchorDocked${(0,p.A)(i)}`]};return(0,s.A)(n,k.S,a)})(G),V=(0,v.jsx)(A,(0,n.A)({elevation:"temporary"===N?C:0,square:!0},I,{className:(0,o.A)(K.paper,I.className),ownerState:G,children:P}));if("permanent"===N)return(0,v.jsx)(T,(0,n.A)({className:(0,o.A)(K.root,K.docked,j),ownerState:G,ref:a},F,{children:V}));const q=(0,v.jsx)(L,(0,n.A)({in:M,direction:z[W],timeout:R,appear:_.current},B,{children:V}));return"persistent"===N?(0,v.jsx)(T,(0,n.A)({className:(0,o.A)(K.root,K.docked,j),ownerState:G,ref:a},F,{children:q})):(0,v.jsx)(S,(0,n.A)({BackdropProps:(0,n.A)({},w,D,{transitionDuration:R}),className:(0,o.A)(K.root,K.modal,j),open:M,ownerState:G,onClose:O,hideBackdrop:x,ref:a},F,E,{children:q}))})),j=/^(575|61)$/.test(i.j)?null:P},21828:(e,a,i)=>{"use strict";i.d(a,{S:()=>r});var t=i(13028);if(!/^(575|61)$/.test(i.j))var n=i(26468);function r(e){return(0,n.Ay)("MuiDrawer",e)}(0,t.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},86272:(e,a,i)=>{"use strict";i.d(a,{A:()=>m});var t=i(26325),n=i(39460),r=i(30758),o=i(8586),s=i(75826),l=i(5895),d=i(7443),c=i(86070);const u=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},m=r.forwardRef((function(e,a){const i=(0,s.A)(),m={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:b,appear:g=!0,children:h,easing:k,in:v,onEnter:f,onEntered:y,onEntering:w,onExit:S,onExited:T,onExiting:A,style:z,timeout:P=m,TransitionComponent:j=o.Ay}=e,C=(0,n.A)(e,u),x=r.useRef(null),D=(0,d.A)(x,h.ref,a),O=e=>a=>{if(e){const i=x.current;void 0===a?e(i):e(i,a)}},M=O(w),I=O(((e,a)=>{(0,l.q)(e);const t=(0,l.c)({style:z,timeout:P,easing:k},{mode:"enter"});e.style.webkitTransition=i.transitions.create("opacity",t),e.style.transition=i.transitions.create("opacity",t),f&&f(e,a)})),B=O(y),L=O(A),R=O((e=>{const a=(0,l.c)({style:z,timeout:P,easing:k},{mode:"exit"});e.style.webkitTransition=i.transitions.create("opacity",a),e.style.transition=i.transitions.create("opacity",a),S&&S(e)})),N=O(T);return(0,c.jsx)(j,(0,t.A)({appear:g,in:v,nodeRef:x,onEnter:I,onEntered:B,onEntering:M,onExit:R,onExited:N,onExiting:L,addEndListener:e=>{b&&b(x.current,e)},timeout:P},C,{children:(e,a)=>r.cloneElement(h,(0,t.A)({style:(0,t.A)({opacity:0,visibility:"exited"!==e||v?void 0:"hidden"},p[e],z,h.props.style),ref:D},a))}))}))},48584:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,N:()=>s});var t=i(26325),n=i(13028),r=i(26468),o=i(81360);function s(e){return(0,r.Ay)("MuiFilledInput",e)}const l=(0,t.A)({},o.A,(0,n.A)("MuiFilledInput",["root","underline","input"]))},40715:(e,a,i)=>{"use strict";i.d(a,{A:()=>T});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(87011),d=i(39718),c=i(64858),u=i(25697),p=i(84361),m=i(74692),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiFormControlLabel",e)}const k=(0,b.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var v=i(18025),f=i(86070);const y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],w=(0,p.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${k.label}`]:a.label},a.root,a[`labelPlacement${(0,u.A)(i.labelPlacement)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${k.disabled}`]:{cursor:"default"}},"start"===a.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===a.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===a.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${k.label}`]:{[`&.${k.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),S=(0,p.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,a)=>a.asterisk})((({theme:e})=>({[`&.${k.error}`]:{color:(e.vars||e).palette.error.main}}))),T=r.forwardRef((function(e,a){var i,p;const b=(0,m.b)({props:e,name:"MuiFormControlLabel"}),{className:g,componentsProps:k={},control:T,disabled:A,disableTypography:z,label:P,labelPlacement:j="end",required:C,slotProps:x={}}=b,D=(0,t.A)(b,y),O=(0,l.A)(),M=null!=(i=null!=A?A:T.props.disabled)?i:null==O?void 0:O.disabled,I=null!=C?C:T.props.required,B={disabled:M,required:I};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===T.props[e]&&void 0!==b[e]&&(B[e]=b[e])}));const L=(0,v.A)({props:b,muiFormControl:O,states:["error"]}),R=(0,n.A)({},b,{disabled:M,labelPlacement:j,required:I,error:L.error}),N=(e=>{const{classes:a,disabled:i,labelPlacement:t,error:n,required:r}=e,o={root:["root",i&&"disabled",`labelPlacement${(0,u.A)(t)}`,n&&"error",r&&"required"],label:["label",i&&"disabled"],asterisk:["asterisk",n&&"error"]};return(0,s.A)(o,h,a)})(R),E=null!=(p=x.typography)?p:k.typography;let F=P;return null==F||F.type===c.A||z||(F=(0,f.jsx)(c.A,(0,n.A)({component:"span"},E,{className:(0,o.A)(N.label,null==E?void 0:E.className),children:F}))),(0,f.jsxs)(w,(0,n.A)({className:(0,o.A)(N.root,g),ownerState:R,ref:a},D,{children:[r.cloneElement(T,B),I?(0,f.jsxs)(d.A,{display:"block",children:[F,(0,f.jsxs)(S,{ownerState:R,"aria-hidden":!0,className:N.asterisk,children:[" ","*"]})]}):F]}))}))},76392:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(74692),d=i(84361),c=i(30590),u=i(25697),p=i(63720),m=i(18171),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiFormControl",e)}(0,b.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var k=i(86070);const v=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],f=(0,d.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.root,a[`margin${(0,u.A)(e.margin)}`],e.fullWidth&&a.fullWidth)})((({ownerState:e})=>(0,n.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),y=r.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiFormControl"}),{children:d,className:b,color:g="primary",component:y="div",disabled:w=!1,error:S=!1,focused:T,fullWidth:A=!1,hiddenLabel:z=!1,margin:P="none",required:j=!1,size:C="medium",variant:x="outlined"}=i,D=(0,t.A)(i,v),O=(0,n.A)({},i,{color:g,component:y,disabled:w,error:S,fullWidth:A,hiddenLabel:z,margin:P,required:j,size:C,variant:x}),M=(e=>{const{classes:a,margin:i,fullWidth:t}=e,n={root:["root","none"!==i&&`margin${(0,u.A)(i)}`,t&&"fullWidth"]};return(0,s.A)(n,h,a)})(O),[I,B]=r.useState((()=>{let e=!1;return d&&r.Children.forEach(d,(a=>{if(!(0,p.A)(a,["Input","Select"]))return;const i=(0,p.A)(a,["Select"])?a.props.input:a;i&&(0,c.gr)(i.props)&&(e=!0)})),e})),[L,R]=r.useState((()=>{let e=!1;return d&&r.Children.forEach(d,(a=>{(0,p.A)(a,["Input","Select"])&&((0,c.lq)(a.props,!0)||(0,c.lq)(a.props.inputProps,!0))&&(e=!0)})),e})),[N,E]=r.useState(!1);w&&N&&E(!1);const F=void 0===T||w?N:T;let _;const W=r.useMemo((()=>({adornedStart:I,setAdornedStart:B,color:g,disabled:w,error:S,filled:L,focused:F,fullWidth:A,hiddenLabel:z,size:C,onBlur:()=>{E(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{E(!0)},registerEffect:_,required:j,variant:x})),[I,g,w,S,L,F,A,z,_,j,C,x]);return(0,k.jsx)(m.A.Provider,{value:W,children:(0,k.jsx)(f,(0,n.A)({as:y,ownerState:O,className:(0,o.A)(M.root,b),ref:a},D,{children:d}))})}))},18171:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext(void 0)},18025:(e,a,i)=>{"use strict";function t({props:e,states:a,muiFormControl:i}){return a.reduce(((a,t)=>(a[t]=e[t],i&&void 0===e[t]&&(a[t]=i[t]),a)),{})}i.d(a,{A:()=>t})},87011:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758),n=i(18171);function r(){return t.useContext(n.A)}},10806:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(39460);var n=i(26325),r=i(30758);if(575==i.j)var o=i(13526);if(575==i.j)var s=i(85154);var l=i(84361);if(575==i.j)var d=i(74692);if(575==i.j)var c=i(15084);if(575==i.j)var u=i(87011);if(575==i.j)var p=i(18025);var m=i(86070);const b=575==i.j?["className","row"]:null,g=(0,l.Ay)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.row&&a.row]}})((({ownerState:e})=>(0,n.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),h=575==i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiFormGroup"}),{className:r,row:l=!1}=i,h=(0,t.A)(i,b),k=(0,u.A)(),v=(0,p.A)({props:i,muiFormControl:k,states:["error"]}),f=(0,n.A)({},i,{row:l,error:v.error}),y=(e=>{const{classes:a,row:i,error:t}=e,n={root:["root",i&&"row",t&&"error"]};return(0,s.A)(n,c.c,a)})(f);return(0,m.jsx)(g,(0,n.A)({className:(0,o.A)(y.root,r),ownerState:f,ref:a},h))})):null,k=575==i.j?h:null},15084:(e,a,i)=>{"use strict";i.d(a,{c:()=>r});var t=i(13028);if(575==i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiFormGroup",e)}(0,t.A)("MuiFormGroup",["root","row","error"])},34690:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(18025),d=i(87011),c=i(25697),u=i(74692),p=i(84361),m=i(53792),b=i(86070);const g=["children","className","color","component","disabled","error","filled","focused","required"],h=(0,p.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},a)=>(0,n.A)({},a.root,"secondary"===e.color&&a.colorSecondary,e.filled&&a.filled)})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${m.A.focused}`]:{color:(e.vars||e).palette[a.color].main},[`&.${m.A.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${m.A.error}`]:{color:(e.vars||e).palette.error.main}}))),k=(0,p.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,a)=>a.asterisk})((({theme:e})=>({[`&.${m.A.error}`]:{color:(e.vars||e).palette.error.main}}))),v=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiFormLabel"}),{children:r,className:p,component:v="label"}=i,f=(0,t.A)(i,g),y=(0,d.A)(),w=(0,l.A)({props:i,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),S=(0,n.A)({},i,{color:w.color||"primary",component:v,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),T=(e=>{const{classes:a,color:i,focused:t,disabled:n,error:r,filled:o,required:l}=e,d={root:["root",`color${(0,c.A)(i)}`,n&&"disabled",r&&"error",o&&"filled",t&&"focused",l&&"required"],asterisk:["asterisk",r&&"error"]};return(0,s.A)(d,m.Z,a)})(S);return(0,b.jsxs)(h,(0,n.A)({as:v,ownerState:S,className:(0,o.A)(T.root,p),ref:a},f,{children:[r,w.required&&(0,b.jsxs)(k,{ownerState:S,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}))}))},53792:(e,a,i)=>{"use strict";i.d(a,{A:()=>o,Z:()=>r});var t=i(13028),n=i(26468);function r(e){return(0,n.Ay)("MuiFormLabel",e)}const o=(0,t.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},70897:(e,a,i)=>{"use strict";i.d(a,{A:()=>c});var t=i(26325),n=(i(30758),i(38535)),r=i(8583),o=i(86070);const s=function({styles:e,themeId:a,defaultTheme:i={}}){const t=(0,r.A)(i),s="function"==typeof e?e(a&&t[a]||t):e;return(0,o.jsx)(n.A,{styles:s})};var l=i(82236),d=i(65857);const c=function(e){return(0,o.jsx)(s,(0,t.A)({},e,{defaultTheme:l.A,themeId:d.A}))}},64364:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>P});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(54247),l=i(60506),d=i(85154),c=i(84361),u=i(74692),p=i(75826);const m=r.createContext();var b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiGrid",e)}const k=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],v=(0,b.A)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...k.map((e=>`grid-xs-${e}`)),...k.map((e=>`grid-sm-${e}`)),...k.map((e=>`grid-md-${e}`)),...k.map((e=>`grid-lg-${e}`)),...k.map((e=>`grid-xl-${e}`))]);var f=i(86070);const y=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function w(e){const a=parseFloat(e);return`${a}${String(e).replace(String(a),"")||"px"}`}function S({breakpoints:e,values:a}){let i="";Object.keys(a).forEach((e=>{""===i&&0!==a[e]&&(i=e)}));const t=Object.keys(e).sort(((a,i)=>e[a]-e[i]));return t.slice(0,t.indexOf(i))}const T=(0,c.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e,{container:t,direction:n,item:r,spacing:o,wrap:s,zeroMinWidth:l,breakpoints:d}=i;let c=[];t&&(c=function(e,a,i={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[i[`spacing-xs-${String(e)}`]];const t=[];return a.forEach((a=>{const n=e[a];Number(n)>0&&t.push(i[`spacing-${a}-${String(n)}`])})),t}(o,d,a));const u=[];return d.forEach((e=>{const t=i[e];t&&u.push(a[`grid-${e}-${String(t)}`])})),[a.root,t&&a.container,r&&a.item,l&&a.zeroMinWidth,...c,"row"!==n&&a[`direction-xs-${String(n)}`],"wrap"!==s&&a[`wrap-xs-${String(s)}`],...u]}})((({ownerState:e})=>(0,n.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:a}){const i=(0,s.kW)({values:a.direction,breakpoints:e.breakpoints.values});return(0,s.NI)({theme:e},i,(e=>{const a={flexDirection:e};return 0===e.indexOf("column")&&(a[`& > .${v.item}`]={maxWidth:"none"}),a}))}),(function({theme:e,ownerState:a}){const{container:i,rowSpacing:t}=a;let n={};if(i&&0!==t){const a=(0,s.kW)({values:t,breakpoints:e.breakpoints.values});let i;"object"==typeof a&&(i=S({breakpoints:e.breakpoints.values,values:a})),n=(0,s.NI)({theme:e},a,((a,t)=>{var n;const r=e.spacing(a);return"0px"!==r?{marginTop:`-${w(r)}`,[`& > .${v.item}`]:{paddingTop:w(r)}}:null!=(n=i)&&n.includes(t)?{}:{marginTop:0,[`& > .${v.item}`]:{paddingTop:0}}}))}return n}),(function({theme:e,ownerState:a}){const{container:i,columnSpacing:t}=a;let n={};if(i&&0!==t){const a=(0,s.kW)({values:t,breakpoints:e.breakpoints.values});let i;"object"==typeof a&&(i=S({breakpoints:e.breakpoints.values,values:a})),n=(0,s.NI)({theme:e},a,((a,t)=>{var n;const r=e.spacing(a);return"0px"!==r?{width:`calc(100% + ${w(r)})`,marginLeft:`-${w(r)}`,[`& > .${v.item}`]:{paddingLeft:w(r)}}:null!=(n=i)&&n.includes(t)?{}:{width:"100%",marginLeft:0,[`& > .${v.item}`]:{paddingLeft:0}}}))}return n}),(function({theme:e,ownerState:a}){let i;return e.breakpoints.keys.reduce(((t,r)=>{let o={};if(a[r]&&(i=a[r]),!i)return t;if(!0===i)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===i)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.kW)({values:a.columns,breakpoints:e.breakpoints.values}),d="object"==typeof l?l[r]:l;if(null==d)return t;const c=Math.round(i/d*1e8)/1e6+"%";let u={};if(a.container&&a.item&&0!==a.columnSpacing){const i=e.spacing(a.columnSpacing);if("0px"!==i){const e=`calc(${c} + ${w(i)})`;u={flexBasis:e,maxWidth:e}}}o=(0,n.A)({flexBasis:c,flexGrow:0,maxWidth:c},u)}return 0===e.breakpoints.values[r]?Object.assign(t,o):t[e.breakpoints.up(r)]=o,t}),{})}));const A=e=>{const{classes:a,container:i,direction:t,item:n,spacing:r,wrap:o,zeroMinWidth:s,breakpoints:l}=e;let c=[];i&&(c=function(e,a){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const i=[];return a.forEach((a=>{const t=e[a];if(Number(t)>0){const e=`spacing-${a}-${String(t)}`;i.push(e)}})),i}(r,l));const u=[];l.forEach((a=>{const i=e[a];i&&u.push(`grid-${a}-${String(i)}`)}));const p={root:["root",i&&"container",n&&"item",s&&"zeroMinWidth",...c,"row"!==t&&`direction-xs-${String(t)}`,"wrap"!==o&&`wrap-xs-${String(o)}`,...u]};return(0,d.A)(p,h,a)},z=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,p.A)(),d=(0,l.A)(i),{className:c,columns:b,columnSpacing:g,component:h="div",container:k=!1,direction:v="row",item:w=!1,rowSpacing:S,spacing:z=0,wrap:P="wrap",zeroMinWidth:j=!1}=d,C=(0,t.A)(d,y),x=S||z,D=g||z,O=r.useContext(m),M=k?b||12:O,I={},B=(0,n.A)({},C);s.keys.forEach((e=>{null!=C[e]&&(I[e]=C[e],delete B[e])}));const L=(0,n.A)({},d,{columns:M,container:k,direction:v,item:w,rowSpacing:x,columnSpacing:D,wrap:P,zeroMinWidth:j,spacing:z},I,{breakpoints:s.keys}),R=A(L);return(0,f.jsx)(m.Provider,{value:M,children:(0,f.jsx)(T,(0,n.A)({ownerState:L,className:(0,o.A)(R.root,c),as:h,ref:a},B))})}));const P=z},61566:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(26325),n=i(39460),r=i(30758),o=i(48467),s=i(8586),l=i(75826),d=i(5895),c=i(7443),u=i(86070);const p=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(e){return`scale(${e}, ${e**2})`}const b={entering:{opacity:1,transform:m(1)},entered:{opacity:1,transform:"none"}},g="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),h=r.forwardRef((function(e,a){const{addEndListener:i,appear:h=!0,children:k,easing:v,in:f,onEnter:y,onEntered:w,onEntering:S,onExit:T,onExited:A,onExiting:z,style:P,timeout:j="auto",TransitionComponent:C=s.Ay}=e,x=(0,n.A)(e,p),D=(0,o.A)(),O=r.useRef(),M=(0,l.A)(),I=r.useRef(null),B=(0,c.A)(I,k.ref,a),L=e=>a=>{if(e){const i=I.current;void 0===a?e(i):e(i,a)}},R=L(S),N=L(((e,a)=>{(0,d.q)(e);const{duration:i,delay:t,easing:n}=(0,d.c)({style:P,timeout:j,easing:v},{mode:"enter"});let r;"auto"===j?(r=M.transitions.getAutoHeightDuration(e.clientHeight),O.current=r):r=i,e.style.transition=[M.transitions.create("opacity",{duration:r,delay:t}),M.transitions.create("transform",{duration:g?r:.666*r,delay:t,easing:n})].join(","),y&&y(e,a)})),E=L(w),F=L(z),_=L((e=>{const{duration:a,delay:i,easing:t}=(0,d.c)({style:P,timeout:j,easing:v},{mode:"exit"});let n;"auto"===j?(n=M.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=a,e.style.transition=[M.transitions.create("opacity",{duration:n,delay:i}),M.transitions.create("transform",{duration:g?n:.666*n,delay:g?i:i||.333*n,easing:t})].join(","),e.style.opacity=0,e.style.transform=m(.75),T&&T(e)})),W=L(A);return(0,u.jsx)(C,(0,t.A)({appear:h,in:f,nodeRef:I,onEnter:N,onEntered:E,onEntering:R,onExit:_,onExited:W,onExiting:F,addEndListener:e=>{"auto"===j&&D.start(O.current||0,e),i&&i(I.current,e)},timeout:"auto"===j?null:j},x,{children:(e,a)=>r.cloneElement(k,(0,t.A)({style:(0,t.A)({opacity:0,transform:m(.75),visibility:"exited"!==e||f?void 0:"hidden"},b[e],P,k.props.style),ref:B},a))}))}));h.muiSupportAuto=!0;const k=h},82794:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361),c=i(74692),u=i(32057),p=i(25697),m=i(13028),b=i(26468);function g(e){return(0,b.Ay)("MuiIconButton",e)}const h=(0,m.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var k=i(86070);const v=["edge","children","className","color","disabled","disableFocusRipple","size"],f=(0,d.Ay)(u.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"default"!==i.color&&a[`color${(0,p.A)(i.color)}`],i.edge&&a[`edge${(0,p.A)(i.edge)}`],a[`size${(0,p.A)(i.size)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===a.edge&&{marginLeft:"small"===a.size?-3:-12},"end"===a.edge&&{marginRight:"small"===a.size?-3:-12})),(({theme:e,ownerState:a})=>{var i;const t=null==(i=(e.vars||e).palette)?void 0:i[a.color];return(0,n.A)({},"inherit"===a.color&&{color:"inherit"},"inherit"!==a.color&&"default"!==a.color&&(0,n.A)({color:null==t?void 0:t.main},!a.disableRipple&&{"&:hover":(0,n.A)({},t&&{backgroundColor:e.vars?`rgba(${t.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(t.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===a.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===a.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${h.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),y=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:l,className:d,color:u="default",disabled:m=!1,disableFocusRipple:b=!1,size:h="medium"}=i,y=(0,t.A)(i,v),w=(0,n.A)({},i,{edge:r,color:u,disabled:m,disableFocusRipple:b,size:h}),S=(e=>{const{classes:a,disabled:i,color:t,edge:n,size:r}=e,o={root:["root",i&&"disabled","default"!==t&&`color${(0,p.A)(t)}`,n&&`edge${(0,p.A)(n)}`,`size${(0,p.A)(r)}`]};return(0,s.A)(o,g,a)})(w);return(0,k.jsx)(f,(0,n.A)({className:(0,o.A)(S.root,d),centerRipple:!0,focusRipple:!b,disabled:m,ref:a},y,{ownerState:w,children:l}))}))},68752:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(25697),d=i(64858),c=i(18171),u=i(87011),p=i(84361),m=i(13028),b=i(26468);function g(e){return(0,b.Ay)("MuiInputAdornment",e)}const h=(0,m.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var k,v=i(74692),f=i(86070);const y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],w=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`position${(0,l.A)(i.position)}`],!0===i.disablePointerEvents&&a.disablePointerEvents,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===a.variant&&{[`&.${h.positionStart}&:not(.${h.hiddenLabel})`]:{marginTop:16}},"start"===a.position&&{marginRight:8},"end"===a.position&&{marginLeft:8},!0===a.disablePointerEvents&&{pointerEvents:"none"}))),S=r.forwardRef((function(e,a){const i=(0,v.b)({props:e,name:"MuiInputAdornment"}),{children:p,className:m,component:b="div",disablePointerEvents:h=!1,disableTypography:S=!1,position:T,variant:A}=i,z=(0,t.A)(i,y),P=(0,u.A)()||{};let j=A;A&&P.variant,P&&!j&&(j=P.variant);const C=(0,n.A)({},i,{hiddenLabel:P.hiddenLabel,size:P.size,disablePointerEvents:h,position:T,variant:j}),x=(e=>{const{classes:a,disablePointerEvents:i,hiddenLabel:t,position:n,size:r,variant:o}=e,d={root:["root",i&&"disablePointerEvents",n&&`position${(0,l.A)(n)}`,o,t&&"hiddenLabel",r&&`size${(0,l.A)(r)}`]};return(0,s.A)(d,g,a)})(C);return(0,f.jsx)(c.A.Provider,{value:null,children:(0,f.jsx)(w,(0,n.A)({as:b,ownerState:C,className:(0,o.A)(x.root,m),ref:a},z,{children:"string"!=typeof p||S?(0,f.jsxs)(r.Fragment,{children:["start"===T?k||(k=(0,f.jsx)("span",{className:"notranslate",children:"​"})):null,p]}):(0,f.jsx)(d.A,{color:"text.secondary",children:p})}))})}))},49820:(e,a,i)=>{"use strict";i.d(a,{f3:()=>B,Sh:()=>I,Ay:()=>R,Oj:()=>M,WC:()=>O});var t=i(39460),n=i(26325),r=i(40508),o=i(30758),s=i(13526),l=i(85154),d=i(45268),c=i(68886),u=i(11668),p=i(25160),m=i(93052),b=i(86070);const g=["onChange","maxRows","minRows","style","value"];function h(e){return parseInt(e,10)||0}const k={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const v=o.forwardRef((function(e,a){const{onChange:i,maxRows:r,minRows:s=1,style:l,value:d}=e,v=(0,t.A)(e,g),{current:f}=o.useRef(null!=d),y=o.useRef(null),w=(0,c.A)(a,y),S=o.useRef(null),T=o.useRef(null),A=o.useCallback((()=>{const a=y.current,i=(0,u.A)(a).getComputedStyle(a);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};const t=T.current;t.style.width=i.width,t.value=a.value||e.placeholder||"x","\n"===t.value.slice(-1)&&(t.value+=" ");const n=i.boxSizing,o=h(i.paddingBottom)+h(i.paddingTop),l=h(i.borderBottomWidth)+h(i.borderTopWidth),d=t.scrollHeight;t.value="x";const c=t.scrollHeight;let p=d;s&&(p=Math.max(Number(s)*c,p)),r&&(p=Math.min(Number(r)*c,p)),p=Math.max(p,c);return{outerHeightStyle:p+("border-box"===n?o+l:0),overflowing:Math.abs(p-d)<=1}}),[r,s,e.placeholder]),z=o.useCallback((()=>{const e=A();if(null==(a=e)||0===Object.keys(a).length||0===a.outerHeightStyle&&!a.overflowing)return;var a;const i=e.outerHeightStyle,t=y.current;S.current!==i&&(S.current=i,t.style.height=`${i}px`),t.style.overflow=e.overflowing?"hidden":""}),[A]);(0,p.A)((()=>{const e=()=>{z()};let a;const i=(0,m.A)(e),t=y.current,n=(0,u.A)(t);let r;return n.addEventListener("resize",i),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(e),r.observe(t)),()=>{i.clear(),cancelAnimationFrame(a),n.removeEventListener("resize",i),r&&r.disconnect()}}),[A,z]),(0,p.A)((()=>{z()}));return(0,b.jsxs)(o.Fragment,{children:[(0,b.jsx)("textarea",(0,n.A)({value:d,onChange:e=>{f||z(),i&&i(e)},ref:w,rows:s,style:l},v)),(0,b.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:T,tabIndex:-1,style:(0,n.A)({},k,l,{paddingTop:0,paddingBottom:0})})]})}));var f=i(18025),y=i(18171),w=i(87011),S=i(84361),T=i(74692),A=i(25697),z=i(7443),P=i(13571),j=i(70897),C=i(30590),x=i(81360);const D=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],O=(e,a)=>{const{ownerState:i}=e;return[a.root,i.formControl&&a.formControl,i.startAdornment&&a.adornedStart,i.endAdornment&&a.adornedEnd,i.error&&a.error,"small"===i.size&&a.sizeSmall,i.multiline&&a.multiline,i.color&&a[`color${(0,A.A)(i.color)}`],i.fullWidth&&a.fullWidth,i.hiddenLabel&&a.hiddenLabel]},M=(e,a)=>{const{ownerState:i}=e;return[a.input,"small"===i.size&&a.inputSizeSmall,i.multiline&&a.inputMultiline,"search"===i.type&&a.inputTypeSearch,i.startAdornment&&a.inputAdornedStart,i.endAdornment&&a.inputAdornedEnd,i.hiddenLabel&&a.inputHiddenLabel]},I=(0,S.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:O})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${x.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},a.multiline&&(0,n.A)({padding:"4px 0 5px"},"small"===a.size&&{paddingTop:1}),a.fullWidth&&{width:"100%"}))),B=(0,S.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:M})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode,t=(0,n.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,n.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":t,"&::-moz-placeholder":t,"&:-ms-input-placeholder":t,"&::-ms-input-placeholder":t,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${x.A.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},[`&.${x.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===a.size&&{paddingTop:1},a.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===a.type&&{MozAppearance:"textfield"})})),L=(0,b.jsx)(j.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),R=o.forwardRef((function(e,a){var i;const c=(0,T.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":u,autoComplete:p,autoFocus:m,className:g,components:h={},componentsProps:k={},defaultValue:S,disabled:j,disableInjectingGlobalStyles:O,endAdornment:M,fullWidth:R=!1,id:N,inputComponent:E="input",inputProps:F={},inputRef:_,maxRows:W,minRows:U,multiline:G=!1,name:K,onBlur:V,onChange:q,onClick:H,onFocus:$,onKeyDown:J,onKeyUp:Q,placeholder:Z,readOnly:Y,renderSuffix:X,rows:ee,slotProps:ae={},slots:ie={},startAdornment:te,type:ne="text",value:re}=c,oe=(0,t.A)(c,D),se=null!=F.value?F.value:re,{current:le}=o.useRef(null!=se),de=o.useRef(),ce=o.useCallback((e=>{0}),[]),ue=(0,z.A)(de,_,F.ref,ce),[pe,me]=o.useState(!1),be=(0,w.A)();const ge=(0,f.A)({props:c,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ge.focused=be?be.focused:pe,o.useEffect((()=>{!be&&j&&pe&&(me(!1),V&&V())}),[be,j,pe,V]);const he=be&&be.onFilled,ke=be&&be.onEmpty,ve=o.useCallback((e=>{(0,C.lq)(e)?he&&he():ke&&ke()}),[he,ke]);(0,P.A)((()=>{le&&ve({value:se})}),[se,ve,le]);o.useEffect((()=>{ve(de.current)}),[]);let fe=E,ye=F;G&&"input"===fe&&(ye=ee?(0,n.A)({type:void 0,minRows:ee,maxRows:ee},ye):(0,n.A)({type:void 0,maxRows:W,minRows:U},ye),fe=v);o.useEffect((()=>{be&&be.setAdornedStart(Boolean(te))}),[be,te]);const we=(0,n.A)({},c,{color:ge.color||"primary",disabled:ge.disabled,endAdornment:M,error:ge.error,focused:ge.focused,formControl:be,fullWidth:R,hiddenLabel:ge.hiddenLabel,multiline:G,size:ge.size,startAdornment:te,type:ne}),Se=(e=>{const{classes:a,color:i,disabled:t,error:n,endAdornment:r,focused:o,formControl:s,fullWidth:d,hiddenLabel:c,multiline:u,readOnly:p,size:m,startAdornment:b,type:g}=e,h={root:["root",`color${(0,A.A)(i)}`,t&&"disabled",n&&"error",d&&"fullWidth",o&&"focused",s&&"formControl",m&&"medium"!==m&&`size${(0,A.A)(m)}`,u&&"multiline",b&&"adornedStart",r&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",t&&"disabled","search"===g&&"inputTypeSearch",u&&"inputMultiline","small"===m&&"inputSizeSmall",c&&"inputHiddenLabel",b&&"inputAdornedStart",r&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.A)(h,x.g,a)})(we),Te=ie.root||h.Root||I,Ae=ae.root||k.root||{},ze=ie.input||h.Input||B;return ye=(0,n.A)({},ye,null!=(i=ae.input)?i:k.input),(0,b.jsxs)(o.Fragment,{children:[!O&&L,(0,b.jsxs)(Te,(0,n.A)({},Ae,!(0,d.A)(Te)&&{ownerState:(0,n.A)({},we,Ae.ownerState)},{ref:a,onClick:e=>{de.current&&e.currentTarget===e.target&&de.current.focus(),H&&H(e)}},oe,{className:(0,s.A)(Se.root,Ae.className,g,Y&&"MuiInputBase-readOnly"),children:[te,(0,b.jsx)(y.A.Provider,{value:null,children:(0,b.jsx)(ze,(0,n.A)({ownerState:we,"aria-invalid":ge.error,"aria-describedby":u,autoComplete:p,autoFocus:m,defaultValue:S,disabled:ge.disabled,id:N,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?de.current:{value:"x"})},name:K,placeholder:Z,readOnly:Y,required:ge.required,rows:ee,value:se,onKeyDown:J,onKeyUp:Q,type:ne},ye,!(0,d.A)(ze)&&{as:fe,ownerState:(0,n.A)({},we,ye.ownerState)},{ref:ue,className:(0,s.A)(Se.input,ye.className,Y&&"MuiInputBase-readOnly"),onBlur:e=>{V&&V(e),F.onBlur&&F.onBlur(e),be&&be.onBlur?be.onBlur(e):me(!1)},onChange:(e,...a)=>{if(!le){const a=e.target||de.current;if(null==a)throw new Error((0,r.A)(1));ve({value:a.value})}F.onChange&&F.onChange(e,...a),q&&q(e,...a)},onFocus:e=>{ge.disabled?e.stopPropagation():($&&$(e),F.onFocus&&F.onFocus(e),be&&be.onFocus?be.onFocus(e):me(!0))}}))}),M,X?X((0,n.A)({},ge,{startAdornment:te})):null]}))]})}))},81360:(e,a,i)=>{"use strict";i.d(a,{A:()=>o,g:()=>r});var t=i(13028),n=i(26468);function r(e){return(0,n.Ay)("MuiInputBase",e)}const o=(0,t.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},30590:(e,a,i)=>{"use strict";function t(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function n(e,a=!1){return e&&(t(e.value)&&""!==e.value||a&&t(e.defaultValue)&&""!==e.defaultValue)}function r(e){return e.startAdornment}i.d(a,{gr:()=>r,lq:()=>n})},64468:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=i(85154),s=i(13526),l=i(18025),d=i(87011),c=i(34690),u=i(53792),p=i(74692),m=i(25697),b=i(84361),g=i(81197),h=i(13028),k=i(26468);function v(e){return(0,k.Ay)("MuiInputLabel",e)}(0,h.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var f=i(86070);const y=["disableAnimation","margin","shrink","variant","className"],w=(0,b.Ay)(c.A,{shouldForwardProp:e=>(0,g.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${u.A.asterisk}`]:a.asterisk},a.root,i.formControl&&a.formControl,"small"===i.size&&a.sizeSmall,i.shrink&&a.shrink,!i.disableAnimation&&a.animated,i.focused&&a.focused,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},a.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===a.size&&{transform:"translate(0, 17px) scale(1)"},a.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!a.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===a.variant&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===a.size&&{transform:"translate(12px, 13px) scale(1)"},a.shrink&&(0,n.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===a.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===a.variant&&(0,n.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===a.size&&{transform:"translate(14px, 9px) scale(1)"},a.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),S=r.forwardRef((function(e,a){const i=(0,p.b)({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:c,className:u}=i,b=(0,t.A)(i,y),g=(0,d.A)();let h=c;void 0===h&&g&&(h=g.filled||g.focused||g.adornedStart);const k=(0,l.A)({props:i,muiFormControl:g,states:["size","variant","required","focused"]}),S=(0,n.A)({},i,{disableAnimation:r,formControl:g,shrink:h,size:k.size,variant:k.variant,required:k.required,focused:k.focused}),T=(e=>{const{classes:a,formControl:i,size:t,shrink:r,disableAnimation:s,variant:l,required:d}=e,c={root:["root",i&&"formControl",!s&&"animated",r&&"shrink",t&&"normal"!==t&&`size${(0,m.A)(t)}`,l],asterisk:[d&&"asterisk"]},u=(0,o.A)(c,v,a);return(0,n.A)({},a,u)})(S);return(0,f.jsx)(w,(0,n.A)({"data-shrink":h,ownerState:S,ref:a,className:(0,s.A)(T.root,u)},b,{classes:T}))}))},31454:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(39460),n=i(26325),r=i(30758),o=i(85154),s=i(75572),l=i(49820),d=i(84361),c=i(81197),u=i(74692),p=i(63444),m=i(86070);const b=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],g=(0,d.Ay)(l.Sh,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[...(0,l.WC)(e,a),!i.disableUnderline&&a.underline]}})((({theme:e,ownerState:a})=>{let i="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(i=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,n.A)({position:"relative"},a.formControl&&{"label + &":{marginTop:16}},!a.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${i}`}},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}})})),h=(0,d.Ay)(l.f3,{name:"MuiInput",slot:"Input",overridesResolver:l.Oj})({}),k=r.forwardRef((function(e,a){var i,r,d,c;const k=(0,u.b)({props:e,name:"MuiInput"}),{disableUnderline:v,components:f={},componentsProps:y,fullWidth:w=!1,inputComponent:S="input",multiline:T=!1,slotProps:A,slots:z={},type:P="text"}=k,j=(0,t.A)(k,b),C=(e=>{const{classes:a,disableUnderline:i}=e,t={root:["root",!i&&"underline"],input:["input"]},r=(0,o.A)(t,p.B,a);return(0,n.A)({},a,r)})(k),x={root:{ownerState:{disableUnderline:v}}},D=(null!=A?A:y)?(0,s.A)(null!=A?A:y,x):x,O=null!=(i=null!=(r=z.root)?r:f.Root)?i:g,M=null!=(d=null!=(c=z.input)?c:f.Input)?d:h;return(0,m.jsx)(l.Ay,(0,n.A)({slots:{root:O,input:M},slotProps:D,fullWidth:w,inputComponent:S,multiline:T,ref:a,type:P},j,{classes:C}))}));k.muiName="Input";const v=k},63444:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,B:()=>s});var t=i(26325),n=i(13028),r=i(26468),o=i(81360);function s(e){return(0,r.Ay)("MuiInput",e)}const l=(0,t.A)({},o.A,(0,n.A)("MuiInput",["root","underline","input"]))},60880:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>I}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(51935),d=i(62162);if(61!=i.j)var c=i(70955);var u=i(25697),p=i(84361);if(61!=i.j)var m=i(74692);if(61!=i.j)var b=i(30882);var g=i(86070);const h=61!=i.j?["className","color","value","valueBuffer","variant"]:null;let k,v,f,y,w,S,T=e=>e;const A=(0,l.i7)(k||(k=T` 0% { left: -35%; right: 100%; @@ -128,7 +128,7 @@ left: 107%; right: -8%; } -`)),j=(0,l.i7)(f||(f=T` +`)),P=(0,l.i7)(f||(f=T` 0% { opacity: 1; background-position: 0 -23px; @@ -143,17 +143,17 @@ opacity: 1; background-position: -200px -23px; } -`)),C=(e,a)=>"inherit"===a?"currentColor":e.vars?e.vars.palette.LinearProgress[`${a}Bg`]:"light"===e.palette.mode?(0,d.a)(e.palette[a].main,.62):(0,d.e$)(e.palette[a].main,.5),P=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`color${(0,u.A)(i.color)}`],a[i.variant]]}})((({ownerState:e,theme:a})=>(0,n.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:C(a,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),x=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.dashed,a[`dashedColor${(0,u.A)(i.color)}`]]}})((({ownerState:e,theme:a})=>{const i=C(a,e.color);return(0,n.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${i} 0%, ${i} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,l.AH)(y||(y=T` +`)),j=(e,a)=>"inherit"===a?"currentColor":e.vars?e.vars.palette.LinearProgress[`${a}Bg`]:"light"===e.palette.mode?(0,d.a)(e.palette[a].main,.62):(0,d.e$)(e.palette[a].main,.5),C=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`color${(0,u.A)(i.color)}`],a[i.variant]]}})((({ownerState:e,theme:a})=>(0,n.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:j(a,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),x=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.dashed,a[`dashedColor${(0,u.A)(i.color)}`]]}})((({ownerState:e,theme:a})=>{const i=j(a,e.color);return(0,n.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${i} 0%, ${i} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,l.AH)(y||(y=T` animation: ${0} 3s infinite linear; - `),j)),O=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.bar,a[`barColor${(0,u.A)(i.color)}`],("indeterminate"===i.variant||"query"===i.variant)&&a.bar1Indeterminate,"determinate"===i.variant&&a.bar1Determinate,"buffer"===i.variant&&a.bar1Buffer]}})((({ownerState:e,theme:a})=>(0,n.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(a.vars||a).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.AH)(S||(S=T` + `),P)),D=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.bar,a[`barColor${(0,u.A)(i.color)}`],("indeterminate"===i.variant||"query"===i.variant)&&a.bar1Indeterminate,"determinate"===i.variant&&a.bar1Determinate,"buffer"===i.variant&&a.bar1Buffer]}})((({ownerState:e,theme:a})=>(0,n.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(a.vars||a).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.AH)(w||(w=T` width: auto; animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `),A))),D=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.bar,a[`barColor${(0,u.A)(i.color)}`],("indeterminate"===i.variant||"query"===i.variant)&&a.bar2Indeterminate,"buffer"===i.variant&&a.bar2Buffer]}})((({ownerState:e,theme:a})=>(0,n.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(a.vars||a).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:C(a,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.AH)(w||(w=T` + `),A))),O=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.bar,a[`barColor${(0,u.A)(i.color)}`],("indeterminate"===i.variant||"query"===i.variant)&&a.bar2Indeterminate,"buffer"===i.variant&&a.bar2Buffer]}})((({ownerState:e,theme:a})=>(0,n.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(a.vars||a).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:j(a,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.AH)(S||(S=T` width: auto; animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `),z))),M=61!=i.j?o.forwardRef((function(e,a){const i=(0,b.b)({props:e,name:"MuiLinearProgress"}),{className:o,color:l="primary",value:d,valueBuffer:p,variant:k="indeterminate"}=i,v=(0,t.A)(i,h),f=(0,n.A)({},i,{color:l,variant:k}),y=(e=>{const{classes:a,variant:i,color:t}=e,n={root:["root",`color${(0,u.A)(t)}`,i],dashed:["dashed",`dashedColor${(0,u.A)(t)}`],bar1:["bar",`barColor${(0,u.A)(t)}`,("indeterminate"===i||"query"===i)&&"bar1Indeterminate","determinate"===i&&"bar1Determinate","buffer"===i&&"bar1Buffer"],bar2:["bar","buffer"!==i&&`barColor${(0,u.A)(t)}`,"buffer"===i&&`color${(0,u.A)(t)}`,("indeterminate"===i||"query"===i)&&"bar2Indeterminate","buffer"===i&&"bar2Buffer"]};return(0,s.A)(n,g.l,a)})(f),S=(0,c.I)(),w={},T={bar1:{},bar2:{}};if("determinate"===k||"buffer"===k)if(void 0!==d){w["aria-valuenow"]=Math.round(d),w["aria-valuemin"]=0,w["aria-valuemax"]=100;let e=d-100;S&&(e=-e),T.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===k)if(void 0!==p){let e=(p||0)-100;S&&(e=-e),T.bar2.transform=`translateX(${e}%)`}else 0;return(0,m.jsxs)(P,(0,n.A)({className:(0,r.A)(y.root,o),ownerState:f,role:"progressbar"},w,{ref:a},v,{children:["buffer"===k?(0,m.jsx)(x,{className:y.dashed,ownerState:f}):null,(0,m.jsx)(O,{className:y.bar1,ownerState:f,style:T.bar1}),"determinate"===k?null:(0,m.jsx)(D,{className:y.bar2,ownerState:f,style:T.bar2})]}))})):null,I=61!=i.j?M:null},83199:(e,a,i)=>{"use strict";i.d(a,{l:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiLinearProgress",e)}(0,t.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"])},62219:(e,a,i)=>{"use strict";i.d(a,{A:()=>z});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(40996),d=i(3582),c=i(67335),u=i(61533),p=i(47786),b=i(67463),g=i(82070),m=i(87310);function h(e){return(0,m.Ay)("MuiLink",e)}const k=(0,g.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=i(40104),f=i(89692);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},S=({theme:e,ownerState:a})=>{const i=(e=>y[e]||e)(a.color),t=(0,v.Yn)(e,`palette.${i}`,!1)||a.color,n=(0,v.Yn)(e,`palette.${i}Channel`);return"vars"in e&&n?`rgba(${n} / 0.4)`:(0,f.X4)(t,.4)};var w=i(86070);const T=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],A=(0,d.Ay)(b.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`underline${(0,l.A)(i.underline)}`],"button"===i.component&&a.button]}})((({theme:e,ownerState:a})=>(0,n.A)({},"none"===a.underline&&{textDecoration:"none"},"hover"===a.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===a.underline&&(0,n.A)({textDecoration:"underline"},"inherit"!==a.color&&{textDecorationColor:S({theme:e,ownerState:a})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===a.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.focusVisible}`]:{outline:"auto"}}))),z=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiLink"}),{className:d,color:b="primary",component:g="a",onBlur:m,onFocus:k,TypographyClasses:v,underline:f="always",variant:S="inherit",sx:z}=i,j=(0,t.A)(i,T),{isFocusVisibleRef:C,onBlur:P,onFocus:x,ref:O}=(0,u.A)(),[D,M]=o.useState(!1),I=(0,p.A)(a,O),B=(0,n.A)({},i,{color:b,component:g,focusVisible:D,underline:f,variant:S}),R=(e=>{const{classes:a,component:i,focusVisible:t,underline:n}=e,o={root:["root",`underline${(0,l.A)(n)}`,"button"===i&&"button",t&&"focusVisible"]};return(0,s.A)(o,h,a)})(B);return(0,w.jsx)(A,(0,n.A)({color:b,className:(0,r.A)(R.root,d),classes:v,component:g,onBlur:e=>{P(e),!1===C.current&&M(!1),m&&m(e)},onFocus:e=>{x(e),!0===C.current&&M(!0),k&&k(e)},ref:I,ownerState:B,variant:S,sx:[...Object.keys(y).includes(b)?[]:[{color:b}],...Array.isArray(z)?z:[z]]},j))}))},15393:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(35524),d=i(3582),c=i(67335),u=i(82070),p=i(87310);function b(e){return(0,p.Ay)("MuiListItemAvatar",e)}(0,u.A)("MuiListItemAvatar",["root","alignItemsFlexStart"]);var g=i(86070);const m=["className"],h=(0,d.Ay)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"flex-start"===i.alignItems&&a.alignItemsFlexStart]}})((({ownerState:e})=>(0,n.A)({minWidth:56,flexShrink:0},"flex-start"===e.alignItems&&{marginTop:8}))),k=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiListItemAvatar"}),{className:d}=i,u=(0,t.A)(i,m),p=o.useContext(l.A),k=(0,n.A)({},i,{alignItems:p.alignItems}),v=(e=>{const{alignItems:a,classes:i}=e,t={root:["root","flex-start"===a&&"alignItemsFlexStart"]};return(0,s.A)(t,b,i)})(k);return(0,g.jsx)(h,(0,n.A)({className:(0,r.A)(v.root,d),ownerState:k,ref:a},u))}))},14805:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582),c=i(96896),u=i(67335),p=i(54463),b=i(10908),g=i(47786),m=i(35524),h=i(28141),k=i(86070);const v=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],f=(0,d.Ay)(p.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,"flex-start"===i.alignItems&&a.alignItemsFlexStart,i.divider&&a.divider,!i.disableGutters&&a.gutters]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${h.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${h.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${h.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${h.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===a.alignItems&&{alignItems:"flex-start"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.dense&&{paddingTop:4,paddingBottom:4}))),y=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItemButton"}),{alignItems:l="center",autoFocus:d=!1,component:c="div",children:p,dense:y=!1,disableGutters:S=!1,divider:w=!1,focusVisibleClassName:T,selected:A=!1,className:z}=i,j=(0,t.A)(i,v),C=o.useContext(m.A),P=o.useMemo((()=>({dense:y||C.dense||!1,alignItems:l,disableGutters:S})),[l,C.dense,y,S]),x=o.useRef(null);(0,b.A)((()=>{d&&x.current&&x.current.focus()}),[d]);const O=(0,n.A)({},i,{alignItems:l,dense:P.dense,disableGutters:S,divider:w,selected:A}),D=(e=>{const{alignItems:a,classes:i,dense:t,disabled:o,disableGutters:r,divider:l,selected:d}=e,c={root:["root",t&&"dense",!r&&"gutters",l&&"divider",o&&"disabled","flex-start"===a&&"alignItemsFlexStart",d&&"selected"]},u=(0,s.A)(c,h.Y,i);return(0,n.A)({},i,u)})(O),M=(0,g.A)(x,a);return(0,k.jsx)(m.A.Provider,{value:P,children:(0,k.jsx)(f,(0,n.A)({ref:M,href:j.href||j.to,component:(j.href||j.to)&&"div"===c?"button":c,focusVisibleClassName:(0,r.A)(D.focusVisible,T),ownerState:O,className:(0,r.A)(D.root,z)},j,{classes:D,children:p}))})}))},28141:(e,a,i)=>{"use strict";i.d(a,{A:()=>r,Y:()=>o});var t=i(82070),n=i(87310);function o(e){return(0,n.Ay)("MuiListItemButton",e)}const r=(0,t.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},23355:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),61!=i.j)var t=i(23302);var n=i(40991),o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);var l=i(3582);if(61!=i.j)var d=i(67335);if(61!=i.j)var c=i(9871);if(61!=i.j)var u=i(35524);var p=i(86070);const b=61!=i.j?["className"]:null,g=(0,l.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"flex-start"===i.alignItems&&a.alignItemsFlexStart]}})((({theme:e,ownerState:a})=>(0,n.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===a.alignItems&&{marginTop:8}))),m=61!=i.j?o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiListItemIcon"}),{className:l}=i,m=(0,t.A)(i,b),h=o.useContext(u.A),k=(0,n.A)({},i,{alignItems:h.alignItems}),v=(e=>{const{alignItems:a,classes:i}=e,t={root:["root","flex-start"===a&&"alignItemsFlexStart"]};return(0,s.A)(t,c.f,i)})(k);return(0,p.jsx)(g,(0,n.A)({className:(0,r.A)(v.root,l),ownerState:k,ref:a},m))})):null,h=61!=i.j?m:null},9871:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,f:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiListItemIcon",e)}const r=(0,t.A)("MuiListItemIcon",["root","alignItemsFlexStart"]),s=61!=i.j?r:null},65395:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(23302);var n=i(40991),o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);if(61!=i.j)var l=i(67463);if(61!=i.j)var d=i(35524);if(61!=i.j)var c=i(67335);var u=i(3582),p=i(16423),b=i(86070);const g=61!=i.j?["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]:null,m=(0,u.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${p.A.primary}`]:a.primary},{[`& .${p.A.secondary}`]:a.secondary},a.root,i.inset&&a.inset,i.primary&&i.secondary&&a.multiline,i.dense&&a.dense]}})((({ownerState:e})=>(0,n.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),h=61!=i.j?o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiListItemText"}),{children:u,className:h,disableTypography:k=!1,inset:v=!1,primary:f,primaryTypographyProps:y,secondary:S,secondaryTypographyProps:w}=i,T=(0,t.A)(i,g),{dense:A}=o.useContext(d.A);let z=null!=f?f:u,j=S;const C=(0,n.A)({},i,{disableTypography:k,inset:v,primary:!!z,secondary:!!j,dense:A}),P=(e=>{const{classes:a,inset:i,primary:t,secondary:n,dense:o}=e,r={root:["root",i&&"inset",o&&"dense",t&&n&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.A)(r,p.b,a)})(C);return null==z||z.type===l.A||k||(z=(0,b.jsx)(l.A,(0,n.A)({variant:A?"body2":"body1",className:P.primary,component:null!=y&&y.variant?void 0:"span",display:"block"},y,{children:z}))),null==j||j.type===l.A||k||(j=(0,b.jsx)(l.A,(0,n.A)({variant:"body2",className:P.secondary,color:"text.secondary",display:"block"},w,{children:j}))),(0,b.jsxs)(m,(0,n.A)({className:(0,r.A)(P.root,h),ownerState:C,ref:a},T,{children:[z,j]}))})):null,k=61!=i.j?h:null},16423:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,b:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiListItemText",e)}const r=(0,t.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),s=61!=i.j?r:null},43044:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>M});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(69454),c=i(3582),u=i(67335),p=i(54463),b=i(21162),g=i(10908),m=i(47786),h=i(35524),k=i(82070),v=i(87310);function f(e){return(0,v.Ay)("MuiListItem",e)}const y=(0,k.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var S=i(28141);function w(e){return(0,v.Ay)("MuiListItemSecondaryAction",e)}(0,k.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var T=i(86070);const A=["className"],z=(0,c.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.disableGutters&&a.disableGutters]}})((({ownerState:e})=>(0,n.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),j=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:l}=i,d=(0,t.A)(i,A),c=o.useContext(h.A),p=(0,n.A)({},i,{disableGutters:c.disableGutters}),b=(e=>{const{disableGutters:a,classes:i}=e,t={root:["root",a&&"disableGutters"]};return(0,s.A)(t,w,i)})(p);return(0,T.jsx)(z,(0,n.A)({className:(0,r.A)(b.root,l),ownerState:p,ref:a},d))}));j.muiName="ListItemSecondaryAction";const C=j,P=["className"],x=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],O=(0,c.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,"flex-start"===i.alignItems&&a.alignItemsFlexStart,i.divider&&a.divider,!i.disableGutters&&a.gutters,!i.disablePadding&&a.padding,i.button&&a.button,i.hasSecondaryAction&&a.secondaryAction]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!a.disablePadding&&(0,n.A)({paddingTop:8,paddingBottom:8},a.dense&&{paddingTop:4,paddingBottom:4},!a.disableGutters&&{paddingLeft:16,paddingRight:16},!!a.secondaryAction&&{paddingRight:48}),!!a.secondaryAction&&{[`& > .${S.A.root}`]:{paddingRight:48}},{[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${y.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${y.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===a.alignItems&&{alignItems:"flex-start"},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},a.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},a.hasSecondaryAction&&{paddingRight:48}))),D=(0,c.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,a)=>a.container})({position:"relative"}),M=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItem"}),{alignItems:l="center",autoFocus:c=!1,button:k=!1,children:v,className:S,component:w,components:A={},componentsProps:z={},ContainerComponent:j="li",ContainerProps:{className:M}={},dense:I=!1,disabled:B=!1,disableGutters:R=!1,disablePadding:L=!1,divider:N=!1,focusVisibleClassName:E,secondaryAction:_,selected:F=!1,slotProps:W={},slots:G={}}=i,U=(0,t.A)(i.ContainerProps,P),q=(0,t.A)(i,x),K=o.useContext(h.A),V=o.useMemo((()=>({dense:I||K.dense||!1,alignItems:l,disableGutters:R})),[l,K.dense,I,R]),H=o.useRef(null);(0,g.A)((()=>{c&&H.current&&H.current.focus()}),[c]);const $=o.Children.toArray(v),J=$.length&&(0,b.A)($[$.length-1],["ListItemSecondaryAction"]),Q=(0,n.A)({},i,{alignItems:l,autoFocus:c,button:k,dense:V.dense,disabled:B,disableGutters:R,disablePadding:L,divider:N,hasSecondaryAction:J,selected:F}),Z=(e=>{const{alignItems:a,button:i,classes:t,dense:n,disabled:o,disableGutters:r,disablePadding:l,divider:d,hasSecondaryAction:c,selected:u}=e,p={root:["root",n&&"dense",!r&&"gutters",!l&&"padding",d&&"divider",o&&"disabled",i&&"button","flex-start"===a&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,s.A)(p,f,t)})(Q),Y=(0,m.A)(H,a),X=G.root||A.Root||O,ee=W.root||z.root||{},ae=(0,n.A)({className:(0,r.A)(Z.root,ee.className,S),disabled:B},q);let ie=w||"li";return k&&(ae.component=w||"div",ae.focusVisibleClassName=(0,r.A)(y.focusVisible,E),ie=p.A),J?(ie=ae.component||w?ie:"div","li"===j&&("li"===ie?ie="div":"li"===ae.component&&(ae.component="div")),(0,T.jsx)(h.A.Provider,{value:V,children:(0,T.jsxs)(D,(0,n.A)({as:j,className:(0,r.A)(Z.container,M),ref:Y,ownerState:Q},U,{children:[(0,T.jsx)(X,(0,n.A)({},ee,!(0,d.A)(X)&&{as:ie,ownerState:(0,n.A)({},Q,ee.ownerState)},ae,{children:$})),$.pop()]}))})):(0,T.jsx)(h.A.Provider,{value:V,children:(0,T.jsxs)(X,(0,n.A)({},ee,{as:ie,ref:Y},!(0,d.A)(X)&&{ownerState:(0,n.A)({},Q,ee.ownerState)},ae,{children:[$,_&&(0,T.jsx)(C,{children:_})]}))})}))},37749:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(3582),d=i(67335),c=i(35524),u=i(82070),p=i(87310);function b(e){return(0,p.Ay)("MuiList",e)}(0,u.A)("MuiList",["root","padding","dense","subheader"]);var g=i(86070);const m=["children","className","component","dense","disablePadding","subheader"],h=(0,l.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disablePadding&&a.padding,i.dense&&a.dense,i.subheader&&a.subheader]}})((({ownerState:e})=>(0,n.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),k=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiList"}),{children:l,className:u,component:p="ul",dense:k=!1,disablePadding:v=!1,subheader:f}=i,y=(0,t.A)(i,m),S=o.useMemo((()=>({dense:k})),[k]),w=(0,n.A)({},i,{component:p,dense:k,disablePadding:v}),T=(e=>{const{classes:a,disablePadding:i,dense:t,subheader:n}=e,o={root:["root",!i&&"padding",t&&"dense",n&&"subheader"]};return(0,s.A)(o,b,a)})(w);return(0,g.jsx)(c.A.Provider,{value:S,children:(0,g.jsxs)(h,(0,n.A)({as:p,className:(0,r.A)(T.root,u),ref:a,ownerState:w},y,{children:[f,l]}))})}))},35524:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext({})},98890:(e,a,i)=>{"use strict";i.d(a,{A:()=>j});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582),c=i(96896),u=i(67335),p=i(35524),b=i(54463),g=i(10908),m=i(47786),h=i(66769),k=i(9871),v=i(16423),f=i(82070),y=i(87310);function S(e){return(0,y.Ay)("MuiMenuItem",e)}const w=(0,f.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var T=i(86070);const A=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],z=(0,d.Ay)(b.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,i.divider&&a.divider,!i.disableGutters&&a.gutters]}})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${w.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${w.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${w.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${w.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${w.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h.A.inset}`]:{marginLeft:52},[`& .${v.A.root}`]:{marginTop:0,marginBottom:0},[`& .${v.A.inset}`]:{paddingLeft:36},[`& .${k.A.root}`]:{minWidth:36}},!a.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},a.dense&&(0,n.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${k.A.root} svg`]:{fontSize:"1.25rem"}})))),j=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:d="li",dense:c=!1,divider:b=!1,disableGutters:h=!1,focusVisibleClassName:k,role:v="menuitem",tabIndex:f,className:y}=i,w=(0,t.A)(i,A),j=o.useContext(p.A),C=o.useMemo((()=>({dense:c||j.dense||!1,disableGutters:h})),[j.dense,c,h]),P=o.useRef(null);(0,g.A)((()=>{l&&P.current&&P.current.focus()}),[l]);const x=(0,n.A)({},i,{dense:C.dense,divider:b,disableGutters:h}),O=(e=>{const{disabled:a,dense:i,divider:t,disableGutters:o,selected:r,classes:l}=e,d={root:["root",i&&"dense",a&&"disabled",!o&&"gutters",t&&"divider",r&&"selected"]},c=(0,s.A)(d,S,l);return(0,n.A)({},l,c)})(i),D=(0,m.A)(P,a);let M;return i.disabled||(M=void 0!==f?f:-1),(0,T.jsx)(p.A.Provider,{value:C,children:(0,T.jsx)(z,(0,n.A)({ref:D,role:v,tabIndex:M,component:d,focusVisibleClassName:(0,r.A)(O.focusVisible,k),className:(0,r.A)(O.root,y)},w,{ownerState:x,classes:O}))})}))},30254:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(40991),n=i(23302),o=i(30758),r=(i(84276),i(80226)),s=i(37749);const l=i(9086).A;var d=i(47786),c=i(10908),u=i(86070);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function b(e,a,i){return e===a?e.firstChild:a&&a.nextElementSibling?a.nextElementSibling:i?null:e.firstChild}function g(e,a,i){return e===a?i?e.firstChild:e.lastChild:a&&a.previousElementSibling?a.previousElementSibling:i?null:e.lastChild}function m(e,a){if(void 0===a)return!0;let i=e.innerText;return void 0===i&&(i=e.textContent),i=i.trim().toLowerCase(),0!==i.length&&(a.repeating?i[0]===a.keys[0]:0===i.indexOf(a.keys.join("")))}function h(e,a,i,t,n,o){let r=!1,s=n(e,a,!!a&&i);for(;s;){if(s===e.firstChild){if(r)return!1;r=!0}const a=!t&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,o)&&!a)return s.focus(),!0;s=n(e,s,i)}return!1}const k=o.forwardRef((function(e,a){const{actions:i,autoFocus:k=!1,autoFocusItem:v=!1,children:f,className:y,disabledItemsFocusable:S=!1,disableListWrap:w=!1,onKeyDown:T,variant:A="selectedMenu"}=e,z=(0,n.A)(e,p),j=o.useRef(null),C=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,c.A)((()=>{k&&j.current.focus()}),[k]),o.useImperativeHandle(i,(()=>({adjustStyleForScrollbar:(e,{direction:a})=>{const i=!j.current.style.width;if(e.clientHeight{o.isValidElement(e)?(e.props.disabled||("selectedMenu"===A&&e.props.selected||-1===x)&&(x=a),x===a&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(x+=1,x>=f.length&&(x=-1))):x===a&&(x+=1,x>=f.length&&(x=-1))}));const O=o.Children.map(f,((e,a)=>{if(a===x){const a={};return v&&(a.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===A&&(a.tabIndex=0),o.cloneElement(e,a)}return e}));return(0,u.jsx)(s.A,(0,t.A)({role:"menu",ref:P,className:y,onKeyDown:e=>{const a=j.current,i=e.key,t=(0,r.A)(a).activeElement;if("ArrowDown"===i)e.preventDefault(),h(a,t,w,S,b);else if("ArrowUp"===i)e.preventDefault(),h(a,t,w,S,g);else if("Home"===i)e.preventDefault(),h(a,null,w,S,b);else if("End"===i)e.preventDefault(),h(a,null,w,S,g);else if(1===i.length){const n=C.current,o=i.toLowerCase(),r=performance.now();n.keys.length>0&&(r-n.lastTime>500?(n.keys=[],n.repeating=!0,n.previousKeyMatched=!0):n.repeating&&o!==n.keys[0]&&(n.repeating=!1)),n.lastTime=r,n.keys.push(o);const s=t&&!n.repeating&&m(t,n);n.previousKeyMatched&&(s||h(a,t,!1,S,b,n))?e.preventDefault():n.previousKeyMatched=!1}T&&T(e)},tabIndex:k?0:-1},z,{children:O}))}))},17283:(e,a,i)=>{"use strict";i.d(a,{A:()=>j});var t=i(40991),n=i(23302),o=i(30758),r=(i(84276),i(13526)),s=i(12060),l=i(9073),d=i(30838),c=i(30254),u=i(47235),p=i(3582),b=i(96896),g=i(67335),m=i(82070),h=i(87310);function k(e){return(0,h.Ay)("MuiMenu",e)}(0,m.A)("MuiMenu",["root","paper","list"]);var v=i(86070);const f=["onEntering"],y=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],S={vertical:"top",horizontal:"right"},w={vertical:"top",horizontal:"left"},T=(0,p.Ay)(u.Ay,{shouldForwardProp:e=>(0,b.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,a)=>a.root})({}),A=(0,p.Ay)(u.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,a)=>a.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),z=(0,p.Ay)(c.A,{name:"MuiMenu",slot:"List",overridesResolver:(e,a)=>a.list})({outline:0}),j=o.forwardRef((function(e,a){var i,c;const u=(0,g.b)({props:e,name:"MuiMenu"}),{autoFocus:p=!0,children:b,className:m,disableAutoFocusItem:h=!1,MenuListProps:j={},onClose:C,open:P,PaperProps:x={},PopoverClasses:O,transitionDuration:D="auto",TransitionProps:{onEntering:M}={},variant:I="selectedMenu",slots:B={},slotProps:R={}}=u,L=(0,n.A)(u.TransitionProps,f),N=(0,n.A)(u,y),E=(0,l.I)(),_=(0,t.A)({},u,{autoFocus:p,disableAutoFocusItem:h,MenuListProps:j,onEntering:M,PaperProps:x,transitionDuration:D,TransitionProps:L,variant:I}),F=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],paper:["paper"],list:["list"]},k,a)})(_),W=p&&!h&&P,G=o.useRef(null);let U=-1;o.Children.map(b,((e,a)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===I&&e.props.selected||-1===U)&&(U=a))}));const q=null!=(i=B.paper)?i:A,K=null!=(c=R.paper)?c:x,V=(0,d.A)({elementType:B.root,externalSlotProps:R.root,ownerState:_,className:[F.root,m]}),H=(0,d.A)({elementType:q,externalSlotProps:K,ownerState:_,className:F.paper});return(0,v.jsx)(T,(0,t.A)({onClose:C,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?S:w,slots:{paper:q,root:B.root},slotProps:{root:V,paper:H},open:P,ref:a,transitionDuration:D,TransitionProps:(0,t.A)({onEntering:(e,a)=>{G.current&&G.current.adjustStyleForScrollbar(e,{direction:E?"rtl":"ltr"}),M&&M(e,a)}},L),ownerState:_},N,{classes:O,children:(0,v.jsx)(z,(0,t.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),C&&C(e,"tabKeyDown"))},actions:G,autoFocus:p&&(-1===U||h),autoFocusItem:W,variant:I},j,{className:(0,r.A)(F.list,j.className),children:b}))}))}))},20753:(e,a,i)=>{"use strict";i.d(a,{A:()=>E});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(30838),d=i(58384),c=i(30798),u=i(86070);const p=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function b(e){const a=[],i=[];return Array.from(e.querySelectorAll(p)).forEach(((e,t)=>{const n=function(e){const a=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(a)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:a}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const a=a=>e.ownerDocument.querySelector(`input[type="radio"]${a}`);let i=a(`[name="${e.name}"]:checked`);return i||(i=a(`[name="${e.name}"]`)),i!==e}(e))}(e)&&(0===n?a.push(e):i.push({documentOrder:t,tabIndex:n,node:e}))})),i.sort(((e,a)=>e.tabIndex===a.tabIndex?e.documentOrder-a.documentOrder:e.tabIndex-a.tabIndex)).map((e=>e.node)).concat(a)}function g(){return!0}const m=function(e){const{children:a,disableAutoFocus:i=!1,disableEnforceFocus:t=!1,disableRestoreFocus:n=!1,getTabbable:r=b,isEnabled:s=g,open:l}=e,p=o.useRef(!1),m=o.useRef(null),h=o.useRef(null),k=o.useRef(null),v=o.useRef(null),f=o.useRef(!1),y=o.useRef(null),S=(0,d.A)(a.ref,y),w=o.useRef(null);o.useEffect((()=>{l&&y.current&&(f.current=!i)}),[i,l]),o.useEffect((()=>{if(!l||!y.current)return;const e=(0,c.A)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),f.current&&y.current.focus()),()=>{n||(k.current&&k.current.focus&&(p.current=!0,k.current.focus()),k.current=null)}}),[l]),o.useEffect((()=>{if(!l||!y.current)return;const e=(0,c.A)(y.current),a=a=>{w.current=a,!t&&s()&&"Tab"===a.key&&e.activeElement===y.current&&a.shiftKey&&(p.current=!0,h.current&&h.current.focus())},i=()=>{const a=y.current;if(null===a)return;if(!e.hasFocus()||!s()||p.current)return void(p.current=!1);if(a.contains(e.activeElement))return;if(t&&e.activeElement!==m.current&&e.activeElement!==h.current)return;if(e.activeElement!==v.current)v.current=null;else if(null!==v.current)return;if(!f.current)return;let i=[];if(e.activeElement!==m.current&&e.activeElement!==h.current||(i=r(y.current)),i.length>0){var n,o;const e=Boolean((null==(n=w.current)?void 0:n.shiftKey)&&"Tab"===(null==(o=w.current)?void 0:o.key)),a=i[0],t=i[i.length-1];"string"!=typeof a&&"string"!=typeof t&&(e?t.focus():a.focus())}else a.focus()};e.addEventListener("focusin",i),e.addEventListener("keydown",a,!0);const n=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&i()}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",i),e.removeEventListener("keydown",a,!0)}}),[i,t,n,s,l,r]);const T=e=>{null===k.current&&(k.current=e.relatedTarget),f.current=!0};return(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)("div",{tabIndex:l?0:-1,onFocus:T,ref:m,"data-testid":"sentinelStart"}),o.cloneElement(a,{ref:S,onFocus:e=>{null===k.current&&(k.current=e.relatedTarget),f.current=!0,v.current=e.target;const i=a.props.onFocus;i&&i(e)}}),(0,u.jsx)("div",{tabIndex:l?0:-1,onFocus:T,ref:h,"data-testid":"sentinelEnd"})]})};var h=i(72527),k=i(3582),v=i(67335),f=i(41485),y=i(25920),S=i(36450),w=i(90764),T=i(63558),A=i(9086);function z(e,a){a?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function j(e){return parseInt((0,T.A)(e).getComputedStyle(e).paddingRight,10)||0}function C(e,a,i,t,n){const o=[a,i,...t];[].forEach.call(e.children,(e=>{const a=-1===o.indexOf(e),i=!function(e){const a=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),i="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return a||i}(e);a&&i&&z(e,n)}))}function P(e,a){let i=-1;return e.some(((e,t)=>!!a(e)&&(i=t,!0))),i}function x(e,a){const i=[],t=e.container;if(!a.disableScrollLock){if(function(e){const a=(0,c.A)(e);return a.body===e?(0,T.A)(e).innerWidth>a.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(t)){const e=(0,A.A)((0,c.A)(t));i.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${j(t)+e}px`;const a=(0,c.A)(t).querySelectorAll(".mui-fixed");[].forEach.call(a,(a=>{i.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${j(a)+e}px`}))}let e;if(t.parentNode instanceof DocumentFragment)e=(0,c.A)(t).body;else{const a=t.parentElement,i=(0,T.A)(t);e="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===i.getComputedStyle(a).overflowY?a:t}i.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{i.forEach((({value:e,el:a,property:i})=>{e?a.style.setProperty(i,e):a.style.removeProperty(i)}))}}const O=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,a){let i=this.modals.indexOf(e);if(-1!==i)return i;i=this.modals.length,this.modals.push(e),e.modalRef&&z(e.modalRef,!1);const t=function(e){const a=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&a.push(e)})),a}(a);C(a,e.mount,e.modalRef,t,!0);const n=P(this.containers,(e=>e.container===a));return-1!==n?(this.containers[n].modals.push(e),i):(this.containers.push({modals:[e],container:a,restore:null,hiddenSiblings:t}),i)}mount(e,a){const i=P(this.containers,(a=>-1!==a.modals.indexOf(e))),t=this.containers[i];t.restore||(t.restore=x(t,a))}remove(e,a=!0){const i=this.modals.indexOf(e);if(-1===i)return i;const t=P(this.containers,(a=>-1!==a.modals.indexOf(e))),n=this.containers[t];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(i,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&z(e.modalRef,a),C(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(t,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&z(e.modalRef,!1)}return i}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const D=function(e){const{container:a,disableEscapeKeyDown:i=!1,disableScrollLock:t=!1,manager:r=O,closeAfterTransition:s=!1,onTransitionEnter:l,onTransitionExited:u,children:p,onClose:b,open:g,rootRef:m}=e,h=o.useRef({}),k=o.useRef(null),v=o.useRef(null),f=(0,d.A)(v,m),[T,A]=o.useState(!g),j=function(e){return!!e&&e.props.hasOwnProperty("in")}(p);let C=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(C=!1);const P=()=>(h.current.modalRef=v.current,h.current.mount=k.current,h.current),x=()=>{r.mount(P(),{disableScrollLock:t}),v.current&&(v.current.scrollTop=0)},D=(0,y.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(a)||(0,c.A)(k.current).body;r.add(P(),e),v.current&&x()})),M=o.useCallback((()=>r.isTopModal(P())),[r]),I=(0,y.A)((e=>{k.current=e,e&&(g&&M()?x():v.current&&z(v.current,C))})),B=o.useCallback((()=>{r.remove(P(),C)}),[C,r]);o.useEffect((()=>()=>{B()}),[B]),o.useEffect((()=>{g?D():j&&s||B()}),[g,B,j,s,D]);const R=e=>a=>{var t;null==(t=e.onKeyDown)||t.call(e,a),"Escape"===a.key&&229!==a.which&&M()&&(i||(a.stopPropagation(),b&&b(a,"escapeKeyDown")))},L=e=>a=>{var i;null==(i=e.onClick)||i.call(e,a),a.target===a.currentTarget&&b&&b(a,"backdropClick")};return{getRootProps:(a={})=>{const i=(0,w.A)(e);delete i.onTransitionEnter,delete i.onTransitionExited;const t=(0,n.A)({},i,a);return(0,n.A)({role:"presentation"},t,{onKeyDown:R(t),ref:f})},getBackdropProps:(e={})=>{const a=e;return(0,n.A)({"aria-hidden":!0},a,{onClick:L(a),open:g})},getTransitionProps:()=>({onEnter:(0,S.A)((()=>{A(!1),l&&l()}),null==p?void 0:p.props.onEnter),onExited:(0,S.A)((()=>{A(!0),u&&u(),s&&B()}),null==p?void 0:p.props.onExited)}),rootRef:f,portalRef:I,isTopModal:M,exited:T,hasTransition:j}};var M=i(82070),I=i(87310);function B(e){return(0,I.Ay)("MuiModal",e)}(0,M.A)("MuiModal",["root","hidden","backdrop"]);const R=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],L=(0,k.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.open&&i.exited&&a.hidden]}})((({theme:e,ownerState:a})=>(0,n.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!a.open&&a.exited&&{visibility:"hidden"}))),N=(0,k.Ay)(f.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,a)=>a.backdrop})({zIndex:-1}),E=o.forwardRef((function(e,a){var i,d,c,p,b,g;const k=(0,v.b)({name:"MuiModal",props:e}),{BackdropComponent:f=N,BackdropProps:y,className:S,closeAfterTransition:w=!1,children:T,container:A,component:z,components:j={},componentsProps:C={},disableAutoFocus:P=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:O=!1,disablePortal:M=!1,disableRestoreFocus:I=!1,disableScrollLock:E=!1,hideBackdrop:_=!1,keepMounted:F=!1,onBackdropClick:W,open:G,slotProps:U,slots:q}=k,K=(0,t.A)(k,R),V=(0,n.A)({},k,{closeAfterTransition:w,disableAutoFocus:P,disableEnforceFocus:x,disableEscapeKeyDown:O,disablePortal:M,disableRestoreFocus:I,disableScrollLock:E,hideBackdrop:_,keepMounted:F}),{getRootProps:H,getBackdropProps:$,getTransitionProps:J,portalRef:Q,isTopModal:Z,exited:Y,hasTransition:X}=D((0,n.A)({},V,{rootRef:a})),ee=(0,n.A)({},V,{exited:Y}),ae=(e=>{const{open:a,exited:i,classes:t}=e,n={root:["root",!a&&i&&"hidden"],backdrop:["backdrop"]};return(0,s.A)(n,B,t)})(ee),ie={};if(void 0===T.props.tabIndex&&(ie.tabIndex="-1"),X){const{onEnter:e,onExited:a}=J();ie.onEnter=e,ie.onExited=a}const te=null!=(i=null!=(d=null==q?void 0:q.root)?d:j.Root)?i:L,ne=null!=(c=null!=(p=null==q?void 0:q.backdrop)?p:j.Backdrop)?c:f,oe=null!=(b=null==U?void 0:U.root)?b:C.root,re=null!=(g=null==U?void 0:U.backdrop)?g:C.backdrop,se=(0,l.A)({elementType:te,externalSlotProps:oe,externalForwardedProps:K,getSlotProps:H,additionalProps:{ref:a,as:z},ownerState:ee,className:(0,r.A)(S,null==oe?void 0:oe.className,null==ae?void 0:ae.root,!ee.open&&ee.exited&&(null==ae?void 0:ae.hidden))}),le=(0,l.A)({elementType:ne,externalSlotProps:re,additionalProps:y,getSlotProps:e=>$((0,n.A)({},e,{onClick:a=>{W&&W(a),null!=e&&e.onClick&&e.onClick(a)}})),className:(0,r.A)(null==re?void 0:re.className,null==y?void 0:y.className,null==ae?void 0:ae.backdrop),ownerState:ee});return F||G||X&&!Y?(0,u.jsx)(h.A,{ref:Q,container:A,disablePortal:M,children:(0,u.jsxs)(te,(0,n.A)({},se,{children:[!_&&f?(0,u.jsx)(ne,(0,n.A)({},le)):null,(0,u.jsx)(m,{disableEnforceFocus:x,disableAutoFocus:P,disableRestoreFocus:I,isEnabled:Z,open:G,children:o.cloneElement(T,ie)})]}))}):null}))},12647:(e,a,i)=>{"use strict";i.d(a,{A:()=>A});var t,n=i(23302),o=i(40991),r=i(30758),s=i(12060),l=i(3582),d=i(96896),c=i(86070);const u=["children","classes","className","label","notched"],p=(0,l.Ay)("fieldset",{shouldForwardProp:d.A})({textAlign:"left",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",minWidth:"0%"}),b=(0,l.Ay)("legend",{shouldForwardProp:d.A})((({ownerState:e,theme:a})=>(0,o.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:a.transitions.create("width",{duration:150,easing:a.transitions.easing.easeOut})},e.withLabel&&(0,o.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:a.transitions.create("max-width",{duration:50,easing:a.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:a.transitions.create("max-width",{duration:100,easing:a.transitions.easing.easeOut,delay:50})}))));var g=i(16910),m=i(3688),h=i(83909),k=i(2041),v=i(67335);const f=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],y=(0,l.Ay)(k.Sh,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:k.WC})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${h.A.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:i}},[`&.${h.A.focused} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette[a.color].main,borderWidth:2},[`&.${h.A.error} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${h.A.disabled} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},a.startAdornment&&{paddingLeft:14},a.endAdornment&&{paddingRight:14},a.multiline&&(0,o.A)({padding:"16.5px 14px"},"small"===a.size&&{padding:"8.5px 14px"}))})),S=(0,l.Ay)((function(e){const{className:a,label:i,notched:r}=e,s=(0,n.A)(e,u),l=null!=i&&""!==i,d=(0,o.A)({},e,{notched:r,withLabel:l});return(0,c.jsx)(p,(0,o.A)({"aria-hidden":!0,className:a,ownerState:d},s,{children:(0,c.jsx)(b,{ownerState:d,children:l?(0,c.jsx)("span",{children:i}):t||(t=(0,c.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,a)=>a.notchedOutline})((({theme:e})=>{const a="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:a}})),w=(0,l.Ay)(k.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:k.Oj})((({theme:e,ownerState:a})=>(0,o.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===a.size&&{padding:"8.5px 14px"},a.multiline&&{padding:0},a.startAdornment&&{paddingLeft:0},a.endAdornment&&{paddingRight:0}))),T=r.forwardRef((function(e,a){var i,t,l,d,u;const p=(0,v.b)({props:e,name:"MuiOutlinedInput"}),{components:b={},fullWidth:T=!1,inputComponent:A="input",label:z,multiline:j=!1,notched:C,slots:P={},type:x="text"}=p,O=(0,n.A)(p,f),D=(e=>{const{classes:a}=e,i=(0,s.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},h.v,a);return(0,o.A)({},a,i)})(p),M=(0,g.A)(),I=(0,m.A)({props:p,muiFormControl:M,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),B=(0,o.A)({},p,{color:I.color||"primary",disabled:I.disabled,error:I.error,focused:I.focused,formControl:M,fullWidth:T,hiddenLabel:I.hiddenLabel,multiline:j,size:I.size,type:x}),R=null!=(i=null!=(t=P.root)?t:b.Root)?i:y,L=null!=(l=null!=(d=P.input)?d:b.Input)?l:w;return(0,c.jsx)(k.Ay,(0,o.A)({slots:{root:R,input:L},renderSuffix:e=>(0,c.jsx)(S,{ownerState:B,className:D.notchedOutline,label:null!=z&&""!==z&&I.required?u||(u=(0,c.jsxs)(r.Fragment,{children:[z," ","*"]})):z,notched:void 0!==C?C:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:T,inputComponent:A,multiline:j,ref:a,type:x},O,{classes:(0,o.A)({},D,{notchedOutline:null})}))}));T.muiName="Input";const A=T},83909:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,v:()=>s});var t=i(40991),n=i(82070),o=i(87310),r=i(44013);function s(e){return(0,o.Ay)("MuiOutlinedInput",e)}const l=(0,t.A)({},r.A,(0,n.A)("MuiOutlinedInput",["root","notchedOutline","input"]))},89928:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(3582);const c=e=>{let a;return a=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(a/100).toFixed(2)};var u=i(67335),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiPaper",e)}(0,p.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var m=i(86070);const h=["className","component","elevation","square","variant"],k=(0,d.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],!i.square&&a.rounded,"elevation"===i.variant&&a[`elevation${i.elevation}`]]}})((({theme:e,ownerState:a})=>{var i;return(0,n.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!a.square&&{borderRadius:e.shape.borderRadius},"outlined"===a.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===a.variant&&(0,n.A)({boxShadow:(e.vars||e).shadows[a.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.X4)("#fff",c(a.elevation))}, ${(0,l.X4)("#fff",c(a.elevation))})`},e.vars&&{backgroundImage:null==(i=e.vars.overlays)?void 0:i[a.elevation]}))})),v=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiPaper"}),{className:o,component:l="div",elevation:d=1,square:c=!1,variant:p="elevation"}=i,b=(0,t.A)(i,h),v=(0,n.A)({},i,{component:l,elevation:d,square:c,variant:p}),f=(e=>{const{square:a,elevation:i,variant:t,classes:n}=e,o={root:["root",t,!a&&"rounded","elevation"===t&&`elevation${i}`]};return(0,s.A)(o,g,n)})(v);return(0,m.jsx)(k,(0,n.A)({as:l,ownerState:v,className:(0,r.A)(f.root,o),ref:a},b))}))},47235:(e,a,i)=>{"use strict";i.d(a,{IJ:()=>D,Ay:()=>M});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(12060),l=i(30838),d=i(69454),c=i(3582),u=i(67335),p=i(26577),b=i(80226),g=i(3299),m=i(47786),h=i(86989),k=i(20753),v=i(89928),f=i(82070),y=i(87310);function S(e){return(0,y.Ay)("MuiPopover",e)}(0,f.A)("MuiPopover",["root","paper"]);var w=i(86070);const T=["onEntering"],A=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],z=["slotProps"];function j(e,a){let i=0;return"number"==typeof a?i=a:"center"===a?i=e.height/2:"bottom"===a&&(i=e.height),i}function C(e,a){let i=0;return"number"==typeof a?i=a:"center"===a?i=e.width/2:"right"===a&&(i=e.width),i}function P(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function x(e){return"function"==typeof e?e():e}const O=(0,c.Ay)(k.A,{name:"MuiPopover",slot:"Root",overridesResolver:(e,a)=>a.root})({}),D=(0,c.Ay)(v.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,a)=>a.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),M=o.forwardRef((function(e,a){var i,c,k;const v=(0,u.b)({props:e,name:"MuiPopover"}),{action:f,anchorEl:y,anchorOrigin:M={vertical:"top",horizontal:"left"},anchorPosition:I,anchorReference:B="anchorEl",children:R,className:L,container:N,elevation:E=8,marginThreshold:_=16,open:F,PaperProps:W={},slots:G,slotProps:U,transformOrigin:q={vertical:"top",horizontal:"left"},TransitionComponent:K=h.A,transitionDuration:V="auto",TransitionProps:{onEntering:H}={},disableScrollLock:$=!1}=v,J=(0,n.A)(v.TransitionProps,T),Q=(0,n.A)(v,A),Z=null!=(i=null==U?void 0:U.paper)?i:W,Y=o.useRef(),X=(0,m.A)(Y,Z.ref),ee=(0,t.A)({},v,{anchorOrigin:M,anchorReference:B,elevation:E,marginThreshold:_,externalPaperSlotProps:Z,transformOrigin:q,TransitionComponent:K,transitionDuration:V,TransitionProps:J}),ae=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],paper:["paper"]},S,a)})(ee),ie=o.useCallback((()=>{if("anchorPosition"===B)return I;const e=x(y),a=(e&&1===e.nodeType?e:(0,b.A)(Y.current).body).getBoundingClientRect();return{top:a.top+j(a,M.vertical),left:a.left+C(a,M.horizontal)}}),[y,M.horizontal,M.vertical,I,B]),te=o.useCallback((e=>({vertical:j(e,q.vertical),horizontal:C(e,q.horizontal)})),[q.horizontal,q.vertical]),ne=o.useCallback((e=>{const a={width:e.offsetWidth,height:e.offsetHeight},i=te(a);if("none"===B)return{top:null,left:null,transformOrigin:P(i)};const t=ie();let n=t.top-i.vertical,o=t.left-i.horizontal;const r=n+a.height,s=o+a.width,l=(0,g.A)(x(y)),d=l.innerHeight-_,c=l.innerWidth-_;if(null!==_&&n<_){const e=n-_;n-=e,i.vertical+=e}else if(null!==_&&r>d){const e=r-d;n-=e,i.vertical+=e}if(null!==_&&o<_){const e=o-_;o-=e,i.horizontal+=e}else if(s>c){const e=s-c;o-=e,i.horizontal+=e}return{top:`${Math.round(n)}px`,left:`${Math.round(o)}px`,transformOrigin:P(i)}}),[y,B,ie,te,_]),[oe,re]=o.useState(F),se=o.useCallback((()=>{const e=Y.current;if(!e)return;const a=ne(e);null!==a.top&&(e.style.top=a.top),null!==a.left&&(e.style.left=a.left),e.style.transformOrigin=a.transformOrigin,re(!0)}),[ne]);o.useEffect((()=>($&&window.addEventListener("scroll",se),()=>window.removeEventListener("scroll",se))),[y,$,se]);o.useEffect((()=>{F&&se()})),o.useImperativeHandle(f,(()=>F?{updatePosition:()=>{se()}}:null),[F,se]),o.useEffect((()=>{if(!F)return;const e=(0,p.A)((()=>{se()})),a=(0,g.A)(y);return a.addEventListener("resize",e),()=>{e.clear(),a.removeEventListener("resize",e)}}),[y,F,se]);let le=V;"auto"!==V||K.muiSupportAuto||(le=void 0);const de=N||(y?(0,b.A)(x(y)).body:void 0),ce=null!=(c=null==G?void 0:G.root)?c:O,ue=null!=(k=null==G?void 0:G.paper)?k:D,pe=(0,l.A)({elementType:ue,externalSlotProps:(0,t.A)({},Z,{style:oe?Z.style:(0,t.A)({},Z.style,{opacity:0})}),additionalProps:{elevation:E,ref:X},ownerState:ee,className:(0,r.A)(ae.paper,null==Z?void 0:Z.className)}),be=(0,l.A)({elementType:ce,externalSlotProps:(null==U?void 0:U.root)||{},externalForwardedProps:Q,additionalProps:{ref:a,slotProps:{backdrop:{invisible:!0}},container:de,open:F},ownerState:ee,className:(0,r.A)(ae.root,L)}),{slotProps:ge}=be,me=(0,n.A)(be,z);return(0,w.jsx)(ce,(0,t.A)({},me,!(0,d.A)(ce)&&{slotProps:ge,disableScrollLock:$},{children:(0,w.jsx)(K,(0,t.A)({appear:!0,in:F,onEntering:(e,a)=>{H&&H(e,a),se()},onExited:()=>{re(!1)},timeout:le},J,{children:(0,w.jsx)(ue,(0,t.A)({},pe,{children:R}))}))}))}))},25594:(e,a,i)=>{"use strict";i.d(a,{A:()=>Ge});var t=i(40991),n=i(23302),o=i(27028),r=i(30758),s=i(58384),l=i(47226),d=i(30798);function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var a=e.ownerDocument;return a&&a.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function p(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function b(e){return"undefined"!=typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var g=Math.max,m=Math.min,h=Math.round;function k(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(k())}function f(e,a,i){void 0===a&&(a=!1),void 0===i&&(i=!1);var t=e.getBoundingClientRect(),n=1,o=1;a&&p(e)&&(n=e.offsetWidth>0&&h(t.width)/e.offsetWidth||1,o=e.offsetHeight>0&&h(t.height)/e.offsetHeight||1);var r=(u(e)?c(e):window).visualViewport,s=!v()&&i,l=(t.left+(s&&r?r.offsetLeft:0))/n,d=(t.top+(s&&r?r.offsetTop:0))/o,b=t.width/n,g=t.height/o;return{width:b,height:g,top:d,right:l+b,bottom:d+g,left:l,x:l,y:d}}function y(e){var a=c(e);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function S(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function T(e){return f(w(e)).left+y(e).scrollLeft}function A(e){return c(e).getComputedStyle(e)}function z(e){var a=A(e),i=a.overflow,t=a.overflowX,n=a.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+t)}function j(e,a,i){void 0===i&&(i=!1);var t,n,o=p(a),r=p(a)&&function(e){var a=e.getBoundingClientRect(),i=h(a.width)/e.offsetWidth||1,t=h(a.height)/e.offsetHeight||1;return 1!==i||1!==t}(a),s=w(a),l=f(e,r,i),d={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!i)&&(("body"!==S(a)||z(s))&&(d=(t=a)!==c(t)&&p(t)?{scrollLeft:(n=t).scrollLeft,scrollTop:n.scrollTop}:y(t)),p(a)?((u=f(a,!0)).x+=a.clientLeft,u.y+=a.clientTop):s&&(u.x=T(s))),{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function C(e){var a=f(e),i=e.offsetWidth,t=e.offsetHeight;return Math.abs(a.width-i)<=1&&(i=a.width),Math.abs(a.height-t)<=1&&(t=a.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:t}}function P(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(b(e)?e.host:null)||w(e)}function x(e){return["html","body","#document"].indexOf(S(e))>=0?e.ownerDocument.body:p(e)&&z(e)?e:x(P(e))}function O(e,a){var i;void 0===a&&(a=[]);var t=x(e),n=t===(null==(i=e.ownerDocument)?void 0:i.body),o=c(t),r=n?[o].concat(o.visualViewport||[],z(t)?t:[]):t,s=a.concat(r);return n?s:s.concat(O(P(r)))}function D(e){return["table","td","th"].indexOf(S(e))>=0}function M(e){return p(e)&&"fixed"!==A(e).position?e.offsetParent:null}function I(e){for(var a=c(e),i=M(e);i&&D(i)&&"static"===A(i).position;)i=M(i);return i&&("html"===S(i)||"body"===S(i)&&"static"===A(i).position)?a:i||function(e){var a=/firefox/i.test(k());if(/Trident/i.test(k())&&p(e)&&"fixed"===A(e).position)return null;var i=P(e);for(b(i)&&(i=i.host);p(i)&&["html","body"].indexOf(S(i))<0;){var t=A(i);if("none"!==t.transform||"none"!==t.perspective||"paint"===t.contain||-1!==["transform","perspective"].indexOf(t.willChange)||a&&"filter"===t.willChange||a&&t.filter&&"none"!==t.filter)return i;i=i.parentNode}return null}(e)||a}var B="top",R="bottom",L="right",N="left",E="auto",_=[B,R,L,N],F="start",W="end",G="clippingParents",U="viewport",q="popper",K="reference",V=_.reduce((function(e,a){return e.concat([a+"-"+F,a+"-"+W])}),[]),H=[].concat(_,[E]).reduce((function(e,a){return e.concat([a,a+"-"+F,a+"-"+W])}),[]),$=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function J(e){var a=new Map,i=new Set,t=[];function n(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var t=a.get(e);t&&n(t)}})),t.push(e)}return e.forEach((function(e){a.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||n(e)})),t}var Q={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,a=new Array(e),i=0;i=0?"x":"y"}function te(e){var a,i=e.reference,t=e.element,n=e.placement,o=n?ee(n):null,r=n?ae(n):null,s=i.x+i.width/2-t.width/2,l=i.y+i.height/2-t.height/2;switch(o){case B:a={x:s,y:i.y-t.height};break;case R:a={x:s,y:i.y+i.height};break;case L:a={x:i.x+i.width,y:l};break;case N:a={x:i.x-t.width,y:l};break;default:a={x:i.x,y:i.y}}var d=o?ie(o):null;if(null!=d){var c="y"===d?"height":"width";switch(r){case F:a[d]=a[d]-(i[c]/2-t[c]/2);break;case W:a[d]=a[d]+(i[c]/2-t[c]/2)}}return a}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var a,i=e.popper,t=e.popperRect,n=e.placement,o=e.variation,r=e.offsets,s=e.position,l=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,p=e.isFixed,b=r.x,g=void 0===b?0:b,m=r.y,k=void 0===m?0:m,v="function"==typeof u?u({x:g,y:k}):{x:g,y:k};g=v.x,k=v.y;var f=r.hasOwnProperty("x"),y=r.hasOwnProperty("y"),S=N,T=B,z=window;if(d){var j=I(i),C="clientHeight",P="clientWidth";if(j===c(i)&&"static"!==A(j=w(i)).position&&"absolute"===s&&(C="scrollHeight",P="scrollWidth"),n===B||(n===N||n===L)&&o===W)T=R,k-=(p&&j===z&&z.visualViewport?z.visualViewport.height:j[C])-t.height,k*=l?1:-1;if(n===N||(n===B||n===R)&&o===W)S=L,g-=(p&&j===z&&z.visualViewport?z.visualViewport.width:j[P])-t.width,g*=l?1:-1}var x,O=Object.assign({position:s},d&&ne),D=!0===u?function(e,a){var i=e.x,t=e.y,n=a.devicePixelRatio||1;return{x:h(i*n)/n||0,y:h(t*n)/n||0}}({x:g,y:k},c(i)):{x:g,y:k};return g=D.x,k=D.y,l?Object.assign({},O,((x={})[T]=y?"0":"",x[S]=f?"0":"",x.transform=(z.devicePixelRatio||1)<=1?"translate("+g+"px, "+k+"px)":"translate3d("+g+"px, "+k+"px, 0)",x)):Object.assign({},O,((a={})[T]=y?k+"px":"",a[S]=f?g+"px":"",a.transform="",a))}const re={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,i=e.options,t=e.name,n=i.offset,o=void 0===n?[0,0]:n,r=H.reduce((function(e,i){return e[i]=function(e,a,i){var t=ee(e),n=[N,B].indexOf(t)>=0?-1:1,o="function"==typeof i?i(Object.assign({},a,{placement:e})):i,r=o[0],s=o[1];return r=r||0,s=(s||0)*n,[N,L].indexOf(t)>=0?{x:s,y:r}:{x:r,y:s}}(i,a.rects,o),e}),{}),s=r[a.placement],l=s.x,d=s.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=l,a.modifiersData.popperOffsets.y+=d),a.modifiersData[t]=r}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var de={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function ue(e,a){var i=a.getRootNode&&a.getRootNode();if(e.contains(a))return!0;if(i&&b(i)){var t=a;do{if(t&&e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,a,i){return a===U?pe(function(e,a){var i=c(e),t=w(e),n=i.visualViewport,o=t.clientWidth,r=t.clientHeight,s=0,l=0;if(n){o=n.width,r=n.height;var d=v();(d||!d&&"fixed"===a)&&(s=n.offsetLeft,l=n.offsetTop)}return{width:o,height:r,x:s+T(e),y:l}}(e,i)):u(a)?function(e,a){var i=f(e,!1,"fixed"===a);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(a,i):pe(function(e){var a,i=w(e),t=y(e),n=null==(a=e.ownerDocument)?void 0:a.body,o=g(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=g(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-t.scrollLeft+T(e),l=-t.scrollTop;return"rtl"===A(n||i).direction&&(s+=g(i.clientWidth,n?n.clientWidth:0)-o),{width:o,height:r,x:s,y:l}}(w(e)))}function ge(e,a,i,t){var n="clippingParents"===a?function(e){var a=O(P(e)),i=["absolute","fixed"].indexOf(A(e).position)>=0&&p(e)?I(e):e;return u(i)?a.filter((function(e){return u(e)&&ue(e,i)&&"body"!==S(e)})):[]}(e):[].concat(a),o=[].concat(n,[i]),r=o[0],s=o.reduce((function(a,i){var n=be(e,i,t);return a.top=g(n.top,a.top),a.right=m(n.right,a.right),a.bottom=m(n.bottom,a.bottom),a.left=g(n.left,a.left),a}),be(e,r,t));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function me(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,a){return a.reduce((function(a,i){return a[i]=e,a}),{})}function ke(e,a){void 0===a&&(a={});var i=a,t=i.placement,n=void 0===t?e.placement:t,o=i.strategy,r=void 0===o?e.strategy:o,s=i.boundary,l=void 0===s?G:s,d=i.rootBoundary,c=void 0===d?U:d,p=i.elementContext,b=void 0===p?q:p,g=i.altBoundary,m=void 0!==g&&g,h=i.padding,k=void 0===h?0:h,v=me("number"!=typeof k?k:he(k,_)),y=b===q?K:q,S=e.rects.popper,T=e.elements[m?y:b],A=ge(u(T)?T:T.contextElement||w(e.elements.popper),l,c,r),z=f(e.elements.reference),j=te({reference:z,element:S,strategy:"absolute",placement:n}),C=pe(Object.assign({},S,j)),P=b===q?C:z,x={top:A.top-P.top+v.top,bottom:P.bottom-A.bottom+v.bottom,left:A.left-P.left+v.left,right:P.right-A.right+v.right},O=e.modifiersData.offset;if(b===q&&O){var D=O[n];Object.keys(x).forEach((function(e){var a=[L,R].indexOf(e)>=0?1:-1,i=[B,R].indexOf(e)>=0?"y":"x";x[e]+=D[i]*a}))}return x}function ve(e,a,i){return g(e,m(a,i))}const fe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var a=e.state,i=e.options,t=e.name,n=i.mainAxis,o=void 0===n||n,r=i.altAxis,s=void 0!==r&&r,l=i.boundary,d=i.rootBoundary,c=i.altBoundary,u=i.padding,p=i.tether,b=void 0===p||p,h=i.tetherOffset,k=void 0===h?0:h,v=ke(a,{boundary:l,rootBoundary:d,padding:u,altBoundary:c}),f=ee(a.placement),y=ae(a.placement),S=!y,w=ie(f),T="x"===w?"y":"x",A=a.modifiersData.popperOffsets,z=a.rects.reference,j=a.rects.popper,P="function"==typeof k?k(Object.assign({},a.rects,{placement:a.placement})):k,x="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),O=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,D={x:0,y:0};if(A){if(o){var M,E="y"===w?B:N,_="y"===w?R:L,W="y"===w?"height":"width",G=A[w],U=G+v[E],q=G-v[_],K=b?-j[W]/2:0,V=y===F?z[W]:j[W],H=y===F?-j[W]:-z[W],$=a.elements.arrow,J=b&&$?C($):{width:0,height:0},Q=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=Q[E],Y=Q[_],X=ve(0,z[W],J[W]),te=S?z[W]/2-K-X-Z-x.mainAxis:V-X-Z-x.mainAxis,ne=S?-z[W]/2+K+X+Y+x.mainAxis:H+X+Y+x.mainAxis,oe=a.elements.arrow&&I(a.elements.arrow),re=oe?"y"===w?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(M=null==O?void 0:O[w])?M:0,le=G+ne-se,de=ve(b?m(U,G+te-se-re):U,G,b?g(q,le):q);A[w]=de,D[w]=de-G}if(s){var ce,ue="x"===w?B:N,pe="x"===w?R:L,be=A[T],ge="y"===T?"height":"width",me=be+v[ue],he=be-v[pe],fe=-1!==[B,N].indexOf(f),ye=null!=(ce=null==O?void 0:O[T])?ce:0,Se=fe?me:be-z[ge]-j[ge]-ye+x.altAxis,we=fe?be+z[ge]+j[ge]-ye-x.altAxis:he,Te=b&&fe?function(e,a,i){var t=ve(e,a,i);return t>i?i:t}(Se,be,we):ve(b?Se:me,be,b?we:he);A[T]=Te,D[T]=Te-be}a.modifiersData[t]=D}},requiresIfExists:["offset"]};const ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var a,i=e.state,t=e.name,n=e.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,s=ee(i.placement),l=ie(s),d=[N,L].indexOf(s)>=0?"height":"width";if(o&&r){var c=function(e,a){return me("number"!=typeof(e="function"==typeof e?e(Object.assign({},a.rects,{placement:a.placement})):e)?e:he(e,_))}(n.padding,i),u=C(o),p="y"===l?B:N,b="y"===l?R:L,g=i.rects.reference[d]+i.rects.reference[l]-r[l]-i.rects.popper[d],m=r[l]-i.rects.reference[l],h=I(o),k=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,v=g/2-m/2,f=c[p],y=k-u[d]-c[b],S=k/2-u[d]/2+v,w=ve(f,S,y),T=l;i.modifiersData[t]=((a={})[T]=w,a.centerOffset=w-S,a)}},effect:function(e){var a=e.state,i=e.options.element,t=void 0===i?"[data-popper-arrow]":i;null!=t&&("string"!=typeof t||(t=a.elements.popper.querySelector(t)))&&ue(a.elements.popper,t)&&(a.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Se(e,a,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-a.height-i.y,right:e.right-a.width+i.x,bottom:e.bottom-a.height+i.y,left:e.left-a.width-i.x}}function we(e){return[B,L,R,N].some((function(a){return e[a]>=0}))}var Te=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var a=e.state,i=e.instance,t=e.options,n=t.scroll,o=void 0===n||n,r=t.resize,s=void 0===r||r,l=c(a.elements.popper),d=[].concat(a.scrollParents.reference,a.scrollParents.popper);return o&&d.forEach((function(e){e.addEventListener("scroll",i.update,X)})),s&&l.addEventListener("resize",i.update,X),function(){o&&d.forEach((function(e){e.removeEventListener("scroll",i.update,X)})),s&&l.removeEventListener("resize",i.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var a=e.state,i=e.name;a.modifiersData[i]=te({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var a=e.state,i=e.options,t=i.gpuAcceleration,n=void 0===t||t,o=i.adaptive,r=void 0===o||o,s=i.roundOffsets,l=void 0===s||s,d={placement:ee(a.placement),variation:ae(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:n,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,oe(Object.assign({},d,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:r,roundOffsets:l})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,oe(Object.assign({},d,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var a=e.state;Object.keys(a.elements).forEach((function(e){var i=a.styles[e]||{},t=a.attributes[e]||{},n=a.elements[e];p(n)&&S(n)&&(Object.assign(n.style,i),Object.keys(t).forEach((function(e){var a=t[e];!1===a?n.removeAttribute(e):n.setAttribute(e,!0===a?"":a)})))}))},effect:function(e){var a=e.state,i={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,i.popper),a.styles=i,a.elements.arrow&&Object.assign(a.elements.arrow.style,i.arrow),function(){Object.keys(a.elements).forEach((function(e){var t=a.elements[e],n=a.attributes[e]||{},o=Object.keys(a.styles.hasOwnProperty(e)?a.styles[e]:i[e]).reduce((function(e,a){return e[a]="",e}),{});p(t)&&S(t)&&(Object.assign(t.style,o),Object.keys(n).forEach((function(e){t.removeAttribute(e)})))}))}},requires:["computeStyles"]},re,{name:"flip",enabled:!0,phase:"main",fn:function(e){var a=e.state,i=e.options,t=e.name;if(!a.modifiersData[t]._skip){for(var n=i.mainAxis,o=void 0===n||n,r=i.altAxis,s=void 0===r||r,l=i.fallbackPlacements,d=i.padding,c=i.boundary,u=i.rootBoundary,p=i.altBoundary,b=i.flipVariations,g=void 0===b||b,m=i.allowedAutoPlacements,h=a.options.placement,k=ee(h),v=l||(k===h||!g?[le(h)]:function(e){if(ee(e)===E)return[];var a=le(e);return[ce(e),a,ce(a)]}(h)),f=[h].concat(v).reduce((function(e,i){return e.concat(ee(i)===E?function(e,a){void 0===a&&(a={});var i=a,t=i.placement,n=i.boundary,o=i.rootBoundary,r=i.padding,s=i.flipVariations,l=i.allowedAutoPlacements,d=void 0===l?H:l,c=ae(t),u=c?s?V:V.filter((function(e){return ae(e)===c})):_,p=u.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=u);var b=p.reduce((function(a,i){return a[i]=ke(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[ee(i)],a}),{});return Object.keys(b).sort((function(e,a){return b[e]-b[a]}))}(a,{placement:i,boundary:c,rootBoundary:u,padding:d,flipVariations:g,allowedAutoPlacements:m}):i)}),[]),y=a.rects.reference,S=a.rects.popper,w=new Map,T=!0,A=f[0],z=0;z=0,O=x?"width":"height",D=ke(a,{placement:j,boundary:c,rootBoundary:u,altBoundary:p,padding:d}),M=x?P?L:N:P?R:B;y[O]>S[O]&&(M=le(M));var I=le(M),W=[];if(o&&W.push(D[C]<=0),s&&W.push(D[M]<=0,D[I]<=0),W.every((function(e){return e}))){A=j,T=!1;break}w.set(j,W)}if(T)for(var G=function(e){var a=f.find((function(a){var i=w.get(a);if(i)return i.slice(0,e).every((function(e){return e}))}));if(a)return A=a,"break"},U=g?3:1;U>0;U--){if("break"===G(U))break}a.placement!==A&&(a.modifiersData[t]._skip=!0,a.placement=A,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},fe,ye,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var a=e.state,i=e.name,t=a.rects.reference,n=a.rects.popper,o=a.modifiersData.preventOverflow,r=ke(a,{elementContext:"reference"}),s=ke(a,{altBoundary:!0}),l=Se(r,t),d=Se(s,n,o),c=we(l),u=we(d);a.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:u},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}}]}),Ae=i(12060),ze=i(30838),je=i(72527),Ce=i(82070),Pe=i(87310);function xe(e){return(0,Pe.Ay)("MuiPopper",e)}(0,Ce.A)("MuiPopper",["root"]);var Oe=i(86070);const De=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Me=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ie(e){return"function"==typeof e?e():e}function Be(e){return void 0!==e.nodeType}const Re={},Le=r.forwardRef((function(e,a){var i;const{anchorEl:o,children:d,direction:c,disablePortal:u,modifiers:p,open:b,placement:g,popperOptions:m,popperRef:h,slotProps:k={},slots:v={},TransitionProps:f}=e,y=(0,n.A)(e,De),S=r.useRef(null),w=(0,s.A)(S,a),T=r.useRef(null),A=(0,s.A)(T,h),z=r.useRef(A);(0,l.A)((()=>{z.current=A}),[A]),r.useImperativeHandle(h,(()=>T.current),[]);const j=function(e,a){if("ltr"===a)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(g,c),[C,P]=r.useState(j),[x,O]=r.useState(Ie(o));r.useEffect((()=>{T.current&&T.current.forceUpdate()})),r.useEffect((()=>{o&&O(Ie(o))}),[o]),(0,l.A)((()=>{if(!x||!b)return;let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{P(e.placement)}}];null!=p&&(e=e.concat(p)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const a=Te(x,S.current,(0,t.A)({placement:j},m,{modifiers:e}));return z.current(a),()=>{a.destroy(),z.current(null)}}),[x,u,p,b,m,j]);const D={placement:C};null!==f&&(D.TransitionProps=f);const M=(e=>{const{classes:a}=e;return(0,Ae.A)({root:["root"]},xe,a)})(e),I=null!=(i=v.root)?i:"div",B=(0,ze.A)({elementType:I,externalSlotProps:k.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:M.root});return(0,Oe.jsx)(I,(0,t.A)({},B,{children:"function"==typeof d?d(D):d}))})),Ne=r.forwardRef((function(e,a){const{anchorEl:i,children:o,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:p,open:b,placement:g="bottom",popperOptions:m=Re,popperRef:h,style:k,transition:v=!1,slotProps:f={},slots:y={}}=e,S=(0,n.A)(e,Me),[w,T]=r.useState(!0);if(!u&&!b&&(!v||w))return null;let A;if(s)A=s;else if(i){const e=Ie(i);A=e&&Be(e)?(0,d.A)(e).body:(0,d.A)(null).body}const z=b||!u||v&&!w?void 0:"none",j=v?{in:b,onEnter:()=>{T(!1)},onExited:()=>{T(!0)}}:void 0;return(0,Oe.jsx)(je.A,{disablePortal:c,container:A,children:(0,Oe.jsx)(Le,(0,t.A)({anchorEl:i,direction:l,disablePortal:c,modifiers:p,ref:a,open:v?!w:b,placement:g,popperOptions:m,popperRef:h,slotProps:f,slots:y},S,{style:(0,t.A)({position:"fixed",top:0,left:0,display:z},k),TransitionProps:j,children:o}))})}));var Ee=i(3582),_e=i(67335);const Fe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],We=(0,Ee.Ay)(Ne,{name:"MuiPopper",slot:"Root",overridesResolver:(e,a)=>a.root})({}),Ge=r.forwardRef((function(e,a){var i;const r=(0,o.A)(),s=(0,_e.b)({props:e,name:"MuiPopper"}),{anchorEl:l,component:d,components:c,componentsProps:u,container:p,disablePortal:b,keepMounted:g,modifiers:m,open:h,placement:k,popperOptions:v,popperRef:f,transition:y,slots:S,slotProps:w}=s,T=(0,n.A)(s,Fe),A=null!=(i=null==S?void 0:S.root)?i:null==c?void 0:c.Root,z=(0,t.A)({anchorEl:l,container:p,disablePortal:b,keepMounted:g,modifiers:m,open:h,placement:k,popperOptions:v,popperRef:f,transition:y},T);return(0,Oe.jsx)(We,(0,t.A)({as:d,direction:null==r?void 0:r.direction,slots:{root:A},slotProps:null!=w?w:u},z,{ref:a}))}))},72527:(e,a,i)=>{"use strict";i.d(a,{A:()=>d});var t=i(30758),n=i(8143),o=i(58384),r=i(47226),s=i(99470),l=i(86070);const d=t.forwardRef((function(e,a){const{children:i,container:d,disablePortal:c=!1}=e,[u,p]=t.useState(null),b=(0,o.A)(t.isValidElement(i)?i.ref:null,a);if((0,r.A)((()=>{c||p(function(e){return"function"==typeof e?e():e}(d)||document.body)}),[d,c]),(0,r.A)((()=>{if(u&&!c)return(0,s.A)(a,u),()=>{(0,s.A)(a,null)}}),[a,u,c]),c){if(t.isValidElement(i)){const e={ref:b};return t.cloneElement(i,e)}return(0,l.jsx)(t.Fragment,{children:i})}return(0,l.jsx)(t.Fragment,{children:u?n.createPortal(i,u):u})}))},77524:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(40991);if(575==i.j)var n=i(23302);var o=i(30758);if(575==i.j)var r=i(13526);if(575==i.j)var s=i(12060);if(575==i.j)var l=i(94041);if(575==i.j)var d=i(41139);if(575==i.j)var c=i(47786);if(575==i.j)var u=i(69429);if(575==i.j)var p=i(3808);if(575==i.j)var b=i(7390);var g=i(86070);const m=575==i.j?["actions","children","className","defaultValue","name","onChange","value"]:null,h=575==i.j?o.forwardRef((function(e,a){const{actions:i,children:h,className:k,defaultValue:v,name:f,onChange:y,value:S}=e,w=(0,n.A)(e,m),T=o.useRef(null),A=(e=>{const{classes:a,row:i,error:t}=e,n={root:["root",i&&"row",t&&"error"]};return(0,s.A)(n,d.B,a)})(e),[z,j]=(0,u.A)({controlled:S,default:v,name:"RadioGroup"});o.useImperativeHandle(i,(()=>({focus:()=>{let e=T.current.querySelector("input:not(:disabled):checked");e||(e=T.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const C=(0,c.A)(a,T),P=(0,b.A)(f),x=o.useMemo((()=>({name:P,onChange(e){j(e.target.value),y&&y(e,e.target.value)},value:z})),[P,y,j,z]);return(0,g.jsx)(p.A.Provider,{value:x,children:(0,g.jsx)(l.A,(0,t.A)({role:"radiogroup",ref:C,className:(0,r.A)(A.root,k)},w,{children:h}))})})):null,k=575==i.j?h:null},3808:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758);const n=575==i.j?t.createContext(void 0):null;const o=575==i.j?n:null},41139:(e,a,i)=>{"use strict";i.d(a,{B:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiRadioGroup",e)}(0,t.A)("MuiRadioGroup",["root","row","error"])},36716:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758);if(575==i.j)var n=i(3808);function o(){return t.useContext(n.A)}},9104:(e,a,i)=>{"use strict";i.d(a,{A:()=>M});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(80253),c=i(67335),u=i(96631),p=i(86070);const b=(0,u.A)((0,p.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),g=(0,u.A)((0,p.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var m=i(3582),h=i(96896);const k=(0,m.Ay)("span",{shouldForwardProp:h.A})({position:"relative",display:"flex"}),v=(0,m.Ay)(b)({transform:"scale(1)"}),f=(0,m.Ay)(g)((({theme:e,ownerState:a})=>(0,n.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},a.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));const y=function(e){const{checked:a=!1,classes:i={},fontSize:t}=e,o=(0,n.A)({},e,{checked:a});return(0,p.jsxs)(k,{className:i.root,ownerState:o,children:[(0,p.jsx)(v,{fontSize:t,className:i.background,ownerState:o}),(0,p.jsx)(f,{fontSize:t,className:i.dot,ownerState:o})]})};var S=i(40996),w=i(81752),T=i(36716),A=i(82070),z=i(87310);function j(e){return(0,z.Ay)("MuiRadio",e)}const C=(0,A.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),P=["checked","checkedIcon","color","icon","name","onChange","size","className"],x=(0,m.Ay)(d.A,{shouldForwardProp:e=>(0,h.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"medium"!==i.size&&a[`size${(0,S.A)(i.size)}`],a[`color${(0,S.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===a.color?e.vars.palette.action.activeChannel:e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)("default"===a.color?e.palette.action.active:e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&{[`&.${C.checked}`]:{color:(e.vars||e).palette[a.color].main}},{[`&.${C.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const O=(0,p.jsx)(y,{checked:!0}),D=(0,p.jsx)(y,{}),M=o.forwardRef((function(e,a){var i,l;const d=(0,c.b)({props:e,name:"MuiRadio"}),{checked:u,checkedIcon:b=O,color:g="primary",icon:m=D,name:h,onChange:k,size:v="medium",className:f}=d,y=(0,t.A)(d,P),A=(0,n.A)({},d,{color:g,size:v}),z=(e=>{const{classes:a,color:i,size:t}=e,o={root:["root",`color${(0,S.A)(i)}`,"medium"!==t&&`size${(0,S.A)(t)}`]};return(0,n.A)({},a,(0,s.A)(o,j,a))})(A),C=(0,T.A)();let M=u;const I=(0,w.A)(k,C&&C.onChange);let B=h;return C&&(void 0===M&&(M=function(e,a){return"object"==typeof a&&null!==a?e===a:String(e)===String(a)}(C.value,d.value)),void 0===B&&(B=C.name)),(0,p.jsx)(x,(0,n.A)({type:"radio",icon:o.cloneElement(m,{fontSize:null!=(i=D.props.fontSize)?i:v}),checkedIcon:o.cloneElement(b,{fontSize:null!=(l=O.props.fontSize)?l:v}),ownerState:A,classes:z,name:B,checked:M,onChange:I,ref:a,className:(0,r.A)(z.root,f)},y))}))},95605:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),!/^(575|61)$/.test(i.j))var t=i(40991);if(!/^(575|61)$/.test(i.j))var n=i(23302);var o=i(30758);if(!/^(575|61)$/.test(i.j))var r=i(8586);if(!/^(575|61)$/.test(i.j))var s=i(26577);if(!/^(575|61)$/.test(i.j))var l=i(47786);if(!/^(575|61)$/.test(i.j))var d=i(77329);if(!/^(575|61)$/.test(i.j))var c=i(56264);if(!/^(575|61)$/.test(i.j))var u=i(3299);var p=i(86070);const b=/^(575|61)$/.test(i.j)?null:["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function g(e,a,i){var t;const n=function(e,a,i){const t=a.getBoundingClientRect(),n=i&&i.getBoundingClientRect(),o=(0,u.A)(a);let r;if(a.fakeTransform)r=a.fakeTransform;else{const e=o.getComputedStyle(a);r=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(r&&"none"!==r&&"string"==typeof r){const e=r.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?n?`translateX(${n.right+s-t.left}px)`:`translateX(${o.innerWidth+s-t.left}px)`:"right"===e?n?`translateX(-${t.right-n.left-s}px)`:`translateX(-${t.left+t.width-s}px)`:"up"===e?n?`translateY(${n.bottom+l-t.top}px)`:`translateY(${o.innerHeight+l-t.top}px)`:n?`translateY(-${t.top-n.top+t.height-l}px)`:`translateY(-${t.top+t.height-l}px)`}(e,a,"function"==typeof(t=i)?t():t);n&&(a.style.webkitTransform=n,a.style.transform=n)}const m=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const i=(0,d.A)(),m={enter:i.transitions.easing.easeOut,exit:i.transitions.easing.sharp},h={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:k,appear:v=!0,children:f,container:y,direction:S="down",easing:w=m,in:T,onEnter:A,onEntered:z,onEntering:j,onExit:C,onExited:P,onExiting:x,style:O,timeout:D=h,TransitionComponent:M=r.Ay}=e,I=(0,n.A)(e,b),B=o.useRef(null),R=(0,l.A)(f.ref,B,a),L=e=>a=>{e&&(void 0===a?e(B.current):e(B.current,a))},N=L(((e,a)=>{g(S,e,y),(0,c.q)(e),A&&A(e,a)})),E=L(((e,a)=>{const n=(0,c.c)({timeout:D,style:O,easing:w},{mode:"enter"});e.style.webkitTransition=i.transitions.create("-webkit-transform",(0,t.A)({},n)),e.style.transition=i.transitions.create("transform",(0,t.A)({},n)),e.style.webkitTransform="none",e.style.transform="none",j&&j(e,a)})),_=L(z),F=L(x),W=L((e=>{const a=(0,c.c)({timeout:D,style:O,easing:w},{mode:"exit"});e.style.webkitTransition=i.transitions.create("-webkit-transform",a),e.style.transition=i.transitions.create("transform",a),g(S,e,y),C&&C(e)})),G=L((e=>{e.style.webkitTransition="",e.style.transition="",P&&P(e)})),U=o.useCallback((()=>{B.current&&g(S,B.current,y)}),[S,y]);return o.useEffect((()=>{if(T||"down"===S||"right"===S)return;const e=(0,s.A)((()=>{B.current&&g(S,B.current,y)})),a=(0,u.A)(B.current);return a.addEventListener("resize",e),()=>{e.clear(),a.removeEventListener("resize",e)}}),[S,T,y]),o.useEffect((()=>{T||U()}),[T,U]),(0,p.jsx)(M,(0,t.A)({nodeRef:B,onEnter:N,onEntered:_,onEntering:E,onExit:W,onExited:G,onExiting:F,addEndListener:e=>{k&&k(B.current,e)},appear:v,in:T,timeout:D},I,{children:(e,a)=>o.cloneElement(f,(0,t.A)({ref:R,style:(0,t.A)({visibility:"exited"!==e||T?void 0:"hidden"},O,f.props.style)},a))}))})),h=/^(575|61)$/.test(i.j)?null:m},57333:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>O});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(9073),c=i(30838),u=i(69454),p=i(57360),b=i(3582),g=i(67335),m=i(87664),h=i(45253),k=i(40996),v=i(729),f=i(86070);const y=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function S(e){return e}const w=(0,b.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`color${(0,k.A)(i.color)}`],"medium"!==i.size&&a[`size${(0,k.A)(i.size)}`],i.marked&&a.marked,"vertical"===i.orientation&&a.vertical,"inverted"===i.track&&a.trackInverted,!1===i.track&&a.trackFalse]}})((({theme:e})=>{var a;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${v.A.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${v.A.dragging}`]:{[`& .${v.A.thumb}, & .${v.A.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}})),T=(0,b.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,a)=>a.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),A=(0,b.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,a)=>a.track})((({theme:e})=>{var a;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a,track:"inverted"},style:(0,n.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${a}Track`],borderColor:e.vars.palette.Slider[`${a}Track`]}:(0,n.A)({backgroundColor:(0,l.a)(e.palette[a].main,.62),borderColor:(0,l.a)(e.palette[a].main,.62)},e.applyStyles("dark",{backgroundColor:(0,l.e$)(e.palette[a].main,.5)}),e.applyStyles("dark",{borderColor:(0,l.e$)(e.palette[a].main,.5)})))})))]}})),z=(0,b.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.thumb,a[`thumbColor${(0,k.A)(i.color)}`],"medium"!==i.size&&a[`thumbSize${(0,k.A)(i.size)}`]]}})((({theme:e})=>{var a;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${v.A.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a},style:{[`&:hover, &.${v.A.focusVisible}`]:(0,n.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,l.X4)(e.palette[a].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${v.A.active}`]:(0,n.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,l.X4)(e.palette[a].main,.16)}`})}})))]}})),j=(0,b.Ay)((function(e){const{children:a,className:i,value:t}=e,n=(e=>{const{open:a}=e;return{offset:(0,r.A)(a&&v.A.valueLabelOpen),circle:v.A.valueLabelCircle,label:v.A.valueLabelLabel}})(e);return a?o.cloneElement(a,{className:(0,r.A)(a.props.className)},(0,f.jsxs)(o.Fragment,{children:[a.props.children,(0,f.jsx)("span",{className:(0,r.A)(n.offset,i),"aria-hidden":!0,children:(0,f.jsx)("span",{className:n.circle,children:(0,f.jsx)("span",{className:n.label,children:t})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,a)=>a.valueLabel})((({theme:e})=>(0,n.A)({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${v.A.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${v.A.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),C=(0,b.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,m.A)(e)&&"markActive"!==e,overridesResolver:(e,a)=>{const{markActive:i}=e;return[a.mark,i&&a.markActive]}})((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),P=(0,b.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,m.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,a)=>a.markLabel})((({theme:e})=>(0,n.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),x=({children:e})=>e,O=o.forwardRef((function(e,a){var i,l,b,m,O,D,M,I,B,R,L,N,E,_,F,W,G,U,q,K,V,H,$,J;const Q=(0,g.b)({props:e,name:"MuiSlider"}),Z=(0,d.I)(),{"aria-label":Y,"aria-valuetext":X,"aria-labelledby":ee,component:ae="span",components:ie={},componentsProps:te={},color:ne="primary",classes:oe,className:re,disableSwap:se=!1,disabled:le=!1,getAriaLabel:de,getAriaValueText:ce,marks:ue=!1,max:pe=100,min:be=0,orientation:ge="horizontal",shiftStep:me=10,size:he="medium",step:ke=1,scale:ve=S,slotProps:fe,slots:ye,track:Se="normal",valueLabelDisplay:we="off",valueLabelFormat:Te=S}=Q,Ae=(0,t.A)(Q,y),ze=(0,n.A)({},Q,{isRtl:Z,max:pe,min:be,classes:oe,disabled:le,disableSwap:se,orientation:ge,marks:ue,color:ne,size:he,step:ke,shiftStep:me,scale:ve,track:Se,valueLabelDisplay:we,valueLabelFormat:Te}),{axisProps:je,getRootProps:Ce,getHiddenInputProps:Pe,getThumbProps:xe,open:Oe,active:De,axis:Me,focusedThumbIndex:Ie,range:Be,dragging:Re,marks:Le,values:Ne,trackOffset:Ee,trackLeap:_e,getThumbStyle:Fe}=(0,p.PF)((0,n.A)({},ze,{rootRef:a}));ze.marked=Le.length>0&&Le.some((e=>e.label)),ze.dragging=Re,ze.focusedThumbIndex=Ie;const We=(e=>{const{disabled:a,dragging:i,marked:t,orientation:n,track:o,classes:r,color:l,size:d}=e,c={root:["root",a&&"disabled",i&&"dragging",t&&"marked","vertical"===n&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",l&&`color${(0,k.A)(l)}`,d&&`size${(0,k.A)(d)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",a&&"disabled",d&&`thumbSize${(0,k.A)(d)}`,l&&`thumbColor${(0,k.A)(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,s.A)(c,v.W,r)})(ze),Ge=null!=(i=null!=(l=null==ye?void 0:ye.root)?l:ie.Root)?i:w,Ue=null!=(b=null!=(m=null==ye?void 0:ye.rail)?m:ie.Rail)?b:T,qe=null!=(O=null!=(D=null==ye?void 0:ye.track)?D:ie.Track)?O:A,Ke=null!=(M=null!=(I=null==ye?void 0:ye.thumb)?I:ie.Thumb)?M:z,Ve=null!=(B=null!=(R=null==ye?void 0:ye.valueLabel)?R:ie.ValueLabel)?B:j,He=null!=(L=null!=(N=null==ye?void 0:ye.mark)?N:ie.Mark)?L:C,$e=null!=(E=null!=(_=null==ye?void 0:ye.markLabel)?_:ie.MarkLabel)?E:P,Je=null!=(F=null!=(W=null==ye?void 0:ye.input)?W:ie.Input)?F:"input",Qe=null!=(G=null==fe?void 0:fe.root)?G:te.root,Ze=null!=(U=null==fe?void 0:fe.rail)?U:te.rail,Ye=null!=(q=null==fe?void 0:fe.track)?q:te.track,Xe=null!=(K=null==fe?void 0:fe.thumb)?K:te.thumb,ea=null!=(V=null==fe?void 0:fe.valueLabel)?V:te.valueLabel,aa=null!=(H=null==fe?void 0:fe.mark)?H:te.mark,ia=null!=($=null==fe?void 0:fe.markLabel)?$:te.markLabel,ta=null!=(J=null==fe?void 0:fe.input)?J:te.input,na=(0,c.A)({elementType:Ge,getSlotProps:Ce,externalSlotProps:Qe,externalForwardedProps:Ae,additionalProps:(0,n.A)({},(0,h.A)(Ge)&&{as:ae}),ownerState:(0,n.A)({},ze,null==Qe?void 0:Qe.ownerState),className:[We.root,re]}),oa=(0,c.A)({elementType:Ue,externalSlotProps:Ze,ownerState:ze,className:We.rail}),ra=(0,c.A)({elementType:qe,externalSlotProps:Ye,additionalProps:{style:(0,n.A)({},je[Me].offset(Ee),je[Me].leap(_e))},ownerState:(0,n.A)({},ze,null==Ye?void 0:Ye.ownerState),className:We.track}),sa=(0,c.A)({elementType:Ke,getSlotProps:xe,externalSlotProps:Xe,ownerState:(0,n.A)({},ze,null==Xe?void 0:Xe.ownerState),className:We.thumb}),la=(0,c.A)({elementType:Ve,externalSlotProps:ea,ownerState:(0,n.A)({},ze,null==ea?void 0:ea.ownerState),className:We.valueLabel}),da=(0,c.A)({elementType:He,externalSlotProps:aa,ownerState:ze,className:We.mark}),ca=(0,c.A)({elementType:$e,externalSlotProps:ia,ownerState:ze,className:We.markLabel}),ua=(0,c.A)({elementType:Je,getSlotProps:Pe,externalSlotProps:ta,ownerState:ze});return(0,f.jsxs)(Ge,(0,n.A)({},na,{children:[(0,f.jsx)(Ue,(0,n.A)({},oa)),(0,f.jsx)(qe,(0,n.A)({},ra)),Le.filter((e=>e.value>=be&&e.value<=pe)).map(((e,a)=>{const i=(0,p.w5)(e.value,be,pe),t=je[Me].offset(i);let s;return s=!1===Se?-1!==Ne.indexOf(e.value):"normal"===Se&&(Be?e.value>=Ne[0]&&e.value<=Ne[Ne.length-1]:e.value<=Ne[0])||"inverted"===Se&&(Be?e.value<=Ne[0]||e.value>=Ne[Ne.length-1]:e.value>=Ne[0]),(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)(He,(0,n.A)({"data-index":a},da,!(0,u.A)(He)&&{markActive:s},{style:(0,n.A)({},t,da.style),className:(0,r.A)(da.className,s&&We.markActive)})),null!=e.label?(0,f.jsx)($e,(0,n.A)({"aria-hidden":!0,"data-index":a},ca,!(0,u.A)($e)&&{markLabelActive:s},{style:(0,n.A)({},t,ca.style),className:(0,r.A)(We.markLabel,ca.className,s&&We.markLabelActive),children:e.label})):null]},a)})),Ne.map(((e,a)=>{const i=(0,p.w5)(e,be,pe),t=je[Me].offset(i),o="off"===we?x:Ve;return(0,f.jsx)(o,(0,n.A)({},!(0,u.A)(o)&&{valueLabelFormat:Te,valueLabelDisplay:we,value:"function"==typeof Te?Te(ve(e),a):Te,index:a,open:Oe===a||De===a||"on"===we,disabled:le},la,{children:(0,f.jsx)(Ke,(0,n.A)({"data-index":a},sa,{className:(0,r.A)(We.thumb,sa.className,De===a&&We.active,Ie===a&&We.focusVisible),style:(0,n.A)({},t,Fe(a),sa.style),children:(0,f.jsx)(Je,(0,n.A)({"data-index":a,"aria-label":de?de(a):Y,"aria-valuenow":ve(e),"aria-labelledby":ee,"aria-valuetext":ce?ce(ve(e),a):X,value:Ne[a]},ua))}))}),a)}))]}))}))},729:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,W:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiSlider",e)}const r=(0,t.A)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),s=61!=i.j?r:null},57360:(e,a,i)=>{"use strict";if(i.d(a,{PF:()=>P,w5:()=>f}),61!=i.j)var t=i(40991);var n=i(30758);if(61!=i.j)var o=i(30798);if(61!=i.j)var r=i(54294);if(61!=i.j)var s=i(42334);if(61!=i.j)var l=i(12410);if(61!=i.j)var d=i(58384);if(61!=i.j)var c=i(47226);if(61!=i.j)var u=i(25920);if(61!=i.j)var p=i(96222);if(61!=i.j)var b=i(90764);if(61!=i.j)var g=i(53370);const m=2;function h(e,a){return e-a}function k(e,a){var i;const{index:t}=null!=(i=e.reduce(((e,i,t)=>{const n=Math.abs(a-i);return null===e||n({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},z=e=>e;let j;function C(){return void 0===j&&(j="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),j}function P(e){const{"aria-labelledby":a,defaultValue:i,disabled:g=!1,disableSwap:j=!1,isRtl:P=!1,marks:x=!1,max:O=100,min:D=0,name:M,onChange:I,onChangeCommitted:B,orientation:R="horizontal",rootRef:L,scale:N=z,step:E=1,shiftStep:_=10,tabIndex:F,value:W}=e,G=n.useRef(),[U,q]=n.useState(-1),[K,V]=n.useState(-1),[H,$]=n.useState(!1),J=n.useRef(0),[Q,Z]=(0,r.A)({controlled:W,default:null!=i?i:D,name:"Slider"}),Y=I&&((e,a,i)=>{const t=e.nativeEvent||e,n=new t.constructor(t.type,t);Object.defineProperty(n,"target",{writable:!0,value:{value:a,name:M}}),I(n,a,i)}),X=Array.isArray(Q);let ee=X?Q.slice().sort(h):[Q];ee=ee.map((e=>null==e?D:(0,s.A)(e,D,O)));const ae=!0===x&&null!==E?[...Array(Math.floor((O-D)/E)+1)].map(((e,a)=>({value:D+E*a}))):x||[],ie=ae.map((e=>e.value)),{isFocusVisibleRef:te,onBlur:ne,onFocus:oe,ref:re}=(0,l.A)(),[se,le]=n.useState(-1),de=n.useRef(),ce=(0,d.A)(re,de),ue=(0,d.A)(L,ce),pe=e=>a=>{var i;const t=Number(a.currentTarget.getAttribute("data-index"));oe(a),!0===te.current&&le(t),V(t),null==e||null==(i=e.onFocus)||i.call(e,a)},be=e=>a=>{var i;ne(a),!1===te.current&&le(-1),V(-1),null==e||null==(i=e.onBlur)||i.call(e,a)},ge=(e,a)=>{const i=Number(e.currentTarget.getAttribute("data-index")),t=ee[i],n=ie.indexOf(t);let o=a;if(ae&&null==E){const e=ie[ie.length-1];o=o>e?e:oa=>{var i;if(null!==E){const e=Number(a.currentTarget.getAttribute("data-index")),i=ee[e];let t=null;("ArrowLeft"===a.key||"ArrowDown"===a.key)&&a.shiftKey||"PageDown"===a.key?t=Math.max(i-_,D):(("ArrowRight"===a.key||"ArrowUp"===a.key)&&a.shiftKey||"PageUp"===a.key)&&(t=Math.min(i+_,O)),null!==t&&(ge(a,t),a.preventDefault())}null==e||null==(i=e.onKeyDown)||i.call(e,a)};(0,c.A)((()=>{var e;g&&de.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[g]),g&&-1!==U&&q(-1),g&&-1!==se&&le(-1);const he=n.useRef();let ke=R;P&&"horizontal"===R&&(ke+="-reverse");const ve=({finger:e,move:a=!1})=>{const{current:i}=de,{width:t,height:n,bottom:o,left:r}=i.getBoundingClientRect();let l,d;if(l=0===ke.indexOf("vertical")?(o-e.y)/n:(e.x-r)/t,-1!==ke.indexOf("-reverse")&&(l=1-l),d=function(e,a,i){return(i-a)*e+a}(l,D,O),E)d=y(d,E,D);else{const e=k(ie,d);d=ie[e]}d=(0,s.A)(d,D,O);let c=0;if(X){c=a?he.current:k(ee,d),j&&(d=(0,s.A)(d,ee[c-1]||-1/0,ee[c+1]||1/0));const e=d;d=S({values:ee,newValue:d,index:c}),j&&a||(c=d.indexOf(e),he.current=c)}return{newValue:d,activeIndex:c}},fe=(0,u.A)((e=>{const a=v(e,G);if(!a)return;if(J.current+=1,"mousemove"===e.type&&0===e.buttons)return void ye(e);const{newValue:i,activeIndex:t}=ve({finger:a,move:!0});w({sliderRef:de,activeIndex:t,setActive:q}),Z(i),!H&&J.current>m&&$(!0),Y&&!T(i,Q)&&Y(e,i,t)})),ye=(0,u.A)((e=>{const a=v(e,G);if($(!1),!a)return;const{newValue:i}=ve({finger:a,move:!0});q(-1),"touchend"===e.type&&V(-1),B&&B(e,i),G.current=void 0,we()})),Se=(0,u.A)((e=>{if(g)return;C()||e.preventDefault();const a=e.changedTouches[0];null!=a&&(G.current=a.identifier);const i=v(e,G);if(!1!==i){const{newValue:a,activeIndex:t}=ve({finger:i});w({sliderRef:de,activeIndex:t,setActive:q}),Z(a),Y&&!T(a,Q)&&Y(e,a,t)}J.current=0;const t=(0,o.A)(de.current);t.addEventListener("touchmove",fe,{passive:!0}),t.addEventListener("touchend",ye,{passive:!0})})),we=n.useCallback((()=>{const e=(0,o.A)(de.current);e.removeEventListener("mousemove",fe),e.removeEventListener("mouseup",ye),e.removeEventListener("touchmove",fe),e.removeEventListener("touchend",ye)}),[ye,fe]);n.useEffect((()=>{const{current:e}=de;return e.addEventListener("touchstart",Se,{passive:C()}),()=>{e.removeEventListener("touchstart",Se),we()}}),[we,Se]),n.useEffect((()=>{g&&we()}),[g,we]);const Te=f(X?ee[0]:D,D,O),Ae=f(ee[ee.length-1],D,O)-Te,ze=e=>a=>{var i;null==(i=e.onMouseLeave)||i.call(e,a),V(-1)};return{active:U,axis:ke,axisProps:A,dragging:H,focusedThumbIndex:se,getHiddenInputProps:(i={})=>{var n;const o=(0,b.A)(i),r={onChange:(s=o||{},e=>{var a;null==(a=s.onChange)||a.call(s,e),ge(e,e.target.valueAsNumber)}),onFocus:pe(o||{}),onBlur:be(o||{}),onKeyDown:me(o||{})};var s;const l=(0,t.A)({},o,r);return(0,t.A)({tabIndex:F,"aria-labelledby":a,"aria-orientation":R,"aria-valuemax":N(O),"aria-valuemin":N(D),name:M,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(n=e.step)?n:void 0,disabled:g},i,l,{style:(0,t.A)({},p.A,{direction:P?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const a=(0,b.A)(e),i={onMouseDown:(n=a||{},e=>{var a;if(null==(a=n.onMouseDown)||a.call(n,e),g)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const i=v(e,G);if(!1!==i){const{newValue:a,activeIndex:t}=ve({finger:i});w({sliderRef:de,activeIndex:t,setActive:q}),Z(a),Y&&!T(a,Q)&&Y(e,a,t)}J.current=0;const t=(0,o.A)(de.current);t.addEventListener("mousemove",fe,{passive:!0}),t.addEventListener("mouseup",ye)})};var n;const r=(0,t.A)({},a,i);return(0,t.A)({},e,{ref:ue},r)},getThumbProps:(e={})=>{const a=(0,b.A)(e),i={onMouseOver:(n=a||{},e=>{var a;null==(a=n.onMouseOver)||a.call(n,e);const i=Number(e.currentTarget.getAttribute("data-index"));V(i)}),onMouseLeave:ze(a||{})};var n;return(0,t.A)({},e,a,i)},marks:ae,open:K,range:X,rootRef:ue,trackLeap:Ae,trackOffset:Te,values:ee,getThumbStyle:e=>({pointerEvents:-1!==U&&U!==e?"none":void 0})}}},98054:(e,a,i)=>{"use strict";i.d(a,{A:()=>j});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(98638),l=i(87310),d=i(12060),c=i(86769),u=i(23141),p=i(13376),b=i(42046),g=i(81385),m=i(66159),h=i(86070);const k=["component","direction","spacing","divider","children","className","useFlexGap"],v=(0,b.A)(),f=(0,c.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,a)=>a.root});function y(e){return(0,u.A)({props:e,name:"MuiStack",defaultTheme:v})}function S(e,a){const i=o.Children.toArray(e).filter(Boolean);return i.reduce(((e,t,n)=>(e.push(t),n{let i=(0,n.A)({display:"flex",flexDirection:"column"},(0,g.NI)({theme:a},(0,g.kW)({values:e.direction,breakpoints:a.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const t=(0,m.LX)(a),n=Object.keys(a.breakpoints.values).reduce(((a,i)=>(("object"==typeof e.spacing&&null!=e.spacing[i]||"object"==typeof e.direction&&null!=e.direction[i])&&(a[i]=!0),a)),{}),o=(0,g.kW)({values:e.direction,base:n}),r=(0,g.kW)({values:e.spacing,base:n});"object"==typeof o&&Object.keys(o).forEach(((e,a,i)=>{if(!o[e]){const t=a>0?o[i[a-1]]:"column";o[e]=t}}));const l=(a,i)=>{return e.useFlexGap?{gap:(0,m._W)(t,a)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${n=i?o[i]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[n]}`]:(0,m._W)(t,a)}};var n};i=(0,s.A)(i,(0,g.NI)({theme:a},r,l))}return i=(0,g.iZ)(a.breakpoints,i),i};var T=i(3582),A=i(67335);const z=function(e={}){const{createStyledComponent:a=f,useThemeProps:i=y,componentName:s="MuiStack"}=e,c=a(w),u=o.forwardRef((function(e,a){const o=i(e),u=(0,p.A)(o),{component:b="div",direction:g="column",spacing:m=0,divider:v,children:f,className:y,useFlexGap:w=!1}=u,T=(0,t.A)(u,k),A={direction:g,spacing:m,useFlexGap:w},z=(0,d.A)({root:["root"]},(e=>(0,l.Ay)(s,e)),{});return(0,h.jsx)(c,(0,n.A)({as:b,ownerState:A,ref:a,className:(0,r.A)(z.root,y)},T,{children:v?S(f,v):f}))}));return u}({createStyledComponent:(0,T.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,a)=>a.root}),useThemeProps:e=>(0,A.b)({props:e,name:"MuiStack"})}),j=z},50123:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(12060),l=i(40996),d=i(67335),c=i(3582),u=i(82070),p=i(87310);function b(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,u.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var g=i(86070);const m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,c.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"inherit"!==i.color&&a[`color${(0,l.A)(i.color)}`],a[`fontSize${(0,l.A)(i.fontSize)}`]]}})((({theme:e,ownerState:a})=>{var i,t,n,o,r,s,l,d,c,u,p,b,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:a.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(i=e.transitions)||null==(t=i.create)?void 0:t.call(i,"fill",{duration:null==(n=e.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:{inherit:"inherit",small:(null==(o=e.typography)||null==(r=o.pxToRem)?void 0:r.call(o,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(d=e.typography)||null==(c=d.pxToRem)?void 0:c.call(d,35))||"2.1875rem"}[a.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[a.color])?void 0:p.main)?u:{action:null==(b=(e.vars||e).palette)||null==(b=b.action)?void 0:b.active,disabled:null==(g=(e.vars||e).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0}[a.color]}})),k=o.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiSvgIcon"}),{children:c,className:u,color:p="inherit",component:k="svg",fontSize:v="medium",htmlColor:f,inheritViewBox:y=!1,titleAccess:S,viewBox:w="0 0 24 24"}=i,T=(0,n.A)(i,m),A=o.isValidElement(c)&&"svg"===c.type,z=(0,t.A)({},i,{color:p,component:k,fontSize:v,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:w,hasSvgAsChild:A}),j={};y||(j.viewBox=w);const C=(e=>{const{color:a,fontSize:i,classes:t}=e,n={root:["root","inherit"!==a&&`color${(0,l.A)(a)}`,`fontSize${(0,l.A)(i)}`]};return(0,s.A)(n,b,t)})(z);return(0,g.jsxs)(h,(0,t.A)({as:k,className:(0,r.A)(C.root,u),focusable:"false",color:f,"aria-hidden":!S||void 0,role:S?"img":void 0,ref:a},j,T,A&&c.props,{ownerState:z,children:[A?c.props.children:c,S?(0,g.jsx)("title",{children:S}):null]}))}));k.muiName="SvgIcon";const v=k},55143:(e,a,i)=>{"use strict";i.d(a,{A:()=>T});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(89692),d=i(40996),c=i(80253),u=i(3582),p=i(67335),b=i(82070),g=i(87310);function m(e){return(0,g.Ay)("MuiSwitch",e)}const h=(0,b.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var k=i(86070);const v=["className","color","edge","size","sx"],f=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.edge&&a[`edge${(0,d.A)(i.edge)}`],a[`size${(0,d.A)(i.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${h.thumb}`]:{width:16,height:16},[`& .${h.switchBase}`]:{padding:4,[`&.${h.checked}`]:{transform:"translateX(16px)"}}}}]}),y=(0,u.Ay)(c.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.switchBase,{[`& .${h.input}`]:a.input},"default"!==i.color&&a[`color${(0,d.A)(i.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${h.checked}`]:{transform:"translateX(20px)"},[`&.${h.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${h.checked} + .${h.track}`]:{opacity:.5},[`&.${h.disabled} + .${h.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${h.input}`]:{left:"-100%",width:"300%"}})),(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([a])=>({props:{color:a},style:{[`&.${h.checked}`]:{color:(e.vars||e).palette[a].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[a].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${a}DisabledColor`]:`${"light"===e.palette.mode?(0,l.a)(e.palette[a].main,.62):(0,l.e$)(e.palette[a].main,.55)}`}},[`&.${h.checked} + .${h.track}`]:{backgroundColor:(e.vars||e).palette[a].main}}})))]}))),S=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,a)=>a.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),w=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,a)=>a.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),T=o.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiSwitch"}),{className:o,color:l="primary",edge:c=!1,size:u="medium",sx:b}=i,g=(0,t.A)(i,v),h=(0,n.A)({},i,{color:l,edge:c,size:u}),T=(e=>{const{classes:a,edge:i,size:t,color:o,checked:r,disabled:l}=e,c={root:["root",i&&`edge${(0,d.A)(i)}`,`size${(0,d.A)(t)}`],switchBase:["switchBase",`color${(0,d.A)(o)}`,r&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,s.A)(c,m,a);return(0,n.A)({},a,u)})(h),A=(0,k.jsx)(w,{className:T.thumb,ownerState:h});return(0,k.jsxs)(f,{className:(0,r.A)(T.root,o),sx:b,ownerState:h,children:[(0,k.jsx)(y,(0,n.A)({type:"checkbox",icon:A,checkedIcon:A,ref:a,ownerState:h},g,{classes:(0,n.A)({},T,{root:T.switchBase})})),(0,k.jsx)(S,{className:T.track,ownerState:h})]})}))},295:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(9073),d=i(30838),c=i(80587),u=i(1234),p=i(54463),b=i(67335),g=i(3582),m=i(82070),h=i(87310);function k(e){return(0,h.Ay)("MuiTabScrollButton",e)}const v=(0,m.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);var f=i(86070);const y=["className","slots","slotProps","direction","orientation","disabled"],S=(0,g.Ay)(p.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.orientation&&a[i.orientation]]}})((({ownerState:e})=>(0,n.A)({width:40,flexShrink:0,opacity:.8,[`&.${v.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),w=o.forwardRef((function(e,a){var i,o;const p=(0,b.b)({props:e,name:"MuiTabScrollButton"}),{className:g,slots:m={},slotProps:h={},direction:v}=p,w=(0,t.A)(p,y),T=(0,l.I)(),A=(0,n.A)({isRtl:T},p),z=(e=>{const{classes:a,orientation:i,disabled:t}=e,n={root:["root",i,t&&"disabled"]};return(0,s.A)(n,k,a)})(A),j=null!=(i=m.StartScrollButtonIcon)?i:c.A,C=null!=(o=m.EndScrollButtonIcon)?o:u.A,P=(0,d.A)({elementType:j,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:A}),x=(0,d.A)({elementType:C,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:A});return(0,f.jsx)(S,(0,n.A)({component:"div",className:(0,r.A)(z.root,g),ref:a,role:null,ownerState:A,tabIndex:null},w,{children:"left"===v?(0,f.jsx)(j,(0,n.A)({},P)):(0,f.jsx)(C,(0,n.A)({},x))}))}))},73989:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(12060),l=i(54463),d=i(40996),c=i(67335),u=i(3582),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiTab",e)}const m=(0,p.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var h=i(86070);const k=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],v=(0,u.Ay)(l.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.label&&i.icon&&a.labelIcon,a[`textColor${(0,d.A)(i.textColor)}`],i.fullWidth&&a.fullWidth,i.wrapped&&a.wrapped,{[`& .${m.iconWrapper}`]:a.iconWrapper}]}})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},a.label&&{flexDirection:"top"===a.iconPosition||"bottom"===a.iconPosition?"column":"row"},{lineHeight:1.25},a.icon&&a.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${m.iconWrapper}`]:(0,n.A)({},"top"===a.iconPosition&&{marginBottom:6},"bottom"===a.iconPosition&&{marginTop:6},"start"===a.iconPosition&&{marginRight:e.spacing(1)},"end"===a.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===a.textColor&&{color:"inherit",opacity:.6,[`&.${m.selected}`]:{opacity:1},[`&.${m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===a.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===a.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},a.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},a.wrapped&&{fontSize:e.typography.pxToRem(12)}))),f=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTab"}),{className:l,disabled:u=!1,disableFocusRipple:p=!1,fullWidth:b,icon:m,iconPosition:f="top",indicator:y,label:S,onChange:w,onClick:T,onFocus:A,selected:z,selectionFollowsFocus:j,textColor:C="inherit",value:P,wrapped:x=!1}=i,O=(0,t.A)(i,k),D=(0,n.A)({},i,{disabled:u,disableFocusRipple:p,selected:z,icon:!!m,iconPosition:f,label:!!S,fullWidth:b,textColor:C,wrapped:x}),M=(e=>{const{classes:a,textColor:i,fullWidth:t,wrapped:n,icon:o,label:r,selected:l,disabled:c}=e,u={root:["root",o&&r&&"labelIcon",`textColor${(0,d.A)(i)}`,t&&"fullWidth",n&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.A)(u,g,a)})(D),I=m&&S&&o.isValidElement(m)?o.cloneElement(m,{className:(0,r.A)(M.iconWrapper,m.props.className)}):m;return(0,h.jsxs)(v,(0,n.A)({focusRipple:!p,className:(0,r.A)(M.root,l),ref:a,role:"tab","aria-selected":z,disabled:u,onClick:e=>{!z&&w&&w(e,P),T&&T(e)},onFocus:e=>{j&&!z&&w&&w(e,P),A&&A(e)},ownerState:D,tabIndex:z?0:-1},O,{children:["top"===f||"start"===f?(0,h.jsxs)(o.Fragment,{children:[I,S]}):(0,h.jsxs)(o.Fragment,{children:[S,I]}),y]}))}))},70682:(e,a,i)=>{"use strict";i.d(a,{A:()=>E});var t=i(23302),n=i(40991),o=i(30758),r=(i(84276),i(13526)),s=i(12060),l=i(9073),d=i(30838),c=i(3582),u=i(67335),p=i(77329),b=i(26577),g=i(23076),m=i(73018),h=i(10908),k=i(3299),v=i(86070);const f=["onChange"],y={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var S=i(295),w=i(848),T=i(82070),A=i(87310);function z(e){return(0,A.Ay)("MuiTabs",e)}const j=(0,T.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var C=i(80226);const P=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],x=(e,a)=>e===a?e.firstChild:a&&a.nextElementSibling?a.nextElementSibling:e.firstChild,O=(e,a)=>e===a?e.lastChild:a&&a.previousElementSibling?a.previousElementSibling:e.lastChild,D=(e,a,i)=>{let t=!1,n=i(e,a);for(;n;){if(n===e.firstChild){if(t)return;t=!0}const a=n.disabled||"true"===n.getAttribute("aria-disabled");if(n.hasAttribute("tabindex")&&!a)return void n.focus();n=i(e,n)}},M=(0,c.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${j.scrollButtons}`]:a.scrollButtons},{[`& .${j.scrollButtons}`]:i.scrollButtonsHideMobile&&a.scrollButtonsHideMobile},a.root,i.vertical&&a.vertical]}})((({ownerState:e,theme:a})=>(0,n.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${j.scrollButtons}`]:{[a.breakpoints.down("sm")]:{display:"none"}}}))),I=(0,c.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.scroller,i.fixed&&a.fixed,i.hideScrollbar&&a.hideScrollbar,i.scrollableX&&a.scrollableX,i.scrollableY&&a.scrollableY]}})((({ownerState:e})=>(0,n.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),B=(0,c.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.flexContainer,i.vertical&&a.flexContainerVertical,i.centered&&a.centered]}})((({ownerState:e})=>(0,n.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),R=(0,c.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,a)=>a.indicator})((({ownerState:e,theme:a})=>(0,n.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:a.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(a.vars||a).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(a.vars||a).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),L=(0,c.Ay)((function(e){const{onChange:a}=e,i=(0,t.A)(e,f),r=o.useRef(),s=o.useRef(null),l=()=>{r.current=s.current.offsetHeight-s.current.clientHeight};return(0,h.A)((()=>{const e=(0,b.A)((()=>{const e=r.current;l(),e!==r.current&&a(r.current)})),i=(0,k.A)(s.current);return i.addEventListener("resize",e),()=>{e.clear(),i.removeEventListener("resize",e)}}),[a]),o.useEffect((()=>{l(),a(r.current)}),[a]),(0,v.jsx)("div",(0,n.A)({style:y,ref:s},i))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),N={};const E=o.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiTabs"}),c=(0,p.A)(),h=(0,l.I)(),{"aria-label":f,"aria-labelledby":y,action:T,centered:A=!1,children:j,className:E,component:_="div",allowScrollButtonsMobile:F=!1,indicatorColor:W="primary",onChange:G,orientation:U="horizontal",ScrollButtonComponent:q=S.A,scrollButtons:K="auto",selectionFollowsFocus:V,slots:H={},slotProps:$={},TabIndicatorProps:J={},TabScrollButtonProps:Q={},textColor:Z="primary",value:Y,variant:X="standard",visibleScrollbar:ee=!1}=i,ae=(0,t.A)(i,P),ie="scrollable"===X,te="vertical"===U,ne=te?"scrollTop":"scrollLeft",oe=te?"top":"left",re=te?"bottom":"right",se=te?"clientHeight":"clientWidth",le=te?"height":"width",de=(0,n.A)({},i,{component:_,allowScrollButtonsMobile:F,indicatorColor:W,orientation:U,vertical:te,scrollButtons:K,textColor:Z,variant:X,visibleScrollbar:ee,fixed:!ie,hideScrollbar:ie&&!ee,scrollableX:ie&&!te,scrollableY:ie&&te,centered:A&&!ie,scrollButtonsHideMobile:!F}),ce=(e=>{const{vertical:a,fixed:i,hideScrollbar:t,scrollableX:n,scrollableY:o,centered:r,scrollButtonsHideMobile:l,classes:d}=e,c={root:["root",a&&"vertical"],scroller:["scroller",i&&"fixed",t&&"hideScrollbar",n&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",a&&"flexContainerVertical",r&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[t&&"hideScrollbar"]};return(0,s.A)(c,z,d)})(de),ue=(0,d.A)({elementType:H.StartScrollButtonIcon,externalSlotProps:$.startScrollButtonIcon,ownerState:de}),pe=(0,d.A)({elementType:H.EndScrollButtonIcon,externalSlotProps:$.endScrollButtonIcon,ownerState:de});const[be,ge]=o.useState(!1),[me,he]=o.useState(N),[ke,ve]=o.useState(!1),[fe,ye]=o.useState(!1),[Se,we]=o.useState(!1),[Te,Ae]=o.useState({overflow:"hidden",scrollbarWidth:0}),ze=new Map,je=o.useRef(null),Ce=o.useRef(null),Pe=()=>{const e=je.current;let a,i;if(e){const i=e.getBoundingClientRect();a={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:(0,g.A)(e,h?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}if(e&&!1!==Y){const e=Ce.current.children;if(e.length>0){const a=e[ze.get(Y)];0,i=a?a.getBoundingClientRect():null}}return{tabsMeta:a,tabMeta:i}},xe=(0,w.A)((()=>{const{tabsMeta:e,tabMeta:a}=Pe();let i,t=0;if(te)i="top",a&&e&&(t=a.top-e.top+e.scrollTop);else if(i=h?"right":"left",a&&e){const n=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;t=(h?-1:1)*(a[i]-e[i]+n)}const n={[i]:t,[le]:a?a[le]:0};if(isNaN(me[i])||isNaN(me[le]))he(n);else{const e=Math.abs(me[i]-n[i]),a=Math.abs(me[le]-n[le]);(e>=1||a>=1)&&he(n)}})),Oe=(e,{animation:a=!0}={})=>{a?(0,m.A)(ne,je.current,e,{duration:c.transitions.duration.standard}):je.current[ne]=e},De=e=>{let a=je.current[ne];te?a+=e:(a+=e*(h?-1:1),a*=h&&"reverse"===(0,g.t)()?-1:1),Oe(a)},Me=()=>{const e=je.current[se];let a=0;const i=Array.from(Ce.current.children);for(let t=0;te){0===t&&(a=e);break}a+=n[se]}return a},Ie=()=>{De(-1*Me())},Be=()=>{De(Me())},Re=o.useCallback((e=>{Ae({overflow:null,scrollbarWidth:e})}),[]),Le=(0,w.A)((e=>{const{tabsMeta:a,tabMeta:i}=Pe();if(i&&a)if(i[oe]a[re]){const t=a[ne]+(i[re]-a[re]);Oe(t,{animation:e})}})),Ne=(0,w.A)((()=>{ie&&!1!==K&&we(!Se)}));o.useEffect((()=>{const e=(0,b.A)((()=>{je.current&&xe()}));let a;const i=i=>{i.forEach((e=>{e.removedNodes.forEach((e=>{var i;null==(i=a)||i.unobserve(e)})),e.addedNodes.forEach((e=>{var i;null==(i=a)||i.observe(e)}))})),e(),Ne()},t=(0,k.A)(je.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(e),Array.from(Ce.current.children).forEach((e=>{a.observe(e)}))),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(i),n.observe(Ce.current,{childList:!0})),()=>{var i,o;e.clear(),t.removeEventListener("resize",e),null==(i=n)||i.disconnect(),null==(o=a)||o.disconnect()}}),[xe,Ne]),o.useEffect((()=>{const e=Array.from(Ce.current.children),a=e.length;if("undefined"!=typeof IntersectionObserver&&a>0&&ie&&!1!==K){const i=e[0],t=e[a-1],n={root:je.current,threshold:.99},o=new IntersectionObserver((e=>{ve(!e[0].isIntersecting)}),n);o.observe(i);const r=new IntersectionObserver((e=>{ye(!e[0].isIntersecting)}),n);return r.observe(t),()=>{o.disconnect(),r.disconnect()}}}),[ie,K,Se,null==j?void 0:j.length]),o.useEffect((()=>{ge(!0)}),[]),o.useEffect((()=>{xe()})),o.useEffect((()=>{Le(N!==me)}),[Le,me]),o.useImperativeHandle(T,(()=>({updateIndicator:xe,updateScrollButtons:Ne})),[xe,Ne]);const Ee=(0,v.jsx)(R,(0,n.A)({},J,{className:(0,r.A)(ce.indicator,J.className),ownerState:de,style:(0,n.A)({},me,J.style)}));let _e=0;const Fe=o.Children.map(j,(e=>{if(!o.isValidElement(e))return null;const a=void 0===e.props.value?_e:e.props.value;ze.set(a,_e);const i=a===Y;return _e+=1,o.cloneElement(e,(0,n.A)({fullWidth:"fullWidth"===X,indicator:i&&!be&&Ee,selected:i,selectionFollowsFocus:V,onChange:G,textColor:Z,value:a},1!==_e||!1!==Y||e.props.tabIndex?{}:{tabIndex:0}))})),We=(()=>{const e={};e.scrollbarSizeListener=ie?(0,v.jsx)(L,{onChange:Re,className:(0,r.A)(ce.scrollableX,ce.hideScrollbar)}):null;const a=ie&&("auto"===K&&(ke||fe)||!0===K);return e.scrollButtonStart=a?(0,v.jsx)(q,(0,n.A)({slots:{StartScrollButtonIcon:H.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ue},orientation:U,direction:h?"right":"left",onClick:Ie,disabled:!ke},Q,{className:(0,r.A)(ce.scrollButtons,Q.className)})):null,e.scrollButtonEnd=a?(0,v.jsx)(q,(0,n.A)({slots:{EndScrollButtonIcon:H.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:pe},orientation:U,direction:h?"left":"right",onClick:Be,disabled:!fe},Q,{className:(0,r.A)(ce.scrollButtons,Q.className)})):null,e})();return(0,v.jsxs)(M,(0,n.A)({className:(0,r.A)(ce.root,E),ownerState:de,ref:a,as:_},ae,{children:[We.scrollButtonStart,We.scrollbarSizeListener,(0,v.jsxs)(I,{className:ce.scroller,ownerState:de,style:{overflow:Te.overflow,[te?"margin"+(h?"Left":"Right"):"marginBottom"]:ee?void 0:-Te.scrollbarWidth},ref:je,children:[(0,v.jsx)(B,{"aria-label":f,"aria-labelledby":y,"aria-orientation":"vertical"===U?"vertical":null,className:ce.flexContainer,ownerState:de,onKeyDown:e=>{const a=Ce.current,i=(0,C.A)(a).activeElement;if("tab"!==i.getAttribute("role"))return;let t="horizontal"===U?"ArrowLeft":"ArrowUp",n="horizontal"===U?"ArrowRight":"ArrowDown";switch("horizontal"===U&&h&&(t="ArrowRight",n="ArrowLeft"),e.key){case t:e.preventDefault(),D(a,i,O);break;case n:e.preventDefault(),D(a,i,x);break;case"Home":e.preventDefault(),D(a,null,x);break;case"End":e.preventDefault(),D(a,null,O)}},ref:Ce,role:"tablist",children:Fe}),be&&Ee]}),We.scrollButtonEnd]}))}))},25492:(e,a,i)=>{"use strict";i.d(a,{A:()=>ye});var t=i(40991),n=i(23302),o=i(30758),r=i(13526),s=i(12060),l=i(1542),d=i(3582),c=i(67335),u=i(59161),p=i(98638),b=i(2041),g=i(96896),m=i(10229),h=i(86070);const k=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],v=(0,d.Ay)(b.Sh,{shouldForwardProp:e=>(0,g.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[...(0,b.WC)(e,a),!i.disableUnderline&&a.underline]}})((({theme:e,ownerState:a})=>{var i;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,t.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${m.A.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${m.A.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!a.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(i=(e.vars||e).palette[a.color||"primary"])?void 0:i.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${m.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${m.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${m.A.disabled}, .${m.A.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${m.A.disabled}:before`]:{borderBottomStyle:"dotted"}},a.startAdornment&&{paddingLeft:12},a.endAdornment&&{paddingRight:12},a.multiline&&(0,t.A)({padding:"25px 12px 8px"},"small"===a.size&&{paddingTop:21,paddingBottom:4},a.hiddenLabel&&{paddingTop:16,paddingBottom:17},a.hiddenLabel&&"small"===a.size&&{paddingTop:8,paddingBottom:9}))})),f=(0,d.Ay)(b.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:b.Oj})((({theme:e,ownerState:a})=>(0,t.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===a.size&&{paddingTop:21,paddingBottom:4},a.hiddenLabel&&{paddingTop:16,paddingBottom:17},a.startAdornment&&{paddingLeft:0},a.endAdornment&&{paddingRight:0},a.hiddenLabel&&"small"===a.size&&{paddingTop:8,paddingBottom:9},a.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),y=o.forwardRef((function(e,a){var i,o,r,l;const d=(0,c.b)({props:e,name:"MuiFilledInput"}),{components:u={},componentsProps:g,fullWidth:y=!1,inputComponent:S="input",multiline:w=!1,slotProps:T,slots:A={},type:z="text"}=d,j=(0,n.A)(d,k),C=(0,t.A)({},d,{fullWidth:y,inputComponent:S,multiline:w,type:z}),P=(e=>{const{classes:a,disableUnderline:i}=e,n={root:["root",!i&&"underline"],input:["input"]},o=(0,s.A)(n,m.N,a);return(0,t.A)({},a,o)})(d),x={root:{ownerState:C},input:{ownerState:C}},O=(null!=T?T:g)?(0,p.A)(x,null!=T?T:g):x,D=null!=(i=null!=(o=A.root)?o:u.Root)?i:v,M=null!=(r=null!=(l=A.input)?l:u.Input)?r:f;return(0,h.jsx)(b.Ay,(0,t.A)({slots:{root:D,input:M},componentsProps:O,fullWidth:y,inputComponent:S,multiline:w,ref:a,type:z},j,{classes:P}))}));y.muiName="Input";const S=y;var w=i(12647),T=i(46989),A=i(75013),z=i(3688),j=i(16910),C=i(40996),P=i(82070),x=i(87310);function O(e){return(0,x.Ay)("MuiFormHelperText",e)}const D=(0,P.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var M;const I=["children","className","component","disabled","error","filled","focused","margin","required","variant"],B=(0,d.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.size&&a[`size${(0,C.A)(i.size)}`],i.contained&&a.contained,i.filled&&a.filled]}})((({theme:e,ownerState:a})=>(0,t.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${D.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${D.error}`]:{color:(e.vars||e).palette.error.main}},"small"===a.size&&{marginTop:4},a.contained&&{marginLeft:14,marginRight:14}))),R=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiFormHelperText"}),{children:o,className:l,component:d="p"}=i,u=(0,n.A)(i,I),p=(0,j.A)(),b=(0,z.A)({props:i,muiFormControl:p,states:["variant","size","disabled","error","filled","focused","required"]}),g=(0,t.A)({},i,{component:d,contained:"filled"===b.variant||"outlined"===b.variant,variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required}),m=(e=>{const{classes:a,contained:i,size:t,disabled:n,error:o,filled:r,focused:l,required:d}=e,c={root:["root",n&&"disabled",o&&"error",t&&`size${(0,C.A)(t)}`,i&&"contained",l&&"focused",r&&"filled",d&&"required"]};return(0,s.A)(c,O,a)})(g);return(0,h.jsx)(B,(0,t.A)({as:d,ownerState:g,className:(0,r.A)(m.root,l),ref:a},u,{children:" "===o?M||(M=(0,h.jsx)("span",{className:"notranslate",children:"​"})):o}))}));var L=i(19862),N=(i(84276),i(80226)),E=i(17283);function _(e){return(0,x.Ay)("MuiNativeSelect",e)}const F=(0,P.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),W=["className","disabled","error","IconComponent","inputRef","variant"],G=({ownerState:e,theme:a})=>(0,t.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,t.A)({},a.vars?{backgroundColor:`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===a.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${F.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(a.vars||a).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(a.vars||a).shape.borderRadius,"&:focus":{borderRadius:(a.vars||a).shape.borderRadius},"&&&":{paddingRight:32}}),U=(0,d.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:g.A,overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.select,a[i.variant],i.error&&a.error,{[`&.${F.multiple}`]:a.multiple}]}})(G),q=({ownerState:e,theme:a})=>(0,t.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(a.vars||a).palette.action.active,[`&.${F.disabled}`]:{color:(a.vars||a).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),K=(0,d.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.icon,i.variant&&a[`icon${(0,C.A)(i.variant)}`],i.open&&a.iconOpen]}})(q),V=o.forwardRef((function(e,a){const{className:i,disabled:l,error:d,IconComponent:c,inputRef:u,variant:p="standard"}=e,b=(0,n.A)(e,W),g=(0,t.A)({},e,{disabled:l,variant:p,error:d}),m=(e=>{const{classes:a,variant:i,disabled:t,multiple:n,open:o,error:r}=e,l={select:["select",i,t&&"disabled",n&&"multiple",r&&"error"],icon:["icon",`icon${(0,C.A)(i)}`,o&&"iconOpen",t&&"disabled"]};return(0,s.A)(l,_,a)})(g);return(0,h.jsxs)(o.Fragment,{children:[(0,h.jsx)(U,(0,t.A)({ownerState:g,className:(0,r.A)(m.select,i),disabled:l,ref:u||a},b)),e.multiple?null:(0,h.jsx)(K,{as:c,ownerState:g,className:m.icon})]})}));var H=i(17181),$=i(87664),J=i(47786),Q=i(69429);function Z(e){return(0,x.Ay)("MuiSelect",e)}const Y=(0,P.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var X;const ee=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],ae=(0,d.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`&.${Y.select}`]:a.select},{[`&.${Y.select}`]:a[i.variant]},{[`&.${Y.error}`]:a.error},{[`&.${Y.multiple}`]:a.multiple}]}})(G,{[`&.${Y.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ie=(0,d.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.icon,i.variant&&a[`icon${(0,C.A)(i.variant)}`],i.open&&a.iconOpen]}})(q),te=(0,d.Ay)("input",{shouldForwardProp:e=>(0,$.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,a)=>a.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ne(e,a){return"object"==typeof a&&null!==a?e===a:String(e)===String(a)}function oe(e){return null==e||"string"==typeof e&&!e.trim()}const re=o.forwardRef((function(e,a){var i;const{"aria-describedby":d,"aria-label":c,autoFocus:u,autoWidth:p,children:b,className:g,defaultOpen:m,defaultValue:k,disabled:v,displayEmpty:f,error:y=!1,IconComponent:S,inputRef:w,labelId:T,MenuProps:A={},multiple:z,name:j,onBlur:P,onChange:x,onClose:O,onFocus:D,onOpen:M,open:I,readOnly:B,renderValue:R,SelectDisplayProps:_={},tabIndex:F,value:W,variant:G="standard"}=e,U=(0,n.A)(e,ee),[q,K]=(0,Q.A)({controlled:W,default:k,name:"Select"}),[V,$]=(0,Q.A)({controlled:I,default:m,name:"Select"}),Y=o.useRef(null),re=o.useRef(null),[se,le]=o.useState(null),{current:de}=o.useRef(null!=I),[ce,ue]=o.useState(),pe=(0,J.A)(a,w),be=o.useCallback((e=>{re.current=e,e&&le(e)}),[]),ge=null==se?void 0:se.parentNode;o.useImperativeHandle(pe,(()=>({focus:()=>{re.current.focus()},node:Y.current,value:q})),[q]),o.useEffect((()=>{m&&V&&se&&!de&&(ue(p?null:ge.clientWidth),re.current.focus())}),[se,p]),o.useEffect((()=>{u&&re.current.focus()}),[u]),o.useEffect((()=>{if(!T)return;const e=(0,N.A)(re.current).getElementById(T);if(e){const a=()=>{getSelection().isCollapsed&&re.current.focus()};return e.addEventListener("click",a),()=>{e.removeEventListener("click",a)}}}),[T]);const me=(e,a)=>{e?M&&M(a):O&&O(a),de||(ue(p?null:ge.clientWidth),$(e))},he=o.Children.toArray(b),ke=e=>a=>{let i;if(a.currentTarget.hasAttribute("tabindex")){if(z){i=Array.isArray(q)?q.slice():[];const a=q.indexOf(e.props.value);-1===a?i.push(e.props.value):i.splice(a,1)}else i=e.props.value;if(e.props.onClick&&e.props.onClick(a),q!==i&&(K(i),x)){const t=a.nativeEvent||a,n=new t.constructor(t.type,t);Object.defineProperty(n,"target",{writable:!0,value:{value:i,name:j}}),x(n,e)}z||me(!1,a)}},ve=null!==se&&V;let fe,ye;delete U["aria-invalid"];const Se=[];let we=!1,Te=!1;((0,H.lq)({value:q})||f)&&(R?fe=R(q):we=!0);const Ae=he.map((e=>{if(!o.isValidElement(e))return null;let a;if(z){if(!Array.isArray(q))throw new Error((0,L.A)(2));a=q.some((a=>ne(a,e.props.value))),a&&we&&Se.push(e.props.children)}else a=ne(q,e.props.value),a&&we&&(ye=e.props.children);return a&&(Te=!0),o.cloneElement(e,{"aria-selected":a?"true":"false",onClick:ke(e),onKeyUp:a=>{" "===a.key&&a.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(a)},role:"option",selected:a,value:void 0,"data-value":e.props.value})}));we&&(fe=z?0===Se.length?null:Se.reduce(((e,a,i)=>(e.push(a),i{const{classes:a,variant:i,disabled:t,multiple:n,open:o,error:r}=e,l={select:["select",i,t&&"disabled",n&&"multiple",r&&"error"],icon:["icon",`icon${(0,C.A)(i)}`,o&&"iconOpen",t&&"disabled"],nativeInput:["nativeInput"]};return(0,s.A)(l,Z,a)})(Pe),Oe=(0,t.A)({},A.PaperProps,null==(i=A.slotProps)?void 0:i.paper),De=(0,l.A)();return(0,h.jsxs)(o.Fragment,{children:[(0,h.jsx)(ae,(0,t.A)({ref:be,tabIndex:ze,role:"combobox","aria-controls":De,"aria-disabled":v?"true":void 0,"aria-expanded":ve?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[T,Ce].filter(Boolean).join(" ")||void 0,"aria-describedby":d,onKeyDown:e=>{if(!B){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),me(!0,e))}},onMouseDown:v||B?null:e=>{0===e.button&&(e.preventDefault(),re.current.focus(),me(!0,e))},onBlur:e=>{!ve&&P&&(Object.defineProperty(e,"target",{writable:!0,value:{value:q,name:j}}),P(e))},onFocus:D},_,{ownerState:Pe,className:(0,r.A)(_.className,xe.select,g),id:Ce,children:oe(fe)?X||(X=(0,h.jsx)("span",{className:"notranslate",children:"​"})):fe})),(0,h.jsx)(te,(0,t.A)({"aria-invalid":y,value:Array.isArray(q)?q.join(","):q,name:j,ref:Y,"aria-hidden":!0,onChange:e=>{const a=he.find((a=>a.props.value===e.target.value));void 0!==a&&(K(a.props.value),x&&x(e,a))},tabIndex:-1,disabled:v,className:xe.nativeInput,autoFocus:u,ownerState:Pe},U)),(0,h.jsx)(ie,{as:S,className:xe.icon,ownerState:Pe}),(0,h.jsx)(E.A,(0,t.A)({id:`menu-${j||""}`,anchorEl:ge,open:ve,onClose:e=>{me(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},A,{MenuListProps:(0,t.A)({"aria-labelledby":T,role:"listbox","aria-multiselectable":z?"true":void 0,disableListWrap:!0,id:De},A.MenuListProps),slotProps:(0,t.A)({},A.slotProps,{paper:(0,t.A)({},Oe,{style:(0,t.A)({minWidth:je},null!=Oe?Oe.style:null)})}),children:Ae}))]})}));var se=i(82768);const le=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],de=["root"],ce={name:"MuiSelect",overridesResolver:(e,a)=>a.root,shouldForwardProp:e=>(0,g.A)(e)&&"variant"!==e,slot:"Root"},ue=(0,d.Ay)(u.A,ce)(""),pe=(0,d.Ay)(w.A,ce)(""),be=(0,d.Ay)(S,ce)(""),ge=o.forwardRef((function(e,a){const i=(0,c.b)({name:"MuiSelect",props:e}),{autoWidth:s=!1,children:l,classes:d={},className:u,defaultOpen:b=!1,displayEmpty:g=!1,IconComponent:m=se.A,id:k,input:v,inputProps:f,label:y,labelId:S,MenuProps:w,multiple:T=!1,native:A=!1,onClose:C,onOpen:P,open:x,renderValue:O,SelectDisplayProps:D,variant:M="outlined"}=i,I=(0,n.A)(i,le),B=A?V:re,R=(0,j.A)(),L=(0,z.A)({props:i,muiFormControl:R,states:["variant","error"]}),N=L.variant||M,E=(0,t.A)({},i,{variant:N,classes:d}),_=(e=>{const{classes:a}=e;return a})(E),F=(0,n.A)(_,de),W=v||{standard:(0,h.jsx)(ue,{ownerState:E}),outlined:(0,h.jsx)(pe,{label:y,ownerState:E}),filled:(0,h.jsx)(be,{ownerState:E})}[N],G=(0,J.A)(a,W.ref);return(0,h.jsx)(o.Fragment,{children:o.cloneElement(W,(0,t.A)({inputComponent:B,inputProps:(0,t.A)({children:l,error:L.error,IconComponent:m,variant:N,type:void 0,multiple:T},A?{id:k}:{autoWidth:s,defaultOpen:b,displayEmpty:g,labelId:S,MenuProps:w,onClose:C,onOpen:P,open:x,renderValue:O,SelectDisplayProps:(0,t.A)({id:k},D)},f,{classes:f?(0,p.A)(F,f.classes):F},v?v.props.inputProps:{})},(T&&A||g)&&"outlined"===N?{notched:!0}:{},{ref:G,className:(0,r.A)(W.props.className,u,_.root)},!v&&{variant:N},I))})}));ge.muiName="Select";const me=ge;function he(e){return(0,x.Ay)("MuiTextField",e)}(0,P.A)("MuiTextField",["root"]);const ke=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],ve={standard:u.A,filled:S,outlined:w.A},fe=(0,d.Ay)(A.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,a)=>a.root})({}),ye=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTextField"}),{autoComplete:o,autoFocus:d=!1,children:u,className:p,color:b="primary",defaultValue:g,disabled:m=!1,error:k=!1,FormHelperTextProps:v,fullWidth:f=!1,helperText:y,id:S,InputLabelProps:w,inputProps:A,InputProps:z,inputRef:j,label:C,maxRows:P,minRows:x,multiline:O=!1,name:D,onBlur:M,onChange:I,onFocus:B,placeholder:L,required:N=!1,rows:E,select:_=!1,SelectProps:F,type:W,value:G,variant:U="outlined"}=i,q=(0,n.A)(i,ke),K=(0,t.A)({},i,{autoFocus:d,color:b,disabled:m,error:k,fullWidth:f,multiline:O,required:N,select:_,variant:U}),V=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},he,a)})(K);const H={};"outlined"===U&&(w&&void 0!==w.shrink&&(H.notched=w.shrink),H.label=C),_&&(F&&F.native||(H.id=void 0),H["aria-describedby"]=void 0);const $=(0,l.A)(S),J=y&&$?`${$}-helper-text`:void 0,Q=C&&$?`${$}-label`:void 0,Z=ve[U],Y=(0,h.jsx)(Z,(0,t.A)({"aria-describedby":J,autoComplete:o,autoFocus:d,defaultValue:g,fullWidth:f,multiline:O,name:D,rows:E,maxRows:P,minRows:x,type:W,value:G,id:$,inputRef:j,onBlur:M,onChange:I,onFocus:B,placeholder:L,inputProps:A},H,z));return(0,h.jsxs)(fe,(0,t.A)({className:(0,r.A)(V.root,p),disabled:m,error:k,fullWidth:f,ref:a,required:N,color:b,variant:U,ownerState:K},q,{children:[null!=C&&""!==C&&(0,h.jsx)(T.A,(0,t.A)({htmlFor:$,id:Q},w,{children:C})),_?(0,h.jsx)(me,(0,t.A)({"aria-describedby":J,id:$,labelId:Q,value:G,input:Y},F,{children:u})):Y,y&&(0,h.jsx)(R,(0,t.A)({id:J},v,{children:y}))]}))}))},63922:(e,a,i)=>{"use strict";i.d(a,{A:()=>w});var t=i(23302),n=i(40991),o=i(30758),r=(i(84276),i(13526)),s=i(12060),l=i(88830),d=i(3582),c=i(67335),u=i(40996),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiToggleButtonGroup",e)}const m=(0,p.A)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var h=i(9026),k=i(63114),v=i(49899),f=i(86070);const y=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],S=(0,d.Ay)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${m.grouped}`]:a.grouped},{[`& .${m.grouped}`]:a[`grouped${(0,u.A)(i.orientation)}`]},{[`& .${m.firstButton}`]:a.firstButton},{[`& .${m.lastButton}`]:a.lastButton},{[`& .${m.middleButton}`]:a.middleButton},a.root,"vertical"===i.orientation&&a.vertical,i.fullWidth&&a.fullWidth]}})((({ownerState:e,theme:a})=>(0,n.A)({display:"inline-flex",borderRadius:(a.vars||a).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${m.grouped}`]:(0,n.A)({},"horizontal"===e.orientation?{[`&.${m.selected} + .${m.grouped}.${m.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${m.selected} + .${m.grouped}.${m.selected}`]:{borderTop:0,marginTop:0}})},"horizontal"===e.orientation?{[`& .${m.firstButton},& .${m.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${m.lastButton},& .${m.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${m.firstButton},& .${m.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${m.lastButton},& .${m.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},"horizontal"===e.orientation?{[`& .${m.lastButton}.${v.A.disabled},& .${m.middleButton}.${v.A.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${m.lastButton}.${v.A.disabled},& .${m.middleButton}.${v.A.disabled}`]:{borderTop:"1px solid transparent"}}))),w=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiToggleButtonGroup"}),{children:d,className:p,color:b="standard",disabled:m=!1,exclusive:v=!1,fullWidth:w=!1,onChange:T,orientation:A="horizontal",size:z="medium",value:j}=i,C=(0,t.A)(i,y),P=(0,n.A)({},i,{disabled:m,fullWidth:w,orientation:A,size:z}),x=(e=>{const{classes:a,orientation:i,fullWidth:t,disabled:n}=e,o={root:["root","vertical"===i&&"vertical",t&&"fullWidth"],grouped:["grouped",`grouped${(0,u.A)(i)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.A)(o,g,a)})(P),O=o.useCallback(((e,a)=>{if(!T)return;const i=j&&j.indexOf(a);let t;j&&i>=0?(t=j.slice(),t.splice(i,1)):t=j?j.concat(a):[a],T(e,t)}),[T,j]),D=o.useCallback(((e,a)=>{T&&T(e,j===a?null:a)}),[T,j]),M=o.useMemo((()=>({className:x.grouped,onChange:v?D:O,value:j,size:z,fullWidth:w,color:b,disabled:m})),[x.grouped,v,D,O,j,z,w,b,m]),I=(0,l.A)(d),B=I.length,R=e=>{const a=0===e,i=e===B-1;return a&&i?"":a?x.firstButton:i?x.lastButton:x.middleButton};return(0,f.jsx)(S,(0,n.A)({role:"group",className:(0,r.A)(x.root,p),ref:a,ownerState:P},C,{children:(0,f.jsx)(h.A.Provider,{value:M,children:I.map(((e,a)=>(0,f.jsx)(k.A.Provider,{value:R(a),children:e},a)))})}))}))},63114:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758);const n=575==i.j?t.createContext(void 0):null;const o=575==i.j?n:null},9026:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=i(30758).createContext({});const n=575==i.j?t:null},23686:(e,a,i)=>{"use strict";function t(e,a){return void 0!==a&&void 0!==e&&(Array.isArray(a)?a.indexOf(e)>=0:e===a)}i.d(a,{A:()=>t})},39361:(e,a,i)=>{"use strict";i.d(a,{A:()=>C});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(79728),l=i(12060),d=i(19862),c=i(42334);function u(e,a=0,i=1){return(0,c.A)(e,a,i)}function p(e){if(e.type)return e;if("#"===e.charAt(0))return p(function(e){e=e.slice(1);const a=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(a);return i&&1===i[0].length&&(i=i.map((e=>e+e))),i?`rgb${4===i.length?"a":""}(${i.map(((e,a)=>a<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const a=e.indexOf("("),i=e.substring(0,a);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw new Error((0,d.A)(9,e));let t,n=e.substring(a+1,e.length-1);if("color"===i){if(n=n.split(" "),t=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw new Error((0,d.A)(10,t))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:i,values:n,colorSpace:t}}function b(e){const{type:a,colorSpace:i}=e;let{values:t}=e;return-1!==a.indexOf("rgb")?t=t.map(((e,a)=>a<3?parseInt(e,10):e)):-1!==a.indexOf("hsl")&&(t[1]=`${t[1]}%`,t[2]=`${t[2]}%`),t=-1!==a.indexOf("color")?`${i} ${t.join(" ")}`:`${t.join(", ")}`,`${a}(${t})`}function g(e,a){return e=p(e),a=u(a),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${a}`:e.values[3]=a,b(e)}var m=i(54463),h=i(40996),k=i(67335),v=i(3582),f=i(49899),y=i(9026),S=i(63114),w=i(23686),T=i(86070);const A=["value"],z=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],j=(0,v.Ay)(m.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`size${(0,h.A)(i.size)}`]]}})((({theme:e,ownerState:a})=>{let i,t="standard"===a.color?e.palette.text.primary:e.palette[a.color].main;return e.vars&&(t="standard"===a.color?e.vars.palette.text.primary:e.vars.palette[a.color].main,i="standard"===a.color?e.vars.palette.text.primaryChannel:e.vars.palette[a.color].mainChannel),(0,n.A)({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},a.fullWidth&&{width:"100%"},{[`&.${f.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:g(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${f.A.selected}`]:{color:t,backgroundColor:e.vars?`rgba(${i} / ${e.vars.palette.action.selectedOpacity})`:g(t,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${i} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:g(t,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${i} / ${e.vars.palette.action.selectedOpacity})`:g(t,e.palette.action.selectedOpacity)}}}},"small"===a.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===a.size&&{padding:15,fontSize:e.typography.pxToRem(15)})})),C=o.forwardRef((function(e,a){const i=o.useContext(y.A),{value:d}=i,c=(0,t.A)(i,A),u=o.useContext(S.A),p=(0,s.A)((0,n.A)({},c,{selected:(0,w.A)(e.value,d)}),e),b=(0,k.b)({props:p,name:"MuiToggleButton"}),{children:g,className:m,color:v="standard",disabled:C=!1,disableFocusRipple:P=!1,fullWidth:x=!1,onChange:O,onClick:D,selected:M,size:I="medium",value:B}=b,R=(0,t.A)(b,z),L=(0,n.A)({},b,{color:v,disabled:C,disableFocusRipple:P,fullWidth:x,size:I}),N=(e=>{const{classes:a,fullWidth:i,selected:t,disabled:n,size:o,color:r}=e,s={root:["root",t&&"selected",n&&"disabled",i&&"fullWidth",`size${(0,h.A)(o)}`,r]};return(0,l.A)(s,f.J,a)})(L),E=u||"";return(0,T.jsx)(j,(0,n.A)({className:(0,r.A)(c.className,N.root,m,E),disabled:C,focusRipple:!P,ref:a,onClick:e=>{D&&(D(e,B),e.defaultPrevented)||O&&O(e,B)},onChange:O,value:B,ownerState:L,"aria-pressed":M},R,{children:g}))}))},49899:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,J:()=>o});var t=i(82070);if(575==i.j)var n=i(87310);function o(e){return(0,n.Ay)("MuiToggleButton",e)}const r=(0,t.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),s=575==i.j?r:null},36489:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>m}),!/^(575|61)$/.test(i.j))var t=i(23302);var n=i(40991),o=i(30758);if(!/^(575|61)$/.test(i.j))var r=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(12060);if(!/^(575|61)$/.test(i.j))var l=i(67335);var d=i(3582);if(!/^(575|61)$/.test(i.j))var c=i(10425);var u=i(86070);const p=/^(575|61)$/.test(i.j)?null:["className","component","disableGutters","variant"],b=(0,d.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disableGutters&&a.gutters,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({position:"relative",display:"flex",alignItems:"center"},!a.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===a.variant&&{minHeight:48})),(({theme:e,ownerState:a})=>"regular"===a.variant&&e.mixins.toolbar)),g=/^(575|61)$/.test(i.j)?null:o.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiToolbar"}),{className:o,component:d="div",disableGutters:g=!1,variant:m="regular"}=i,h=(0,t.A)(i,p),k=(0,n.A)({},i,{component:d,disableGutters:g,variant:m}),v=(e=>{const{classes:a,disableGutters:i,variant:t}=e,n={root:["root",!i&&"gutters",t]};return(0,s.A)(n,c.U,a)})(k);return(0,u.jsx)(b,(0,n.A)({as:d,className:(0,r.A)(v.root,o),ref:a,ownerState:k},h))})),m=/^(575|61)$/.test(i.j)?null:g},10425:(e,a,i)=>{"use strict";i.d(a,{U:()=>o});var t=i(82070);if(!/^(575|61)$/.test(i.j))var n=i(87310);function o(e){return(0,n.Ay)("MuiToolbar",e)}(0,t.A)("MuiToolbar",["root","gutters","regular","dense"])},37281:(e,a,i)=>{"use strict";i.d(a,{A:()=>L});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(36109),l=i(12060),d=i(89692),c=i(9073),u=i(44720),p=i(3582),b=i(77329),g=i(67335),m=i(40996),h=i(86989),k=i(25594),v=i(848),f=i(47786),y=i(7390),S=i(61533),w=i(69429),T=i(82070),A=i(87310);function z(e){return(0,A.Ay)("MuiTooltip",e)}const j=(0,T.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var C=i(86070);const P=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const x=(0,p.Ay)(k.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.popper,!i.disableInteractive&&a.popperInteractive,i.arrow&&a.popperArrow,!i.open&&a.popperClose]}})((({theme:e,ownerState:a,open:i})=>(0,n.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!a.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},a.arrow&&{[`&[data-popper-placement*="bottom"] .${j.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${j.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${j.arrow}`]:(0,n.A)({},a.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${j.arrow}`]:(0,n.A)({},a.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),O=(0,p.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.tooltip,i.touch&&a.touch,i.arrow&&a.tooltipArrow,a[`tooltipPlacement${(0,m.A)(i.placement.split("-")[0])}`]]}})((({theme:e,ownerState:a})=>{return(0,n.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,d.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},a.arrow&&{position:"relative",margin:0},a.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(i=16/14,Math.round(1e5*i)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${j.popper}[data-popper-placement*="left"] &`]:(0,n.A)({transformOrigin:"right center"},a.isRtl?(0,n.A)({marginLeft:"14px"},a.touch&&{marginLeft:"24px"}):(0,n.A)({marginRight:"14px"},a.touch&&{marginRight:"24px"})),[`.${j.popper}[data-popper-placement*="right"] &`]:(0,n.A)({transformOrigin:"left center"},a.isRtl?(0,n.A)({marginRight:"14px"},a.touch&&{marginRight:"24px"}):(0,n.A)({marginLeft:"14px"},a.touch&&{marginLeft:"24px"})),[`.${j.popper}[data-popper-placement*="top"] &`]:(0,n.A)({transformOrigin:"center bottom",marginBottom:"14px"},a.touch&&{marginBottom:"24px"}),[`.${j.popper}[data-popper-placement*="bottom"] &`]:(0,n.A)({transformOrigin:"center top",marginTop:"14px"},a.touch&&{marginTop:"24px"})});var i})),D=(0,p.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,a)=>a.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,d.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let M=!1;const I=new s.E;let B={x:0,y:0};function R(e,a){return(i,...t)=>{a&&a(i,...t),e(i,...t)}}const L=o.forwardRef((function(e,a){var i,d,p,T,A,j,L,N,E,_,F,W,G,U,q,K,V,H,$;const J=(0,g.b)({props:e,name:"MuiTooltip"}),{arrow:Q=!1,children:Z,components:Y={},componentsProps:X={},describeChild:ee=!1,disableFocusListener:ae=!1,disableHoverListener:ie=!1,disableInteractive:te=!1,disableTouchListener:ne=!1,enterDelay:oe=100,enterNextDelay:re=0,enterTouchDelay:se=700,followCursor:le=!1,id:de,leaveDelay:ce=0,leaveTouchDelay:ue=1500,onClose:pe,onOpen:be,open:ge,placement:me="bottom",PopperComponent:he,PopperProps:ke={},slotProps:ve={},slots:fe={},title:ye,TransitionComponent:Se=h.A,TransitionProps:we}=J,Te=(0,t.A)(J,P),Ae=o.isValidElement(Z)?Z:(0,C.jsx)("span",{children:Z}),ze=(0,b.A)(),je=(0,c.I)(),[Ce,Pe]=o.useState(),[xe,Oe]=o.useState(null),De=o.useRef(!1),Me=te||le,Ie=(0,s.A)(),Be=(0,s.A)(),Re=(0,s.A)(),Le=(0,s.A)(),[Ne,Ee]=(0,w.A)({controlled:ge,default:!1,name:"Tooltip",state:"open"});let _e=Ne;const Fe=(0,y.A)(de),We=o.useRef(),Ge=(0,v.A)((()=>{void 0!==We.current&&(document.body.style.WebkitUserSelect=We.current,We.current=void 0),Le.clear()}));o.useEffect((()=>Ge),[Ge]);const Ue=e=>{I.clear(),M=!0,Ee(!0),be&&!_e&&be(e)},qe=(0,v.A)((e=>{I.start(800+ce,(()=>{M=!1})),Ee(!1),pe&&_e&&pe(e),Ie.start(ze.transitions.duration.shortest,(()=>{De.current=!1}))})),Ke=e=>{De.current&&"touchstart"!==e.type||(Ce&&Ce.removeAttribute("title"),Be.clear(),Re.clear(),oe||M&&re?Be.start(M?re:oe,(()=>{Ue(e)})):Ue(e))},Ve=e=>{Be.clear(),Re.start(ce,(()=>{qe(e)}))},{isFocusVisibleRef:He,onBlur:$e,onFocus:Je,ref:Qe}=(0,S.A)(),[,Ze]=o.useState(!1),Ye=e=>{$e(e),!1===He.current&&(Ze(!1),Ve(e))},Xe=e=>{Ce||Pe(e.currentTarget),Je(e),!0===He.current&&(Ze(!0),Ke(e))},ea=e=>{De.current=!0;const a=Ae.props;a.onTouchStart&&a.onTouchStart(e)},aa=e=>{ea(e),Re.clear(),Ie.clear(),Ge(),We.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Le.start(se,(()=>{document.body.style.WebkitUserSelect=We.current,Ke(e)}))},ia=e=>{Ae.props.onTouchEnd&&Ae.props.onTouchEnd(e),Ge(),Re.start(ue,(()=>{qe(e)}))};o.useEffect((()=>{if(_e)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||qe(e)}}),[qe,_e]);const ta=(0,f.A)(Ae.ref,Qe,Pe,a);ye||0===ye||(_e=!1);const na=o.useRef(),oa={},ra="string"==typeof ye;ee?(oa.title=_e||!ra||ie?null:ye,oa["aria-describedby"]=_e?Fe:null):(oa["aria-label"]=ra?ye:null,oa["aria-labelledby"]=_e&&!ra?Fe:null);const sa=(0,n.A)({},oa,Te,Ae.props,{className:(0,r.A)(Te.className,Ae.props.className),onTouchStart:ea,ref:ta},le?{onMouseMove:e=>{const a=Ae.props;a.onMouseMove&&a.onMouseMove(e),B={x:e.clientX,y:e.clientY},na.current&&na.current.update()}}:{});const la={};ne||(sa.onTouchStart=aa,sa.onTouchEnd=ia),ie||(sa.onMouseOver=R(Ke,sa.onMouseOver),sa.onMouseLeave=R(Ve,sa.onMouseLeave),Me||(la.onMouseOver=Ke,la.onMouseLeave=Ve)),ae||(sa.onFocus=R(Xe,sa.onFocus),sa.onBlur=R(Ye,sa.onBlur),Me||(la.onFocus=Xe,la.onBlur=Ye));const da=o.useMemo((()=>{var e;let a=[{name:"arrow",enabled:Boolean(xe),options:{element:xe,padding:4}}];return null!=(e=ke.popperOptions)&&e.modifiers&&(a=a.concat(ke.popperOptions.modifiers)),(0,n.A)({},ke.popperOptions,{modifiers:a})}),[xe,ke]),ca=(0,n.A)({},J,{isRtl:je,arrow:Q,disableInteractive:Me,placement:me,PopperComponentProp:he,touch:De.current}),ua=(e=>{const{classes:a,disableInteractive:i,arrow:t,touch:n,placement:o}=e,r={popper:["popper",!i&&"popperInteractive",t&&"popperArrow"],tooltip:["tooltip",t&&"tooltipArrow",n&&"touch",`tooltipPlacement${(0,m.A)(o.split("-")[0])}`],arrow:["arrow"]};return(0,l.A)(r,z,a)})(ca),pa=null!=(i=null!=(d=fe.popper)?d:Y.Popper)?i:x,ba=null!=(p=null!=(T=null!=(A=fe.transition)?A:Y.Transition)?T:Se)?p:h.A,ga=null!=(j=null!=(L=fe.tooltip)?L:Y.Tooltip)?j:O,ma=null!=(N=null!=(E=fe.arrow)?E:Y.Arrow)?N:D,ha=(0,u.A)(pa,(0,n.A)({},ke,null!=(_=ve.popper)?_:X.popper,{className:(0,r.A)(ua.popper,null==ke?void 0:ke.className,null==(F=null!=(W=ve.popper)?W:X.popper)?void 0:F.className)}),ca),ka=(0,u.A)(ba,(0,n.A)({},we,null!=(G=ve.transition)?G:X.transition),ca),va=(0,u.A)(ga,(0,n.A)({},null!=(U=ve.tooltip)?U:X.tooltip,{className:(0,r.A)(ua.tooltip,null==(q=null!=(K=ve.tooltip)?K:X.tooltip)?void 0:q.className)}),ca),fa=(0,u.A)(ma,(0,n.A)({},null!=(V=ve.arrow)?V:X.arrow,{className:(0,r.A)(ua.arrow,null==(H=null!=($=ve.arrow)?$:X.arrow)?void 0:H.className)}),ca);return(0,C.jsxs)(o.Fragment,{children:[o.cloneElement(Ae,sa),(0,C.jsx)(pa,(0,n.A)({as:null!=he?he:k.A,placement:me,anchorEl:le?{getBoundingClientRect:()=>({top:B.y,left:B.x,right:B.x,bottom:B.y,width:0,height:0})}:Ce,popperRef:na,open:!!Ce&&_e,id:Fe,transition:!0},la,ha,{popperOptions:da,children:({TransitionProps:e})=>(0,C.jsx)(ba,(0,n.A)({timeout:ze.transitions.duration.shorter},e,ka,{children:(0,C.jsxs)(ga,(0,n.A)({},va,{children:[ye,Q?(0,C.jsx)(ma,(0,n.A)({},fa,{ref:Oe})):null]}))}))}))]})}))},67463:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(23302),n=i(40991),o=i(30758),r=i(13526),s=i(13376),l=i(12060),d=i(3582),c=i(67335),u=i(40996),p=i(82070),b=i(87310);function g(e){return(0,b.Ay)("MuiTypography",e)}(0,p.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=i(86070);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],k=(0,d.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.variant&&a[i.variant],"inherit"!==i.align&&a[`align${(0,u.A)(i.align)}`],i.noWrap&&a.noWrap,i.gutterBottom&&a.gutterBottom,i.paragraph&&a.paragraph]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:0},"inherit"===a.variant&&{font:"inherit"},"inherit"!==a.variant&&e.typography[a.variant],"inherit"!==a.align&&{textAlign:a.align},a.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a.gutterBottom&&{marginBottom:"0.35em"},a.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},f={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=o.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTypography"}),o=(e=>f[e]||e)(i.color),d=(0,s.A)((0,n.A)({},i,{color:o})),{align:p="inherit",className:b,component:y,gutterBottom:S=!1,noWrap:w=!1,paragraph:T=!1,variant:A="body1",variantMapping:z=v}=d,j=(0,t.A)(d,h),C=(0,n.A)({},d,{align:p,color:o,className:b,component:y,gutterBottom:S,noWrap:w,paragraph:T,variant:A,variantMapping:z}),P=y||(T?"p":z[A]||v[A])||"span",x=(e=>{const{align:a,gutterBottom:i,noWrap:t,paragraph:n,variant:o,classes:r}=e,s={root:["root",o,"inherit"!==e.align&&`align${(0,u.A)(a)}`,i&&"gutterBottom",t&&"noWrap",n&&"paragraph"]};return(0,l.A)(s,g,r)})(C);return(0,m.jsx)(k,(0,n.A)({as:P,ref:a,ownerState:C,className:(0,r.A)(x.root,b)},j))}))},80253:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>y}),61!=i.j)var t=i(23302);var n=i(40991),o=i(30758);if(61!=i.j)var r=i(13526);if(61!=i.j)var s=i(12060);if(61!=i.j)var l=i(40996);var d=i(3582),c=i(96896);if(61!=i.j)var u=i(69429);if(61!=i.j)var p=i(16910);var b=i(54463);if(61!=i.j)var g=i(35381);var m=i(86070);const h=61!=i.j?["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]:null,k=(0,d.Ay)(b.A)((({ownerState:e})=>(0,n.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),v=(0,d.Ay)("input",{shouldForwardProp:c.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),f=61!=i.j?o.forwardRef((function(e,a){const{autoFocus:i,checked:o,checkedIcon:d,className:c,defaultChecked:b,disabled:f,disableFocusRipple:y=!1,edge:S=!1,icon:w,id:T,inputProps:A,inputRef:z,name:j,onBlur:C,onChange:P,onFocus:x,readOnly:O,required:D=!1,tabIndex:M,type:I,value:B}=e,R=(0,t.A)(e,h),[L,N]=(0,u.A)({controlled:o,default:Boolean(b),name:"SwitchBase",state:"checked"}),E=(0,p.A)();let _=f;E&&void 0===_&&(_=E.disabled);const F="checkbox"===I||"radio"===I,W=(0,n.A)({},e,{checked:L,disabled:_,disableFocusRipple:y,edge:S}),G=(e=>{const{classes:a,checked:i,disabled:t,edge:n}=e,o={root:["root",i&&"checked",t&&"disabled",n&&`edge${(0,l.A)(n)}`],input:["input"]};return(0,s.A)(o,g.e,a)})(W);return(0,m.jsxs)(k,(0,n.A)({component:"span",className:(0,r.A)(G.root,c),centerRipple:!0,focusRipple:!y,disabled:_,tabIndex:null,role:void 0,onFocus:e=>{x&&x(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{C&&C(e),E&&E.onBlur&&E.onBlur(e)},ownerState:W,ref:a},R,{children:[(0,m.jsx)(v,(0,n.A)({autoFocus:i,checked:o,defaultChecked:b,className:G.input,disabled:_,id:F?T:void 0,name:j,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const a=e.target.checked;N(a),P&&P(e,a)},readOnly:O,ref:z,required:D,ownerState:W,tabIndex:M,type:I},"checkbox"===I&&void 0===B?{}:{value:B},A)),L?d:w]}))})):null,y=61!=i.j?f:null},73018:(e,a,i)=>{"use strict";function t(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function n(e,a,i,n={},o=()=>{}){const{ease:r=t,duration:s=300}=n;let l=null;const d=a[e];let c=!1;const u=()=>{c=!0},p=t=>{if(c)return void o(new Error("Animation cancelled"));null===l&&(l=t);const n=Math.min(1,(t-l)/s);a[e]=r(n)*(i-d)+d,n>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(p)};return d===i?(o(new Error("Element already at target position")),u):(requestAnimationFrame(p),u)}i.d(a,{A:()=>n})},82768:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},34956:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel")},5652:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},80587:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},1234:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(96631),n=i(86070);const o=(0,t.A)((0,n.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},35381:(e,a,i)=>{"use strict";i.d(a,{e:()=>o});var t=i(82070);if(61!=i.j)var n=i(87310);function o(e){return(0,n.Ay)("PrivateSwitchBase",e)}(0,t.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"])},49673:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(40991),n=i(23302),o=i(30758);const r=o.createContext(null);function s(){return o.useContext(r)}const l="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var d=i(86070);const c=function(e){const{children:a,theme:i}=e,n=s(),c=o.useMemo((()=>{const e=null===n?i:function(e,a){if("function"==typeof a)return a(e);return(0,t.A)({},e,a)}(n,i);return null!=e&&(e[l]=null!==n),e}),[i,n]);return(0,d.jsx)(r.Provider,{value:c,children:a})};var u=i(12285),p=i(37360),b=i(9073),g=i(88780);const m={};function h(e,a,i,n=!1){return o.useMemo((()=>{const o=e&&a[e]||a;if("function"==typeof i){const r=i(o),s=e?(0,t.A)({},a,{[e]:r}):r;return n?()=>s:s}return e?(0,t.A)({},a,{[e]:i}):(0,t.A)({},a,i)}),[e,a,i,n])}const k=function(e){const{children:a,theme:i,themeId:t}=e,n=(0,p.A)(m),o=s()||m,r=h(t,n,i),l=h(t,o,i,!0),k="rtl"===r.direction;return(0,d.jsx)(c,{theme:l,children:(0,d.jsx)(u.T.Provider,{value:r,children:(0,d.jsx)(b.A,{value:k,children:(0,d.jsx)(g.A,{value:null==r?void 0:r.components,children:a})})})})};var v=i(43878);const f=["theme"];function y(e){let{theme:a}=e,i=(0,n.A)(e,f);const o=a[v.A];return(0,d.jsx)(k,(0,t.A)({},i,{themeId:o?v.A:void 0,theme:o||a}))}},62398:(e,a,i)=>{"use strict";i.d(a,{A:()=>B});var t=i(40991),n=i(23302),o=i(19862),r=i(98638),s=i(37115),l=i(42898),d=i(42046);var c=i(89692);const u={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},b={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},g={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"},m={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"},h={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"},k={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={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"},f=["mode","contrastThreshold","tonalOffset"],y={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.white,default:u.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},S={text:{primary:u.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:u.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 w(e,a,i,t){const n=t.light||t,o=t.dark||1.5*t;e[a]||(e.hasOwnProperty(i)?e[a]=e[i]:"light"===a?e.light=(0,c.a)(e.main,n):"dark"===a&&(e.dark=(0,c.e$)(e.main,o)))}function T(e){const{mode:a="light",contrastThreshold:i=3,tonalOffset:s=.2}=e,l=(0,n.A)(e,f),d=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(a),T=e.secondary||function(e="light"){return"dark"===e?{main:b[200],light:b[50],dark:b[400]}:{main:b[500],light:b[300],dark:b[700]}}(a),A=e.error||function(e="light"){return"dark"===e?{main:g[500],light:g[300],dark:g[700]}:{main:g[700],light:g[400],dark:g[800]}}(a),z=e.info||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:k[700],light:k[500],dark:k[900]}}(a),j=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(a),C=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(a);function P(e){return(0,c.eM)(e,S.text.primary)>=i?S.text.primary:y.text.primary}const x=({color:e,name:a,mainShade:i=500,lightShade:n=300,darkShade:r=700})=>{if(!(e=(0,t.A)({},e)).main&&e[i]&&(e.main=e[i]),!e.hasOwnProperty("main"))throw new Error((0,o.A)(11,a?` (${a})`:"",i));if("string"!=typeof e.main)throw new Error((0,o.A)(12,a?` (${a})`:"",JSON.stringify(e.main)));return w(e,"light",n,s),w(e,"dark",r,s),e.contrastText||(e.contrastText=P(e.main)),e},O={dark:S,light:y};return(0,r.A)((0,t.A)({common:(0,t.A)({},u),mode:a,primary:x({color:d,name:"primary"}),secondary:x({color:T,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:A,name:"error"}),warning:x({color:C,name:"warning"}),info:x({color:z,name:"info"}),success:x({color:j,name:"success"}),grey:p,contrastThreshold:i,getContrastText:P,augmentColor:x,tonalOffset:s},O[a]),l)}const A=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const z={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,a){const i="function"==typeof a?a(e):a,{fontFamily:o=j,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:d=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:b,pxToRem:g}=i,m=(0,n.A)(i,A);const h=s/14,k=g||(e=>e/p*h+"rem"),v=(e,a,i,n,r)=>{return(0,t.A)({fontFamily:o,fontWeight:e,fontSize:k(a),lineHeight:i},o===j?{letterSpacing:(s=n/a,Math.round(1e5*s)/1e5)+"em"}:{},r,b);var s},f={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(d,48,1.167,0),h4:v(d,34,1.235,.25),h5:v(d,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(d,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(d,16,1.5,.15),body2:v(d,14,1.43,.15),button:v(c,14,1.75,.4,z),caption:v(d,12,1.66,.4),overline:v(d,12,2.66,1,z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,r.A)((0,t.A)({htmlFontSize:p,pxToRem:k,fontFamily:o,fontSize:s,fontWeightLight:l,fontWeightRegular:d,fontWeightMedium:c,fontWeightBold:u},f),m,{clone:!1})}function P(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const x=["none",P(0,2,1,-1,0,1,1,0,0,1,3,0),P(0,3,1,-2,0,2,2,0,0,1,5,0),P(0,3,3,-2,0,3,4,0,0,1,8,0),P(0,2,4,-1,0,4,5,0,0,1,10,0),P(0,3,5,-1,0,5,8,0,0,1,14,0),P(0,3,5,-1,0,6,10,0,0,1,18,0),P(0,4,5,-2,0,7,10,1,0,2,16,1),P(0,5,5,-3,0,8,10,1,0,3,14,2),P(0,5,6,-3,0,9,12,1,0,3,16,2),P(0,6,6,-3,0,10,14,1,0,4,18,3),P(0,6,7,-4,0,11,15,1,0,4,20,3),P(0,7,8,-4,0,12,17,2,0,5,22,4),P(0,7,8,-4,0,13,19,2,0,5,24,4),P(0,7,9,-4,0,14,21,2,0,5,26,4),P(0,8,9,-5,0,15,22,2,0,6,28,5),P(0,8,10,-5,0,16,24,2,0,6,30,5),P(0,8,11,-5,0,17,26,2,0,6,32,5),P(0,9,11,-5,0,18,28,2,0,7,34,6),P(0,9,12,-6,0,19,29,2,0,7,36,6),P(0,10,13,-6,0,20,31,3,0,8,38,7),P(0,10,13,-6,0,21,33,3,0,8,40,7),P(0,10,14,-6,0,22,35,3,0,8,42,7),P(0,11,14,-7,0,23,36,3,0,9,44,8),P(0,11,15,-7,0,24,38,3,0,9,46,8)];var O=i(87305);const D={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},M=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function I(e={},...a){const{mixins:i={},palette:c={},transitions:u={},typography:p={}}=e,b=(0,n.A)(e,M);if(e.vars)throw new Error((0,o.A)(18));const g=T(c),m=(0,d.A)(e);let h=(0,r.A)(m,{mixins:(k=m.breakpoints,v=i,(0,t.A)({toolbar:{minHeight:56,[k.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[k.up("sm")]:{minHeight:64}}},v)),palette:g,shadows:x.slice(),typography:C(g,p),transitions:(0,O.Ay)(u),zIndex:(0,t.A)({},D)});var k,v;return h=(0,r.A)(h,b),h=a.reduce(((e,a)=>(0,r.A)(e,a)),h),h.unstable_sxConfig=(0,t.A)({},s.A,null==b?void 0:b.unstable_sxConfig),h.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},h}const B=I},87305:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>c,p0:()=>s});var t=i(23302),n=i(40991);const o=["duration","easing","delay"],r={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)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function d(e){if(!e)return 0;const a=e/36;return Math.round(10*(4+15*a**.25+a/5))}function c(e){const a=(0,n.A)({},r,e.easing),i=(0,n.A)({},s,e.duration);return(0,n.A)({getAutoHeightDuration:d,create:(e=["all"],n={})=>{const{duration:r=i.standard,easing:s=a.easeInOut,delay:d=0}=n;(0,t.A)(n,o);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:l(r)} ${s} ${"string"==typeof d?d:l(d)}`)).join(",")}},e,{easing:a,duration:i})}},50907:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=(0,i(62398).A)()},43878:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t="$$material"},96896:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(87664);const n=e=>(0,t.A)(e)&&"classes"!==e},87664:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},3582:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>s});var t=i(15382),n=i(50907),o=i(43878),r=i(96896);const s=(0,t.Ay)({themeId:o.A,defaultTheme:n.A,rootShouldForwardProp:r.A})},77329:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(25657),n=i(50907),o=i(43878);function r(){const e=(0,t.A)(n.A);return e[o.A]||e}},56264:(e,a,i)=>{"use strict";i.d(a,{c:()=>n,q:()=>t});const t=e=>e.scrollTop;function n(e,a){var i,t;const{timeout:n,easing:o,style:r={}}=e;return{duration:null!=(i=r.transitionDuration)?i:"number"==typeof n?n:n[a.mode]||0,easing:null!=(t=r.transitionTimingFunction)?t:"object"==typeof o?o[a.mode]:o,delay:r.transitionDelay}}},71537:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>g}),575==i.j)var t=i(40991);var n=i(30758);if(575==i.j)var o=i(1542);if(575==i.j)var r=i(54294);if(575==i.j)var s=i(22252);if(575==i.j)var l=i(25920);if(575==i.j)var d=i(99470);function c(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function u(e,a){for(let i=0;i{let d=r?s.trim():s;i&&(d=d.toLowerCase()),a&&(d=c(d));const u=d?e.filter((e=>{let t=(o||l)(e);return i&&(t=t.toLowerCase()),a&&(t=c(t)),"start"===n?0===t.indexOf(d):t.indexOf(d)>-1})):e;return"number"==typeof t?u.slice(0,t):u}}(),b=e=>{var a;return null!==e.current&&(null==(a=e.current.parentElement)?void 0:a.contains(document.activeElement))};const g=575==i.j?function(e){const{unstable_isActiveElementInListbox:a=b,unstable_classNamePrefix:i="Mui",autoComplete:c=!1,autoHighlight:g=!1,autoSelect:m=!1,blurOnSelect:h=!1,clearOnBlur:k=!e.freeSolo,clearOnEscape:v=!1,componentName:f="useAutocomplete",defaultValue:y=(e.multiple?[]:null),disableClearable:S=!1,disableCloseOnSelect:w=!1,disabled:T,disabledItemsFocusable:A=!1,disableListWrap:z=!1,filterOptions:j=p,filterSelectedOptions:C=!1,freeSolo:P=!1,getOptionDisabled:x,getOptionKey:O,getOptionLabel:D=e=>{var a;return null!=(a=e.label)?a:e},groupBy:M,handleHomeEndKeys:I=!e.freeSolo,id:B,includeInputInList:R=!1,inputValue:L,isOptionEqualToValue:N=(e,a)=>e===a,multiple:E=!1,onChange:_,onClose:F,onHighlightChange:W,onInputChange:G,onOpen:U,open:q,openOnFocus:K=!1,options:V,readOnly:H=!1,selectOnFocus:$=!e.freeSolo,value:J}=e,Q=(0,o.A)(B);let Z=D;Z=e=>{const a=D(e);return"string"!=typeof a?String(a):a};const Y=n.useRef(!1),X=n.useRef(!0),ee=n.useRef(null),ae=n.useRef(null),[ie,te]=n.useState(null),[ne,oe]=n.useState(-1),re=g?0:-1,se=n.useRef(re),[le,de]=(0,r.A)({controlled:J,default:y,name:f}),[ce,ue]=(0,r.A)({controlled:L,default:"",name:f,state:"inputValue"}),[pe,be]=n.useState(!1),ge=n.useCallback(((e,a)=>{if(!(E?le.length!C||!(E?le:[le]).some((a=>null!==a&&N(e,a))))),{inputValue:fe&&ke?"":ce,getOptionLabel:Z}):[],we=(0,s.A)({filteredOptions:Se,value:le,inputValue:ce});n.useEffect((()=>{const e=le!==we.value;pe&&!e||P&&!e||ge(null,le)}),[le,ge,pe,we.value,P]);const Te=me&&Se.length>0&&!H,Ae=(0,l.A)((e=>{-1===e?ee.current.focus():ie.querySelector(`[data-tag-index="${e}"]`).focus()}));n.useEffect((()=>{E&&ne>le.length-1&&(oe(-1),Ae(-1))}),[le,E,ne,Ae]);const ze=(0,l.A)((({event:e,index:a,reason:t="auto"})=>{if(se.current=a,-1===a?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${Q}-option-${a}`),W&&W(e,-1===a?null:Se[a],t),!ae.current)return;const n=ae.current.querySelector(`[role="option"].${i}-focused`);n&&(n.classList.remove(`${i}-focused`),n.classList.remove(`${i}-focusVisible`));let o=ae.current;if("listbox"!==ae.current.getAttribute("role")&&(o=ae.current.parentElement.querySelector('[role="listbox"]')),!o)return;if(-1===a)return void(o.scrollTop=0);const r=ae.current.querySelector(`[data-option-index="${a}"]`);if(r&&(r.classList.add(`${i}-focused`),"keyboard"===t&&r.classList.add(`${i}-focusVisible`),o.scrollHeight>o.clientHeight&&"mouse"!==t&&"touch"!==t)){const e=r,a=o.clientHeight+o.scrollTop,i=e.offsetTop+e.offsetHeight;i>a?o.scrollTop=i-o.clientHeight:e.offsetTop-e.offsetHeight*(M?1.3:0){if(!ye)return;const n=function(e,a){if(!ae.current||e<0||e>=Se.length)return-1;let i=e;for(;;){const t=ae.current.querySelector(`[data-option-index="${i}"]`),n=!A&&(!t||t.disabled||"true"===t.getAttribute("aria-disabled"));if(t&&t.hasAttribute("tabindex")&&!n)return i;if(i="next"===a?(i+1)%Se.length:(i-1+Se.length)%Se.length,i===e)return-1}}((()=>{const e=Se.length-1;if("reset"===a)return re;if("start"===a)return 0;if("end"===a)return e;const i=se.current+a;return i<0?-1===i&&R?-1:z&&-1!==se.current||Math.abs(a)>1?0:e:i>e?i===e+1&&R?-1:z||Math.abs(a)>1?e:0:i})(),i);if(ze({index:n,reason:t,event:e}),c&&"reset"!==a)if(-1===n)ee.current.value=ce;else{const e=Z(Se[n]);ee.current.value=e;0===e.toLowerCase().indexOf(ce.toLowerCase())&&ce.length>0&&ee.current.setSelectionRange(ce.length,e.length)}})),Ce=n.useCallback((()=>{if(!ye)return;const e=(()=>{if(-1!==se.current&&we.filteredOptions&&we.filteredOptions.length!==Se.length&&we.inputValue===ce&&(E?le.length===we.value.length&&we.value.every(((e,a)=>Z(le[a])===Z(e))):(e=we.value,a=le,(e?Z(e):"")===(a?Z(a):"")))){const e=we.filteredOptions[se.current];if(e)return u(Se,(a=>Z(a)===Z(e)))}var e,a;return-1})();if(-1!==e)return void(se.current=e);const a=E?le[0]:le;if(0!==Se.length&&null!=a){if(ae.current)if(null==a)se.current>=Se.length-1?ze({index:Se.length-1}):ze({index:se.current});else{const e=Se[se.current];if(E&&e&&-1!==u(le,(a=>N(e,a))))return;const i=u(Se,(e=>N(e,a)));-1===i?je({diff:"reset"}):ze({index:i})}}else je({diff:"reset"})}),[Se.length,!E&&le,C,je,ze,ye,ce,E]),Pe=(0,l.A)((e=>{(0,d.A)(ae,e),e&&Ce()}));n.useEffect((()=>{Ce()}),[Ce]);const xe=e=>{me||(he(!0),ve(!0),U&&U(e))},Oe=(e,a)=>{me&&(he(!1),F&&F(e,a))},De=(e,a,i,t)=>{if(E){if(le.length===a.length&&le.every(((e,i)=>e===a[i])))return}else if(le===a)return;_&&_(e,a,i,t),de(a)},Me=n.useRef(!1),Ie=(e,a,i="selectOption",t="options")=>{let n=i,o=a;if(E){o=Array.isArray(le)?le.slice():[];const e=u(o,(e=>N(a,e)));-1===e?o.push(a):"freeSolo"!==t&&(o.splice(e,1),n="removeOption")}ge(e,o),De(e,o,n,{option:a}),w||e&&(e.ctrlKey||e.metaKey)||Oe(e,n),(!0===h||"touch"===h&&Me.current||"mouse"===h&&!Me.current)&&ee.current.blur()},Be=(e,a)=>{if(!E)return;""===ce&&Oe(e,"toggleInput");let i=ne;-1===ne?""===ce&&"previous"===a&&(i=le.length-1):(i+="next"===a?1:-1,i<0&&(i=0),i===le.length&&(i=-1)),i=function(e,a){if(-1===e)return-1;let i=e;for(;;){if("next"===a&&i===le.length||"previous"===a&&-1===i)return-1;const e=ie.querySelector(`[data-tag-index="${i}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return i;i+="next"===a?1:-1}}(i,a),oe(i),Ae(i)},Re=e=>{Y.current=!0,ue(""),G&&G(e,"","clear"),De(e,E?[]:null,"clear")},Le=e=>a=>{if(e.onKeyDown&&e.onKeyDown(a),!a.defaultMuiPrevented&&(-1!==ne&&-1===["ArrowLeft","ArrowRight"].indexOf(a.key)&&(oe(-1),Ae(-1)),229!==a.which))switch(a.key){case"Home":ye&&I&&(a.preventDefault(),je({diff:"start",direction:"next",reason:"keyboard",event:a}));break;case"End":ye&&I&&(a.preventDefault(),je({diff:"end",direction:"previous",reason:"keyboard",event:a}));break;case"PageUp":a.preventDefault(),je({diff:-5,direction:"previous",reason:"keyboard",event:a}),xe(a);break;case"PageDown":a.preventDefault(),je({diff:5,direction:"next",reason:"keyboard",event:a}),xe(a);break;case"ArrowDown":a.preventDefault(),je({diff:1,direction:"next",reason:"keyboard",event:a}),xe(a);break;case"ArrowUp":a.preventDefault(),je({diff:-1,direction:"previous",reason:"keyboard",event:a}),xe(a);break;case"ArrowLeft":Be(a,"previous");break;case"ArrowRight":Be(a,"next");break;case"Enter":if(-1!==se.current&&ye){const e=Se[se.current],i=!!x&&x(e);if(a.preventDefault(),i)return;Ie(a,e,"selectOption"),c&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else P&&""!==ce&&!1===fe&&(E&&a.preventDefault(),Ie(a,ce,"createOption","freeSolo"));break;case"Escape":ye?(a.preventDefault(),a.stopPropagation(),Oe(a,"escape")):v&&(""!==ce||E&&le.length>0)&&(a.preventDefault(),a.stopPropagation(),Re(a));break;case"Backspace":if(E&&!H&&""===ce&&le.length>0){const e=-1===ne?le.length-1:ne,i=le.slice();i.splice(e,1),De(a,i,"removeOption",{option:le[e]})}break;case"Delete":if(E&&!H&&""===ce&&le.length>0&&-1!==ne){const e=ne,i=le.slice();i.splice(e,1),De(a,i,"removeOption",{option:le[e]})}}},Ne=e=>{be(!0),K&&!Y.current&&xe(e)},Ee=e=>{a(ae)?ee.current.focus():(be(!1),X.current=!0,Y.current=!1,m&&-1!==se.current&&ye?Ie(e,Se[se.current],"blur"):m&&P&&""!==ce?Ie(e,ce,"blur","freeSolo"):k&&ge(e,le),Oe(e,"blur"))},_e=e=>{const a=e.target.value;ce!==a&&(ue(a),ve(!1),G&&G(e,a,"input")),""===a?S||E||De(e,null,"clear"):xe(e)},Fe=e=>{const a=Number(e.currentTarget.getAttribute("data-option-index"));se.current!==a&&ze({event:e,index:a,reason:"mouse"})},We=e=>{ze({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Me.current=!0},Ge=e=>{const a=Number(e.currentTarget.getAttribute("data-option-index"));Ie(e,Se[a],"selectOption"),Me.current=!1},Ue=e=>a=>{const i=le.slice();i.splice(e,1),De(a,i,"removeOption",{option:le[e]})},qe=e=>{me?Oe(e,"toggleInput"):xe(e)},Ke=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Q&&e.preventDefault()},Ve=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),$&&X.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),X.current=!1)},He=e=>{T||""!==ce&&me||qe(e)};let $e=P&&ce.length>0;$e=$e||(E?le.length>0:null!==le);let Je=Se;if(M){new Map;Je=Se.reduce(((e,a,i)=>{const t=M(a);return e.length>0&&e[e.length-1].group===t?e[e.length-1].options.push(a):e.push({key:i,index:i,group:t,options:[a]}),e}),[])}return T&&pe&&Ee(),{getRootProps:(e={})=>(0,t.A)({"aria-owns":Te?`${Q}-listbox`:null},e,{onKeyDown:Le(e),onMouseDown:Ke,onClick:Ve}),getInputLabelProps:()=>({id:`${Q}-label`,htmlFor:Q}),getInputProps:()=>({id:Q,value:ce,onBlur:Ee,onFocus:Ne,onChange:_e,onMouseDown:He,"aria-activedescendant":ye?"":null,"aria-autocomplete":c?"both":"list","aria-controls":Te?`${Q}-listbox`:void 0,"aria-expanded":Te,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:T}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Re}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:qe}),getTagProps:({index:e})=>(0,t.A)({key:e,"data-tag-index":e,tabIndex:-1},!H&&{onDelete:Ue(e)}),getListboxProps:()=>({role:"listbox",id:`${Q}-listbox`,"aria-labelledby":`${Q}-label`,ref:Pe,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:a})=>{var i;const t=(E?le:[le]).some((e=>null!=e&&N(a,e))),n=!!x&&x(a);return{key:null!=(i=null==O?void 0:O(a))?i:Z(a),tabIndex:-1,role:"option",id:`${Q}-option-${e}`,onMouseMove:Fe,onClick:Ge,onTouchStart:We,"data-option-index":e,"aria-disabled":n,"aria-selected":t}},id:Q,inputValue:ce,value:le,dirty:$e,expanded:ye&&ie,popupOpen:ye,focused:pe||-1!==ne,anchorEl:ie,setAnchorEl:te,focusedTag:ne,groupedOptions:Je}}:null},53370:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=61!=i.j?function(e,a,i=(e,a)=>e===a){return e.length===a.length&&e.every(((e,t)=>i(e,a[t])))}:null},40996:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(60184).A},81752:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(36450);const n=61!=i.j?t.A:null},96631:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(40991),n=i(30758),o=i(50123),r=i(86070);function s(e,a){function i(i,n){return(0,r.jsx)(o.A,(0,t.A)({"data-testid":`${a}Icon`,ref:n},i,{children:e}))}return i.muiName=o.A.muiName,n.memo(n.forwardRef(i))}},26577:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(10070).A},68290:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(63668);const n=61!=i.j?t.A:null},16108:(e,a,i)=>{"use strict";i.r(a),i.d(a,{capitalize:()=>n.A,createChainedFunction:()=>o.A,createSvgIcon:()=>r.A,debounce:()=>s.A,deprecatedPropType:()=>l.A,isMuiElement:()=>d.A,ownerDocument:()=>c.A,ownerWindow:()=>u.A,requirePropFactory:()=>p.A,setRef:()=>b.A,unstable_ClassNameGenerator:()=>S,unstable_useEnhancedEffect:()=>g.A,unstable_useId:()=>m.A,unsupportedProp:()=>h.A,useControlled:()=>k.A,useEventCallback:()=>v.A,useForkRef:()=>f.A,useIsFocusVisible:()=>y.A});var t=i(26444);if(61!=i.j)var n=i(40996);if(61!=i.j)var o=i(81752);if(61!=i.j)var r=i(96631);if(61!=i.j)var s=i(26577);if(61!=i.j)var l=i(68290);if(61!=i.j)var d=i(21162);if(61!=i.j)var c=i(80226);if(61!=i.j)var u=i(3299);if(61!=i.j)var p=i(2434);if(61!=i.j)var b=i(45615);if(61!=i.j)var g=i(10908);if(61!=i.j)var m=i(7390);if(61!=i.j)var h=i(97174);if(61!=i.j)var k=i(69429);if(61!=i.j)var v=i(848);if(61!=i.j)var f=i(47786);if(61!=i.j)var y=i(61533);const S={configure:e=>{t.A.configure(e)}}},21162:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n=function(e,a){var i,n;return t.isValidElement(e)&&-1!==a.indexOf(null!=(i=e.type.muiName)?i:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)}},80226:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30798).A},3299:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(63558).A},2434:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(46140);const n=61!=i.j?t.A:null},45615:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(99470);const n=61!=i.j?t.A:null},45253:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(69454);const n=61!=i.j?e=>!e||!(0,t.A)(e):null},97174:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(84262);const n=61!=i.j?t.A:null},69429:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(54294).A},10908:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(47226).A},848:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(25920).A},47786:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(58384).A},7390:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(1542).A},61533:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(12410).A},53731:(e,a,i)=>{"use strict";i.d(a,{A:()=>p});var t=i(40991),n=i(23302),o=i(58384),r=i(44720),s=i(4422),l=i(4476);const d=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],c=["component","slots","slotProps"],u=["component"];function p(e,a){const{className:i,elementType:p,ownerState:b,externalForwardedProps:g,getSlotOwnerState:m,internalForwardedProps:h}=a,k=(0,n.A)(a,d),{component:v,slots:f={[e]:void 0},slotProps:y={[e]:void 0}}=g,S=(0,n.A)(g,c),w=f[e]||p,T=(0,s.A)(y[e],b),A=(0,l.A)((0,t.A)({className:i},k,{externalForwardedProps:"root"===e?S:void 0,externalSlotProps:T})),{props:{component:z},internalRef:j}=A,C=(0,n.A)(A.props,u),P=(0,o.A)(j,null==T?void 0:T.ref,a.ref),x=m?m(C):{},O=(0,t.A)({},b,x),D="root"===e?z||v:z,M=(0,r.A)(w,(0,t.A)({},"root"===e&&!v&&!f[e]&&h,"root"!==e&&!f[e]&&h,C,D&&{as:D},{ref:P}),O);return Object.keys(x).forEach((e=>{delete M[e]})),[w,M]}},1241:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(20020),n=i(86070);function o(e){const{styles:a,defaultTheme:i={}}=e,o="function"==typeof a?e=>{return a(null==(t=e)||0===Object.keys(t).length?i:e);var t}:a;return(0,n.jsx)(t.mL,{styles:o})}},709:(e,a,i)=>{"use strict";i.r(a),i.d(a,{GlobalStyles:()=>T.A,StyledEngineProvider:()=>w,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>A,internal_processStyles:()=>z,keyframes:()=>v.i7});var t=i(40991),n=i(30758),o=i(96606),r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.A)((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=i(12285),d=i(9817),c=i(59987),u=i(59410),p=s,b=function(e){return"theme"!==e},g=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:b},m=function(e,a,i){var t;if(a){var n=a.shouldForwardProp;t=e.__emotion_forwardProp&&n?function(a){return e.__emotion_forwardProp(a)&&n(a)}:n}return"function"!=typeof t&&i&&(t=e.__emotion_forwardProp),t},h=function(e){var a=e.cache,i=e.serialized,t=e.isStringTag;return(0,d.SF)(a,i,t),(0,u.s)((function(){return(0,d.sk)(a,i,t)})),null},k=function e(a,i){var o,r,s=a.__emotion_real===a,u=s&&a.__emotion_base||a;void 0!==i&&(o=i.label,r=i.target);var p=m(a,i,s),b=p||g(u),k=!b("as");return function(){var v=arguments,f=s&&void 0!==a.__emotion_styles?a.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)f.push.apply(f,v);else{f.push(v[0][0]);for(var y=v.length,S=1;S{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=a(e.__emotion_styles))}},89692:(e,a,i)=>{"use strict";var t=i(59173);a.X4=b,a.e$=g,a.eM=function(e,a){const i=p(e),t=p(a);return(Math.max(i,t)+.05)/(Math.min(i,t)+.05)},a.a=m;var n=t(i(61951)),o=t(i(9365));function r(e,a=0,i=1){return(0,o.default)(e,a,i)}function s(e){e=e.slice(1);const a=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(a);return i&&1===i[0].length&&(i=i.map((e=>e+e))),i?`rgb${4===i.length?"a":""}(${i.map(((e,a)=>a<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const a=e.indexOf("("),i=e.substring(0,a);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw new Error((0,n.default)(9,e));let t,o=e.substring(a+1,e.length-1);if("color"===i){if(o=o.split(" "),t=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw new Error((0,n.default)(10,t))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:i,values:o,colorSpace:t}}const d=e=>{const a=l(e);return a.values.slice(0,3).map(((e,i)=>-1!==a.type.indexOf("hsl")&&0!==i?`${e}%`:e)).join(" ")};function c(e){const{type:a,colorSpace:i}=e;let{values:t}=e;return-1!==a.indexOf("rgb")?t=t.map(((e,a)=>a<3?parseInt(e,10):e)):-1!==a.indexOf("hsl")&&(t[1]=`${t[1]}%`,t[2]=`${t[2]}%`),t=-1!==a.indexOf("color")?`${i} ${t.join(" ")}`:`${t.join(", ")}`,`${a}(${t})`}function u(e){e=l(e);const{values:a}=e,i=a[0],t=a[1]/100,n=a[2]/100,o=t*Math.min(n,1-n),r=(e,a=(e+i/30)%12)=>n-o*Math.max(Math.min(a-3,9-a,1),-1);let s="rgb";const d=[Math.round(255*r(0)),Math.round(255*r(8)),Math.round(255*r(4))];return"hsla"===e.type&&(s+="a",d.push(a[3])),c({type:s,values:d})}function p(e){let a="hsl"===(e=l(e)).type||"hsla"===e.type?l(u(e)).values:e.values;return a=a.map((a=>("color"!==e.type&&(a/=255),a<=.03928?a/12.92:((a+.055)/1.055)**2.4))),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function b(e,a){return e=l(e),a=r(a),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${a}`:e.values[3]=a,c(e)}function g(e,a){if(e=l(e),a=r(a),-1!==e.type.indexOf("hsl"))e.values[2]*=1-a;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-a;return c(e)}function m(e,a){if(e=l(e),a=r(a),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*a;else if(-1!==e.type.indexOf("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*a;else if(-1!==e.type.indexOf("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*a;return c(e)}function h(e,a=.15){return p(e)>.5?g(e,a):m(e,a)}},15382:(e,a,i)=>{"use strict";var t=i(59173);a.Ay=function(e={}){const{themeId:a,defaultTheme:i=m,rootShouldForwardProp:t=g,slotShouldForwardProp:l=g}=e,c=e=>(0,d.default)((0,n.default)({},e,{theme:k((0,n.default)({},e,{defaultTheme:i,themeId:a}))}));return c.__mui_systemSx=!0,(e,d={})=>{(0,r.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:u,slot:b,skipVariantsResolver:m,skipSx:y,overridesResolver:S=v(h(b))}=d,w=(0,o.default)(d,p),T=void 0!==m?m:b&&"Root"!==b&&"root"!==b||!1,A=y||!1;let z=g;"Root"===b||"root"===b?z=t:b?z=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(z=void 0);const j=(0,r.default)(e,(0,n.default)({shouldForwardProp:z,label:undefined},w)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?t=>f(e,(0,n.default)({},t,{theme:k({theme:t.theme,defaultTheme:i,themeId:a})})):e,P=(t,...o)=>{let r=C(t);const s=o?o.map(C):[];u&&S&&s.push((e=>{const t=k((0,n.default)({},e,{defaultTheme:i,themeId:a}));if(!t.components||!t.components[u]||!t.components[u].styleOverrides)return null;const o=t.components[u].styleOverrides,r={};return Object.entries(o).forEach((([a,i])=>{r[a]=f(i,(0,n.default)({},e,{theme:t}))})),S(e,r)})),u&&!T&&s.push((e=>{var t;const o=k((0,n.default)({},e,{defaultTheme:i,themeId:a}));return f({variants:null==o||null==(t=o.components)||null==(t=t[u])?void 0:t.variants},(0,n.default)({},e,{theme:o}))})),A||s.push(c);const l=s.length-o.length;if(Array.isArray(t)&&l>0){const e=new Array(l).fill("");r=[...t,...e],r.raw=[...t.raw,...e]}const d=j(r,...s);return e.muiName&&(d.muiName=e.muiName),d};return j.withConfig&&(P.withConfig=j.withConfig),P}};var n=t(i(91993)),o=t(i(29224)),r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=b(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var r=n?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(t,o,r):t[o]=e[o]}return t.default=e,i&&i.set(e,t),t}(i(709)),s=i(51240),l=(t(i(11032)),t(i(51439)),t(i(18055))),d=t(i(74208));const c=["ownerState"],u=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function b(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(b=function(e){return e?i:a})(e)}function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:a,themeId:i}){return t=a,0===Object.keys(t).length?e:a[i]||a;var t}function v(e){return e?(a,i)=>i[e]:null}function f(e,a){let{ownerState:i}=a,t=(0,o.default)(a,c);const r="function"==typeof e?e((0,n.default)({ownerState:i},t)):e;if(Array.isArray(r))return r.flatMap((e=>f(e,(0,n.default)({ownerState:i},t))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let a=(0,o.default)(r,u);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,n.default)({ownerState:i},t,i)):Object.keys(e.props).forEach((a=>{(null==i?void 0:i[a])!==e.props[a]&&t[a]!==e.props[a]&&(o=!1)})),o&&(Array.isArray(a)||(a=[a]),a.push("function"==typeof e.style?e.style((0,n.default)({ownerState:i},t,i)):e.style))})),a}return r}},88780:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,b:()=>s});var t=i(30758),n=i(79728),o=i(86070);const r=t.createContext(void 0);function s({props:e,name:a}){return function(e){const{theme:a,name:i,props:t}=e;if(!a||!a.components||!a.components[i])return t;const o=a.components[i];return o.defaultProps?(0,n.A)(o.defaultProps,t):o.styleOverrides||o.variants?t:(0,n.A)(o,t)}({props:e,name:a,theme:{components:t.useContext(r)}})}const l=function({value:e,children:a}){return(0,o.jsx)(r.Provider,{value:e,children:a})}},9073:(e,a,i)=>{"use strict";i.d(a,{A:()=>c,I:()=>d});var t=i(40991),n=i(23302),o=i(30758),r=i(86070);const s=["value"],l=o.createContext();const d=()=>{const e=o.useContext(l);return null!=e&&e},c=function(e){let{value:a}=e,i=(0,n.A)(e,s);return(0,r.jsx)(l.Provider,(0,t.A)({value:null==a||a},i))}},81385:(e,a,i)=>{"use strict";i.d(a,{EU:()=>s,NI:()=>r,iZ:()=>d,kW:()=>c,vf:()=>l,zu:()=>n});var t=i(98638);const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function r(e,a,i){const t=e.theme||{};if(Array.isArray(a)){const e=t.breakpoints||o;return a.reduce(((t,n,o)=>(t[e.up(e.keys[o])]=i(a[o]),t)),{})}if("object"==typeof a){const e=t.breakpoints||o;return Object.keys(a).reduce(((t,o)=>{if(-1!==Object.keys(e.values||n).indexOf(o)){t[e.up(o)]=i(a[o],o)}else{const e=o;t[e]=a[e]}return t}),{})}return i(a)}function s(e={}){var a;return(null==(a=e.keys)?void 0:a.reduce(((a,i)=>(a[e.up(i)]={},a)),{}))||{}}function l(e,a){return e.reduce(((e,a)=>{const i=e[a];return(!i||0===Object.keys(i).length)&&delete e[a],e}),a)}function d(e,...a){const i=s(e),n=[i,...a].reduce(((e,a)=>(0,t.A)(e,a)),{});return l(Object.keys(i),n)}function c({values:e,breakpoints:a,base:i}){const t=i||function(e,a){if("object"!=typeof e)return{};const i={},t=Object.keys(a);return Array.isArray(e)?t.forEach(((a,t)=>{t{null!=e[a]&&(i[a]=!0)})),i}(e,a),n=Object.keys(t);if(0===n.length)return e;let o;return n.reduce(((a,i,t)=>(Array.isArray(e)?(a[i]=null!=e[t]?e[t]:e[o],o=t):"object"==typeof e?(a[i]=null!=e[i]?e[i]:e[o],o=i):a[i]=e,a)),{})}},64893:(e,a,i)=>{"use strict";function t(e,a){const i=this;if(i.vars&&"function"==typeof i.getColorSchemeSelector){const t=i.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[t]:a}}return i.palette.mode===e?a:{}}i.d(a,{A:()=>t})},24107:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(23302),n=i(40991);const o=["values","unit","step"],r=e=>{const a=Object.keys(e).map((a=>({key:a,val:e[a]})))||[];return a.sort(((e,a)=>e.val-a.val)),a.reduce(((e,a)=>(0,n.A)({},e,{[a.key]:a.val})),{})};function s(e){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:s=5}=e,l=(0,t.A)(e,o),d=r(a),c=Object.keys(d);function u(e){return`@media (min-width:${"number"==typeof a[e]?a[e]:e}${i})`}function p(e){return`@media (max-width:${("number"==typeof a[e]?a[e]:e)-s/100}${i})`}function b(e,t){const n=c.indexOf(t);return`@media (min-width:${"number"==typeof a[e]?a[e]:e}${i}) and (max-width:${(-1!==n&&"number"==typeof a[c[n]]?a[c[n]]:t)-s/100}${i})`}return(0,n.A)({keys:c,values:d,up:u,down:p,between:b,only:function(e){return c.indexOf(e)+1{"use strict";i.d(a,{A:()=>b});var t=i(40991),n=i(23302),o=i(98638),r=i(24107);const s={borderRadius:4};var l=i(66159);var d=i(42898),c=i(37115),u=i(64893);const p=["breakpoints","palette","spacing","shape"];const b=function(e={},...a){const{breakpoints:i={},palette:b={},spacing:g,shape:m={}}=e,h=(0,n.A)(e,p),k=(0,r.A)(i),v=function(e=8){if(e.mui)return e;const a=(0,l.LX)({spacing:e}),i=(...e)=>(0===e.length?[1]:e).map((e=>{const i=a(e);return"number"==typeof i?`${i}px`:i})).join(" ");return i.mui=!0,i}(g);let f=(0,o.A)({breakpoints:k,direction:"ltr",components:{},palette:(0,t.A)({mode:"light"},b),spacing:v,shape:(0,t.A)({},s,m)},h);return f.applyStyles=u.A,f=a.reduce(((e,a)=>(0,o.A)(e,a)),f),f.unstable_sxConfig=(0,t.A)({},c.A,null==h?void 0:h.unstable_sxConfig),f.unstable_sx=function(e){return(0,d.A)({sx:e,theme:this})},f}},18055:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,private_createBreakpoints:()=>n.A,unstable_applyStyles:()=>o.A});var t=i(42046),n=i(24107),o=i(64893)},61313:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(98638);const n=function(e,a){return a?(0,t.A)(e,a,{clone:!1}):e}},66159:(e,a,i)=>{"use strict";i.d(a,{LX:()=>g,MA:()=>b,_W:()=>m,Lc:()=>v,Ms:()=>f});var t=i(81385),n=i(40104),o=i(61313);const r={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},d=function(e){const a={};return i=>(void 0===a[i]&&(a[i]=e(i)),a[i])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[a,i]=e.split(""),t=r[a],n=s[i]||"";return Array.isArray(n)?n.map((e=>t+e)):[t+n]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],u=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...u];function b(e,a,i,t){var o;const r=null!=(o=(0,n.Yn)(e,a,!1))?o:i;return"number"==typeof r?e=>"string"==typeof e?e:r*e:Array.isArray(r)?e=>"string"==typeof e?e:r[e]:"function"==typeof r?r:()=>{}}function g(e){return b(e,"spacing",8)}function m(e,a){if("string"==typeof a||null==a)return a;const i=e(Math.abs(a));return a>=0?i:"number"==typeof i?-i:`-${i}`}function h(e,a,i,n){if(-1===a.indexOf(i))return null;const o=function(e,a){return i=>e.reduce(((e,t)=>(e[t]=m(a,i),e)),{})}(d(i),n),r=e[i];return(0,t.NI)(e,r,o)}function k(e,a){const i=g(e.theme);return Object.keys(e).map((t=>h(e,a,t,i))).reduce(o.A,{})}function v(e){return k(e,c)}function f(e){return k(e,u)}function y(e){return k(e,p)}v.propTypes={},v.filterProps=c,f.propTypes={},f.filterProps=u,y.propTypes={},y.filterProps=p},40104:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>s,BO:()=>r,Yn:()=>o});var t=i(60184),n=i(81385);function o(e,a,i=!0){if(!a||"string"!=typeof a)return null;if(e&&e.vars&&i){const i=`vars.${a}`.split(".").reduce(((e,a)=>e&&e[a]?e[a]:null),e);if(null!=i)return i}return a.split(".").reduce(((e,a)=>e&&null!=e[a]?e[a]:null),e)}function r(e,a,i,t=i){let n;return n="function"==typeof e?e(i):Array.isArray(e)?e[i]||t:o(e,i)||t,a&&(n=a(n,t,e)),n}const s=function(e){const{prop:a,cssProperty:i=e.prop,themeKey:s,transform:l}=e,d=e=>{if(null==e[a])return null;const d=e[a],c=o(e.theme,s)||{};return(0,n.NI)(e,d,(e=>{let n=r(c,l,e);return e===n&&"string"==typeof e&&(n=r(c,l,`${a}${"default"===e?"":(0,t.A)(e)}`,e)),!1===i?n:{[i]:n}}))};return d.propTypes={},d.filterProps=[a],d}},37115:(e,a,i)=>{"use strict";i.d(a,{A:()=>B});var t=i(66159),n=i(40104),o=i(61313);const r=function(...e){const a=e.reduce(((e,a)=>(a.filterProps.forEach((i=>{e[i]=a})),e)),{}),i=e=>Object.keys(e).reduce(((i,t)=>a[t]?(0,o.A)(i,a[t](e)):i),{});return i.propTypes={},i.filterProps=e.reduce(((e,a)=>e.concat(a.filterProps)),[]),i};var s=i(81385);function l(e){return"number"!=typeof e?e:`${e}px solid`}function d(e,a){return(0,n.Ay)({prop:e,themeKey:"borders",transform:a})}const c=d("border",l),u=d("borderTop",l),p=d("borderRight",l),b=d("borderBottom",l),g=d("borderLeft",l),m=d("borderColor"),h=d("borderTopColor"),k=d("borderRightColor"),v=d("borderBottomColor"),f=d("borderLeftColor"),y=d("outline",l),S=d("outlineColor"),w=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const a=(0,t.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),i=e=>({borderRadius:(0,t._W)(a,e)});return(0,s.NI)(e,e.borderRadius,i)}return null};w.propTypes={},w.filterProps=["borderRadius"];r(c,u,p,b,g,m,h,k,v,f,w,y,S);const T=e=>{if(void 0!==e.gap&&null!==e.gap){const a=(0,t.MA)(e.theme,"spacing",8,"gap"),i=e=>({gap:(0,t._W)(a,e)});return(0,s.NI)(e,e.gap,i)}return null};T.propTypes={},T.filterProps=["gap"];const A=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const a=(0,t.MA)(e.theme,"spacing",8,"columnGap"),i=e=>({columnGap:(0,t._W)(a,e)});return(0,s.NI)(e,e.columnGap,i)}return null};A.propTypes={},A.filterProps=["columnGap"];const z=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const a=(0,t.MA)(e.theme,"spacing",8,"rowGap"),i=e=>({rowGap:(0,t._W)(a,e)});return(0,s.NI)(e,e.rowGap,i)}return null};z.propTypes={},z.filterProps=["rowGap"];r(T,A,z,(0,n.Ay)({prop:"gridColumn"}),(0,n.Ay)({prop:"gridRow"}),(0,n.Ay)({prop:"gridAutoFlow"}),(0,n.Ay)({prop:"gridAutoColumns"}),(0,n.Ay)({prop:"gridAutoRows"}),(0,n.Ay)({prop:"gridTemplateColumns"}),(0,n.Ay)({prop:"gridTemplateRows"}),(0,n.Ay)({prop:"gridTemplateAreas"}),(0,n.Ay)({prop:"gridArea"}));function j(e,a){return"grey"===a?a:e}r((0,n.Ay)({prop:"color",themeKey:"palette",transform:j}),(0,n.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:j}),(0,n.Ay)({prop:"backgroundColor",themeKey:"palette",transform:j}));function C(e){return e<=1&&0!==e?100*e+"%":e}const P=(0,n.Ay)({prop:"width",transform:C}),x=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const a=a=>{var i,t;const n=(null==(i=e.theme)||null==(i=i.breakpoints)||null==(i=i.values)?void 0:i[a])||s.zu[a];return n?"px"!==(null==(t=e.theme)||null==(t=t.breakpoints)?void 0:t.unit)?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:C(a)}};return(0,s.NI)(e,e.maxWidth,a)}return null};x.filterProps=["maxWidth"];const O=(0,n.Ay)({prop:"minWidth",transform:C}),D=(0,n.Ay)({prop:"height",transform:C}),M=(0,n.Ay)({prop:"maxHeight",transform:C}),I=(0,n.Ay)({prop:"minHeight",transform:C}),B=((0,n.Ay)({prop:"size",cssProperty:"width",transform:C}),(0,n.Ay)({prop:"size",cssProperty:"height",transform:C}),r(P,x,O,D,M,I,(0,n.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:j},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:j},backgroundColor:{themeKey:"palette",transform:j},p:{style:t.Ms},pt:{style:t.Ms},pr:{style:t.Ms},pb:{style:t.Ms},pl:{style:t.Ms},px:{style:t.Ms},py:{style:t.Ms},padding:{style:t.Ms},paddingTop:{style:t.Ms},paddingRight:{style:t.Ms},paddingBottom:{style:t.Ms},paddingLeft:{style:t.Ms},paddingX:{style:t.Ms},paddingY:{style:t.Ms},paddingInline:{style:t.Ms},paddingInlineStart:{style:t.Ms},paddingInlineEnd:{style:t.Ms},paddingBlock:{style:t.Ms},paddingBlockStart:{style:t.Ms},paddingBlockEnd:{style:t.Ms},m:{style:t.Lc},mt:{style:t.Lc},mr:{style:t.Lc},mb:{style:t.Lc},ml:{style:t.Lc},mx:{style:t.Lc},my:{style:t.Lc},margin:{style:t.Lc},marginTop:{style:t.Lc},marginRight:{style:t.Lc},marginBottom:{style:t.Lc},marginLeft:{style:t.Lc},marginX:{style:t.Lc},marginY:{style:t.Lc},marginInline:{style:t.Lc},marginInlineStart:{style:t.Lc},marginInlineEnd:{style:t.Lc},marginBlock:{style:t.Lc},marginBlockStart:{style:t.Lc},marginBlockEnd:{style:t.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:T},rowGap:{style:z},columnGap:{style:A},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:x},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},13376:(e,a,i)=>{"use strict";i.d(a,{A:()=>d});var t=i(40991),n=i(23302),o=i(98638),r=i(37115);const s=["sx"],l=e=>{var a,i;const t={systemProps:{},otherProps:{}},n=null!=(a=null==e||null==(i=e.theme)?void 0:i.unstable_sxConfig)?a:r.A;return Object.keys(e).forEach((a=>{n[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]})),t};function d(e){const{sx:a}=e,i=(0,n.A)(e,s),{systemProps:r,otherProps:d}=l(i);let c;return c=Array.isArray(a)?[r,...a]:"function"==typeof a?(...e)=>{const i=a(...e);return(0,o.Q)(i)?(0,t.A)({},r,i):r}:(0,t.A)({},r,a),(0,t.A)({},d,{sx:c})}},74208:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,extendSxProp:()=>n.A,unstable_createStyleFunctionSx:()=>t.k,unstable_defaultSxConfig:()=>o.A});var t=i(42898),n=i(13376),o=i(37115)},42898:(e,a,i)=>{"use strict";i.d(a,{A:()=>c,k:()=>l});var t=i(60184),n=i(61313),o=i(40104),r=i(81385),s=i(37115);function l(){function e(e,a,i,n){const s={[e]:a,theme:i},l=n[e];if(!l)return{[e]:a};const{cssProperty:d=e,themeKey:c,transform:u,style:p}=l;if(null==a)return null;if("typography"===c&&"inherit"===a)return{[e]:a};const b=(0,o.Yn)(i,c)||{};if(p)return p(s);return(0,r.NI)(s,a,(a=>{let i=(0,o.BO)(b,u,a);return a===i&&"string"==typeof a&&(i=(0,o.BO)(b,u,`${e}${"default"===a?"":(0,t.A)(a)}`,a)),!1===d?i:{[d]:i}}))}return function a(i){var t;const{sx:o,theme:l={}}=i||{};if(!o)return null;const d=null!=(t=l.unstable_sxConfig)?t:s.A;function c(i){let t=i;if("function"==typeof i)t=i(l);else if("object"!=typeof i)return i;if(!t)return null;const o=(0,r.EU)(l.breakpoints),s=Object.keys(o);let c=o;return Object.keys(t).forEach((i=>{const o=(s=t[i],u=l,"function"==typeof s?s(u):s);var s,u;if(null!=o)if("object"==typeof o)if(d[i])c=(0,n.A)(c,e(i,o,l,d));else{const e=(0,r.NI)({theme:l},o,(e=>({[i]:e})));!function(...e){const a=e.reduce(((e,a)=>e.concat(Object.keys(a))),[]),i=new Set(a);return e.every((e=>i.size===Object.keys(e).length))}(e,o)?c=(0,n.A)(c,e):c[i]=a({sx:o,theme:l})}else c=(0,n.A)(c,e(i,o,l,d))})),(0,r.vf)(s,c)}return Array.isArray(o)?o.map(c):c(o)}}const d=l();d.filterProps=["sx"];const c=d},86769:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(40991),n=i(23302),o=i(709),r=i(98638),s=i(42046),l=i(42898);const d=["ownerState"],c=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const b=(0,s.A)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:a,themeId:i}){return t=a,0===Object.keys(t).length?e:a[i]||a;var t}function h(e){return e?(a,i)=>i[e]:null}function k(e,a){let{ownerState:i}=a,o=(0,n.A)(a,d);const r="function"==typeof e?e((0,t.A)({ownerState:i},o)):e;if(Array.isArray(r))return r.flatMap((e=>k(e,(0,t.A)({ownerState:i},o))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let a=(0,n.A)(r,c);return e.forEach((e=>{let n=!0;"function"==typeof e.props?n=e.props((0,t.A)({ownerState:i},o,i)):Object.keys(e.props).forEach((a=>{(null==i?void 0:i[a])!==e.props[a]&&o[a]!==e.props[a]&&(n=!1)})),n&&(Array.isArray(a)||(a=[a]),a.push("function"==typeof e.style?e.style((0,t.A)({ownerState:i},o,i)):e.style))})),a}return r}const v=function(e={}){const{themeId:a,defaultTheme:i=b,rootShouldForwardProp:s=p,slotShouldForwardProp:d=p}=e,c=e=>(0,l.A)((0,t.A)({},e,{theme:m((0,t.A)({},e,{defaultTheme:i,themeId:a}))}));return c.__mui_systemSx=!0,(e,l={})=>{(0,o.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:b,slot:v,skipVariantsResolver:f,skipSx:y,overridesResolver:S=h(g(v))}=l,w=(0,n.A)(l,u),T=void 0!==f?f:v&&"Root"!==v&&"root"!==v||!1,A=y||!1;let z=p;"Root"===v||"root"===v?z=s:v?z=d:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(z=void 0);const j=(0,o.default)(e,(0,t.A)({shouldForwardProp:z,label:undefined},w)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,r.Q)(e)?n=>k(e,(0,t.A)({},n,{theme:m({theme:n.theme,defaultTheme:i,themeId:a})})):e,P=(n,...o)=>{let r=C(n);const s=o?o.map(C):[];b&&S&&s.push((e=>{const n=m((0,t.A)({},e,{defaultTheme:i,themeId:a}));if(!n.components||!n.components[b]||!n.components[b].styleOverrides)return null;const o=n.components[b].styleOverrides,r={};return Object.entries(o).forEach((([a,i])=>{r[a]=k(i,(0,t.A)({},e,{theme:n}))})),S(e,r)})),b&&!T&&s.push((e=>{var n;const o=m((0,t.A)({},e,{defaultTheme:i,themeId:a}));return k({variants:null==o||null==(n=o.components)||null==(n=n[b])?void 0:n.variants},(0,t.A)({},e,{theme:o}))})),A||s.push(c);const l=s.length-o.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");r=[...n,...e],r.raw=[...n.raw,...e]}const d=j(r,...s);return e.muiName&&(d.muiName=e.muiName),d};return j.withConfig&&(P.withConfig=j.withConfig),P}}()},25657:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(42046),n=i(37360);const o=(0,t.A)();const r=function(e=o){return(0,n.A)(e)}},23141:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(79728);var n=i(25657);function o({props:e,name:a,defaultTheme:i,themeId:o}){let r=(0,n.A)(i);o&&(r=r[o]||r);const s=function(e){const{theme:a,name:i,props:n}=e;return a&&a.components&&a.components[i]&&a.components[i].defaultProps?(0,t.A)(a.components[i].defaultProps,n):n}({theme:r,name:a,props:e});return s}},37360:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758),n=i(12285);const o=function(e=null){const a=t.useContext(n.T);return a&&(i=a,0!==Object.keys(i).length)?a:e;var i}},27028:(e,a,i)=>{"use strict";a.A=void 0;var t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=o(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var s=n?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(t,r,s):t[r]=e[r]}return t.default=e,i&&i.set(e,t),t}(i(30758)),n=i(709);function o(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(o=function(e){return e?i:a})(e)}a.A=function(e=null){const a=t.useContext(n.ThemeContext);return a&&(i=a,0!==Object.keys(i).length)?a:e;var i}},26444:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=e=>e,n=(()=>{let e=t;return{configure(a){e=a},generate:a=>e(a),reset(){e=t}}})()},44720:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(40991),n=i(69454);const o=function(e,a,i){return void 0===e||(0,n.A)(e)?a:(0,t.A)({},a,{ownerState:(0,t.A)({},a.ownerState,i)})}},60184:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(19862);function n(e){if("string"!=typeof e)throw new Error((0,t.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},11032:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(60184)},42334:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(e,i))}},9365:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(42334)},12060:(e,a,i)=>{"use strict";function t(e,a,i=void 0){const t={};return Object.keys(e).forEach((n=>{t[n]=e[n].reduce(((e,t)=>{if(t){const n=a(t);""!==n&&e.push(n),i&&i[t]&&e.push(i[t])}return e}),[]).join(" ")})),t}i.d(a,{A:()=>t})},36450:(e,a,i)=>{"use strict";function t(...e){return e.reduce(((e,a)=>null==a?e:function(...i){e.apply(this,i),a.apply(this,i)}),(()=>{}))}i.d(a,{A:()=>t})},10070:(e,a,i)=>{"use strict";function t(e,a=166){let i;function t(...t){clearTimeout(i),i=setTimeout((()=>{e.apply(this,t)}),a)}return t.clear=()=>{clearTimeout(i)},t}i.d(a,{A:()=>t})},98638:(e,a,i)=>{"use strict";i.d(a,{A:()=>r,Q:()=>n});var t=i(40991);function n(e){if("object"!=typeof e||null===e)return!1;const a=Object.getPrototypeOf(e);return!(null!==a&&a!==Object.prototype&&null!==Object.getPrototypeOf(a)||Symbol.toStringTag in e||Symbol.iterator in e)}function o(e){if(!n(e))return e;const a={};return Object.keys(e).forEach((i=>{a[i]=o(e[i])})),a}function r(e,a,i={clone:!0}){const s=i.clone?(0,t.A)({},e):e;return n(e)&&n(a)&&Object.keys(a).forEach((t=>{n(a[t])&&Object.prototype.hasOwnProperty.call(e,t)&&n(e[t])?s[t]=r(e[t],a[t],i):i.clone?s[t]=n(a[t])?o(a[t]):a[t]:s[t]=a[t]})),s}},51240:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,isPlainObject:()=>t.Q});var t=i(98638)},63668:(e,a,i)=>{"use strict";function t(e,a){return()=>null}i.d(a,{A:()=>t})},90764:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a=[]){if(void 0===e)return{};const i={};return Object.keys(e).filter((i=>i.match(/^on[A-Z]/)&&"function"==typeof e[i]&&!a.includes(i))).forEach((a=>{i[a]=e[a]})),i}},19862:(e,a,i)=>{"use strict";function t(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;et})},61951:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(19862)},87310:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>o});var t=i(26444);const n={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,a,i="Mui"){const o=n[a];return o?`${i}-${o}`:`${t.A.generate(e)}-${a}`}},82070:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(87310);function n(e,a,i="Mui"){const n={};return a.forEach((a=>{n[a]=(0,t.Ay)(e,a,i)})),n}},51439:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>l,getFunctionName:()=>o});var t=i(84276);const n=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o(e){const a=`${e}`.match(n);return a&&a[1]||""}function r(e,a=""){return e.displayName||e.name||o(e)||a}function s(e,a,i){const t=r(a);return e.displayName||(""!==t?`${i}(${t})`:i)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return r(e,"Component");if("object"==typeof e)switch(e.$$typeof){case t.ForwardRef:return s(e,e.render,"ForwardRef");case t.Memo:return s(e,e.type,"memo");default:return}}}},9086:(e,a,i)=>{"use strict";function t(e){const a=e.documentElement.clientWidth;return Math.abs(window.innerWidth-a)}i.d(a,{A:()=>t})},88830:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);function n(e){return t.Children.toArray(e).filter((e=>t.isValidElement(e)))}},69454:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e){return"string"==typeof e}},4476:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(40991),n=i(13526),o=i(90764);const r=function(e){if(void 0===e)return{};const a={};return Object.keys(e).filter((a=>!(a.match(/^on[A-Z]/)&&"function"==typeof e[a]))).forEach((i=>{a[i]=e[i]})),a};const s=function(e){const{getSlotProps:a,additionalProps:i,externalSlotProps:s,externalForwardedProps:l,className:d}=e;if(!a){const e=(0,n.A)(null==i?void 0:i.className,d,null==l?void 0:l.className,null==s?void 0:s.className),a=(0,t.A)({},null==i?void 0:i.style,null==l?void 0:l.style,null==s?void 0:s.style),o=(0,t.A)({},i,l,s);return e.length>0&&(o.className=e),Object.keys(a).length>0&&(o.style=a),{props:o,internalRef:void 0}}const c=(0,o.A)((0,t.A)({},l,s)),u=r(s),p=r(l),b=a(c),g=(0,n.A)(null==b?void 0:b.className,null==i?void 0:i.className,d,null==l?void 0:l.className,null==s?void 0:s.className),m=(0,t.A)({},null==b?void 0:b.style,null==i?void 0:i.style,null==l?void 0:l.style,null==s?void 0:s.style),h=(0,t.A)({},b,i,p,u);return g.length>0&&(h.className=g),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:b.ref}}},30798:(e,a,i)=>{"use strict";function t(e){return e&&e.ownerDocument||document}i.d(a,{A:()=>t})},63558:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30798);function n(e){return(0,t.A)(e).defaultView||window}},46140:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>t}),61!=i.j)i(40991);function t(e,a){return()=>null}},4422:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a,i){return"function"==typeof e?e(a,i):e}},79728:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(40991);function n(e,a){const i=(0,t.A)({},a);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))i[o]=(0,t.A)({},e[o],i[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const r=e[o]||{},s=a[o];i[o]={},s&&Object.keys(s)?r&&Object.keys(r)?(i[o]=(0,t.A)({},s),Object.keys(r).forEach((e=>{i[o][e]=n(r[e],s[e])}))):i[o]=s:i[o]=r}else void 0===i[o]&&(i[o]=e[o])})),i}},23076:(e,a,i)=>{"use strict";let t;function n(){if(t)return t;const e=document.createElement("div"),a=document.createElement("div");return a.style.width="10px",a.style.height="1px",e.appendChild(a),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),t="reverse",e.scrollLeft>0?t="default":(e.scrollLeft=1,0===e.scrollLeft&&(t="negative")),document.body.removeChild(e),t}function o(e,a){const i=e.scrollLeft;if("rtl"!==a)return i;switch(n()){case"negative":return e.scrollWidth-e.clientWidth+i;case"reverse":return e.scrollWidth-e.clientWidth-i;default:return i}}i.d(a,{A:()=>o,t:()=>n})},99470:(e,a,i)=>{"use strict";function t(e,a){"function"==typeof e?e(a):e&&(e.current=a)}i.d(a,{A:()=>t})},84262:(e,a,i)=>{"use strict";function t(e,a,i,t,n){return null}i.d(a,{A:()=>t})},54294:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);function n({controlled:e,default:a,name:i,state:n="value"}){const{current:o}=t.useRef(void 0!==e),[r,s]=t.useState(a);return[o?e:r,t.useCallback((e=>{o||s(e)}),[])]}},47226:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n="undefined"!=typeof window?t.useLayoutEffect:t.useEffect},25920:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758),n=i(47226);const o=function(e){const a=t.useRef(e);return(0,n.A)((()=>{a.current=e})),t.useRef(((...e)=>(0,a.current)(...e))).current}},58384:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(30758),n=i(99470);function o(...e){return t.useMemo((()=>e.every((e=>null==e))?null:a=>{e.forEach((e=>{(0,n.A)(e,a)}))}),e)}},1542:(e,a,i)=>{"use strict";var t;i.d(a,{A:()=>s});var n=i(30758);let o=0;const r=(t||(t=i.t(n,2)))["useId".toString()];function s(e){if(void 0!==r){const a=r();return null!=e?e:a}return function(e){const[a,i]=n.useState(e),t=e||a;return n.useEffect((()=>{null==a&&(o+=1,i(`mui-${o}`))}),[a]),t}(e)}},12410:(e,a,i)=>{"use strict";i.d(a,{A:()=>b});var t=i(30758),n=i(36109);let o=!0,r=!1;const s=new n.E,l={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 d(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function c(){o=!1}function u(){"hidden"===this.visibilityState&&r&&(o=!0)}function p(e){const{target:a}=e;try{return a.matches(":focus-visible")}catch(e){}return o||function(e){const{type:a,tagName:i}=e;return!("INPUT"!==i||!l[a]||e.readOnly)||"TEXTAREA"===i&&!e.readOnly||!!e.isContentEditable}(a)}function b(){const e=t.useCallback((e=>{var a;null!=e&&((a=e.ownerDocument).addEventListener("keydown",d,!0),a.addEventListener("mousedown",c,!0),a.addEventListener("pointerdown",c,!0),a.addEventListener("touchstart",c,!0),a.addEventListener("visibilitychange",u,!0))}),[]),a=t.useRef(!1);return{isFocusVisibleRef:a,onFocus:function(e){return!!p(e)&&(a.current=!0,!0)},onBlur:function(){return!!a.current&&(r=!0,s.start(100,(()=>{r=!1})),a.current=!1,!0)},ref:e}}},22252:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n=61!=i.j?e=>{const a=t.useRef({});return t.useEffect((()=>{a.current=e})),a.current}:null},30838:(e,a,i)=>{"use strict";i.d(a,{A:()=>c});var t=i(40991),n=i(23302),o=i(58384),r=i(44720),s=i(4476),l=i(4422);const d=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const c=function(e){var a;const{elementType:i,externalSlotProps:c,ownerState:u,skipResolvingSlotProps:p=!1}=e,b=(0,n.A)(e,d),g=p?{}:(0,l.A)(c,u),{props:m,internalRef:h}=(0,s.A)((0,t.A)({},b,{externalSlotProps:g})),k=(0,o.A)(h,null==g?void 0:g.ref,null==(a=e.additionalProps)?void 0:a.ref);return(0,r.A)(i,(0,t.A)({},m,{ref:k}),u)}},36109:(e,a,i)=>{"use strict";i.d(a,{E:()=>r,A:()=>s});var t=i(30758);const n={};const o=[];class r{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new r}start(e,a){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,a()}),e)}}function s(){const e=function(e,a){const i=t.useRef(n);return i.current===n&&(i.current=e(a)),i}(r.create).current;var a;return a=e.disposeEffect,t.useEffect(a,o),e}},96222:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=61!=i.j?{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}:null},23726:(e,a,i)=>{"use strict"; + `),z))),M=61!=i.j?r.forwardRef((function(e,a){const i=(0,m.b)({props:e,name:"MuiLinearProgress"}),{className:r,color:l="primary",value:d,valueBuffer:p,variant:k="indeterminate"}=i,v=(0,t.A)(i,h),f=(0,n.A)({},i,{color:l,variant:k}),y=(e=>{const{classes:a,variant:i,color:t}=e,n={root:["root",`color${(0,u.A)(t)}`,i],dashed:["dashed",`dashedColor${(0,u.A)(t)}`],bar1:["bar",`barColor${(0,u.A)(t)}`,("indeterminate"===i||"query"===i)&&"bar1Indeterminate","determinate"===i&&"bar1Determinate","buffer"===i&&"bar1Buffer"],bar2:["bar","buffer"!==i&&`barColor${(0,u.A)(t)}`,"buffer"===i&&`color${(0,u.A)(t)}`,("indeterminate"===i||"query"===i)&&"bar2Indeterminate","buffer"===i&&"bar2Buffer"]};return(0,s.A)(n,b.l,a)})(f),w=(0,c.I)(),S={},T={bar1:{},bar2:{}};if("determinate"===k||"buffer"===k)if(void 0!==d){S["aria-valuenow"]=Math.round(d),S["aria-valuemin"]=0,S["aria-valuemax"]=100;let e=d-100;w&&(e=-e),T.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===k)if(void 0!==p){let e=(p||0)-100;w&&(e=-e),T.bar2.transform=`translateX(${e}%)`}else 0;return(0,g.jsxs)(C,(0,n.A)({className:(0,o.A)(y.root,r),ownerState:f,role:"progressbar"},S,{ref:a},v,{children:["buffer"===k?(0,g.jsx)(x,{className:y.dashed,ownerState:f}):null,(0,g.jsx)(D,{className:y.bar1,ownerState:f,style:T.bar1}),"determinate"===k?null:(0,g.jsx)(O,{className:y.bar2,ownerState:f,style:T.bar2})]}))})):null,I=61!=i.j?M:null},30882:(e,a,i)=>{"use strict";i.d(a,{l:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiLinearProgress",e)}(0,t.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"])},85478:(e,a,i)=>{"use strict";i.d(a,{A:()=>z});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(25697),d=i(84361),c=i(74692),u=i(15506),p=i(7443),m=i(64858),b=i(13028),g=i(26468);function h(e){return(0,g.Ay)("MuiLink",e)}const k=(0,b.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=i(7450),f=i(62162);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=({theme:e,ownerState:a})=>{const i=(e=>y[e]||e)(a.color),t=(0,v.Yn)(e,`palette.${i}`,!1)||a.color,n=(0,v.Yn)(e,`palette.${i}Channel`);return"vars"in e&&n?`rgba(${n} / 0.4)`:(0,f.X4)(t,.4)};var S=i(86070);const T=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],A=(0,d.Ay)(m.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`underline${(0,l.A)(i.underline)}`],"button"===i.component&&a.button]}})((({theme:e,ownerState:a})=>(0,n.A)({},"none"===a.underline&&{textDecoration:"none"},"hover"===a.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===a.underline&&(0,n.A)({textDecoration:"underline"},"inherit"!==a.color&&{textDecorationColor:w({theme:e,ownerState:a})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===a.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.focusVisible}`]:{outline:"auto"}}))),z=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiLink"}),{className:d,color:m="primary",component:b="a",onBlur:g,onFocus:k,TypographyClasses:v,underline:f="always",variant:w="inherit",sx:z}=i,P=(0,t.A)(i,T),{isFocusVisibleRef:j,onBlur:C,onFocus:x,ref:D}=(0,u.A)(),[O,M]=r.useState(!1),I=(0,p.A)(a,D),B=(0,n.A)({},i,{color:m,component:b,focusVisible:O,underline:f,variant:w}),L=(e=>{const{classes:a,component:i,focusVisible:t,underline:n}=e,r={root:["root",`underline${(0,l.A)(n)}`,"button"===i&&"button",t&&"focusVisible"]};return(0,s.A)(r,h,a)})(B);return(0,S.jsx)(A,(0,n.A)({color:m,className:(0,o.A)(L.root,d),classes:v,component:b,onBlur:e=>{C(e),!1===j.current&&M(!1),g&&g(e)},onFocus:e=>{x(e),!0===j.current&&M(!0),k&&k(e)},ref:I,ownerState:B,variant:w,sx:[...Object.keys(y).includes(m)?[]:[{color:m}],...Array.isArray(z)?z:[z]]},P))}))},74644:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(34177),d=i(84361),c=i(74692),u=i(13028),p=i(26468);function m(e){return(0,p.Ay)("MuiListItemAvatar",e)}(0,u.A)("MuiListItemAvatar",["root","alignItemsFlexStart"]);var b=i(86070);const g=["className"],h=(0,d.Ay)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"flex-start"===i.alignItems&&a.alignItemsFlexStart]}})((({ownerState:e})=>(0,n.A)({minWidth:56,flexShrink:0},"flex-start"===e.alignItems&&{marginTop:8}))),k=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiListItemAvatar"}),{className:d}=i,u=(0,t.A)(i,g),p=r.useContext(l.A),k=(0,n.A)({},i,{alignItems:p.alignItems}),v=(e=>{const{alignItems:a,classes:i}=e,t={root:["root","flex-start"===a&&"alignItemsFlexStart"]};return(0,s.A)(t,m,i)})(k);return(0,b.jsx)(h,(0,n.A)({className:(0,o.A)(v.root,d),ownerState:k,ref:a},u))}))},51678:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361),c=i(81197),u=i(74692),p=i(32057),m=i(13571),b=i(7443),g=i(34177),h=i(23700),k=i(86070);const v=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],f=(0,d.Ay)(p.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,"flex-start"===i.alignItems&&a.alignItemsFlexStart,i.divider&&a.divider,!i.disableGutters&&a.gutters]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${h.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${h.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${h.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${h.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===a.alignItems&&{alignItems:"flex-start"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.dense&&{paddingTop:4,paddingBottom:4}))),y=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItemButton"}),{alignItems:l="center",autoFocus:d=!1,component:c="div",children:p,dense:y=!1,disableGutters:w=!1,divider:S=!1,focusVisibleClassName:T,selected:A=!1,className:z}=i,P=(0,t.A)(i,v),j=r.useContext(g.A),C=r.useMemo((()=>({dense:y||j.dense||!1,alignItems:l,disableGutters:w})),[l,j.dense,y,w]),x=r.useRef(null);(0,m.A)((()=>{d&&x.current&&x.current.focus()}),[d]);const D=(0,n.A)({},i,{alignItems:l,dense:C.dense,disableGutters:w,divider:S,selected:A}),O=(e=>{const{alignItems:a,classes:i,dense:t,disabled:r,disableGutters:o,divider:l,selected:d}=e,c={root:["root",t&&"dense",!o&&"gutters",l&&"divider",r&&"disabled","flex-start"===a&&"alignItemsFlexStart",d&&"selected"]},u=(0,s.A)(c,h.Y,i);return(0,n.A)({},i,u)})(D),M=(0,b.A)(x,a);return(0,k.jsx)(g.A.Provider,{value:C,children:(0,k.jsx)(f,(0,n.A)({ref:M,href:P.href||P.to,component:(P.href||P.to)&&"div"===c?"button":c,focusVisibleClassName:(0,o.A)(O.focusVisible,T),ownerState:D,className:(0,o.A)(O.root,z)},P,{classes:O,children:p}))})}))},23700:(e,a,i)=>{"use strict";i.d(a,{A:()=>o,Y:()=>r});var t=i(13028),n=i(26468);function r(e){return(0,n.Ay)("MuiListItemButton",e)}const o=(0,t.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},4880:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);var l=i(84361);if(61!=i.j)var d=i(74692);if(61!=i.j)var c=i(29314);if(61!=i.j)var u=i(34177);var p=i(86070);const m=61!=i.j?["className"]:null,b=(0,l.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"flex-start"===i.alignItems&&a.alignItemsFlexStart]}})((({theme:e,ownerState:a})=>(0,n.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===a.alignItems&&{marginTop:8}))),g=61!=i.j?r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiListItemIcon"}),{className:l}=i,g=(0,t.A)(i,m),h=r.useContext(u.A),k=(0,n.A)({},i,{alignItems:h.alignItems}),v=(e=>{const{alignItems:a,classes:i}=e,t={root:["root","flex-start"===a&&"alignItemsFlexStart"]};return(0,s.A)(t,c.f,i)})(k);return(0,p.jsx)(b,(0,n.A)({className:(0,o.A)(v.root,l),ownerState:k,ref:a},g))})):null,h=61!=i.j?g:null},29314:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,f:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiListItemIcon",e)}const o=(0,t.A)("MuiListItemIcon",["root","alignItemsFlexStart"]),s=61!=i.j?o:null},76740:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);if(61!=i.j)var l=i(64858);if(61!=i.j)var d=i(34177);if(61!=i.j)var c=i(74692);var u=i(84361),p=i(29566),m=i(86070);const b=61!=i.j?["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]:null,g=(0,u.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${p.A.primary}`]:a.primary},{[`& .${p.A.secondary}`]:a.secondary},a.root,i.inset&&a.inset,i.primary&&i.secondary&&a.multiline,i.dense&&a.dense]}})((({ownerState:e})=>(0,n.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),h=61!=i.j?r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiListItemText"}),{children:u,className:h,disableTypography:k=!1,inset:v=!1,primary:f,primaryTypographyProps:y,secondary:w,secondaryTypographyProps:S}=i,T=(0,t.A)(i,b),{dense:A}=r.useContext(d.A);let z=null!=f?f:u,P=w;const j=(0,n.A)({},i,{disableTypography:k,inset:v,primary:!!z,secondary:!!P,dense:A}),C=(e=>{const{classes:a,inset:i,primary:t,secondary:n,dense:r}=e,o={root:["root",i&&"inset",r&&"dense",t&&n&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.A)(o,p.b,a)})(j);return null==z||z.type===l.A||k||(z=(0,m.jsx)(l.A,(0,n.A)({variant:A?"body2":"body1",className:C.primary,component:null!=y&&y.variant?void 0:"span",display:"block"},y,{children:z}))),null==P||P.type===l.A||k||(P=(0,m.jsx)(l.A,(0,n.A)({variant:"body2",className:C.secondary,color:"text.secondary",display:"block"},S,{children:P}))),(0,m.jsxs)(g,(0,n.A)({className:(0,o.A)(C.root,h),ownerState:j,ref:a},T,{children:[z,P]}))})):null,k=61!=i.j?h:null},29566:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,b:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiListItemText",e)}const o=(0,t.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),s=61!=i.j?o:null},32453:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>M});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(45268),c=i(84361),u=i(74692),p=i(32057),m=i(63720),b=i(13571),g=i(7443),h=i(34177),k=i(13028),v=i(26468);function f(e){return(0,v.Ay)("MuiListItem",e)}const y=(0,k.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var w=i(23700);function S(e){return(0,v.Ay)("MuiListItemSecondaryAction",e)}(0,k.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var T=i(86070);const A=["className"],z=(0,c.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.disableGutters&&a.disableGutters]}})((({ownerState:e})=>(0,n.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),P=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:l}=i,d=(0,t.A)(i,A),c=r.useContext(h.A),p=(0,n.A)({},i,{disableGutters:c.disableGutters}),m=(e=>{const{disableGutters:a,classes:i}=e,t={root:["root",a&&"disableGutters"]};return(0,s.A)(t,S,i)})(p);return(0,T.jsx)(z,(0,n.A)({className:(0,o.A)(m.root,l),ownerState:p,ref:a},d))}));P.muiName="ListItemSecondaryAction";const j=P,C=["className"],x=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],D=(0,c.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,"flex-start"===i.alignItems&&a.alignItemsFlexStart,i.divider&&a.divider,!i.disableGutters&&a.gutters,!i.disablePadding&&a.padding,i.button&&a.button,i.hasSecondaryAction&&a.secondaryAction]}})((({theme:e,ownerState:a})=>(0,n.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!a.disablePadding&&(0,n.A)({paddingTop:8,paddingBottom:8},a.dense&&{paddingTop:4,paddingBottom:4},!a.disableGutters&&{paddingLeft:16,paddingRight:16},!!a.secondaryAction&&{paddingRight:48}),!!a.secondaryAction&&{[`& > .${w.A.root}`]:{paddingRight:48}},{[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${y.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${y.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===a.alignItems&&{alignItems:"flex-start"},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},a.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},a.hasSecondaryAction&&{paddingRight:48}))),O=(0,c.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,a)=>a.container})({position:"relative"}),M=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiListItem"}),{alignItems:l="center",autoFocus:c=!1,button:k=!1,children:v,className:w,component:S,components:A={},componentsProps:z={},ContainerComponent:P="li",ContainerProps:{className:M}={},dense:I=!1,disabled:B=!1,disableGutters:L=!1,disablePadding:R=!1,divider:N=!1,focusVisibleClassName:E,secondaryAction:F,selected:_=!1,slotProps:W={},slots:U={}}=i,G=(0,t.A)(i.ContainerProps,C),K=(0,t.A)(i,x),V=r.useContext(h.A),q=r.useMemo((()=>({dense:I||V.dense||!1,alignItems:l,disableGutters:L})),[l,V.dense,I,L]),H=r.useRef(null);(0,b.A)((()=>{c&&H.current&&H.current.focus()}),[c]);const $=r.Children.toArray(v),J=$.length&&(0,m.A)($[$.length-1],["ListItemSecondaryAction"]),Q=(0,n.A)({},i,{alignItems:l,autoFocus:c,button:k,dense:q.dense,disabled:B,disableGutters:L,disablePadding:R,divider:N,hasSecondaryAction:J,selected:_}),Z=(e=>{const{alignItems:a,button:i,classes:t,dense:n,disabled:r,disableGutters:o,disablePadding:l,divider:d,hasSecondaryAction:c,selected:u}=e,p={root:["root",n&&"dense",!o&&"gutters",!l&&"padding",d&&"divider",r&&"disabled",i&&"button","flex-start"===a&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,s.A)(p,f,t)})(Q),Y=(0,g.A)(H,a),X=U.root||A.Root||D,ee=W.root||z.root||{},ae=(0,n.A)({className:(0,o.A)(Z.root,ee.className,w),disabled:B},K);let ie=S||"li";return k&&(ae.component=S||"div",ae.focusVisibleClassName=(0,o.A)(y.focusVisible,E),ie=p.A),J?(ie=ae.component||S?ie:"div","li"===P&&("li"===ie?ie="div":"li"===ae.component&&(ae.component="div")),(0,T.jsx)(h.A.Provider,{value:q,children:(0,T.jsxs)(O,(0,n.A)({as:P,className:(0,o.A)(Z.container,M),ref:Y,ownerState:Q},G,{children:[(0,T.jsx)(X,(0,n.A)({},ee,!(0,d.A)(X)&&{as:ie,ownerState:(0,n.A)({},Q,ee.ownerState)},ae,{children:$})),$.pop()]}))})):(0,T.jsx)(h.A.Provider,{value:q,children:(0,T.jsxs)(X,(0,n.A)({},ee,{as:ie,ref:Y},!(0,d.A)(X)&&{ownerState:(0,n.A)({},Q,ee.ownerState)},ae,{children:[$,F&&(0,T.jsx)(j,{children:F})]}))})}))},42132:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(84361),d=i(74692),c=i(34177),u=i(13028),p=i(26468);function m(e){return(0,p.Ay)("MuiList",e)}(0,u.A)("MuiList",["root","padding","dense","subheader"]);var b=i(86070);const g=["children","className","component","dense","disablePadding","subheader"],h=(0,l.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disablePadding&&a.padding,i.dense&&a.dense,i.subheader&&a.subheader]}})((({ownerState:e})=>(0,n.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),k=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiList"}),{children:l,className:u,component:p="ul",dense:k=!1,disablePadding:v=!1,subheader:f}=i,y=(0,t.A)(i,g),w=r.useMemo((()=>({dense:k})),[k]),S=(0,n.A)({},i,{component:p,dense:k,disablePadding:v}),T=(e=>{const{classes:a,disablePadding:i,dense:t,subheader:n}=e,r={root:["root",!i&&"padding",t&&"dense",n&&"subheader"]};return(0,s.A)(r,m,a)})(S);return(0,b.jsx)(c.A.Provider,{value:w,children:(0,b.jsxs)(h,(0,n.A)({as:p,className:(0,o.A)(T.root,u),ref:a,ownerState:S},y,{children:[f,l]}))})}))},34177:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(30758).createContext({})},38743:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361),c=i(81197),u=i(74692),p=i(34177),m=i(32057),b=i(13571),g=i(7443),h=i(59732),k=i(29314),v=i(29566),f=i(13028),y=i(26468);function w(e){return(0,y.Ay)("MuiMenuItem",e)}const S=(0,f.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var T=i(86070);const A=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],z=(0,d.Ay)(m.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.dense&&a.dense,i.divider&&a.divider,!i.disableGutters&&a.gutters]}})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${S.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${S.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${S.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${S.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${S.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h.A.inset}`]:{marginLeft:52},[`& .${v.A.root}`]:{marginTop:0,marginBottom:0},[`& .${v.A.inset}`]:{paddingLeft:36},[`& .${k.A.root}`]:{minWidth:36}},!a.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},a.dense&&(0,n.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${k.A.root} svg`]:{fontSize:"1.25rem"}})))),P=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:d="li",dense:c=!1,divider:m=!1,disableGutters:h=!1,focusVisibleClassName:k,role:v="menuitem",tabIndex:f,className:y}=i,S=(0,t.A)(i,A),P=r.useContext(p.A),j=r.useMemo((()=>({dense:c||P.dense||!1,disableGutters:h})),[P.dense,c,h]),C=r.useRef(null);(0,b.A)((()=>{l&&C.current&&C.current.focus()}),[l]);const x=(0,n.A)({},i,{dense:j.dense,divider:m,disableGutters:h}),D=(e=>{const{disabled:a,dense:i,divider:t,disableGutters:r,selected:o,classes:l}=e,d={root:["root",i&&"dense",a&&"disabled",!r&&"gutters",t&&"divider",o&&"selected"]},c=(0,s.A)(d,w,l);return(0,n.A)({},l,c)})(i),O=(0,g.A)(C,a);let M;return i.disabled||(M=void 0!==f?f:-1),(0,T.jsx)(p.A.Provider,{value:j,children:(0,T.jsx)(z,(0,n.A)({ref:O,role:v,tabIndex:M,component:d,focusVisibleClassName:(0,o.A)(D.focusVisible,k),className:(0,o.A)(D.root,y)},S,{ownerState:x,classes:D}))})}))},73923:(e,a,i)=>{"use strict";i.d(a,{A:()=>k});var t=i(26325),n=i(39460),r=i(30758),o=(i(84276),i(90737)),s=i(42132);const l=i(68196).A;var d=i(7443),c=i(13571),u=i(86070);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function m(e,a,i){return e===a?e.firstChild:a&&a.nextElementSibling?a.nextElementSibling:i?null:e.firstChild}function b(e,a,i){return e===a?i?e.firstChild:e.lastChild:a&&a.previousElementSibling?a.previousElementSibling:i?null:e.lastChild}function g(e,a){if(void 0===a)return!0;let i=e.innerText;return void 0===i&&(i=e.textContent),i=i.trim().toLowerCase(),0!==i.length&&(a.repeating?i[0]===a.keys[0]:0===i.indexOf(a.keys.join("")))}function h(e,a,i,t,n,r){let o=!1,s=n(e,a,!!a&&i);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}const a=!t&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&g(s,r)&&!a)return s.focus(),!0;s=n(e,s,i)}return!1}const k=r.forwardRef((function(e,a){const{actions:i,autoFocus:k=!1,autoFocusItem:v=!1,children:f,className:y,disabledItemsFocusable:w=!1,disableListWrap:S=!1,onKeyDown:T,variant:A="selectedMenu"}=e,z=(0,n.A)(e,p),P=r.useRef(null),j=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,c.A)((()=>{k&&P.current.focus()}),[k]),r.useImperativeHandle(i,(()=>({adjustStyleForScrollbar:(e,{direction:a})=>{const i=!P.current.style.width;if(e.clientHeight{r.isValidElement(e)?(e.props.disabled||("selectedMenu"===A&&e.props.selected||-1===x)&&(x=a),x===a&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(x+=1,x>=f.length&&(x=-1))):x===a&&(x+=1,x>=f.length&&(x=-1))}));const D=r.Children.map(f,((e,a)=>{if(a===x){const a={};return v&&(a.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===A&&(a.tabIndex=0),r.cloneElement(e,a)}return e}));return(0,u.jsx)(s.A,(0,t.A)({role:"menu",ref:C,className:y,onKeyDown:e=>{const a=P.current,i=e.key,t=(0,o.A)(a).activeElement;if("ArrowDown"===i)e.preventDefault(),h(a,t,S,w,m);else if("ArrowUp"===i)e.preventDefault(),h(a,t,S,w,b);else if("Home"===i)e.preventDefault(),h(a,null,S,w,m);else if("End"===i)e.preventDefault(),h(a,null,S,w,b);else if(1===i.length){const n=j.current,r=i.toLowerCase(),o=performance.now();n.keys.length>0&&(o-n.lastTime>500?(n.keys=[],n.repeating=!0,n.previousKeyMatched=!0):n.repeating&&r!==n.keys[0]&&(n.repeating=!1)),n.lastTime=o,n.keys.push(r);const s=t&&!n.repeating&&g(t,n);n.previousKeyMatched&&(s||h(a,t,!1,w,m,n))?e.preventDefault():n.previousKeyMatched=!1}T&&T(e)},tabIndex:k?0:-1},z,{children:D}))}))},91686:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(26325),n=i(39460),r=i(30758),o=(i(84276),i(13526)),s=i(85154),l=i(70955),d=i(54860),c=i(73923),u=i(20258),p=i(84361),m=i(81197),b=i(74692),g=i(13028),h=i(26468);function k(e){return(0,h.Ay)("MuiMenu",e)}(0,g.A)("MuiMenu",["root","paper","list"]);var v=i(86070);const f=["onEntering"],y=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],w={vertical:"top",horizontal:"right"},S={vertical:"top",horizontal:"left"},T=(0,p.Ay)(u.Ay,{shouldForwardProp:e=>(0,m.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,a)=>a.root})({}),A=(0,p.Ay)(u.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,a)=>a.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),z=(0,p.Ay)(c.A,{name:"MuiMenu",slot:"List",overridesResolver:(e,a)=>a.list})({outline:0}),P=r.forwardRef((function(e,a){var i,c;const u=(0,b.b)({props:e,name:"MuiMenu"}),{autoFocus:p=!0,children:m,className:g,disableAutoFocusItem:h=!1,MenuListProps:P={},onClose:j,open:C,PaperProps:x={},PopoverClasses:D,transitionDuration:O="auto",TransitionProps:{onEntering:M}={},variant:I="selectedMenu",slots:B={},slotProps:L={}}=u,R=(0,n.A)(u.TransitionProps,f),N=(0,n.A)(u,y),E=(0,l.I)(),F=(0,t.A)({},u,{autoFocus:p,disableAutoFocusItem:h,MenuListProps:P,onEntering:M,PaperProps:x,transitionDuration:O,TransitionProps:R,variant:I}),_=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],paper:["paper"],list:["list"]},k,a)})(F),W=p&&!h&&C,U=r.useRef(null);let G=-1;r.Children.map(m,((e,a)=>{r.isValidElement(e)&&(e.props.disabled||("selectedMenu"===I&&e.props.selected||-1===G)&&(G=a))}));const K=null!=(i=B.paper)?i:A,V=null!=(c=L.paper)?c:x,q=(0,d.A)({elementType:B.root,externalSlotProps:L.root,ownerState:F,className:[_.root,g]}),H=(0,d.A)({elementType:K,externalSlotProps:V,ownerState:F,className:_.paper});return(0,v.jsx)(T,(0,t.A)({onClose:j,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?w:S,slots:{paper:K,root:B.root},slotProps:{root:q,paper:H},open:C,ref:a,transitionDuration:O,TransitionProps:(0,t.A)({onEntering:(e,a)=>{U.current&&U.current.adjustStyleForScrollbar(e,{direction:E?"rtl":"ltr"}),M&&M(e,a)}},R),ownerState:F},N,{classes:D,children:(0,v.jsx)(z,(0,t.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),j&&j(e,"tabKeyDown"))},actions:U,autoFocus:p&&(-1===G||h),autoFocusItem:W,variant:I},P,{className:(0,o.A)(_.list,P.className),children:m}))}))}))},8716:(e,a,i)=>{"use strict";i.d(a,{A:()=>E});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(54860),d=i(68886),c=i(32324),u=i(86070);const p=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function m(e){const a=[],i=[];return Array.from(e.querySelectorAll(p)).forEach(((e,t)=>{const n=function(e){const a=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(a)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:a}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const a=a=>e.ownerDocument.querySelector(`input[type="radio"]${a}`);let i=a(`[name="${e.name}"]:checked`);return i||(i=a(`[name="${e.name}"]`)),i!==e}(e))}(e)&&(0===n?a.push(e):i.push({documentOrder:t,tabIndex:n,node:e}))})),i.sort(((e,a)=>e.tabIndex===a.tabIndex?e.documentOrder-a.documentOrder:e.tabIndex-a.tabIndex)).map((e=>e.node)).concat(a)}function b(){return!0}const g=function(e){const{children:a,disableAutoFocus:i=!1,disableEnforceFocus:t=!1,disableRestoreFocus:n=!1,getTabbable:o=m,isEnabled:s=b,open:l}=e,p=r.useRef(!1),g=r.useRef(null),h=r.useRef(null),k=r.useRef(null),v=r.useRef(null),f=r.useRef(!1),y=r.useRef(null),w=(0,d.A)(a.ref,y),S=r.useRef(null);r.useEffect((()=>{l&&y.current&&(f.current=!i)}),[i,l]),r.useEffect((()=>{if(!l||!y.current)return;const e=(0,c.A)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),f.current&&y.current.focus()),()=>{n||(k.current&&k.current.focus&&(p.current=!0,k.current.focus()),k.current=null)}}),[l]),r.useEffect((()=>{if(!l||!y.current)return;const e=(0,c.A)(y.current),a=a=>{S.current=a,!t&&s()&&"Tab"===a.key&&e.activeElement===y.current&&a.shiftKey&&(p.current=!0,h.current&&h.current.focus())},i=()=>{const a=y.current;if(null===a)return;if(!e.hasFocus()||!s()||p.current)return void(p.current=!1);if(a.contains(e.activeElement))return;if(t&&e.activeElement!==g.current&&e.activeElement!==h.current)return;if(e.activeElement!==v.current)v.current=null;else if(null!==v.current)return;if(!f.current)return;let i=[];if(e.activeElement!==g.current&&e.activeElement!==h.current||(i=o(y.current)),i.length>0){var n,r;const e=Boolean((null==(n=S.current)?void 0:n.shiftKey)&&"Tab"===(null==(r=S.current)?void 0:r.key)),a=i[0],t=i[i.length-1];"string"!=typeof a&&"string"!=typeof t&&(e?t.focus():a.focus())}else a.focus()};e.addEventListener("focusin",i),e.addEventListener("keydown",a,!0);const n=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&i()}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",i),e.removeEventListener("keydown",a,!0)}}),[i,t,n,s,l,o]);const T=e=>{null===k.current&&(k.current=e.relatedTarget),f.current=!0};return(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)("div",{tabIndex:l?0:-1,onFocus:T,ref:g,"data-testid":"sentinelStart"}),r.cloneElement(a,{ref:w,onFocus:e=>{null===k.current&&(k.current=e.relatedTarget),f.current=!0,v.current=e.target;const i=a.props.onFocus;i&&i(e)}}),(0,u.jsx)("div",{tabIndex:l?0:-1,onFocus:T,ref:h,"data-testid":"sentinelEnd"})]})};var h=i(86812),k=i(84361),v=i(74692),f=i(77880),y=i(76566),w=i(42952),S=i(38242),T=i(11668),A=i(68196);function z(e,a){a?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function P(e){return parseInt((0,T.A)(e).getComputedStyle(e).paddingRight,10)||0}function j(e,a,i,t,n){const r=[a,i,...t];[].forEach.call(e.children,(e=>{const a=-1===r.indexOf(e),i=!function(e){const a=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),i="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return a||i}(e);a&&i&&z(e,n)}))}function C(e,a){let i=-1;return e.some(((e,t)=>!!a(e)&&(i=t,!0))),i}function x(e,a){const i=[],t=e.container;if(!a.disableScrollLock){if(function(e){const a=(0,c.A)(e);return a.body===e?(0,T.A)(e).innerWidth>a.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(t)){const e=(0,A.A)((0,c.A)(t));i.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${P(t)+e}px`;const a=(0,c.A)(t).querySelectorAll(".mui-fixed");[].forEach.call(a,(a=>{i.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${P(a)+e}px`}))}let e;if(t.parentNode instanceof DocumentFragment)e=(0,c.A)(t).body;else{const a=t.parentElement,i=(0,T.A)(t);e="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===i.getComputedStyle(a).overflowY?a:t}i.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{i.forEach((({value:e,el:a,property:i})=>{e?a.style.setProperty(i,e):a.style.removeProperty(i)}))}}const D=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,a){let i=this.modals.indexOf(e);if(-1!==i)return i;i=this.modals.length,this.modals.push(e),e.modalRef&&z(e.modalRef,!1);const t=function(e){const a=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&a.push(e)})),a}(a);j(a,e.mount,e.modalRef,t,!0);const n=C(this.containers,(e=>e.container===a));return-1!==n?(this.containers[n].modals.push(e),i):(this.containers.push({modals:[e],container:a,restore:null,hiddenSiblings:t}),i)}mount(e,a){const i=C(this.containers,(a=>-1!==a.modals.indexOf(e))),t=this.containers[i];t.restore||(t.restore=x(t,a))}remove(e,a=!0){const i=this.modals.indexOf(e);if(-1===i)return i;const t=C(this.containers,(a=>-1!==a.modals.indexOf(e))),n=this.containers[t];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(i,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&z(e.modalRef,a),j(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(t,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&z(e.modalRef,!1)}return i}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const O=function(e){const{container:a,disableEscapeKeyDown:i=!1,disableScrollLock:t=!1,manager:o=D,closeAfterTransition:s=!1,onTransitionEnter:l,onTransitionExited:u,children:p,onClose:m,open:b,rootRef:g}=e,h=r.useRef({}),k=r.useRef(null),v=r.useRef(null),f=(0,d.A)(v,g),[T,A]=r.useState(!b),P=function(e){return!!e&&e.props.hasOwnProperty("in")}(p);let j=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(j=!1);const C=()=>(h.current.modalRef=v.current,h.current.mount=k.current,h.current),x=()=>{o.mount(C(),{disableScrollLock:t}),v.current&&(v.current.scrollTop=0)},O=(0,y.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(a)||(0,c.A)(k.current).body;o.add(C(),e),v.current&&x()})),M=r.useCallback((()=>o.isTopModal(C())),[o]),I=(0,y.A)((e=>{k.current=e,e&&(b&&M()?x():v.current&&z(v.current,j))})),B=r.useCallback((()=>{o.remove(C(),j)}),[j,o]);r.useEffect((()=>()=>{B()}),[B]),r.useEffect((()=>{b?O():P&&s||B()}),[b,B,P,s,O]);const L=e=>a=>{var t;null==(t=e.onKeyDown)||t.call(e,a),"Escape"===a.key&&229!==a.which&&M()&&(i||(a.stopPropagation(),m&&m(a,"escapeKeyDown")))},R=e=>a=>{var i;null==(i=e.onClick)||i.call(e,a),a.target===a.currentTarget&&m&&m(a,"backdropClick")};return{getRootProps:(a={})=>{const i=(0,S.A)(e);delete i.onTransitionEnter,delete i.onTransitionExited;const t=(0,n.A)({},i,a);return(0,n.A)({role:"presentation"},t,{onKeyDown:L(t),ref:f})},getBackdropProps:(e={})=>{const a=e;return(0,n.A)({"aria-hidden":!0},a,{onClick:R(a),open:b})},getTransitionProps:()=>({onEnter:(0,w.A)((()=>{A(!1),l&&l()}),null==p?void 0:p.props.onEnter),onExited:(0,w.A)((()=>{A(!0),u&&u(),s&&B()}),null==p?void 0:p.props.onExited)}),rootRef:f,portalRef:I,isTopModal:M,exited:T,hasTransition:P}};var M=i(13028),I=i(26468);function B(e){return(0,I.Ay)("MuiModal",e)}(0,M.A)("MuiModal",["root","hidden","backdrop"]);const L=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],R=(0,k.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.open&&i.exited&&a.hidden]}})((({theme:e,ownerState:a})=>(0,n.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!a.open&&a.exited&&{visibility:"hidden"}))),N=(0,k.Ay)(f.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,a)=>a.backdrop})({zIndex:-1}),E=r.forwardRef((function(e,a){var i,d,c,p,m,b;const k=(0,v.b)({name:"MuiModal",props:e}),{BackdropComponent:f=N,BackdropProps:y,className:w,closeAfterTransition:S=!1,children:T,container:A,component:z,components:P={},componentsProps:j={},disableAutoFocus:C=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:D=!1,disablePortal:M=!1,disableRestoreFocus:I=!1,disableScrollLock:E=!1,hideBackdrop:F=!1,keepMounted:_=!1,onBackdropClick:W,open:U,slotProps:G,slots:K}=k,V=(0,t.A)(k,L),q=(0,n.A)({},k,{closeAfterTransition:S,disableAutoFocus:C,disableEnforceFocus:x,disableEscapeKeyDown:D,disablePortal:M,disableRestoreFocus:I,disableScrollLock:E,hideBackdrop:F,keepMounted:_}),{getRootProps:H,getBackdropProps:$,getTransitionProps:J,portalRef:Q,isTopModal:Z,exited:Y,hasTransition:X}=O((0,n.A)({},q,{rootRef:a})),ee=(0,n.A)({},q,{exited:Y}),ae=(e=>{const{open:a,exited:i,classes:t}=e,n={root:["root",!a&&i&&"hidden"],backdrop:["backdrop"]};return(0,s.A)(n,B,t)})(ee),ie={};if(void 0===T.props.tabIndex&&(ie.tabIndex="-1"),X){const{onEnter:e,onExited:a}=J();ie.onEnter=e,ie.onExited=a}const te=null!=(i=null!=(d=null==K?void 0:K.root)?d:P.Root)?i:R,ne=null!=(c=null!=(p=null==K?void 0:K.backdrop)?p:P.Backdrop)?c:f,re=null!=(m=null==G?void 0:G.root)?m:j.root,oe=null!=(b=null==G?void 0:G.backdrop)?b:j.backdrop,se=(0,l.A)({elementType:te,externalSlotProps:re,externalForwardedProps:V,getSlotProps:H,additionalProps:{ref:a,as:z},ownerState:ee,className:(0,o.A)(w,null==re?void 0:re.className,null==ae?void 0:ae.root,!ee.open&&ee.exited&&(null==ae?void 0:ae.hidden))}),le=(0,l.A)({elementType:ne,externalSlotProps:oe,additionalProps:y,getSlotProps:e=>$((0,n.A)({},e,{onClick:a=>{W&&W(a),null!=e&&e.onClick&&e.onClick(a)}})),className:(0,o.A)(null==oe?void 0:oe.className,null==y?void 0:y.className,null==ae?void 0:ae.backdrop),ownerState:ee});return _||U||X&&!Y?(0,u.jsx)(h.A,{ref:Q,container:A,disablePortal:M,children:(0,u.jsxs)(te,(0,n.A)({},se,{children:[!F&&f?(0,u.jsx)(ne,(0,n.A)({},le)):null,(0,u.jsx)(g,{disableEnforceFocus:x,disableAutoFocus:C,disableRestoreFocus:I,isEnabled:Z,open:U,children:r.cloneElement(T,ie)})]}))}):null}))},59290:(e,a,i)=>{"use strict";i.d(a,{A:()=>A});var t,n=i(39460),r=i(26325),o=i(30758),s=i(85154),l=i(84361),d=i(81197),c=i(86070);const u=["children","classes","className","label","notched"],p=(0,l.Ay)("fieldset",{shouldForwardProp:d.A})({textAlign:"left",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",minWidth:"0%"}),m=(0,l.Ay)("legend",{shouldForwardProp:d.A})((({ownerState:e,theme:a})=>(0,r.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:a.transitions.create("width",{duration:150,easing:a.transitions.easing.easeOut})},e.withLabel&&(0,r.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:a.transitions.create("max-width",{duration:50,easing:a.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:a.transitions.create("max-width",{duration:100,easing:a.transitions.easing.easeOut,delay:50})}))));var b=i(87011),g=i(18025),h=i(15744),k=i(49820),v=i(74692);const f=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],y=(0,l.Ay)(k.Sh,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:k.WC})((({theme:e,ownerState:a})=>{const i="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,r.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${h.A.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:i}},[`&.${h.A.focused} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette[a.color].main,borderWidth:2},[`&.${h.A.error} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${h.A.disabled} .${h.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},a.startAdornment&&{paddingLeft:14},a.endAdornment&&{paddingRight:14},a.multiline&&(0,r.A)({padding:"16.5px 14px"},"small"===a.size&&{padding:"8.5px 14px"}))})),w=(0,l.Ay)((function(e){const{className:a,label:i,notched:o}=e,s=(0,n.A)(e,u),l=null!=i&&""!==i,d=(0,r.A)({},e,{notched:o,withLabel:l});return(0,c.jsx)(p,(0,r.A)({"aria-hidden":!0,className:a,ownerState:d},s,{children:(0,c.jsx)(m,{ownerState:d,children:l?(0,c.jsx)("span",{children:i}):t||(t=(0,c.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,a)=>a.notchedOutline})((({theme:e})=>{const a="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:a}})),S=(0,l.Ay)(k.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:k.Oj})((({theme:e,ownerState:a})=>(0,r.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===a.size&&{padding:"8.5px 14px"},a.multiline&&{padding:0},a.startAdornment&&{paddingLeft:0},a.endAdornment&&{paddingRight:0}))),T=o.forwardRef((function(e,a){var i,t,l,d,u;const p=(0,v.b)({props:e,name:"MuiOutlinedInput"}),{components:m={},fullWidth:T=!1,inputComponent:A="input",label:z,multiline:P=!1,notched:j,slots:C={},type:x="text"}=p,D=(0,n.A)(p,f),O=(e=>{const{classes:a}=e,i=(0,s.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},h.v,a);return(0,r.A)({},a,i)})(p),M=(0,b.A)(),I=(0,g.A)({props:p,muiFormControl:M,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),B=(0,r.A)({},p,{color:I.color||"primary",disabled:I.disabled,error:I.error,focused:I.focused,formControl:M,fullWidth:T,hiddenLabel:I.hiddenLabel,multiline:P,size:I.size,type:x}),L=null!=(i=null!=(t=C.root)?t:m.Root)?i:y,R=null!=(l=null!=(d=C.input)?d:m.Input)?l:S;return(0,c.jsx)(k.Ay,(0,r.A)({slots:{root:L,input:R},renderSuffix:e=>(0,c.jsx)(w,{ownerState:B,className:O.notchedOutline,label:null!=z&&""!==z&&I.required?u||(u=(0,c.jsxs)(o.Fragment,{children:[z," ","*"]})):z,notched:void 0!==j?j:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:T,inputComponent:A,multiline:P,ref:a,type:x},D,{classes:(0,r.A)({},O,{notchedOutline:null})}))}));T.muiName="Input";const A=T},15744:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,v:()=>s});var t=i(26325),n=i(13028),r=i(26468),o=i(81360);function s(e){return(0,r.Ay)("MuiOutlinedInput",e)}const l=(0,t.A)({},o.A,(0,n.A)("MuiOutlinedInput",["root","notchedOutline","input"]))},74365:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(84361);const c=e=>{let a;return a=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(a/100).toFixed(2)};var u=i(74692),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiPaper",e)}(0,p.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var g=i(86070);const h=["className","component","elevation","square","variant"],k=(0,d.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[i.variant],!i.square&&a.rounded,"elevation"===i.variant&&a[`elevation${i.elevation}`]]}})((({theme:e,ownerState:a})=>{var i;return(0,n.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!a.square&&{borderRadius:e.shape.borderRadius},"outlined"===a.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===a.variant&&(0,n.A)({boxShadow:(e.vars||e).shadows[a.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.X4)("#fff",c(a.elevation))}, ${(0,l.X4)("#fff",c(a.elevation))})`},e.vars&&{backgroundImage:null==(i=e.vars.overlays)?void 0:i[a.elevation]}))})),v=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiPaper"}),{className:r,component:l="div",elevation:d=1,square:c=!1,variant:p="elevation"}=i,m=(0,t.A)(i,h),v=(0,n.A)({},i,{component:l,elevation:d,square:c,variant:p}),f=(e=>{const{square:a,elevation:i,variant:t,classes:n}=e,r={root:["root",t,!a&&"rounded","elevation"===t&&`elevation${i}`]};return(0,s.A)(r,b,n)})(v);return(0,g.jsx)(k,(0,n.A)({as:l,ownerState:v,className:(0,o.A)(f.root,r),ref:a},m))}))},20258:(e,a,i)=>{"use strict";i.d(a,{IJ:()=>O,Ay:()=>M});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(85154),l=i(54860),d=i(45268),c=i(84361),u=i(74692),p=i(43924),m=i(90737),b=i(35968),g=i(7443),h=i(61566),k=i(8716),v=i(74365),f=i(13028),y=i(26468);function w(e){return(0,y.Ay)("MuiPopover",e)}(0,f.A)("MuiPopover",["root","paper"]);var S=i(86070);const T=["onEntering"],A=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],z=["slotProps"];function P(e,a){let i=0;return"number"==typeof a?i=a:"center"===a?i=e.height/2:"bottom"===a&&(i=e.height),i}function j(e,a){let i=0;return"number"==typeof a?i=a:"center"===a?i=e.width/2:"right"===a&&(i=e.width),i}function C(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function x(e){return"function"==typeof e?e():e}const D=(0,c.Ay)(k.A,{name:"MuiPopover",slot:"Root",overridesResolver:(e,a)=>a.root})({}),O=(0,c.Ay)(v.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,a)=>a.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),M=r.forwardRef((function(e,a){var i,c,k;const v=(0,u.b)({props:e,name:"MuiPopover"}),{action:f,anchorEl:y,anchorOrigin:M={vertical:"top",horizontal:"left"},anchorPosition:I,anchorReference:B="anchorEl",children:L,className:R,container:N,elevation:E=8,marginThreshold:F=16,open:_,PaperProps:W={},slots:U,slotProps:G,transformOrigin:K={vertical:"top",horizontal:"left"},TransitionComponent:V=h.A,transitionDuration:q="auto",TransitionProps:{onEntering:H}={},disableScrollLock:$=!1}=v,J=(0,n.A)(v.TransitionProps,T),Q=(0,n.A)(v,A),Z=null!=(i=null==G?void 0:G.paper)?i:W,Y=r.useRef(),X=(0,g.A)(Y,Z.ref),ee=(0,t.A)({},v,{anchorOrigin:M,anchorReference:B,elevation:E,marginThreshold:F,externalPaperSlotProps:Z,transformOrigin:K,TransitionComponent:V,transitionDuration:q,TransitionProps:J}),ae=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],paper:["paper"]},w,a)})(ee),ie=r.useCallback((()=>{if("anchorPosition"===B)return I;const e=x(y),a=(e&&1===e.nodeType?e:(0,m.A)(Y.current).body).getBoundingClientRect();return{top:a.top+P(a,M.vertical),left:a.left+j(a,M.horizontal)}}),[y,M.horizontal,M.vertical,I,B]),te=r.useCallback((e=>({vertical:P(e,K.vertical),horizontal:j(e,K.horizontal)})),[K.horizontal,K.vertical]),ne=r.useCallback((e=>{const a={width:e.offsetWidth,height:e.offsetHeight},i=te(a);if("none"===B)return{top:null,left:null,transformOrigin:C(i)};const t=ie();let n=t.top-i.vertical,r=t.left-i.horizontal;const o=n+a.height,s=r+a.width,l=(0,b.A)(x(y)),d=l.innerHeight-F,c=l.innerWidth-F;if(null!==F&&nd){const e=o-d;n-=e,i.vertical+=e}if(null!==F&&rc){const e=s-c;r-=e,i.horizontal+=e}return{top:`${Math.round(n)}px`,left:`${Math.round(r)}px`,transformOrigin:C(i)}}),[y,B,ie,te,F]),[re,oe]=r.useState(_),se=r.useCallback((()=>{const e=Y.current;if(!e)return;const a=ne(e);null!==a.top&&(e.style.top=a.top),null!==a.left&&(e.style.left=a.left),e.style.transformOrigin=a.transformOrigin,oe(!0)}),[ne]);r.useEffect((()=>($&&window.addEventListener("scroll",se),()=>window.removeEventListener("scroll",se))),[y,$,se]);r.useEffect((()=>{_&&se()})),r.useImperativeHandle(f,(()=>_?{updatePosition:()=>{se()}}:null),[_,se]),r.useEffect((()=>{if(!_)return;const e=(0,p.A)((()=>{se()})),a=(0,b.A)(y);return a.addEventListener("resize",e),()=>{e.clear(),a.removeEventListener("resize",e)}}),[y,_,se]);let le=q;"auto"!==q||V.muiSupportAuto||(le=void 0);const de=N||(y?(0,m.A)(x(y)).body:void 0),ce=null!=(c=null==U?void 0:U.root)?c:D,ue=null!=(k=null==U?void 0:U.paper)?k:O,pe=(0,l.A)({elementType:ue,externalSlotProps:(0,t.A)({},Z,{style:re?Z.style:(0,t.A)({},Z.style,{opacity:0})}),additionalProps:{elevation:E,ref:X},ownerState:ee,className:(0,o.A)(ae.paper,null==Z?void 0:Z.className)}),me=(0,l.A)({elementType:ce,externalSlotProps:(null==G?void 0:G.root)||{},externalForwardedProps:Q,additionalProps:{ref:a,slotProps:{backdrop:{invisible:!0}},container:de,open:_},ownerState:ee,className:(0,o.A)(ae.root,R)}),{slotProps:be}=me,ge=(0,n.A)(me,z);return(0,S.jsx)(ce,(0,t.A)({},ge,!(0,d.A)(ce)&&{slotProps:be,disableScrollLock:$},{children:(0,S.jsx)(V,(0,t.A)({appear:!0,in:_,onEntering:(e,a)=>{H&&H(e,a),se()},onExited:()=>{oe(!1)},timeout:le},J,{children:(0,S.jsx)(ue,(0,t.A)({},pe,{children:L}))}))}))}))},89823:(e,a,i)=>{"use strict";i.d(a,{A:()=>Ue});var t=i(26325),n=i(39460),r=i(23238),o=i(30758),s=i(68886),l=i(25160),d=i(32324);function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var a=e.ownerDocument;return a&&a.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function p(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var b=Math.max,g=Math.min,h=Math.round;function k(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(k())}function f(e,a,i){void 0===a&&(a=!1),void 0===i&&(i=!1);var t=e.getBoundingClientRect(),n=1,r=1;a&&p(e)&&(n=e.offsetWidth>0&&h(t.width)/e.offsetWidth||1,r=e.offsetHeight>0&&h(t.height)/e.offsetHeight||1);var o=(u(e)?c(e):window).visualViewport,s=!v()&&i,l=(t.left+(s&&o?o.offsetLeft:0))/n,d=(t.top+(s&&o?o.offsetTop:0))/r,m=t.width/n,b=t.height/r;return{width:m,height:b,top:d,right:l+m,bottom:d+b,left:l,x:l,y:d}}function y(e){var a=c(e);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function w(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function T(e){return f(S(e)).left+y(e).scrollLeft}function A(e){return c(e).getComputedStyle(e)}function z(e){var a=A(e),i=a.overflow,t=a.overflowX,n=a.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+t)}function P(e,a,i){void 0===i&&(i=!1);var t,n,r=p(a),o=p(a)&&function(e){var a=e.getBoundingClientRect(),i=h(a.width)/e.offsetWidth||1,t=h(a.height)/e.offsetHeight||1;return 1!==i||1!==t}(a),s=S(a),l=f(e,o,i),d={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!i)&&(("body"!==w(a)||z(s))&&(d=(t=a)!==c(t)&&p(t)?{scrollLeft:(n=t).scrollLeft,scrollTop:n.scrollTop}:y(t)),p(a)?((u=f(a,!0)).x+=a.clientLeft,u.y+=a.clientTop):s&&(u.x=T(s))),{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function j(e){var a=f(e),i=e.offsetWidth,t=e.offsetHeight;return Math.abs(a.width-i)<=1&&(i=a.width),Math.abs(a.height-t)<=1&&(t=a.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:t}}function C(e){return"html"===w(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||S(e)}function x(e){return["html","body","#document"].indexOf(w(e))>=0?e.ownerDocument.body:p(e)&&z(e)?e:x(C(e))}function D(e,a){var i;void 0===a&&(a=[]);var t=x(e),n=t===(null==(i=e.ownerDocument)?void 0:i.body),r=c(t),o=n?[r].concat(r.visualViewport||[],z(t)?t:[]):t,s=a.concat(o);return n?s:s.concat(D(C(o)))}function O(e){return["table","td","th"].indexOf(w(e))>=0}function M(e){return p(e)&&"fixed"!==A(e).position?e.offsetParent:null}function I(e){for(var a=c(e),i=M(e);i&&O(i)&&"static"===A(i).position;)i=M(i);return i&&("html"===w(i)||"body"===w(i)&&"static"===A(i).position)?a:i||function(e){var a=/firefox/i.test(k());if(/Trident/i.test(k())&&p(e)&&"fixed"===A(e).position)return null;var i=C(e);for(m(i)&&(i=i.host);p(i)&&["html","body"].indexOf(w(i))<0;){var t=A(i);if("none"!==t.transform||"none"!==t.perspective||"paint"===t.contain||-1!==["transform","perspective"].indexOf(t.willChange)||a&&"filter"===t.willChange||a&&t.filter&&"none"!==t.filter)return i;i=i.parentNode}return null}(e)||a}var B="top",L="bottom",R="right",N="left",E="auto",F=[B,L,R,N],_="start",W="end",U="clippingParents",G="viewport",K="popper",V="reference",q=F.reduce((function(e,a){return e.concat([a+"-"+_,a+"-"+W])}),[]),H=[].concat(F,[E]).reduce((function(e,a){return e.concat([a,a+"-"+_,a+"-"+W])}),[]),$=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function J(e){var a=new Map,i=new Set,t=[];function n(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var t=a.get(e);t&&n(t)}})),t.push(e)}return e.forEach((function(e){a.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||n(e)})),t}var Q={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,a=new Array(e),i=0;i=0?"x":"y"}function te(e){var a,i=e.reference,t=e.element,n=e.placement,r=n?ee(n):null,o=n?ae(n):null,s=i.x+i.width/2-t.width/2,l=i.y+i.height/2-t.height/2;switch(r){case B:a={x:s,y:i.y-t.height};break;case L:a={x:s,y:i.y+i.height};break;case R:a={x:i.x+i.width,y:l};break;case N:a={x:i.x-t.width,y:l};break;default:a={x:i.x,y:i.y}}var d=r?ie(r):null;if(null!=d){var c="y"===d?"height":"width";switch(o){case _:a[d]=a[d]-(i[c]/2-t[c]/2);break;case W:a[d]=a[d]+(i[c]/2-t[c]/2)}}return a}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var a,i=e.popper,t=e.popperRect,n=e.placement,r=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,p=e.isFixed,m=o.x,b=void 0===m?0:m,g=o.y,k=void 0===g?0:g,v="function"==typeof u?u({x:b,y:k}):{x:b,y:k};b=v.x,k=v.y;var f=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),w=N,T=B,z=window;if(d){var P=I(i),j="clientHeight",C="clientWidth";if(P===c(i)&&"static"!==A(P=S(i)).position&&"absolute"===s&&(j="scrollHeight",C="scrollWidth"),n===B||(n===N||n===R)&&r===W)T=L,k-=(p&&P===z&&z.visualViewport?z.visualViewport.height:P[j])-t.height,k*=l?1:-1;if(n===N||(n===B||n===L)&&r===W)w=R,b-=(p&&P===z&&z.visualViewport?z.visualViewport.width:P[C])-t.width,b*=l?1:-1}var x,D=Object.assign({position:s},d&&ne),O=!0===u?function(e,a){var i=e.x,t=e.y,n=a.devicePixelRatio||1;return{x:h(i*n)/n||0,y:h(t*n)/n||0}}({x:b,y:k},c(i)):{x:b,y:k};return b=O.x,k=O.y,l?Object.assign({},D,((x={})[T]=y?"0":"",x[w]=f?"0":"",x.transform=(z.devicePixelRatio||1)<=1?"translate("+b+"px, "+k+"px)":"translate3d("+b+"px, "+k+"px, 0)",x)):Object.assign({},D,((a={})[T]=y?k+"px":"",a[w]=f?b+"px":"",a.transform="",a))}const oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,i=e.options,t=e.name,n=i.offset,r=void 0===n?[0,0]:n,o=H.reduce((function(e,i){return e[i]=function(e,a,i){var t=ee(e),n=[N,B].indexOf(t)>=0?-1:1,r="function"==typeof i?i(Object.assign({},a,{placement:e})):i,o=r[0],s=r[1];return o=o||0,s=(s||0)*n,[N,R].indexOf(t)>=0?{x:s,y:o}:{x:o,y:s}}(i,a.rects,r),e}),{}),s=o[a.placement],l=s.x,d=s.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=l,a.modifiersData.popperOffsets.y+=d),a.modifiersData[t]=o}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var de={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function ue(e,a){var i=a.getRootNode&&a.getRootNode();if(e.contains(a))return!0;if(i&&m(i)){var t=a;do{if(t&&e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,a,i){return a===G?pe(function(e,a){var i=c(e),t=S(e),n=i.visualViewport,r=t.clientWidth,o=t.clientHeight,s=0,l=0;if(n){r=n.width,o=n.height;var d=v();(d||!d&&"fixed"===a)&&(s=n.offsetLeft,l=n.offsetTop)}return{width:r,height:o,x:s+T(e),y:l}}(e,i)):u(a)?function(e,a){var i=f(e,!1,"fixed"===a);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(a,i):pe(function(e){var a,i=S(e),t=y(e),n=null==(a=e.ownerDocument)?void 0:a.body,r=b(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=b(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-t.scrollLeft+T(e),l=-t.scrollTop;return"rtl"===A(n||i).direction&&(s+=b(i.clientWidth,n?n.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}(S(e)))}function be(e,a,i,t){var n="clippingParents"===a?function(e){var a=D(C(e)),i=["absolute","fixed"].indexOf(A(e).position)>=0&&p(e)?I(e):e;return u(i)?a.filter((function(e){return u(e)&&ue(e,i)&&"body"!==w(e)})):[]}(e):[].concat(a),r=[].concat(n,[i]),o=r[0],s=r.reduce((function(a,i){var n=me(e,i,t);return a.top=b(n.top,a.top),a.right=g(n.right,a.right),a.bottom=g(n.bottom,a.bottom),a.left=b(n.left,a.left),a}),me(e,o,t));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ge(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,a){return a.reduce((function(a,i){return a[i]=e,a}),{})}function ke(e,a){void 0===a&&(a={});var i=a,t=i.placement,n=void 0===t?e.placement:t,r=i.strategy,o=void 0===r?e.strategy:r,s=i.boundary,l=void 0===s?U:s,d=i.rootBoundary,c=void 0===d?G:d,p=i.elementContext,m=void 0===p?K:p,b=i.altBoundary,g=void 0!==b&&b,h=i.padding,k=void 0===h?0:h,v=ge("number"!=typeof k?k:he(k,F)),y=m===K?V:K,w=e.rects.popper,T=e.elements[g?y:m],A=be(u(T)?T:T.contextElement||S(e.elements.popper),l,c,o),z=f(e.elements.reference),P=te({reference:z,element:w,strategy:"absolute",placement:n}),j=pe(Object.assign({},w,P)),C=m===K?j:z,x={top:A.top-C.top+v.top,bottom:C.bottom-A.bottom+v.bottom,left:A.left-C.left+v.left,right:C.right-A.right+v.right},D=e.modifiersData.offset;if(m===K&&D){var O=D[n];Object.keys(x).forEach((function(e){var a=[R,L].indexOf(e)>=0?1:-1,i=[B,L].indexOf(e)>=0?"y":"x";x[e]+=O[i]*a}))}return x}function ve(e,a,i){return b(e,g(a,i))}const fe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var a=e.state,i=e.options,t=e.name,n=i.mainAxis,r=void 0===n||n,o=i.altAxis,s=void 0!==o&&o,l=i.boundary,d=i.rootBoundary,c=i.altBoundary,u=i.padding,p=i.tether,m=void 0===p||p,h=i.tetherOffset,k=void 0===h?0:h,v=ke(a,{boundary:l,rootBoundary:d,padding:u,altBoundary:c}),f=ee(a.placement),y=ae(a.placement),w=!y,S=ie(f),T="x"===S?"y":"x",A=a.modifiersData.popperOffsets,z=a.rects.reference,P=a.rects.popper,C="function"==typeof k?k(Object.assign({},a.rects,{placement:a.placement})):k,x="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,O={x:0,y:0};if(A){if(r){var M,E="y"===S?B:N,F="y"===S?L:R,W="y"===S?"height":"width",U=A[S],G=U+v[E],K=U-v[F],V=m?-P[W]/2:0,q=y===_?z[W]:P[W],H=y===_?-P[W]:-z[W],$=a.elements.arrow,J=m&&$?j($):{width:0,height:0},Q=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=Q[E],Y=Q[F],X=ve(0,z[W],J[W]),te=w?z[W]/2-V-X-Z-x.mainAxis:q-X-Z-x.mainAxis,ne=w?-z[W]/2+V+X+Y+x.mainAxis:H+X+Y+x.mainAxis,re=a.elements.arrow&&I(a.elements.arrow),oe=re?"y"===S?re.clientTop||0:re.clientLeft||0:0,se=null!=(M=null==D?void 0:D[S])?M:0,le=U+ne-se,de=ve(m?g(G,U+te-se-oe):G,U,m?b(K,le):K);A[S]=de,O[S]=de-U}if(s){var ce,ue="x"===S?B:N,pe="x"===S?L:R,me=A[T],be="y"===T?"height":"width",ge=me+v[ue],he=me-v[pe],fe=-1!==[B,N].indexOf(f),ye=null!=(ce=null==D?void 0:D[T])?ce:0,we=fe?ge:me-z[be]-P[be]-ye+x.altAxis,Se=fe?me+z[be]+P[be]-ye-x.altAxis:he,Te=m&&fe?function(e,a,i){var t=ve(e,a,i);return t>i?i:t}(we,me,Se):ve(m?we:ge,me,m?Se:he);A[T]=Te,O[T]=Te-me}a.modifiersData[t]=O}},requiresIfExists:["offset"]};const ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var a,i=e.state,t=e.name,n=e.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,s=ee(i.placement),l=ie(s),d=[N,R].indexOf(s)>=0?"height":"width";if(r&&o){var c=function(e,a){return ge("number"!=typeof(e="function"==typeof e?e(Object.assign({},a.rects,{placement:a.placement})):e)?e:he(e,F))}(n.padding,i),u=j(r),p="y"===l?B:N,m="y"===l?L:R,b=i.rects.reference[d]+i.rects.reference[l]-o[l]-i.rects.popper[d],g=o[l]-i.rects.reference[l],h=I(r),k=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,v=b/2-g/2,f=c[p],y=k-u[d]-c[m],w=k/2-u[d]/2+v,S=ve(f,w,y),T=l;i.modifiersData[t]=((a={})[T]=S,a.centerOffset=S-w,a)}},effect:function(e){var a=e.state,i=e.options.element,t=void 0===i?"[data-popper-arrow]":i;null!=t&&("string"!=typeof t||(t=a.elements.popper.querySelector(t)))&&ue(a.elements.popper,t)&&(a.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function we(e,a,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-a.height-i.y,right:e.right-a.width+i.x,bottom:e.bottom-a.height+i.y,left:e.left-a.width-i.x}}function Se(e){return[B,R,L,N].some((function(a){return e[a]>=0}))}var Te=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var a=e.state,i=e.instance,t=e.options,n=t.scroll,r=void 0===n||n,o=t.resize,s=void 0===o||o,l=c(a.elements.popper),d=[].concat(a.scrollParents.reference,a.scrollParents.popper);return r&&d.forEach((function(e){e.addEventListener("scroll",i.update,X)})),s&&l.addEventListener("resize",i.update,X),function(){r&&d.forEach((function(e){e.removeEventListener("scroll",i.update,X)})),s&&l.removeEventListener("resize",i.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var a=e.state,i=e.name;a.modifiersData[i]=te({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var a=e.state,i=e.options,t=i.gpuAcceleration,n=void 0===t||t,r=i.adaptive,o=void 0===r||r,s=i.roundOffsets,l=void 0===s||s,d={placement:ee(a.placement),variation:ae(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:n,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,re(Object.assign({},d,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:o,roundOffsets:l})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,re(Object.assign({},d,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var a=e.state;Object.keys(a.elements).forEach((function(e){var i=a.styles[e]||{},t=a.attributes[e]||{},n=a.elements[e];p(n)&&w(n)&&(Object.assign(n.style,i),Object.keys(t).forEach((function(e){var a=t[e];!1===a?n.removeAttribute(e):n.setAttribute(e,!0===a?"":a)})))}))},effect:function(e){var a=e.state,i={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,i.popper),a.styles=i,a.elements.arrow&&Object.assign(a.elements.arrow.style,i.arrow),function(){Object.keys(a.elements).forEach((function(e){var t=a.elements[e],n=a.attributes[e]||{},r=Object.keys(a.styles.hasOwnProperty(e)?a.styles[e]:i[e]).reduce((function(e,a){return e[a]="",e}),{});p(t)&&w(t)&&(Object.assign(t.style,r),Object.keys(n).forEach((function(e){t.removeAttribute(e)})))}))}},requires:["computeStyles"]},oe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var a=e.state,i=e.options,t=e.name;if(!a.modifiersData[t]._skip){for(var n=i.mainAxis,r=void 0===n||n,o=i.altAxis,s=void 0===o||o,l=i.fallbackPlacements,d=i.padding,c=i.boundary,u=i.rootBoundary,p=i.altBoundary,m=i.flipVariations,b=void 0===m||m,g=i.allowedAutoPlacements,h=a.options.placement,k=ee(h),v=l||(k===h||!b?[le(h)]:function(e){if(ee(e)===E)return[];var a=le(e);return[ce(e),a,ce(a)]}(h)),f=[h].concat(v).reduce((function(e,i){return e.concat(ee(i)===E?function(e,a){void 0===a&&(a={});var i=a,t=i.placement,n=i.boundary,r=i.rootBoundary,o=i.padding,s=i.flipVariations,l=i.allowedAutoPlacements,d=void 0===l?H:l,c=ae(t),u=c?s?q:q.filter((function(e){return ae(e)===c})):F,p=u.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=u);var m=p.reduce((function(a,i){return a[i]=ke(e,{placement:i,boundary:n,rootBoundary:r,padding:o})[ee(i)],a}),{});return Object.keys(m).sort((function(e,a){return m[e]-m[a]}))}(a,{placement:i,boundary:c,rootBoundary:u,padding:d,flipVariations:b,allowedAutoPlacements:g}):i)}),[]),y=a.rects.reference,w=a.rects.popper,S=new Map,T=!0,A=f[0],z=0;z=0,D=x?"width":"height",O=ke(a,{placement:P,boundary:c,rootBoundary:u,altBoundary:p,padding:d}),M=x?C?R:N:C?L:B;y[D]>w[D]&&(M=le(M));var I=le(M),W=[];if(r&&W.push(O[j]<=0),s&&W.push(O[M]<=0,O[I]<=0),W.every((function(e){return e}))){A=P,T=!1;break}S.set(P,W)}if(T)for(var U=function(e){var a=f.find((function(a){var i=S.get(a);if(i)return i.slice(0,e).every((function(e){return e}))}));if(a)return A=a,"break"},G=b?3:1;G>0;G--){if("break"===U(G))break}a.placement!==A&&(a.modifiersData[t]._skip=!0,a.placement=A,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},fe,ye,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var a=e.state,i=e.name,t=a.rects.reference,n=a.rects.popper,r=a.modifiersData.preventOverflow,o=ke(a,{elementContext:"reference"}),s=ke(a,{altBoundary:!0}),l=we(o,t),d=we(s,n,r),c=Se(l),u=Se(d);a.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:u},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}}]}),Ae=i(85154),ze=i(54860),Pe=i(86812),je=i(13028),Ce=i(26468);function xe(e){return(0,Ce.Ay)("MuiPopper",e)}(0,je.A)("MuiPopper",["root"]);var De=i(86070);const Oe=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Me=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ie(e){return"function"==typeof e?e():e}function Be(e){return void 0!==e.nodeType}const Le={},Re=o.forwardRef((function(e,a){var i;const{anchorEl:r,children:d,direction:c,disablePortal:u,modifiers:p,open:m,placement:b,popperOptions:g,popperRef:h,slotProps:k={},slots:v={},TransitionProps:f}=e,y=(0,n.A)(e,Oe),w=o.useRef(null),S=(0,s.A)(w,a),T=o.useRef(null),A=(0,s.A)(T,h),z=o.useRef(A);(0,l.A)((()=>{z.current=A}),[A]),o.useImperativeHandle(h,(()=>T.current),[]);const P=function(e,a){if("ltr"===a)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(b,c),[j,C]=o.useState(P),[x,D]=o.useState(Ie(r));o.useEffect((()=>{T.current&&T.current.forceUpdate()})),o.useEffect((()=>{r&&D(Ie(r))}),[r]),(0,l.A)((()=>{if(!x||!m)return;let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=p&&(e=e.concat(p)),g&&null!=g.modifiers&&(e=e.concat(g.modifiers));const a=Te(x,w.current,(0,t.A)({placement:P},g,{modifiers:e}));return z.current(a),()=>{a.destroy(),z.current(null)}}),[x,u,p,m,g,P]);const O={placement:j};null!==f&&(O.TransitionProps=f);const M=(e=>{const{classes:a}=e;return(0,Ae.A)({root:["root"]},xe,a)})(e),I=null!=(i=v.root)?i:"div",B=(0,ze.A)({elementType:I,externalSlotProps:k.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:S},ownerState:e,className:M.root});return(0,De.jsx)(I,(0,t.A)({},B,{children:"function"==typeof d?d(O):d}))})),Ne=o.forwardRef((function(e,a){const{anchorEl:i,children:r,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:p,open:m,placement:b="bottom",popperOptions:g=Le,popperRef:h,style:k,transition:v=!1,slotProps:f={},slots:y={}}=e,w=(0,n.A)(e,Me),[S,T]=o.useState(!0);if(!u&&!m&&(!v||S))return null;let A;if(s)A=s;else if(i){const e=Ie(i);A=e&&Be(e)?(0,d.A)(e).body:(0,d.A)(null).body}const z=m||!u||v&&!S?void 0:"none",P=v?{in:m,onEnter:()=>{T(!1)},onExited:()=>{T(!0)}}:void 0;return(0,De.jsx)(Pe.A,{disablePortal:c,container:A,children:(0,De.jsx)(Re,(0,t.A)({anchorEl:i,direction:l,disablePortal:c,modifiers:p,ref:a,open:v?!S:m,placement:b,popperOptions:g,popperRef:h,slotProps:f,slots:y},w,{style:(0,t.A)({position:"fixed",top:0,left:0,display:z},k),TransitionProps:P,children:r}))})}));var Ee=i(84361),Fe=i(74692);const _e=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],We=(0,Ee.Ay)(Ne,{name:"MuiPopper",slot:"Root",overridesResolver:(e,a)=>a.root})({}),Ue=o.forwardRef((function(e,a){var i;const o=(0,r.A)(),s=(0,Fe.b)({props:e,name:"MuiPopper"}),{anchorEl:l,component:d,components:c,componentsProps:u,container:p,disablePortal:m,keepMounted:b,modifiers:g,open:h,placement:k,popperOptions:v,popperRef:f,transition:y,slots:w,slotProps:S}=s,T=(0,n.A)(s,_e),A=null!=(i=null==w?void 0:w.root)?i:null==c?void 0:c.Root,z=(0,t.A)({anchorEl:l,container:p,disablePortal:m,keepMounted:b,modifiers:g,open:h,placement:k,popperOptions:v,popperRef:f,transition:y},T);return(0,De.jsx)(We,(0,t.A)({as:d,direction:null==o?void 0:o.direction,slots:{root:A},slotProps:null!=S?S:u},z,{ref:a}))}))},86812:(e,a,i)=>{"use strict";i.d(a,{A:()=>d});var t=i(30758),n=i(8143),r=i(68886),o=i(25160),s=i(65620),l=i(86070);const d=t.forwardRef((function(e,a){const{children:i,container:d,disablePortal:c=!1}=e,[u,p]=t.useState(null),m=(0,r.A)(t.isValidElement(i)?i.ref:null,a);if((0,o.A)((()=>{c||p(function(e){return"function"==typeof e?e():e}(d)||document.body)}),[d,c]),(0,o.A)((()=>{if(u&&!c)return(0,s.A)(a,u),()=>{(0,s.A)(a,null)}}),[a,u,c]),c){if(t.isValidElement(i)){const e={ref:m};return t.cloneElement(i,e)}return(0,l.jsx)(t.Fragment,{children:i})}return(0,l.jsx)(t.Fragment,{children:u?n.createPortal(i,u):u})}))},40720:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>k}),575==i.j)var t=i(26325);if(575==i.j)var n=i(39460);var r=i(30758);if(575==i.j)var o=i(13526);if(575==i.j)var s=i(85154);if(575==i.j)var l=i(10806);if(575==i.j)var d=i(84194);if(575==i.j)var c=i(7443);if(575==i.j)var u=i(51262);if(575==i.j)var p=i(80069);if(575==i.j)var m=i(25925);var b=i(86070);const g=575==i.j?["actions","children","className","defaultValue","name","onChange","value"]:null,h=575==i.j?r.forwardRef((function(e,a){const{actions:i,children:h,className:k,defaultValue:v,name:f,onChange:y,value:w}=e,S=(0,n.A)(e,g),T=r.useRef(null),A=(e=>{const{classes:a,row:i,error:t}=e,n={root:["root",i&&"row",t&&"error"]};return(0,s.A)(n,d.B,a)})(e),[z,P]=(0,u.A)({controlled:w,default:v,name:"RadioGroup"});r.useImperativeHandle(i,(()=>({focus:()=>{let e=T.current.querySelector("input:not(:disabled):checked");e||(e=T.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const j=(0,c.A)(a,T),C=(0,m.A)(f),x=r.useMemo((()=>({name:C,onChange(e){P(e.target.value),y&&y(e,e.target.value)},value:z})),[C,y,P,z]);return(0,b.jsx)(p.A.Provider,{value:x,children:(0,b.jsx)(l.A,(0,t.A)({role:"radiogroup",ref:j,className:(0,o.A)(A.root,k)},S,{children:h}))})})):null,k=575==i.j?h:null},80069:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758);const n=575==i.j?t.createContext(void 0):null;const r=575==i.j?n:null},84194:(e,a,i)=>{"use strict";i.d(a,{B:()=>r});var t=i(13028);if(575==i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiRadioGroup",e)}(0,t.A)("MuiRadioGroup",["root","row","error"])},18061:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758);if(575==i.j)var n=i(80069);function r(){return t.useContext(n.A)}},40861:(e,a,i)=>{"use strict";i.d(a,{A:()=>M});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(82078),c=i(74692),u=i(23520),p=i(86070);const m=(0,u.A)((0,p.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),b=(0,u.A)((0,p.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var g=i(84361),h=i(81197);const k=(0,g.Ay)("span",{shouldForwardProp:h.A})({position:"relative",display:"flex"}),v=(0,g.Ay)(m)({transform:"scale(1)"}),f=(0,g.Ay)(b)((({theme:e,ownerState:a})=>(0,n.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},a.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));const y=function(e){const{checked:a=!1,classes:i={},fontSize:t}=e,r=(0,n.A)({},e,{checked:a});return(0,p.jsxs)(k,{className:i.root,ownerState:r,children:[(0,p.jsx)(v,{fontSize:t,className:i.background,ownerState:r}),(0,p.jsx)(f,{fontSize:t,className:i.dot,ownerState:r})]})};var w=i(25697),S=i(82575),T=i(18061),A=i(13028),z=i(26468);function P(e){return(0,z.Ay)("MuiRadio",e)}const j=(0,A.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),C=["checked","checkedIcon","color","icon","name","onChange","size","className"],x=(0,g.Ay)(d.A,{shouldForwardProp:e=>(0,h.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"medium"!==i.size&&a[`size${(0,w.A)(i.size)}`],a[`color${(0,w.A)(i.color)}`]]}})((({theme:e,ownerState:a})=>(0,n.A)({color:(e.vars||e).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===a.color?e.vars.palette.action.activeChannel:e.vars.palette[a.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)("default"===a.color?e.palette.action.active:e.palette[a.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&{[`&.${j.checked}`]:{color:(e.vars||e).palette[a.color].main}},{[`&.${j.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const D=(0,p.jsx)(y,{checked:!0}),O=(0,p.jsx)(y,{}),M=r.forwardRef((function(e,a){var i,l;const d=(0,c.b)({props:e,name:"MuiRadio"}),{checked:u,checkedIcon:m=D,color:b="primary",icon:g=O,name:h,onChange:k,size:v="medium",className:f}=d,y=(0,t.A)(d,C),A=(0,n.A)({},d,{color:b,size:v}),z=(e=>{const{classes:a,color:i,size:t}=e,r={root:["root",`color${(0,w.A)(i)}`,"medium"!==t&&`size${(0,w.A)(t)}`]};return(0,n.A)({},a,(0,s.A)(r,P,a))})(A),j=(0,T.A)();let M=u;const I=(0,S.A)(k,j&&j.onChange);let B=h;return j&&(void 0===M&&(M=function(e,a){return"object"==typeof a&&null!==a?e===a:String(e)===String(a)}(j.value,d.value)),void 0===B&&(B=j.name)),(0,p.jsx)(x,(0,n.A)({type:"radio",icon:r.cloneElement(g,{fontSize:null!=(i=O.props.fontSize)?i:v}),checkedIcon:r.cloneElement(m,{fontSize:null!=(l=D.props.fontSize)?l:v}),ownerState:A,classes:z,name:B,checked:M,onChange:I,ref:a,className:(0,o.A)(z.root,f)},y))}))},53498:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>h}),!/^(575|61)$/.test(i.j))var t=i(26325);if(!/^(575|61)$/.test(i.j))var n=i(39460);var r=i(30758);if(!/^(575|61)$/.test(i.j))var o=i(8586);if(!/^(575|61)$/.test(i.j))var s=i(43924);if(!/^(575|61)$/.test(i.j))var l=i(7443);if(!/^(575|61)$/.test(i.j))var d=i(75826);if(!/^(575|61)$/.test(i.j))var c=i(5895);if(!/^(575|61)$/.test(i.j))var u=i(35968);var p=i(86070);const m=/^(575|61)$/.test(i.j)?null:["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function b(e,a,i){var t;const n=function(e,a,i){const t=a.getBoundingClientRect(),n=i&&i.getBoundingClientRect(),r=(0,u.A)(a);let o;if(a.fakeTransform)o=a.fakeTransform;else{const e=r.getComputedStyle(a);o=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(o&&"none"!==o&&"string"==typeof o){const e=o.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?n?`translateX(${n.right+s-t.left}px)`:`translateX(${r.innerWidth+s-t.left}px)`:"right"===e?n?`translateX(-${t.right-n.left-s}px)`:`translateX(-${t.left+t.width-s}px)`:"up"===e?n?`translateY(${n.bottom+l-t.top}px)`:`translateY(${r.innerHeight+l-t.top}px)`:n?`translateY(-${t.top-n.top+t.height-l}px)`:`translateY(-${t.top+t.height-l}px)`}(e,a,"function"==typeof(t=i)?t():t);n&&(a.style.webkitTransform=n,a.style.transform=n)}const g=/^(575|61)$/.test(i.j)?null:r.forwardRef((function(e,a){const i=(0,d.A)(),g={enter:i.transitions.easing.easeOut,exit:i.transitions.easing.sharp},h={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:k,appear:v=!0,children:f,container:y,direction:w="down",easing:S=g,in:T,onEnter:A,onEntered:z,onEntering:P,onExit:j,onExited:C,onExiting:x,style:D,timeout:O=h,TransitionComponent:M=o.Ay}=e,I=(0,n.A)(e,m),B=r.useRef(null),L=(0,l.A)(f.ref,B,a),R=e=>a=>{e&&(void 0===a?e(B.current):e(B.current,a))},N=R(((e,a)=>{b(w,e,y),(0,c.q)(e),A&&A(e,a)})),E=R(((e,a)=>{const n=(0,c.c)({timeout:O,style:D,easing:S},{mode:"enter"});e.style.webkitTransition=i.transitions.create("-webkit-transform",(0,t.A)({},n)),e.style.transition=i.transitions.create("transform",(0,t.A)({},n)),e.style.webkitTransform="none",e.style.transform="none",P&&P(e,a)})),F=R(z),_=R(x),W=R((e=>{const a=(0,c.c)({timeout:O,style:D,easing:S},{mode:"exit"});e.style.webkitTransition=i.transitions.create("-webkit-transform",a),e.style.transition=i.transitions.create("transform",a),b(w,e,y),j&&j(e)})),U=R((e=>{e.style.webkitTransition="",e.style.transition="",C&&C(e)})),G=r.useCallback((()=>{B.current&&b(w,B.current,y)}),[w,y]);return r.useEffect((()=>{if(T||"down"===w||"right"===w)return;const e=(0,s.A)((()=>{B.current&&b(w,B.current,y)})),a=(0,u.A)(B.current);return a.addEventListener("resize",e),()=>{e.clear(),a.removeEventListener("resize",e)}}),[w,T,y]),r.useEffect((()=>{T||G()}),[T,G]),(0,p.jsx)(M,(0,t.A)({nodeRef:B,onEnter:N,onEntered:F,onEntering:E,onExit:W,onExited:U,onExiting:_,addEndListener:e=>{k&&k(B.current,e)},appear:v,in:T,timeout:O},I,{children:(e,a)=>r.cloneElement(f,(0,t.A)({ref:L,style:(0,t.A)({visibility:"exited"!==e||T?void 0:"hidden"},D,f.props.style)},a))}))})),h=/^(575|61)$/.test(i.j)?null:g},49268:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>D});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(70955),c=i(54860),u=i(45268),p=i(81329),m=i(84361),b=i(74692),g=i(13313),h=i(21570),k=i(25697),v=i(62272),f=i(86070);const y=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function w(e){return e}const S=(0,m.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`color${(0,k.A)(i.color)}`],"medium"!==i.size&&a[`size${(0,k.A)(i.size)}`],i.marked&&a.marked,"vertical"===i.orientation&&a.vertical,"inverted"===i.track&&a.trackInverted,!1===i.track&&a.trackFalse]}})((({theme:e})=>{var a;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${v.A.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${v.A.dragging}`]:{[`& .${v.A.thumb}, & .${v.A.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}})),T=(0,m.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,a)=>a.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),A=(0,m.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,a)=>a.track})((({theme:e})=>{var a;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a,track:"inverted"},style:(0,n.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${a}Track`],borderColor:e.vars.palette.Slider[`${a}Track`]}:(0,n.A)({backgroundColor:(0,l.a)(e.palette[a].main,.62),borderColor:(0,l.a)(e.palette[a].main,.62)},e.applyStyles("dark",{backgroundColor:(0,l.e$)(e.palette[a].main,.5)}),e.applyStyles("dark",{borderColor:(0,l.e$)(e.palette[a].main,.5)})))})))]}})),z=(0,m.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.thumb,a[`thumbColor${(0,k.A)(i.color)}`],"medium"!==i.size&&a[`thumbSize${(0,k.A)(i.size)}`]]}})((({theme:e})=>{var a;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${v.A.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(a=e.vars)?a:e).palette).filter((a=>{var i;return(null!=(i=e.vars)?i:e).palette[a].main})).map((a=>({props:{color:a},style:{[`&:hover, &.${v.A.focusVisible}`]:(0,n.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,l.X4)(e.palette[a].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${v.A.active}`]:(0,n.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,l.X4)(e.palette[a].main,.16)}`})}})))]}})),P=(0,m.Ay)((function(e){const{children:a,className:i,value:t}=e,n=(e=>{const{open:a}=e;return{offset:(0,o.A)(a&&v.A.valueLabelOpen),circle:v.A.valueLabelCircle,label:v.A.valueLabelLabel}})(e);return a?r.cloneElement(a,{className:(0,o.A)(a.props.className)},(0,f.jsxs)(r.Fragment,{children:[a.props.children,(0,f.jsx)("span",{className:(0,o.A)(n.offset,i),"aria-hidden":!0,children:(0,f.jsx)("span",{className:n.circle,children:(0,f.jsx)("span",{className:n.label,children:t})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,a)=>a.valueLabel})((({theme:e})=>(0,n.A)({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${v.A.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${v.A.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),j=(0,m.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,g.A)(e)&&"markActive"!==e,overridesResolver:(e,a)=>{const{markActive:i}=e;return[a.mark,i&&a.markActive]}})((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),C=(0,m.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,g.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,a)=>a.markLabel})((({theme:e})=>(0,n.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),x=({children:e})=>e,D=r.forwardRef((function(e,a){var i,l,m,g,D,O,M,I,B,L,R,N,E,F,_,W,U,G,K,V,q,H,$,J;const Q=(0,b.b)({props:e,name:"MuiSlider"}),Z=(0,d.I)(),{"aria-label":Y,"aria-valuetext":X,"aria-labelledby":ee,component:ae="span",components:ie={},componentsProps:te={},color:ne="primary",classes:re,className:oe,disableSwap:se=!1,disabled:le=!1,getAriaLabel:de,getAriaValueText:ce,marks:ue=!1,max:pe=100,min:me=0,orientation:be="horizontal",shiftStep:ge=10,size:he="medium",step:ke=1,scale:ve=w,slotProps:fe,slots:ye,track:we="normal",valueLabelDisplay:Se="off",valueLabelFormat:Te=w}=Q,Ae=(0,t.A)(Q,y),ze=(0,n.A)({},Q,{isRtl:Z,max:pe,min:me,classes:re,disabled:le,disableSwap:se,orientation:be,marks:ue,color:ne,size:he,step:ke,shiftStep:ge,scale:ve,track:we,valueLabelDisplay:Se,valueLabelFormat:Te}),{axisProps:Pe,getRootProps:je,getHiddenInputProps:Ce,getThumbProps:xe,open:De,active:Oe,axis:Me,focusedThumbIndex:Ie,range:Be,dragging:Le,marks:Re,values:Ne,trackOffset:Ee,trackLeap:Fe,getThumbStyle:_e}=(0,p.PF)((0,n.A)({},ze,{rootRef:a}));ze.marked=Re.length>0&&Re.some((e=>e.label)),ze.dragging=Le,ze.focusedThumbIndex=Ie;const We=(e=>{const{disabled:a,dragging:i,marked:t,orientation:n,track:r,classes:o,color:l,size:d}=e,c={root:["root",a&&"disabled",i&&"dragging",t&&"marked","vertical"===n&&"vertical","inverted"===r&&"trackInverted",!1===r&&"trackFalse",l&&`color${(0,k.A)(l)}`,d&&`size${(0,k.A)(d)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",a&&"disabled",d&&`thumbSize${(0,k.A)(d)}`,l&&`thumbColor${(0,k.A)(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,s.A)(c,v.W,o)})(ze),Ue=null!=(i=null!=(l=null==ye?void 0:ye.root)?l:ie.Root)?i:S,Ge=null!=(m=null!=(g=null==ye?void 0:ye.rail)?g:ie.Rail)?m:T,Ke=null!=(D=null!=(O=null==ye?void 0:ye.track)?O:ie.Track)?D:A,Ve=null!=(M=null!=(I=null==ye?void 0:ye.thumb)?I:ie.Thumb)?M:z,qe=null!=(B=null!=(L=null==ye?void 0:ye.valueLabel)?L:ie.ValueLabel)?B:P,He=null!=(R=null!=(N=null==ye?void 0:ye.mark)?N:ie.Mark)?R:j,$e=null!=(E=null!=(F=null==ye?void 0:ye.markLabel)?F:ie.MarkLabel)?E:C,Je=null!=(_=null!=(W=null==ye?void 0:ye.input)?W:ie.Input)?_:"input",Qe=null!=(U=null==fe?void 0:fe.root)?U:te.root,Ze=null!=(G=null==fe?void 0:fe.rail)?G:te.rail,Ye=null!=(K=null==fe?void 0:fe.track)?K:te.track,Xe=null!=(V=null==fe?void 0:fe.thumb)?V:te.thumb,ea=null!=(q=null==fe?void 0:fe.valueLabel)?q:te.valueLabel,aa=null!=(H=null==fe?void 0:fe.mark)?H:te.mark,ia=null!=($=null==fe?void 0:fe.markLabel)?$:te.markLabel,ta=null!=(J=null==fe?void 0:fe.input)?J:te.input,na=(0,c.A)({elementType:Ue,getSlotProps:je,externalSlotProps:Qe,externalForwardedProps:Ae,additionalProps:(0,n.A)({},(0,h.A)(Ue)&&{as:ae}),ownerState:(0,n.A)({},ze,null==Qe?void 0:Qe.ownerState),className:[We.root,oe]}),ra=(0,c.A)({elementType:Ge,externalSlotProps:Ze,ownerState:ze,className:We.rail}),oa=(0,c.A)({elementType:Ke,externalSlotProps:Ye,additionalProps:{style:(0,n.A)({},Pe[Me].offset(Ee),Pe[Me].leap(Fe))},ownerState:(0,n.A)({},ze,null==Ye?void 0:Ye.ownerState),className:We.track}),sa=(0,c.A)({elementType:Ve,getSlotProps:xe,externalSlotProps:Xe,ownerState:(0,n.A)({},ze,null==Xe?void 0:Xe.ownerState),className:We.thumb}),la=(0,c.A)({elementType:qe,externalSlotProps:ea,ownerState:(0,n.A)({},ze,null==ea?void 0:ea.ownerState),className:We.valueLabel}),da=(0,c.A)({elementType:He,externalSlotProps:aa,ownerState:ze,className:We.mark}),ca=(0,c.A)({elementType:$e,externalSlotProps:ia,ownerState:ze,className:We.markLabel}),ua=(0,c.A)({elementType:Je,getSlotProps:Ce,externalSlotProps:ta,ownerState:ze});return(0,f.jsxs)(Ue,(0,n.A)({},na,{children:[(0,f.jsx)(Ge,(0,n.A)({},ra)),(0,f.jsx)(Ke,(0,n.A)({},oa)),Re.filter((e=>e.value>=me&&e.value<=pe)).map(((e,a)=>{const i=(0,p.w5)(e.value,me,pe),t=Pe[Me].offset(i);let s;return s=!1===we?-1!==Ne.indexOf(e.value):"normal"===we&&(Be?e.value>=Ne[0]&&e.value<=Ne[Ne.length-1]:e.value<=Ne[0])||"inverted"===we&&(Be?e.value<=Ne[0]||e.value>=Ne[Ne.length-1]:e.value>=Ne[0]),(0,f.jsxs)(r.Fragment,{children:[(0,f.jsx)(He,(0,n.A)({"data-index":a},da,!(0,u.A)(He)&&{markActive:s},{style:(0,n.A)({},t,da.style),className:(0,o.A)(da.className,s&&We.markActive)})),null!=e.label?(0,f.jsx)($e,(0,n.A)({"aria-hidden":!0,"data-index":a},ca,!(0,u.A)($e)&&{markLabelActive:s},{style:(0,n.A)({},t,ca.style),className:(0,o.A)(We.markLabel,ca.className,s&&We.markLabelActive),children:e.label})):null]},a)})),Ne.map(((e,a)=>{const i=(0,p.w5)(e,me,pe),t=Pe[Me].offset(i),r="off"===Se?x:qe;return(0,f.jsx)(r,(0,n.A)({},!(0,u.A)(r)&&{valueLabelFormat:Te,valueLabelDisplay:Se,value:"function"==typeof Te?Te(ve(e),a):Te,index:a,open:De===a||Oe===a||"on"===Se,disabled:le},la,{children:(0,f.jsx)(Ve,(0,n.A)({"data-index":a},sa,{className:(0,o.A)(We.thumb,sa.className,Oe===a&&We.active,Ie===a&&We.focusVisible),style:(0,n.A)({},t,_e(a),sa.style),children:(0,f.jsx)(Je,(0,n.A)({"data-index":a,"aria-label":de?de(a):Y,"aria-valuenow":ve(e),"aria-labelledby":ee,"aria-valuetext":ce?ce(ve(e),a):X,value:Ne[a]},ua))}))}),a)}))]}))}))},62272:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,W:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiSlider",e)}const o=(0,t.A)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),s=61!=i.j?o:null},81329:(e,a,i)=>{"use strict";if(i.d(a,{PF:()=>C,w5:()=>f}),61!=i.j)var t=i(26325);var n=i(30758);if(61!=i.j)var r=i(32324);if(61!=i.j)var o=i(80380);if(61!=i.j)var s=i(900);if(61!=i.j)var l=i(96536);if(61!=i.j)var d=i(68886);if(61!=i.j)var c=i(25160);if(61!=i.j)var u=i(76566);if(61!=i.j)var p=i(48012);if(61!=i.j)var m=i(38242);if(61!=i.j)var b=i(54243);const g=2;function h(e,a){return e-a}function k(e,a){var i;const{index:t}=null!=(i=e.reduce(((e,i,t)=>{const n=Math.abs(a-i);return null===e||n({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},z=e=>e;let P;function j(){return void 0===P&&(P="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),P}function C(e){const{"aria-labelledby":a,defaultValue:i,disabled:b=!1,disableSwap:P=!1,isRtl:C=!1,marks:x=!1,max:D=100,min:O=0,name:M,onChange:I,onChangeCommitted:B,orientation:L="horizontal",rootRef:R,scale:N=z,step:E=1,shiftStep:F=10,tabIndex:_,value:W}=e,U=n.useRef(),[G,K]=n.useState(-1),[V,q]=n.useState(-1),[H,$]=n.useState(!1),J=n.useRef(0),[Q,Z]=(0,o.A)({controlled:W,default:null!=i?i:O,name:"Slider"}),Y=I&&((e,a,i)=>{const t=e.nativeEvent||e,n=new t.constructor(t.type,t);Object.defineProperty(n,"target",{writable:!0,value:{value:a,name:M}}),I(n,a,i)}),X=Array.isArray(Q);let ee=X?Q.slice().sort(h):[Q];ee=ee.map((e=>null==e?O:(0,s.A)(e,O,D)));const ae=!0===x&&null!==E?[...Array(Math.floor((D-O)/E)+1)].map(((e,a)=>({value:O+E*a}))):x||[],ie=ae.map((e=>e.value)),{isFocusVisibleRef:te,onBlur:ne,onFocus:re,ref:oe}=(0,l.A)(),[se,le]=n.useState(-1),de=n.useRef(),ce=(0,d.A)(oe,de),ue=(0,d.A)(R,ce),pe=e=>a=>{var i;const t=Number(a.currentTarget.getAttribute("data-index"));re(a),!0===te.current&&le(t),q(t),null==e||null==(i=e.onFocus)||i.call(e,a)},me=e=>a=>{var i;ne(a),!1===te.current&&le(-1),q(-1),null==e||null==(i=e.onBlur)||i.call(e,a)},be=(e,a)=>{const i=Number(e.currentTarget.getAttribute("data-index")),t=ee[i],n=ie.indexOf(t);let r=a;if(ae&&null==E){const e=ie[ie.length-1];r=r>e?e:ra=>{var i;if(null!==E){const e=Number(a.currentTarget.getAttribute("data-index")),i=ee[e];let t=null;("ArrowLeft"===a.key||"ArrowDown"===a.key)&&a.shiftKey||"PageDown"===a.key?t=Math.max(i-F,O):(("ArrowRight"===a.key||"ArrowUp"===a.key)&&a.shiftKey||"PageUp"===a.key)&&(t=Math.min(i+F,D)),null!==t&&(be(a,t),a.preventDefault())}null==e||null==(i=e.onKeyDown)||i.call(e,a)};(0,c.A)((()=>{var e;b&&de.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[b]),b&&-1!==G&&K(-1),b&&-1!==se&&le(-1);const he=n.useRef();let ke=L;C&&"horizontal"===L&&(ke+="-reverse");const ve=({finger:e,move:a=!1})=>{const{current:i}=de,{width:t,height:n,bottom:r,left:o}=i.getBoundingClientRect();let l,d;if(l=0===ke.indexOf("vertical")?(r-e.y)/n:(e.x-o)/t,-1!==ke.indexOf("-reverse")&&(l=1-l),d=function(e,a,i){return(i-a)*e+a}(l,O,D),E)d=y(d,E,O);else{const e=k(ie,d);d=ie[e]}d=(0,s.A)(d,O,D);let c=0;if(X){c=a?he.current:k(ee,d),P&&(d=(0,s.A)(d,ee[c-1]||-1/0,ee[c+1]||1/0));const e=d;d=w({values:ee,newValue:d,index:c}),P&&a||(c=d.indexOf(e),he.current=c)}return{newValue:d,activeIndex:c}},fe=(0,u.A)((e=>{const a=v(e,U);if(!a)return;if(J.current+=1,"mousemove"===e.type&&0===e.buttons)return void ye(e);const{newValue:i,activeIndex:t}=ve({finger:a,move:!0});S({sliderRef:de,activeIndex:t,setActive:K}),Z(i),!H&&J.current>g&&$(!0),Y&&!T(i,Q)&&Y(e,i,t)})),ye=(0,u.A)((e=>{const a=v(e,U);if($(!1),!a)return;const{newValue:i}=ve({finger:a,move:!0});K(-1),"touchend"===e.type&&q(-1),B&&B(e,i),U.current=void 0,Se()})),we=(0,u.A)((e=>{if(b)return;j()||e.preventDefault();const a=e.changedTouches[0];null!=a&&(U.current=a.identifier);const i=v(e,U);if(!1!==i){const{newValue:a,activeIndex:t}=ve({finger:i});S({sliderRef:de,activeIndex:t,setActive:K}),Z(a),Y&&!T(a,Q)&&Y(e,a,t)}J.current=0;const t=(0,r.A)(de.current);t.addEventListener("touchmove",fe,{passive:!0}),t.addEventListener("touchend",ye,{passive:!0})})),Se=n.useCallback((()=>{const e=(0,r.A)(de.current);e.removeEventListener("mousemove",fe),e.removeEventListener("mouseup",ye),e.removeEventListener("touchmove",fe),e.removeEventListener("touchend",ye)}),[ye,fe]);n.useEffect((()=>{const{current:e}=de;return e.addEventListener("touchstart",we,{passive:j()}),()=>{e.removeEventListener("touchstart",we),Se()}}),[Se,we]),n.useEffect((()=>{b&&Se()}),[b,Se]);const Te=f(X?ee[0]:O,O,D),Ae=f(ee[ee.length-1],O,D)-Te,ze=e=>a=>{var i;null==(i=e.onMouseLeave)||i.call(e,a),q(-1)};return{active:G,axis:ke,axisProps:A,dragging:H,focusedThumbIndex:se,getHiddenInputProps:(i={})=>{var n;const r=(0,m.A)(i),o={onChange:(s=r||{},e=>{var a;null==(a=s.onChange)||a.call(s,e),be(e,e.target.valueAsNumber)}),onFocus:pe(r||{}),onBlur:me(r||{}),onKeyDown:ge(r||{})};var s;const l=(0,t.A)({},r,o);return(0,t.A)({tabIndex:_,"aria-labelledby":a,"aria-orientation":L,"aria-valuemax":N(D),"aria-valuemin":N(O),name:M,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(n=e.step)?n:void 0,disabled:b},i,l,{style:(0,t.A)({},p.A,{direction:C?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const a=(0,m.A)(e),i={onMouseDown:(n=a||{},e=>{var a;if(null==(a=n.onMouseDown)||a.call(n,e),b)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const i=v(e,U);if(!1!==i){const{newValue:a,activeIndex:t}=ve({finger:i});S({sliderRef:de,activeIndex:t,setActive:K}),Z(a),Y&&!T(a,Q)&&Y(e,a,t)}J.current=0;const t=(0,r.A)(de.current);t.addEventListener("mousemove",fe,{passive:!0}),t.addEventListener("mouseup",ye)})};var n;const o=(0,t.A)({},a,i);return(0,t.A)({},e,{ref:ue},o)},getThumbProps:(e={})=>{const a=(0,m.A)(e),i={onMouseOver:(n=a||{},e=>{var a;null==(a=n.onMouseOver)||a.call(n,e);const i=Number(e.currentTarget.getAttribute("data-index"));q(i)}),onMouseLeave:ze(a||{})};var n;return(0,t.A)({},e,a,i)},marks:ae,open:V,range:X,rootRef:ue,trackLeap:Ae,trackOffset:Te,values:ee,getThumbStyle:e=>({pointerEvents:-1!==G&&G!==e?"none":void 0})}}},39718:(e,a,i)=>{"use strict";i.d(a,{A:()=>P});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(75572),l=i(26468),d=i(85154),c=i(11371),u=i(84087),p=i(60506),m=i(63924),b=i(54247),g=i(29001),h=i(86070);const k=["component","direction","spacing","divider","children","className","useFlexGap"],v=(0,m.A)(),f=(0,c.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,a)=>a.root});function y(e){return(0,u.A)({props:e,name:"MuiStack",defaultTheme:v})}function w(e,a){const i=r.Children.toArray(e).filter(Boolean);return i.reduce(((e,t,n)=>(e.push(t),n{let i=(0,n.A)({display:"flex",flexDirection:"column"},(0,b.NI)({theme:a},(0,b.kW)({values:e.direction,breakpoints:a.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const t=(0,g.LX)(a),n=Object.keys(a.breakpoints.values).reduce(((a,i)=>(("object"==typeof e.spacing&&null!=e.spacing[i]||"object"==typeof e.direction&&null!=e.direction[i])&&(a[i]=!0),a)),{}),r=(0,b.kW)({values:e.direction,base:n}),o=(0,b.kW)({values:e.spacing,base:n});"object"==typeof r&&Object.keys(r).forEach(((e,a,i)=>{if(!r[e]){const t=a>0?r[i[a-1]]:"column";r[e]=t}}));const l=(a,i)=>{return e.useFlexGap?{gap:(0,g._W)(t,a)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${n=i?r[i]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[n]}`]:(0,g._W)(t,a)}};var n};i=(0,s.A)(i,(0,b.NI)({theme:a},o,l))}return i=(0,b.iZ)(a.breakpoints,i),i};var T=i(84361),A=i(74692);const z=function(e={}){const{createStyledComponent:a=f,useThemeProps:i=y,componentName:s="MuiStack"}=e,c=a(S),u=r.forwardRef((function(e,a){const r=i(e),u=(0,p.A)(r),{component:m="div",direction:b="column",spacing:g=0,divider:v,children:f,className:y,useFlexGap:S=!1}=u,T=(0,t.A)(u,k),A={direction:b,spacing:g,useFlexGap:S},z=(0,d.A)({root:["root"]},(e=>(0,l.Ay)(s,e)),{});return(0,h.jsx)(c,(0,n.A)({as:m,ownerState:A,ref:a,className:(0,o.A)(z.root,y)},T,{children:v?w(f,v):f}))}));return u}({createStyledComponent:(0,T.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,a)=>a.root}),useThemeProps:e=>(0,A.b)({props:e,name:"MuiStack"})}),P=z},38954:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(85154),l=i(25697),d=i(74692),c=i(84361),u=i(13028),p=i(26468);function m(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,u.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var b=i(86070);const g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,c.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,"inherit"!==i.color&&a[`color${(0,l.A)(i.color)}`],a[`fontSize${(0,l.A)(i.fontSize)}`]]}})((({theme:e,ownerState:a})=>{var i,t,n,r,o,s,l,d,c,u,p,m,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:a.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(i=e.transitions)||null==(t=i.create)?void 0:t.call(i,"fill",{duration:null==(n=e.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:{inherit:"inherit",small:(null==(r=e.typography)||null==(o=r.pxToRem)?void 0:o.call(r,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(d=e.typography)||null==(c=d.pxToRem)?void 0:c.call(d,35))||"2.1875rem"}[a.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[a.color])?void 0:p.main)?u:{action:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(b=(e.vars||e).palette)||null==(b=b.action)?void 0:b.disabled,inherit:void 0}[a.color]}})),k=r.forwardRef((function(e,a){const i=(0,d.b)({props:e,name:"MuiSvgIcon"}),{children:c,className:u,color:p="inherit",component:k="svg",fontSize:v="medium",htmlColor:f,inheritViewBox:y=!1,titleAccess:w,viewBox:S="0 0 24 24"}=i,T=(0,n.A)(i,g),A=r.isValidElement(c)&&"svg"===c.type,z=(0,t.A)({},i,{color:p,component:k,fontSize:v,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:S,hasSvgAsChild:A}),P={};y||(P.viewBox=S);const j=(e=>{const{color:a,fontSize:i,classes:t}=e,n={root:["root","inherit"!==a&&`color${(0,l.A)(a)}`,`fontSize${(0,l.A)(i)}`]};return(0,s.A)(n,m,t)})(z);return(0,b.jsxs)(h,(0,t.A)({as:k,className:(0,o.A)(j.root,u),focusable:"false",color:f,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:a},P,T,A&&c.props,{ownerState:z,children:[A?c.props.children:c,w?(0,b.jsx)("title",{children:w}):null]}))}));k.muiName="SvgIcon";const v=k},56238:(e,a,i)=>{"use strict";i.d(a,{A:()=>T});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(62162),d=i(25697),c=i(82078),u=i(84361),p=i(74692),m=i(13028),b=i(26468);function g(e){return(0,b.Ay)("MuiSwitch",e)}const h=(0,m.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var k=i(86070);const v=["className","color","edge","size","sx"],f=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.edge&&a[`edge${(0,d.A)(i.edge)}`],a[`size${(0,d.A)(i.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${h.thumb}`]:{width:16,height:16},[`& .${h.switchBase}`]:{padding:4,[`&.${h.checked}`]:{transform:"translateX(16px)"}}}}]}),y=(0,u.Ay)(c.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.switchBase,{[`& .${h.input}`]:a.input},"default"!==i.color&&a[`color${(0,d.A)(i.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${h.checked}`]:{transform:"translateX(20px)"},[`&.${h.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${h.checked} + .${h.track}`]:{opacity:.5},[`&.${h.disabled} + .${h.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${h.input}`]:{left:"-100%",width:"300%"}})),(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([a])=>({props:{color:a},style:{[`&.${h.checked}`]:{color:(e.vars||e).palette[a].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[a].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${a}DisabledColor`]:`${"light"===e.palette.mode?(0,l.a)(e.palette[a].main,.62):(0,l.e$)(e.palette[a].main,.55)}`}},[`&.${h.checked} + .${h.track}`]:{backgroundColor:(e.vars||e).palette[a].main}}})))]}))),w=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,a)=>a.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),S=(0,u.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,a)=>a.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),T=r.forwardRef((function(e,a){const i=(0,p.b)({props:e,name:"MuiSwitch"}),{className:r,color:l="primary",edge:c=!1,size:u="medium",sx:m}=i,b=(0,t.A)(i,v),h=(0,n.A)({},i,{color:l,edge:c,size:u}),T=(e=>{const{classes:a,edge:i,size:t,color:r,checked:o,disabled:l}=e,c={root:["root",i&&`edge${(0,d.A)(i)}`,`size${(0,d.A)(t)}`],switchBase:["switchBase",`color${(0,d.A)(r)}`,o&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,s.A)(c,g,a);return(0,n.A)({},a,u)})(h),A=(0,k.jsx)(S,{className:T.thumb,ownerState:h});return(0,k.jsxs)(f,{className:(0,o.A)(T.root,r),sx:m,ownerState:h,children:[(0,k.jsx)(y,(0,n.A)({type:"checkbox",icon:A,checkedIcon:A,ref:a,ownerState:h},b,{classes:(0,n.A)({},T,{root:T.switchBase})})),(0,k.jsx)(w,{className:T.track,ownerState:h})]})}))},15926:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(70955),d=i(54860),c=i(35446),u=i(40129),p=i(32057),m=i(74692),b=i(84361),g=i(13028),h=i(26468);function k(e){return(0,h.Ay)("MuiTabScrollButton",e)}const v=(0,g.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);var f=i(86070);const y=["className","slots","slotProps","direction","orientation","disabled"],w=(0,b.Ay)(p.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.orientation&&a[i.orientation]]}})((({ownerState:e})=>(0,n.A)({width:40,flexShrink:0,opacity:.8,[`&.${v.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),S=r.forwardRef((function(e,a){var i,r;const p=(0,m.b)({props:e,name:"MuiTabScrollButton"}),{className:b,slots:g={},slotProps:h={},direction:v}=p,S=(0,t.A)(p,y),T=(0,l.I)(),A=(0,n.A)({isRtl:T},p),z=(e=>{const{classes:a,orientation:i,disabled:t}=e,n={root:["root",i,t&&"disabled"]};return(0,s.A)(n,k,a)})(A),P=null!=(i=g.StartScrollButtonIcon)?i:c.A,j=null!=(r=g.EndScrollButtonIcon)?r:u.A,C=(0,d.A)({elementType:P,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:A}),x=(0,d.A)({elementType:j,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:A});return(0,f.jsx)(w,(0,n.A)({component:"div",className:(0,o.A)(z.root,b),ref:a,role:null,ownerState:A,tabIndex:null},S,{children:"left"===v?(0,f.jsx)(P,(0,n.A)({},C)):(0,f.jsx)(j,(0,n.A)({},x))}))}))},85772:(e,a,i)=>{"use strict";i.d(a,{A:()=>f});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(85154),l=i(32057),d=i(25697),c=i(74692),u=i(84361),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiTab",e)}const g=(0,p.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var h=i(86070);const k=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],v=(0,u.Ay)(l.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.label&&i.icon&&a.labelIcon,a[`textColor${(0,d.A)(i.textColor)}`],i.fullWidth&&a.fullWidth,i.wrapped&&a.wrapped,{[`& .${g.iconWrapper}`]:a.iconWrapper}]}})((({theme:e,ownerState:a})=>(0,n.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},a.label&&{flexDirection:"top"===a.iconPosition||"bottom"===a.iconPosition?"column":"row"},{lineHeight:1.25},a.icon&&a.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${g.iconWrapper}`]:(0,n.A)({},"top"===a.iconPosition&&{marginBottom:6},"bottom"===a.iconPosition&&{marginTop:6},"start"===a.iconPosition&&{marginRight:e.spacing(1)},"end"===a.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===a.textColor&&{color:"inherit",opacity:.6,[`&.${g.selected}`]:{opacity:1},[`&.${g.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===a.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${g.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===a.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${g.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled}},a.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},a.wrapped&&{fontSize:e.typography.pxToRem(12)}))),f=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTab"}),{className:l,disabled:u=!1,disableFocusRipple:p=!1,fullWidth:m,icon:g,iconPosition:f="top",indicator:y,label:w,onChange:S,onClick:T,onFocus:A,selected:z,selectionFollowsFocus:P,textColor:j="inherit",value:C,wrapped:x=!1}=i,D=(0,t.A)(i,k),O=(0,n.A)({},i,{disabled:u,disableFocusRipple:p,selected:z,icon:!!g,iconPosition:f,label:!!w,fullWidth:m,textColor:j,wrapped:x}),M=(e=>{const{classes:a,textColor:i,fullWidth:t,wrapped:n,icon:r,label:o,selected:l,disabled:c}=e,u={root:["root",r&&o&&"labelIcon",`textColor${(0,d.A)(i)}`,t&&"fullWidth",n&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.A)(u,b,a)})(O),I=g&&w&&r.isValidElement(g)?r.cloneElement(g,{className:(0,o.A)(M.iconWrapper,g.props.className)}):g;return(0,h.jsxs)(v,(0,n.A)({focusRipple:!p,className:(0,o.A)(M.root,l),ref:a,role:"tab","aria-selected":z,disabled:u,onClick:e=>{!z&&S&&S(e,C),T&&T(e)},onFocus:e=>{P&&!z&&S&&S(e,C),A&&A(e)},ownerState:O,tabIndex:z?0:-1},D,{children:["top"===f||"start"===f?(0,h.jsxs)(r.Fragment,{children:[I,w]}):(0,h.jsxs)(r.Fragment,{children:[w,I]}),y]}))}))},14579:(e,a,i)=>{"use strict";i.d(a,{A:()=>E});var t=i(39460),n=i(26325),r=i(30758),o=(i(84276),i(13526)),s=i(85154),l=i(70955),d=i(54860),c=i(84361),u=i(74692),p=i(75826),m=i(43924),b=i(69898),g=i(16672),h=i(13571),k=i(35968),v=i(86070);const f=["onChange"],y={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var w=i(15926),S=i(63361),T=i(13028),A=i(26468);function z(e){return(0,A.Ay)("MuiTabs",e)}const P=(0,T.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var j=i(90737);const C=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],x=(e,a)=>e===a?e.firstChild:a&&a.nextElementSibling?a.nextElementSibling:e.firstChild,D=(e,a)=>e===a?e.lastChild:a&&a.previousElementSibling?a.previousElementSibling:e.lastChild,O=(e,a,i)=>{let t=!1,n=i(e,a);for(;n;){if(n===e.firstChild){if(t)return;t=!0}const a=n.disabled||"true"===n.getAttribute("aria-disabled");if(n.hasAttribute("tabindex")&&!a)return void n.focus();n=i(e,n)}},M=(0,c.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${P.scrollButtons}`]:a.scrollButtons},{[`& .${P.scrollButtons}`]:i.scrollButtonsHideMobile&&a.scrollButtonsHideMobile},a.root,i.vertical&&a.vertical]}})((({ownerState:e,theme:a})=>(0,n.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${P.scrollButtons}`]:{[a.breakpoints.down("sm")]:{display:"none"}}}))),I=(0,c.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.scroller,i.fixed&&a.fixed,i.hideScrollbar&&a.hideScrollbar,i.scrollableX&&a.scrollableX,i.scrollableY&&a.scrollableY]}})((({ownerState:e})=>(0,n.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),B=(0,c.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.flexContainer,i.vertical&&a.flexContainerVertical,i.centered&&a.centered]}})((({ownerState:e})=>(0,n.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),L=(0,c.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,a)=>a.indicator})((({ownerState:e,theme:a})=>(0,n.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:a.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(a.vars||a).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(a.vars||a).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),R=(0,c.Ay)((function(e){const{onChange:a}=e,i=(0,t.A)(e,f),o=r.useRef(),s=r.useRef(null),l=()=>{o.current=s.current.offsetHeight-s.current.clientHeight};return(0,h.A)((()=>{const e=(0,m.A)((()=>{const e=o.current;l(),e!==o.current&&a(o.current)})),i=(0,k.A)(s.current);return i.addEventListener("resize",e),()=>{e.clear(),i.removeEventListener("resize",e)}}),[a]),r.useEffect((()=>{l(),a(o.current)}),[a]),(0,v.jsx)("div",(0,n.A)({style:y,ref:s},i))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),N={};const E=r.forwardRef((function(e,a){const i=(0,u.b)({props:e,name:"MuiTabs"}),c=(0,p.A)(),h=(0,l.I)(),{"aria-label":f,"aria-labelledby":y,action:T,centered:A=!1,children:P,className:E,component:F="div",allowScrollButtonsMobile:_=!1,indicatorColor:W="primary",onChange:U,orientation:G="horizontal",ScrollButtonComponent:K=w.A,scrollButtons:V="auto",selectionFollowsFocus:q,slots:H={},slotProps:$={},TabIndicatorProps:J={},TabScrollButtonProps:Q={},textColor:Z="primary",value:Y,variant:X="standard",visibleScrollbar:ee=!1}=i,ae=(0,t.A)(i,C),ie="scrollable"===X,te="vertical"===G,ne=te?"scrollTop":"scrollLeft",re=te?"top":"left",oe=te?"bottom":"right",se=te?"clientHeight":"clientWidth",le=te?"height":"width",de=(0,n.A)({},i,{component:F,allowScrollButtonsMobile:_,indicatorColor:W,orientation:G,vertical:te,scrollButtons:V,textColor:Z,variant:X,visibleScrollbar:ee,fixed:!ie,hideScrollbar:ie&&!ee,scrollableX:ie&&!te,scrollableY:ie&&te,centered:A&&!ie,scrollButtonsHideMobile:!_}),ce=(e=>{const{vertical:a,fixed:i,hideScrollbar:t,scrollableX:n,scrollableY:r,centered:o,scrollButtonsHideMobile:l,classes:d}=e,c={root:["root",a&&"vertical"],scroller:["scroller",i&&"fixed",t&&"hideScrollbar",n&&"scrollableX",r&&"scrollableY"],flexContainer:["flexContainer",a&&"flexContainerVertical",o&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[t&&"hideScrollbar"]};return(0,s.A)(c,z,d)})(de),ue=(0,d.A)({elementType:H.StartScrollButtonIcon,externalSlotProps:$.startScrollButtonIcon,ownerState:de}),pe=(0,d.A)({elementType:H.EndScrollButtonIcon,externalSlotProps:$.endScrollButtonIcon,ownerState:de});const[me,be]=r.useState(!1),[ge,he]=r.useState(N),[ke,ve]=r.useState(!1),[fe,ye]=r.useState(!1),[we,Se]=r.useState(!1),[Te,Ae]=r.useState({overflow:"hidden",scrollbarWidth:0}),ze=new Map,Pe=r.useRef(null),je=r.useRef(null),Ce=()=>{const e=Pe.current;let a,i;if(e){const i=e.getBoundingClientRect();a={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:(0,b.A)(e,h?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}if(e&&!1!==Y){const e=je.current.children;if(e.length>0){const a=e[ze.get(Y)];0,i=a?a.getBoundingClientRect():null}}return{tabsMeta:a,tabMeta:i}},xe=(0,S.A)((()=>{const{tabsMeta:e,tabMeta:a}=Ce();let i,t=0;if(te)i="top",a&&e&&(t=a.top-e.top+e.scrollTop);else if(i=h?"right":"left",a&&e){const n=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;t=(h?-1:1)*(a[i]-e[i]+n)}const n={[i]:t,[le]:a?a[le]:0};if(isNaN(ge[i])||isNaN(ge[le]))he(n);else{const e=Math.abs(ge[i]-n[i]),a=Math.abs(ge[le]-n[le]);(e>=1||a>=1)&&he(n)}})),De=(e,{animation:a=!0}={})=>{a?(0,g.A)(ne,Pe.current,e,{duration:c.transitions.duration.standard}):Pe.current[ne]=e},Oe=e=>{let a=Pe.current[ne];te?a+=e:(a+=e*(h?-1:1),a*=h&&"reverse"===(0,b.t)()?-1:1),De(a)},Me=()=>{const e=Pe.current[se];let a=0;const i=Array.from(je.current.children);for(let t=0;te){0===t&&(a=e);break}a+=n[se]}return a},Ie=()=>{Oe(-1*Me())},Be=()=>{Oe(Me())},Le=r.useCallback((e=>{Ae({overflow:null,scrollbarWidth:e})}),[]),Re=(0,S.A)((e=>{const{tabsMeta:a,tabMeta:i}=Ce();if(i&&a)if(i[re]a[oe]){const t=a[ne]+(i[oe]-a[oe]);De(t,{animation:e})}})),Ne=(0,S.A)((()=>{ie&&!1!==V&&Se(!we)}));r.useEffect((()=>{const e=(0,m.A)((()=>{Pe.current&&xe()}));let a;const i=i=>{i.forEach((e=>{e.removedNodes.forEach((e=>{var i;null==(i=a)||i.unobserve(e)})),e.addedNodes.forEach((e=>{var i;null==(i=a)||i.observe(e)}))})),e(),Ne()},t=(0,k.A)(Pe.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(e),Array.from(je.current.children).forEach((e=>{a.observe(e)}))),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(i),n.observe(je.current,{childList:!0})),()=>{var i,r;e.clear(),t.removeEventListener("resize",e),null==(i=n)||i.disconnect(),null==(r=a)||r.disconnect()}}),[xe,Ne]),r.useEffect((()=>{const e=Array.from(je.current.children),a=e.length;if("undefined"!=typeof IntersectionObserver&&a>0&&ie&&!1!==V){const i=e[0],t=e[a-1],n={root:Pe.current,threshold:.99},r=new IntersectionObserver((e=>{ve(!e[0].isIntersecting)}),n);r.observe(i);const o=new IntersectionObserver((e=>{ye(!e[0].isIntersecting)}),n);return o.observe(t),()=>{r.disconnect(),o.disconnect()}}}),[ie,V,we,null==P?void 0:P.length]),r.useEffect((()=>{be(!0)}),[]),r.useEffect((()=>{xe()})),r.useEffect((()=>{Re(N!==ge)}),[Re,ge]),r.useImperativeHandle(T,(()=>({updateIndicator:xe,updateScrollButtons:Ne})),[xe,Ne]);const Ee=(0,v.jsx)(L,(0,n.A)({},J,{className:(0,o.A)(ce.indicator,J.className),ownerState:de,style:(0,n.A)({},ge,J.style)}));let Fe=0;const _e=r.Children.map(P,(e=>{if(!r.isValidElement(e))return null;const a=void 0===e.props.value?Fe:e.props.value;ze.set(a,Fe);const i=a===Y;return Fe+=1,r.cloneElement(e,(0,n.A)({fullWidth:"fullWidth"===X,indicator:i&&!me&&Ee,selected:i,selectionFollowsFocus:q,onChange:U,textColor:Z,value:a},1!==Fe||!1!==Y||e.props.tabIndex?{}:{tabIndex:0}))})),We=(()=>{const e={};e.scrollbarSizeListener=ie?(0,v.jsx)(R,{onChange:Le,className:(0,o.A)(ce.scrollableX,ce.hideScrollbar)}):null;const a=ie&&("auto"===V&&(ke||fe)||!0===V);return e.scrollButtonStart=a?(0,v.jsx)(K,(0,n.A)({slots:{StartScrollButtonIcon:H.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ue},orientation:G,direction:h?"right":"left",onClick:Ie,disabled:!ke},Q,{className:(0,o.A)(ce.scrollButtons,Q.className)})):null,e.scrollButtonEnd=a?(0,v.jsx)(K,(0,n.A)({slots:{EndScrollButtonIcon:H.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:pe},orientation:G,direction:h?"left":"right",onClick:Be,disabled:!fe},Q,{className:(0,o.A)(ce.scrollButtons,Q.className)})):null,e})();return(0,v.jsxs)(M,(0,n.A)({className:(0,o.A)(ce.root,E),ownerState:de,ref:a,as:F},ae,{children:[We.scrollButtonStart,We.scrollbarSizeListener,(0,v.jsxs)(I,{className:ce.scroller,ownerState:de,style:{overflow:Te.overflow,[te?"margin"+(h?"Left":"Right"):"marginBottom"]:ee?void 0:-Te.scrollbarWidth},ref:Pe,children:[(0,v.jsx)(B,{"aria-label":f,"aria-labelledby":y,"aria-orientation":"vertical"===G?"vertical":null,className:ce.flexContainer,ownerState:de,onKeyDown:e=>{const a=je.current,i=(0,j.A)(a).activeElement;if("tab"!==i.getAttribute("role"))return;let t="horizontal"===G?"ArrowLeft":"ArrowUp",n="horizontal"===G?"ArrowRight":"ArrowDown";switch("horizontal"===G&&h&&(t="ArrowRight",n="ArrowLeft"),e.key){case t:e.preventDefault(),O(a,i,D);break;case n:e.preventDefault(),O(a,i,x);break;case"Home":e.preventDefault(),O(a,null,x);break;case"End":e.preventDefault(),O(a,null,D)}},ref:je,role:"tablist",children:_e}),me&&Ee]}),We.scrollButtonEnd]}))}))},95437:(e,a,i)=>{"use strict";i.d(a,{A:()=>ye});var t=i(26325),n=i(39460),r=i(30758),o=i(13526),s=i(85154),l=i(48260),d=i(84361),c=i(74692),u=i(31454),p=i(75572),m=i(49820),b=i(81197),g=i(48584),h=i(86070);const k=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],v=(0,d.Ay)(m.Sh,{shouldForwardProp:e=>(0,b.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[...(0,m.WC)(e,a),!i.disableUnderline&&a.underline]}})((({theme:e,ownerState:a})=>{var i;const n="light"===e.palette.mode,r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,t.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${g.A.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${g.A.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!a.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(i=(e.vars||e).palette[a.color||"primary"])?void 0:i.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${g.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${g.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${g.A.disabled}, .${g.A.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${g.A.disabled}:before`]:{borderBottomStyle:"dotted"}},a.startAdornment&&{paddingLeft:12},a.endAdornment&&{paddingRight:12},a.multiline&&(0,t.A)({padding:"25px 12px 8px"},"small"===a.size&&{paddingTop:21,paddingBottom:4},a.hiddenLabel&&{paddingTop:16,paddingBottom:17},a.hiddenLabel&&"small"===a.size&&{paddingTop:8,paddingBottom:9}))})),f=(0,d.Ay)(m.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:m.Oj})((({theme:e,ownerState:a})=>(0,t.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===a.size&&{paddingTop:21,paddingBottom:4},a.hiddenLabel&&{paddingTop:16,paddingBottom:17},a.startAdornment&&{paddingLeft:0},a.endAdornment&&{paddingRight:0},a.hiddenLabel&&"small"===a.size&&{paddingTop:8,paddingBottom:9},a.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),y=r.forwardRef((function(e,a){var i,r,o,l;const d=(0,c.b)({props:e,name:"MuiFilledInput"}),{components:u={},componentsProps:b,fullWidth:y=!1,inputComponent:w="input",multiline:S=!1,slotProps:T,slots:A={},type:z="text"}=d,P=(0,n.A)(d,k),j=(0,t.A)({},d,{fullWidth:y,inputComponent:w,multiline:S,type:z}),C=(e=>{const{classes:a,disableUnderline:i}=e,n={root:["root",!i&&"underline"],input:["input"]},r=(0,s.A)(n,g.N,a);return(0,t.A)({},a,r)})(d),x={root:{ownerState:j},input:{ownerState:j}},D=(null!=T?T:b)?(0,p.A)(x,null!=T?T:b):x,O=null!=(i=null!=(r=A.root)?r:u.Root)?i:v,M=null!=(o=null!=(l=A.input)?l:u.Input)?o:f;return(0,h.jsx)(m.Ay,(0,t.A)({slots:{root:O,input:M},componentsProps:D,fullWidth:y,inputComponent:w,multiline:S,ref:a,type:z},P,{classes:C}))}));y.muiName="Input";const w=y;var S=i(59290),T=i(64468),A=i(76392),z=i(18025),P=i(87011),j=i(25697),C=i(13028),x=i(26468);function D(e){return(0,x.Ay)("MuiFormHelperText",e)}const O=(0,C.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var M;const I=["children","className","component","disabled","error","filled","focused","margin","required","variant"],B=(0,d.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.size&&a[`size${(0,j.A)(i.size)}`],i.contained&&a.contained,i.filled&&a.filled]}})((({theme:e,ownerState:a})=>(0,t.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${O.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${O.error}`]:{color:(e.vars||e).palette.error.main}},"small"===a.size&&{marginTop:4},a.contained&&{marginLeft:14,marginRight:14}))),L=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiFormHelperText"}),{children:r,className:l,component:d="p"}=i,u=(0,n.A)(i,I),p=(0,P.A)(),m=(0,z.A)({props:i,muiFormControl:p,states:["variant","size","disabled","error","filled","focused","required"]}),b=(0,t.A)({},i,{component:d,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required}),g=(e=>{const{classes:a,contained:i,size:t,disabled:n,error:r,filled:o,focused:l,required:d}=e,c={root:["root",n&&"disabled",r&&"error",t&&`size${(0,j.A)(t)}`,i&&"contained",l&&"focused",o&&"filled",d&&"required"]};return(0,s.A)(c,D,a)})(b);return(0,h.jsx)(B,(0,t.A)({as:d,ownerState:b,className:(0,o.A)(g.root,l),ref:a},u,{children:" "===r?M||(M=(0,h.jsx)("span",{className:"notranslate",children:"​"})):r}))}));var R=i(40508),N=(i(84276),i(90737)),E=i(91686);function F(e){return(0,x.Ay)("MuiNativeSelect",e)}const _=(0,C.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),W=["className","disabled","error","IconComponent","inputRef","variant"],U=({ownerState:e,theme:a})=>(0,t.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,t.A)({},a.vars?{backgroundColor:`rgba(${a.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===a.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(a.vars||a).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(a.vars||a).shape.borderRadius,"&:focus":{borderRadius:(a.vars||a).shape.borderRadius},"&&&":{paddingRight:32}}),G=(0,d.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:b.A,overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.select,a[i.variant],i.error&&a.error,{[`&.${_.multiple}`]:a.multiple}]}})(U),K=({ownerState:e,theme:a})=>(0,t.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(a.vars||a).palette.action.active,[`&.${_.disabled}`]:{color:(a.vars||a).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),V=(0,d.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.icon,i.variant&&a[`icon${(0,j.A)(i.variant)}`],i.open&&a.iconOpen]}})(K),q=r.forwardRef((function(e,a){const{className:i,disabled:l,error:d,IconComponent:c,inputRef:u,variant:p="standard"}=e,m=(0,n.A)(e,W),b=(0,t.A)({},e,{disabled:l,variant:p,error:d}),g=(e=>{const{classes:a,variant:i,disabled:t,multiple:n,open:r,error:o}=e,l={select:["select",i,t&&"disabled",n&&"multiple",o&&"error"],icon:["icon",`icon${(0,j.A)(i)}`,r&&"iconOpen",t&&"disabled"]};return(0,s.A)(l,F,a)})(b);return(0,h.jsxs)(r.Fragment,{children:[(0,h.jsx)(G,(0,t.A)({ownerState:b,className:(0,o.A)(g.select,i),disabled:l,ref:u||a},m)),e.multiple?null:(0,h.jsx)(V,{as:c,ownerState:b,className:g.icon})]})}));var H=i(30590),$=i(13313),J=i(7443),Q=i(51262);function Z(e){return(0,x.Ay)("MuiSelect",e)}const Y=(0,C.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var X;const ee=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],ae=(0,d.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`&.${Y.select}`]:a.select},{[`&.${Y.select}`]:a[i.variant]},{[`&.${Y.error}`]:a.error},{[`&.${Y.multiple}`]:a.multiple}]}})(U,{[`&.${Y.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ie=(0,d.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.icon,i.variant&&a[`icon${(0,j.A)(i.variant)}`],i.open&&a.iconOpen]}})(K),te=(0,d.Ay)("input",{shouldForwardProp:e=>(0,$.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,a)=>a.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ne(e,a){return"object"==typeof a&&null!==a?e===a:String(e)===String(a)}function re(e){return null==e||"string"==typeof e&&!e.trim()}const oe=r.forwardRef((function(e,a){var i;const{"aria-describedby":d,"aria-label":c,autoFocus:u,autoWidth:p,children:m,className:b,defaultOpen:g,defaultValue:k,disabled:v,displayEmpty:f,error:y=!1,IconComponent:w,inputRef:S,labelId:T,MenuProps:A={},multiple:z,name:P,onBlur:C,onChange:x,onClose:D,onFocus:O,onOpen:M,open:I,readOnly:B,renderValue:L,SelectDisplayProps:F={},tabIndex:_,value:W,variant:U="standard"}=e,G=(0,n.A)(e,ee),[K,V]=(0,Q.A)({controlled:W,default:k,name:"Select"}),[q,$]=(0,Q.A)({controlled:I,default:g,name:"Select"}),Y=r.useRef(null),oe=r.useRef(null),[se,le]=r.useState(null),{current:de}=r.useRef(null!=I),[ce,ue]=r.useState(),pe=(0,J.A)(a,S),me=r.useCallback((e=>{oe.current=e,e&&le(e)}),[]),be=null==se?void 0:se.parentNode;r.useImperativeHandle(pe,(()=>({focus:()=>{oe.current.focus()},node:Y.current,value:K})),[K]),r.useEffect((()=>{g&&q&&se&&!de&&(ue(p?null:be.clientWidth),oe.current.focus())}),[se,p]),r.useEffect((()=>{u&&oe.current.focus()}),[u]),r.useEffect((()=>{if(!T)return;const e=(0,N.A)(oe.current).getElementById(T);if(e){const a=()=>{getSelection().isCollapsed&&oe.current.focus()};return e.addEventListener("click",a),()=>{e.removeEventListener("click",a)}}}),[T]);const ge=(e,a)=>{e?M&&M(a):D&&D(a),de||(ue(p?null:be.clientWidth),$(e))},he=r.Children.toArray(m),ke=e=>a=>{let i;if(a.currentTarget.hasAttribute("tabindex")){if(z){i=Array.isArray(K)?K.slice():[];const a=K.indexOf(e.props.value);-1===a?i.push(e.props.value):i.splice(a,1)}else i=e.props.value;if(e.props.onClick&&e.props.onClick(a),K!==i&&(V(i),x)){const t=a.nativeEvent||a,n=new t.constructor(t.type,t);Object.defineProperty(n,"target",{writable:!0,value:{value:i,name:P}}),x(n,e)}z||ge(!1,a)}},ve=null!==se&&q;let fe,ye;delete G["aria-invalid"];const we=[];let Se=!1,Te=!1;((0,H.lq)({value:K})||f)&&(L?fe=L(K):Se=!0);const Ae=he.map((e=>{if(!r.isValidElement(e))return null;let a;if(z){if(!Array.isArray(K))throw new Error((0,R.A)(2));a=K.some((a=>ne(a,e.props.value))),a&&Se&&we.push(e.props.children)}else a=ne(K,e.props.value),a&&Se&&(ye=e.props.children);return a&&(Te=!0),r.cloneElement(e,{"aria-selected":a?"true":"false",onClick:ke(e),onKeyUp:a=>{" "===a.key&&a.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(a)},role:"option",selected:a,value:void 0,"data-value":e.props.value})}));Se&&(fe=z?0===we.length?null:we.reduce(((e,a,i)=>(e.push(a),i{const{classes:a,variant:i,disabled:t,multiple:n,open:r,error:o}=e,l={select:["select",i,t&&"disabled",n&&"multiple",o&&"error"],icon:["icon",`icon${(0,j.A)(i)}`,r&&"iconOpen",t&&"disabled"],nativeInput:["nativeInput"]};return(0,s.A)(l,Z,a)})(Ce),De=(0,t.A)({},A.PaperProps,null==(i=A.slotProps)?void 0:i.paper),Oe=(0,l.A)();return(0,h.jsxs)(r.Fragment,{children:[(0,h.jsx)(ae,(0,t.A)({ref:me,tabIndex:ze,role:"combobox","aria-controls":Oe,"aria-disabled":v?"true":void 0,"aria-expanded":ve?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[T,je].filter(Boolean).join(" ")||void 0,"aria-describedby":d,onKeyDown:e=>{if(!B){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ge(!0,e))}},onMouseDown:v||B?null:e=>{0===e.button&&(e.preventDefault(),oe.current.focus(),ge(!0,e))},onBlur:e=>{!ve&&C&&(Object.defineProperty(e,"target",{writable:!0,value:{value:K,name:P}}),C(e))},onFocus:O},F,{ownerState:Ce,className:(0,o.A)(F.className,xe.select,b),id:je,children:re(fe)?X||(X=(0,h.jsx)("span",{className:"notranslate",children:"​"})):fe})),(0,h.jsx)(te,(0,t.A)({"aria-invalid":y,value:Array.isArray(K)?K.join(","):K,name:P,ref:Y,"aria-hidden":!0,onChange:e=>{const a=he.find((a=>a.props.value===e.target.value));void 0!==a&&(V(a.props.value),x&&x(e,a))},tabIndex:-1,disabled:v,className:xe.nativeInput,autoFocus:u,ownerState:Ce},G)),(0,h.jsx)(ie,{as:w,className:xe.icon,ownerState:Ce}),(0,h.jsx)(E.A,(0,t.A)({id:`menu-${P||""}`,anchorEl:be,open:ve,onClose:e=>{ge(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},A,{MenuListProps:(0,t.A)({"aria-labelledby":T,role:"listbox","aria-multiselectable":z?"true":void 0,disableListWrap:!0,id:Oe},A.MenuListProps),slotProps:(0,t.A)({},A.slotProps,{paper:(0,t.A)({},De,{style:(0,t.A)({minWidth:Pe},null!=De?De.style:null)})}),children:Ae}))]})}));var se=i(74321);const le=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],de=["root"],ce={name:"MuiSelect",overridesResolver:(e,a)=>a.root,shouldForwardProp:e=>(0,b.A)(e)&&"variant"!==e,slot:"Root"},ue=(0,d.Ay)(u.A,ce)(""),pe=(0,d.Ay)(S.A,ce)(""),me=(0,d.Ay)(w,ce)(""),be=r.forwardRef((function(e,a){const i=(0,c.b)({name:"MuiSelect",props:e}),{autoWidth:s=!1,children:l,classes:d={},className:u,defaultOpen:m=!1,displayEmpty:b=!1,IconComponent:g=se.A,id:k,input:v,inputProps:f,label:y,labelId:w,MenuProps:S,multiple:T=!1,native:A=!1,onClose:j,onOpen:C,open:x,renderValue:D,SelectDisplayProps:O,variant:M="outlined"}=i,I=(0,n.A)(i,le),B=A?q:oe,L=(0,P.A)(),R=(0,z.A)({props:i,muiFormControl:L,states:["variant","error"]}),N=R.variant||M,E=(0,t.A)({},i,{variant:N,classes:d}),F=(e=>{const{classes:a}=e;return a})(E),_=(0,n.A)(F,de),W=v||{standard:(0,h.jsx)(ue,{ownerState:E}),outlined:(0,h.jsx)(pe,{label:y,ownerState:E}),filled:(0,h.jsx)(me,{ownerState:E})}[N],U=(0,J.A)(a,W.ref);return(0,h.jsx)(r.Fragment,{children:r.cloneElement(W,(0,t.A)({inputComponent:B,inputProps:(0,t.A)({children:l,error:R.error,IconComponent:g,variant:N,type:void 0,multiple:T},A?{id:k}:{autoWidth:s,defaultOpen:m,displayEmpty:b,labelId:w,MenuProps:S,onClose:j,onOpen:C,open:x,renderValue:D,SelectDisplayProps:(0,t.A)({id:k},O)},f,{classes:f?(0,p.A)(_,f.classes):_},v?v.props.inputProps:{})},(T&&A||b)&&"outlined"===N?{notched:!0}:{},{ref:U,className:(0,o.A)(W.props.className,u,F.root)},!v&&{variant:N},I))})}));be.muiName="Select";const ge=be;function he(e){return(0,x.Ay)("MuiTextField",e)}(0,C.A)("MuiTextField",["root"]);const ke=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],ve={standard:u.A,filled:w,outlined:S.A},fe=(0,d.Ay)(A.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,a)=>a.root})({}),ye=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:d=!1,children:u,className:p,color:m="primary",defaultValue:b,disabled:g=!1,error:k=!1,FormHelperTextProps:v,fullWidth:f=!1,helperText:y,id:w,InputLabelProps:S,inputProps:A,InputProps:z,inputRef:P,label:j,maxRows:C,minRows:x,multiline:D=!1,name:O,onBlur:M,onChange:I,onFocus:B,placeholder:R,required:N=!1,rows:E,select:F=!1,SelectProps:_,type:W,value:U,variant:G="outlined"}=i,K=(0,n.A)(i,ke),V=(0,t.A)({},i,{autoFocus:d,color:m,disabled:g,error:k,fullWidth:f,multiline:D,required:N,select:F,variant:G}),q=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"]},he,a)})(V);const H={};"outlined"===G&&(S&&void 0!==S.shrink&&(H.notched=S.shrink),H.label=j),F&&(_&&_.native||(H.id=void 0),H["aria-describedby"]=void 0);const $=(0,l.A)(w),J=y&&$?`${$}-helper-text`:void 0,Q=j&&$?`${$}-label`:void 0,Z=ve[G],Y=(0,h.jsx)(Z,(0,t.A)({"aria-describedby":J,autoComplete:r,autoFocus:d,defaultValue:b,fullWidth:f,multiline:D,name:O,rows:E,maxRows:C,minRows:x,type:W,value:U,id:$,inputRef:P,onBlur:M,onChange:I,onFocus:B,placeholder:R,inputProps:A},H,z));return(0,h.jsxs)(fe,(0,t.A)({className:(0,o.A)(q.root,p),disabled:g,error:k,fullWidth:f,ref:a,required:N,color:m,variant:G,ownerState:V},K,{children:[null!=j&&""!==j&&(0,h.jsx)(T.A,(0,t.A)({htmlFor:$,id:Q},S,{children:j})),F?(0,h.jsx)(ge,(0,t.A)({"aria-describedby":J,id:$,labelId:Q,value:U,input:Y},_,{children:u})):Y,y&&(0,h.jsx)(L,(0,t.A)({id:J},v,{children:y}))]}))}))},14447:(e,a,i)=>{"use strict";i.d(a,{A:()=>S});var t=i(39460),n=i(26325),r=i(30758),o=(i(84276),i(13526)),s=i(85154),l=i(81628),d=i(84361),c=i(74692),u=i(25697),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiToggleButtonGroup",e)}const g=(0,p.A)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var h=i(11115),k=i(84711),v=i(61934),f=i(86070);const y=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],w=(0,d.Ay)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[{[`& .${g.grouped}`]:a.grouped},{[`& .${g.grouped}`]:a[`grouped${(0,u.A)(i.orientation)}`]},{[`& .${g.firstButton}`]:a.firstButton},{[`& .${g.lastButton}`]:a.lastButton},{[`& .${g.middleButton}`]:a.middleButton},a.root,"vertical"===i.orientation&&a.vertical,i.fullWidth&&a.fullWidth]}})((({ownerState:e,theme:a})=>(0,n.A)({display:"inline-flex",borderRadius:(a.vars||a).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${g.grouped}`]:(0,n.A)({},"horizontal"===e.orientation?{[`&.${g.selected} + .${g.grouped}.${g.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${g.selected} + .${g.grouped}.${g.selected}`]:{borderTop:0,marginTop:0}})},"horizontal"===e.orientation?{[`& .${g.firstButton},& .${g.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${g.lastButton},& .${g.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${g.firstButton},& .${g.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${g.lastButton},& .${g.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},"horizontal"===e.orientation?{[`& .${g.lastButton}.${v.A.disabled},& .${g.middleButton}.${v.A.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${g.lastButton}.${v.A.disabled},& .${g.middleButton}.${v.A.disabled}`]:{borderTop:"1px solid transparent"}}))),S=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiToggleButtonGroup"}),{children:d,className:p,color:m="standard",disabled:g=!1,exclusive:v=!1,fullWidth:S=!1,onChange:T,orientation:A="horizontal",size:z="medium",value:P}=i,j=(0,t.A)(i,y),C=(0,n.A)({},i,{disabled:g,fullWidth:S,orientation:A,size:z}),x=(e=>{const{classes:a,orientation:i,fullWidth:t,disabled:n}=e,r={root:["root","vertical"===i&&"vertical",t&&"fullWidth"],grouped:["grouped",`grouped${(0,u.A)(i)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.A)(r,b,a)})(C),D=r.useCallback(((e,a)=>{if(!T)return;const i=P&&P.indexOf(a);let t;P&&i>=0?(t=P.slice(),t.splice(i,1)):t=P?P.concat(a):[a],T(e,t)}),[T,P]),O=r.useCallback(((e,a)=>{T&&T(e,P===a?null:a)}),[T,P]),M=r.useMemo((()=>({className:x.grouped,onChange:v?O:D,value:P,size:z,fullWidth:S,color:m,disabled:g})),[x.grouped,v,O,D,P,z,S,m,g]),I=(0,l.A)(d),B=I.length,L=e=>{const a=0===e,i=e===B-1;return a&&i?"":a?x.firstButton:i?x.lastButton:x.middleButton};return(0,f.jsx)(w,(0,n.A)({role:"group",className:(0,o.A)(x.root,p),ref:a,ownerState:C},j,{children:(0,f.jsx)(h.A.Provider,{value:M,children:I.map(((e,a)=>(0,f.jsx)(k.A.Provider,{value:L(a),children:e},a)))})}))}))},84711:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758);const n=575==i.j?t.createContext(void 0):null;const r=575==i.j?n:null},11115:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=i(30758).createContext({});const n=575==i.j?t:null},78905:(e,a,i)=>{"use strict";function t(e,a){return void 0!==a&&void 0!==e&&(Array.isArray(a)?a.indexOf(e)>=0:e===a)}i.d(a,{A:()=>t})},59234:(e,a,i)=>{"use strict";i.d(a,{A:()=>j});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(63318),l=i(85154),d=i(40508),c=i(900);function u(e,a=0,i=1){return(0,c.A)(e,a,i)}function p(e){if(e.type)return e;if("#"===e.charAt(0))return p(function(e){e=e.slice(1);const a=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(a);return i&&1===i[0].length&&(i=i.map((e=>e+e))),i?`rgb${4===i.length?"a":""}(${i.map(((e,a)=>a<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const a=e.indexOf("("),i=e.substring(0,a);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw new Error((0,d.A)(9,e));let t,n=e.substring(a+1,e.length-1);if("color"===i){if(n=n.split(" "),t=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw new Error((0,d.A)(10,t))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:i,values:n,colorSpace:t}}function m(e){const{type:a,colorSpace:i}=e;let{values:t}=e;return-1!==a.indexOf("rgb")?t=t.map(((e,a)=>a<3?parseInt(e,10):e)):-1!==a.indexOf("hsl")&&(t[1]=`${t[1]}%`,t[2]=`${t[2]}%`),t=-1!==a.indexOf("color")?`${i} ${t.join(" ")}`:`${t.join(", ")}`,`${a}(${t})`}function b(e,a){return e=p(e),a=u(a),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${a}`:e.values[3]=a,m(e)}var g=i(32057),h=i(25697),k=i(74692),v=i(84361),f=i(61934),y=i(11115),w=i(84711),S=i(78905),T=i(86070);const A=["value"],z=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],P=(0,v.Ay)(g.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,a[`size${(0,h.A)(i.size)}`]]}})((({theme:e,ownerState:a})=>{let i,t="standard"===a.color?e.palette.text.primary:e.palette[a.color].main;return e.vars&&(t="standard"===a.color?e.vars.palette.text.primary:e.vars.palette[a.color].main,i="standard"===a.color?e.vars.palette.text.primaryChannel:e.vars.palette[a.color].mainChannel),(0,n.A)({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},a.fullWidth&&{width:"100%"},{[`&.${f.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:b(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${f.A.selected}`]:{color:t,backgroundColor:e.vars?`rgba(${i} / ${e.vars.palette.action.selectedOpacity})`:b(t,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${i} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:b(t,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${i} / ${e.vars.palette.action.selectedOpacity})`:b(t,e.palette.action.selectedOpacity)}}}},"small"===a.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===a.size&&{padding:15,fontSize:e.typography.pxToRem(15)})})),j=r.forwardRef((function(e,a){const i=r.useContext(y.A),{value:d}=i,c=(0,t.A)(i,A),u=r.useContext(w.A),p=(0,s.A)((0,n.A)({},c,{selected:(0,S.A)(e.value,d)}),e),m=(0,k.b)({props:p,name:"MuiToggleButton"}),{children:b,className:g,color:v="standard",disabled:j=!1,disableFocusRipple:C=!1,fullWidth:x=!1,onChange:D,onClick:O,selected:M,size:I="medium",value:B}=m,L=(0,t.A)(m,z),R=(0,n.A)({},m,{color:v,disabled:j,disableFocusRipple:C,fullWidth:x,size:I}),N=(e=>{const{classes:a,fullWidth:i,selected:t,disabled:n,size:r,color:o}=e,s={root:["root",t&&"selected",n&&"disabled",i&&"fullWidth",`size${(0,h.A)(r)}`,o]};return(0,l.A)(s,f.J,a)})(R),E=u||"";return(0,T.jsx)(P,(0,n.A)({className:(0,o.A)(c.className,N.root,g,E),disabled:j,focusRipple:!C,ref:a,onClick:e=>{O&&(O(e,B),e.defaultPrevented)||D&&D(e,B)},onChange:D,value:B,ownerState:R,"aria-pressed":M},L,{children:b}))}))},61934:(e,a,i)=>{"use strict";i.d(a,{A:()=>s,J:()=>r});var t=i(13028);if(575==i.j)var n=i(26468);function r(e){return(0,n.Ay)("MuiToggleButton",e)}const o=(0,t.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),s=575==i.j?o:null},99358:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>g}),!/^(575|61)$/.test(i.j))var t=i(39460);var n=i(26325),r=i(30758);if(!/^(575|61)$/.test(i.j))var o=i(13526);if(!/^(575|61)$/.test(i.j))var s=i(85154);if(!/^(575|61)$/.test(i.j))var l=i(74692);var d=i(84361);if(!/^(575|61)$/.test(i.j))var c=i(72436);var u=i(86070);const p=/^(575|61)$/.test(i.j)?null:["className","component","disableGutters","variant"],m=(0,d.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,!i.disableGutters&&a.gutters,a[i.variant]]}})((({theme:e,ownerState:a})=>(0,n.A)({position:"relative",display:"flex",alignItems:"center"},!a.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===a.variant&&{minHeight:48})),(({theme:e,ownerState:a})=>"regular"===a.variant&&e.mixins.toolbar)),b=/^(575|61)$/.test(i.j)?null:r.forwardRef((function(e,a){const i=(0,l.b)({props:e,name:"MuiToolbar"}),{className:r,component:d="div",disableGutters:b=!1,variant:g="regular"}=i,h=(0,t.A)(i,p),k=(0,n.A)({},i,{component:d,disableGutters:b,variant:g}),v=(e=>{const{classes:a,disableGutters:i,variant:t}=e,n={root:["root",!i&&"gutters",t]};return(0,s.A)(n,c.U,a)})(k);return(0,u.jsx)(m,(0,n.A)({as:d,className:(0,o.A)(v.root,r),ref:a,ownerState:k},h))})),g=/^(575|61)$/.test(i.j)?null:b},72436:(e,a,i)=>{"use strict";i.d(a,{U:()=>r});var t=i(13028);if(!/^(575|61)$/.test(i.j))var n=i(26468);function r(e){return(0,n.Ay)("MuiToolbar",e)}(0,t.A)("MuiToolbar",["root","gutters","regular","dense"])},17116:(e,a,i)=>{"use strict";i.d(a,{A:()=>R});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(48467),l=i(85154),d=i(62162),c=i(70955),u=i(43342),p=i(84361),m=i(75826),b=i(74692),g=i(25697),h=i(61566),k=i(89823),v=i(63361),f=i(7443),y=i(25925),w=i(15506),S=i(51262),T=i(13028),A=i(26468);function z(e){return(0,A.Ay)("MuiTooltip",e)}const P=(0,T.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var j=i(86070);const C=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const x=(0,p.Ay)(k.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.popper,!i.disableInteractive&&a.popperInteractive,i.arrow&&a.popperArrow,!i.open&&a.popperClose]}})((({theme:e,ownerState:a,open:i})=>(0,n.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!a.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},a.arrow&&{[`&[data-popper-placement*="bottom"] .${P.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${P.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${P.arrow}`]:(0,n.A)({},a.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${P.arrow}`]:(0,n.A)({},a.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),D=(0,p.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.tooltip,i.touch&&a.touch,i.arrow&&a.tooltipArrow,a[`tooltipPlacement${(0,g.A)(i.placement.split("-")[0])}`]]}})((({theme:e,ownerState:a})=>{return(0,n.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,d.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},a.arrow&&{position:"relative",margin:0},a.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(i=16/14,Math.round(1e5*i)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${P.popper}[data-popper-placement*="left"] &`]:(0,n.A)({transformOrigin:"right center"},a.isRtl?(0,n.A)({marginLeft:"14px"},a.touch&&{marginLeft:"24px"}):(0,n.A)({marginRight:"14px"},a.touch&&{marginRight:"24px"})),[`.${P.popper}[data-popper-placement*="right"] &`]:(0,n.A)({transformOrigin:"left center"},a.isRtl?(0,n.A)({marginRight:"14px"},a.touch&&{marginRight:"24px"}):(0,n.A)({marginLeft:"14px"},a.touch&&{marginLeft:"24px"})),[`.${P.popper}[data-popper-placement*="top"] &`]:(0,n.A)({transformOrigin:"center bottom",marginBottom:"14px"},a.touch&&{marginBottom:"24px"}),[`.${P.popper}[data-popper-placement*="bottom"] &`]:(0,n.A)({transformOrigin:"center top",marginTop:"14px"},a.touch&&{marginTop:"24px"})});var i})),O=(0,p.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,a)=>a.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,d.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let M=!1;const I=new s.E;let B={x:0,y:0};function L(e,a){return(i,...t)=>{a&&a(i,...t),e(i,...t)}}const R=r.forwardRef((function(e,a){var i,d,p,T,A,P,R,N,E,F,_,W,U,G,K,V,q,H,$;const J=(0,b.b)({props:e,name:"MuiTooltip"}),{arrow:Q=!1,children:Z,components:Y={},componentsProps:X={},describeChild:ee=!1,disableFocusListener:ae=!1,disableHoverListener:ie=!1,disableInteractive:te=!1,disableTouchListener:ne=!1,enterDelay:re=100,enterNextDelay:oe=0,enterTouchDelay:se=700,followCursor:le=!1,id:de,leaveDelay:ce=0,leaveTouchDelay:ue=1500,onClose:pe,onOpen:me,open:be,placement:ge="bottom",PopperComponent:he,PopperProps:ke={},slotProps:ve={},slots:fe={},title:ye,TransitionComponent:we=h.A,TransitionProps:Se}=J,Te=(0,t.A)(J,C),Ae=r.isValidElement(Z)?Z:(0,j.jsx)("span",{children:Z}),ze=(0,m.A)(),Pe=(0,c.I)(),[je,Ce]=r.useState(),[xe,De]=r.useState(null),Oe=r.useRef(!1),Me=te||le,Ie=(0,s.A)(),Be=(0,s.A)(),Le=(0,s.A)(),Re=(0,s.A)(),[Ne,Ee]=(0,S.A)({controlled:be,default:!1,name:"Tooltip",state:"open"});let Fe=Ne;const _e=(0,y.A)(de),We=r.useRef(),Ue=(0,v.A)((()=>{void 0!==We.current&&(document.body.style.WebkitUserSelect=We.current,We.current=void 0),Re.clear()}));r.useEffect((()=>Ue),[Ue]);const Ge=e=>{I.clear(),M=!0,Ee(!0),me&&!Fe&&me(e)},Ke=(0,v.A)((e=>{I.start(800+ce,(()=>{M=!1})),Ee(!1),pe&&Fe&&pe(e),Ie.start(ze.transitions.duration.shortest,(()=>{Oe.current=!1}))})),Ve=e=>{Oe.current&&"touchstart"!==e.type||(je&&je.removeAttribute("title"),Be.clear(),Le.clear(),re||M&&oe?Be.start(M?oe:re,(()=>{Ge(e)})):Ge(e))},qe=e=>{Be.clear(),Le.start(ce,(()=>{Ke(e)}))},{isFocusVisibleRef:He,onBlur:$e,onFocus:Je,ref:Qe}=(0,w.A)(),[,Ze]=r.useState(!1),Ye=e=>{$e(e),!1===He.current&&(Ze(!1),qe(e))},Xe=e=>{je||Ce(e.currentTarget),Je(e),!0===He.current&&(Ze(!0),Ve(e))},ea=e=>{Oe.current=!0;const a=Ae.props;a.onTouchStart&&a.onTouchStart(e)},aa=e=>{ea(e),Le.clear(),Ie.clear(),Ue(),We.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.start(se,(()=>{document.body.style.WebkitUserSelect=We.current,Ve(e)}))},ia=e=>{Ae.props.onTouchEnd&&Ae.props.onTouchEnd(e),Ue(),Le.start(ue,(()=>{Ke(e)}))};r.useEffect((()=>{if(Fe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ke(e)}}),[Ke,Fe]);const ta=(0,f.A)(Ae.ref,Qe,Ce,a);ye||0===ye||(Fe=!1);const na=r.useRef(),ra={},oa="string"==typeof ye;ee?(ra.title=Fe||!oa||ie?null:ye,ra["aria-describedby"]=Fe?_e:null):(ra["aria-label"]=oa?ye:null,ra["aria-labelledby"]=Fe&&!oa?_e:null);const sa=(0,n.A)({},ra,Te,Ae.props,{className:(0,o.A)(Te.className,Ae.props.className),onTouchStart:ea,ref:ta},le?{onMouseMove:e=>{const a=Ae.props;a.onMouseMove&&a.onMouseMove(e),B={x:e.clientX,y:e.clientY},na.current&&na.current.update()}}:{});const la={};ne||(sa.onTouchStart=aa,sa.onTouchEnd=ia),ie||(sa.onMouseOver=L(Ve,sa.onMouseOver),sa.onMouseLeave=L(qe,sa.onMouseLeave),Me||(la.onMouseOver=Ve,la.onMouseLeave=qe)),ae||(sa.onFocus=L(Xe,sa.onFocus),sa.onBlur=L(Ye,sa.onBlur),Me||(la.onFocus=Xe,la.onBlur=Ye));const da=r.useMemo((()=>{var e;let a=[{name:"arrow",enabled:Boolean(xe),options:{element:xe,padding:4}}];return null!=(e=ke.popperOptions)&&e.modifiers&&(a=a.concat(ke.popperOptions.modifiers)),(0,n.A)({},ke.popperOptions,{modifiers:a})}),[xe,ke]),ca=(0,n.A)({},J,{isRtl:Pe,arrow:Q,disableInteractive:Me,placement:ge,PopperComponentProp:he,touch:Oe.current}),ua=(e=>{const{classes:a,disableInteractive:i,arrow:t,touch:n,placement:r}=e,o={popper:["popper",!i&&"popperInteractive",t&&"popperArrow"],tooltip:["tooltip",t&&"tooltipArrow",n&&"touch",`tooltipPlacement${(0,g.A)(r.split("-")[0])}`],arrow:["arrow"]};return(0,l.A)(o,z,a)})(ca),pa=null!=(i=null!=(d=fe.popper)?d:Y.Popper)?i:x,ma=null!=(p=null!=(T=null!=(A=fe.transition)?A:Y.Transition)?T:we)?p:h.A,ba=null!=(P=null!=(R=fe.tooltip)?R:Y.Tooltip)?P:D,ga=null!=(N=null!=(E=fe.arrow)?E:Y.Arrow)?N:O,ha=(0,u.A)(pa,(0,n.A)({},ke,null!=(F=ve.popper)?F:X.popper,{className:(0,o.A)(ua.popper,null==ke?void 0:ke.className,null==(_=null!=(W=ve.popper)?W:X.popper)?void 0:_.className)}),ca),ka=(0,u.A)(ma,(0,n.A)({},Se,null!=(U=ve.transition)?U:X.transition),ca),va=(0,u.A)(ba,(0,n.A)({},null!=(G=ve.tooltip)?G:X.tooltip,{className:(0,o.A)(ua.tooltip,null==(K=null!=(V=ve.tooltip)?V:X.tooltip)?void 0:K.className)}),ca),fa=(0,u.A)(ga,(0,n.A)({},null!=(q=ve.arrow)?q:X.arrow,{className:(0,o.A)(ua.arrow,null==(H=null!=($=ve.arrow)?$:X.arrow)?void 0:H.className)}),ca);return(0,j.jsxs)(r.Fragment,{children:[r.cloneElement(Ae,sa),(0,j.jsx)(pa,(0,n.A)({as:null!=he?he:k.A,placement:ge,anchorEl:le?{getBoundingClientRect:()=>({top:B.y,left:B.x,right:B.x,bottom:B.y,width:0,height:0})}:je,popperRef:na,open:!!je&&Fe,id:_e,transition:!0},la,ha,{popperOptions:da,children:({TransitionProps:e})=>(0,j.jsx)(ma,(0,n.A)({timeout:ze.transitions.duration.shorter},e,ka,{children:(0,j.jsxs)(ba,(0,n.A)({},va,{children:[ye,Q?(0,j.jsx)(ga,(0,n.A)({},fa,{ref:De})):null]}))}))}))]})}))},64858:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(39460),n=i(26325),r=i(30758),o=i(13526),s=i(60506),l=i(85154),d=i(84361),c=i(74692),u=i(25697),p=i(13028),m=i(26468);function b(e){return(0,m.Ay)("MuiTypography",e)}(0,p.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var g=i(86070);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],k=(0,d.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:i}=e;return[a.root,i.variant&&a[i.variant],"inherit"!==i.align&&a[`align${(0,u.A)(i.align)}`],i.noWrap&&a.noWrap,i.gutterBottom&&a.gutterBottom,i.paragraph&&a.paragraph]}})((({theme:e,ownerState:a})=>(0,n.A)({margin:0},"inherit"===a.variant&&{font:"inherit"},"inherit"!==a.variant&&e.typography[a.variant],"inherit"!==a.align&&{textAlign:a.align},a.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a.gutterBottom&&{marginBottom:"0.35em"},a.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},f={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=r.forwardRef((function(e,a){const i=(0,c.b)({props:e,name:"MuiTypography"}),r=(e=>f[e]||e)(i.color),d=(0,s.A)((0,n.A)({},i,{color:r})),{align:p="inherit",className:m,component:y,gutterBottom:w=!1,noWrap:S=!1,paragraph:T=!1,variant:A="body1",variantMapping:z=v}=d,P=(0,t.A)(d,h),j=(0,n.A)({},d,{align:p,color:r,className:m,component:y,gutterBottom:w,noWrap:S,paragraph:T,variant:A,variantMapping:z}),C=y||(T?"p":z[A]||v[A])||"span",x=(e=>{const{align:a,gutterBottom:i,noWrap:t,paragraph:n,variant:r,classes:o}=e,s={root:["root",r,"inherit"!==e.align&&`align${(0,u.A)(a)}`,i&&"gutterBottom",t&&"noWrap",n&&"paragraph"]};return(0,l.A)(s,b,o)})(j);return(0,g.jsx)(k,(0,n.A)({as:C,ref:a,ownerState:j,className:(0,o.A)(x.root,m)},P))}))},82078:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>y}),61!=i.j)var t=i(39460);var n=i(26325),r=i(30758);if(61!=i.j)var o=i(13526);if(61!=i.j)var s=i(85154);if(61!=i.j)var l=i(25697);var d=i(84361),c=i(81197);if(61!=i.j)var u=i(51262);if(61!=i.j)var p=i(87011);var m=i(32057);if(61!=i.j)var b=i(30676);var g=i(86070);const h=61!=i.j?["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]:null,k=(0,d.Ay)(m.A)((({ownerState:e})=>(0,n.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),v=(0,d.Ay)("input",{shouldForwardProp:c.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),f=61!=i.j?r.forwardRef((function(e,a){const{autoFocus:i,checked:r,checkedIcon:d,className:c,defaultChecked:m,disabled:f,disableFocusRipple:y=!1,edge:w=!1,icon:S,id:T,inputProps:A,inputRef:z,name:P,onBlur:j,onChange:C,onFocus:x,readOnly:D,required:O=!1,tabIndex:M,type:I,value:B}=e,L=(0,t.A)(e,h),[R,N]=(0,u.A)({controlled:r,default:Boolean(m),name:"SwitchBase",state:"checked"}),E=(0,p.A)();let F=f;E&&void 0===F&&(F=E.disabled);const _="checkbox"===I||"radio"===I,W=(0,n.A)({},e,{checked:R,disabled:F,disableFocusRipple:y,edge:w}),U=(e=>{const{classes:a,checked:i,disabled:t,edge:n}=e,r={root:["root",i&&"checked",t&&"disabled",n&&`edge${(0,l.A)(n)}`],input:["input"]};return(0,s.A)(r,b.e,a)})(W);return(0,g.jsxs)(k,(0,n.A)({component:"span",className:(0,o.A)(U.root,c),centerRipple:!0,focusRipple:!y,disabled:F,tabIndex:null,role:void 0,onFocus:e=>{x&&x(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{j&&j(e),E&&E.onBlur&&E.onBlur(e)},ownerState:W,ref:a},L,{children:[(0,g.jsx)(v,(0,n.A)({autoFocus:i,checked:r,defaultChecked:m,className:U.input,disabled:F,id:_?T:void 0,name:P,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const a=e.target.checked;N(a),C&&C(e,a)},readOnly:D,ref:z,required:O,ownerState:W,tabIndex:M,type:I},"checkbox"===I&&void 0===B?{}:{value:B},A)),R?d:S]}))})):null,y=61!=i.j?f:null},16672:(e,a,i)=>{"use strict";function t(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function n(e,a,i,n={},r=()=>{}){const{ease:o=t,duration:s=300}=n;let l=null;const d=a[e];let c=!1;const u=()=>{c=!0},p=t=>{if(c)return void r(new Error("Animation cancelled"));null===l&&(l=t);const n=Math.min(1,(t-l)/s);a[e]=o(n)*(i-d)+d,n>=1?requestAnimationFrame((()=>{r(null)})):requestAnimationFrame(p)};return d===i?(r(new Error("Element already at target position")),u):(requestAnimationFrame(p),u)}i.d(a,{A:()=>n})},74321:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},93015:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel")},26313:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},35446:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},40129:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(23520),n=i(86070);const r=(0,t.A)((0,n.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},30676:(e,a,i)=>{"use strict";i.d(a,{e:()=>r});var t=i(13028);if(61!=i.j)var n=i(26468);function r(e){return(0,n.Ay)("PrivateSwitchBase",e)}(0,t.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"])},45007:(e,a,i)=>{"use strict";i.d(a,{A:()=>y});var t=i(26325),n=i(39460),r=i(30758);const o=r.createContext(null);function s(){return r.useContext(o)}const l="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var d=i(86070);const c=function(e){const{children:a,theme:i}=e,n=s(),c=r.useMemo((()=>{const e=null===n?i:function(e,a){if("function"==typeof a)return a(e);return(0,t.A)({},e,a)}(n,i);return null!=e&&(e[l]=null!==n),e}),[i,n]);return(0,d.jsx)(o.Provider,{value:c,children:a})};var u=i(27700),p=i(41402),m=i(70955),b=i(44838);const g={};function h(e,a,i,n=!1){return r.useMemo((()=>{const r=e&&a[e]||a;if("function"==typeof i){const o=i(r),s=e?(0,t.A)({},a,{[e]:o}):o;return n?()=>s:s}return e?(0,t.A)({},a,{[e]:i}):(0,t.A)({},a,i)}),[e,a,i,n])}const k=function(e){const{children:a,theme:i,themeId:t}=e,n=(0,p.A)(g),r=s()||g,o=h(t,n,i),l=h(t,r,i,!0),k="rtl"===o.direction;return(0,d.jsx)(c,{theme:l,children:(0,d.jsx)(u.T.Provider,{value:o,children:(0,d.jsx)(m.A,{value:k,children:(0,d.jsx)(b.A,{value:null==o?void 0:o.components,children:a})})})})};var v=i(65857);const f=["theme"];function y(e){let{theme:a}=e,i=(0,n.A)(e,f);const r=a[v.A];return(0,d.jsx)(k,(0,t.A)({},i,{themeId:r?v.A:void 0,theme:r||a}))}},89797:(e,a,i)=>{"use strict";i.d(a,{A:()=>B});var t=i(26325),n=i(39460),r=i(40508),o=i(75572),s=i(33081),l=i(80780),d=i(63924);var c=i(62162);const u={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},b={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"},g={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"},h={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"},k={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={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"},f=["mode","contrastThreshold","tonalOffset"],y={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.white,default:u.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:u.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:u.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 S(e,a,i,t){const n=t.light||t,r=t.dark||1.5*t;e[a]||(e.hasOwnProperty(i)?e[a]=e[i]:"light"===a?e.light=(0,c.a)(e.main,n):"dark"===a&&(e.dark=(0,c.e$)(e.main,r)))}function T(e){const{mode:a="light",contrastThreshold:i=3,tonalOffset:s=.2}=e,l=(0,n.A)(e,f),d=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(a),T=e.secondary||function(e="light"){return"dark"===e?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(a),A=e.error||function(e="light"){return"dark"===e?{main:b[500],light:b[300],dark:b[700]}:{main:b[700],light:b[400],dark:b[800]}}(a),z=e.info||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:k[700],light:k[500],dark:k[900]}}(a),P=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(a),j=e.warning||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(a);function C(e){return(0,c.eM)(e,w.text.primary)>=i?w.text.primary:y.text.primary}const x=({color:e,name:a,mainShade:i=500,lightShade:n=300,darkShade:o=700})=>{if(!(e=(0,t.A)({},e)).main&&e[i]&&(e.main=e[i]),!e.hasOwnProperty("main"))throw new Error((0,r.A)(11,a?` (${a})`:"",i));if("string"!=typeof e.main)throw new Error((0,r.A)(12,a?` (${a})`:"",JSON.stringify(e.main)));return S(e,"light",n,s),S(e,"dark",o,s),e.contrastText||(e.contrastText=C(e.main)),e},D={dark:w,light:y};return(0,o.A)((0,t.A)({common:(0,t.A)({},u),mode:a,primary:x({color:d,name:"primary"}),secondary:x({color:T,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:A,name:"error"}),warning:x({color:j,name:"warning"}),info:x({color:z,name:"info"}),success:x({color:P,name:"success"}),grey:p,contrastThreshold:i,getContrastText:C,augmentColor:x,tonalOffset:s},D[a]),l)}const A=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const z={textTransform:"uppercase"},P='"Roboto", "Helvetica", "Arial", sans-serif';function j(e,a){const i="function"==typeof a?a(e):a,{fontFamily:r=P,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:d=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:m,pxToRem:b}=i,g=(0,n.A)(i,A);const h=s/14,k=b||(e=>e/p*h+"rem"),v=(e,a,i,n,o)=>{return(0,t.A)({fontFamily:r,fontWeight:e,fontSize:k(a),lineHeight:i},r===P?{letterSpacing:(s=n/a,Math.round(1e5*s)/1e5)+"em"}:{},o,m);var s},f={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(d,48,1.167,0),h4:v(d,34,1.235,.25),h5:v(d,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(d,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(d,16,1.5,.15),body2:v(d,14,1.43,.15),button:v(c,14,1.75,.4,z),caption:v(d,12,1.66,.4),overline:v(d,12,2.66,1,z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.A)((0,t.A)({htmlFontSize:p,pxToRem:k,fontFamily:r,fontSize:s,fontWeightLight:l,fontWeightRegular:d,fontWeightMedium:c,fontWeightBold:u},f),g,{clone:!1})}function C(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const x=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)];var D=i(20160);const O={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},M=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function I(e={},...a){const{mixins:i={},palette:c={},transitions:u={},typography:p={}}=e,m=(0,n.A)(e,M);if(e.vars)throw new Error((0,r.A)(18));const b=T(c),g=(0,d.A)(e);let h=(0,o.A)(g,{mixins:(k=g.breakpoints,v=i,(0,t.A)({toolbar:{minHeight:56,[k.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[k.up("sm")]:{minHeight:64}}},v)),palette:b,shadows:x.slice(),typography:j(b,p),transitions:(0,D.Ay)(u),zIndex:(0,t.A)({},O)});var k,v;return h=(0,o.A)(h,m),h=a.reduce(((e,a)=>(0,o.A)(e,a)),h),h.unstable_sxConfig=(0,t.A)({},s.A,null==m?void 0:m.unstable_sxConfig),h.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},h}const B=I},20160:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>c,p0:()=>s});var t=i(39460),n=i(26325);const r=["duration","easing","delay"],o={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)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function d(e){if(!e)return 0;const a=e/36;return Math.round(10*(4+15*a**.25+a/5))}function c(e){const a=(0,n.A)({},o,e.easing),i=(0,n.A)({},s,e.duration);return(0,n.A)({getAutoHeightDuration:d,create:(e=["all"],n={})=>{const{duration:o=i.standard,easing:s=a.easeInOut,delay:d=0}=n;(0,t.A)(n,r);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:l(o)} ${s} ${"string"==typeof d?d:l(d)}`)).join(",")}},e,{easing:a,duration:i})}},82236:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=(0,i(89797).A)()},65857:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t="$$material"},81197:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(13313);const n=e=>(0,t.A)(e)&&"classes"!==e},13313:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},84361:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>s});var t=i(11828),n=i(82236),r=i(65857),o=i(81197);const s=(0,t.Ay)({themeId:r.A,defaultTheme:n.A,rootShouldForwardProp:o.A})},75826:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});i(30758);var t=i(8583),n=i(82236),r=i(65857);function o(){const e=(0,t.A)(n.A);return e[r.A]||e}},5895:(e,a,i)=>{"use strict";i.d(a,{c:()=>n,q:()=>t});const t=e=>e.scrollTop;function n(e,a){var i,t;const{timeout:n,easing:r,style:o={}}=e;return{duration:null!=(i=o.transitionDuration)?i:"number"==typeof n?n:n[a.mode]||0,easing:null!=(t=o.transitionTimingFunction)?t:"object"==typeof r?r[a.mode]:r,delay:o.transitionDelay}}},37446:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>b}),61!=i.j)var t=i(26325);var n=i(30758);if(61!=i.j)var r=i(48260);if(61!=i.j)var o=i(80380);if(61!=i.j)var s=i(40034);if(61!=i.j)var l=i(76566);if(61!=i.j)var d=i(65620);function c(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function u(e,a){for(let i=0;i{let d=o?s.trim():s;i&&(d=d.toLowerCase()),a&&(d=c(d));const u=d?e.filter((e=>{let t=(r||l)(e);return i&&(t=t.toLowerCase()),a&&(t=c(t)),"start"===n?0===t.indexOf(d):t.indexOf(d)>-1})):e;return"number"==typeof t?u.slice(0,t):u}}(),m=e=>{var a;return null!==e.current&&(null==(a=e.current.parentElement)?void 0:a.contains(document.activeElement))};const b=61!=i.j?function(e){const{unstable_isActiveElementInListbox:a=m,unstable_classNamePrefix:i="Mui",autoComplete:c=!1,autoHighlight:b=!1,autoSelect:g=!1,blurOnSelect:h=!1,clearOnBlur:k=!e.freeSolo,clearOnEscape:v=!1,componentName:f="useAutocomplete",defaultValue:y=(e.multiple?[]:null),disableClearable:w=!1,disableCloseOnSelect:S=!1,disabled:T,disabledItemsFocusable:A=!1,disableListWrap:z=!1,filterOptions:P=p,filterSelectedOptions:j=!1,freeSolo:C=!1,getOptionDisabled:x,getOptionKey:D,getOptionLabel:O=e=>{var a;return null!=(a=e.label)?a:e},groupBy:M,handleHomeEndKeys:I=!e.freeSolo,id:B,includeInputInList:L=!1,inputValue:R,isOptionEqualToValue:N=(e,a)=>e===a,multiple:E=!1,onChange:F,onClose:_,onHighlightChange:W,onInputChange:U,onOpen:G,open:K,openOnFocus:V=!1,options:q,readOnly:H=!1,selectOnFocus:$=!e.freeSolo,value:J}=e,Q=(0,r.A)(B);let Z=O;Z=e=>{const a=O(e);return"string"!=typeof a?String(a):a};const Y=n.useRef(!1),X=n.useRef(!0),ee=n.useRef(null),ae=n.useRef(null),[ie,te]=n.useState(null),[ne,re]=n.useState(-1),oe=b?0:-1,se=n.useRef(oe),[le,de]=(0,o.A)({controlled:J,default:y,name:f}),[ce,ue]=(0,o.A)({controlled:R,default:"",name:f,state:"inputValue"}),[pe,me]=n.useState(!1),be=n.useCallback(((e,a)=>{if(!(E?le.length!j||!(E?le:[le]).some((a=>null!==a&&N(e,a))))),{inputValue:fe&&ke?"":ce,getOptionLabel:Z}):[],Se=(0,s.A)({filteredOptions:we,value:le,inputValue:ce});n.useEffect((()=>{const e=le!==Se.value;pe&&!e||C&&!e||be(null,le)}),[le,be,pe,Se.value,C]);const Te=ge&&we.length>0&&!H,Ae=(0,l.A)((e=>{-1===e?ee.current.focus():ie.querySelector(`[data-tag-index="${e}"]`).focus()}));n.useEffect((()=>{E&&ne>le.length-1&&(re(-1),Ae(-1))}),[le,E,ne,Ae]);const ze=(0,l.A)((({event:e,index:a,reason:t="auto"})=>{if(se.current=a,-1===a?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${Q}-option-${a}`),W&&W(e,-1===a?null:we[a],t),!ae.current)return;const n=ae.current.querySelector(`[role="option"].${i}-focused`);n&&(n.classList.remove(`${i}-focused`),n.classList.remove(`${i}-focusVisible`));let r=ae.current;if("listbox"!==ae.current.getAttribute("role")&&(r=ae.current.parentElement.querySelector('[role="listbox"]')),!r)return;if(-1===a)return void(r.scrollTop=0);const o=ae.current.querySelector(`[data-option-index="${a}"]`);if(o&&(o.classList.add(`${i}-focused`),"keyboard"===t&&o.classList.add(`${i}-focusVisible`),r.scrollHeight>r.clientHeight&&"mouse"!==t&&"touch"!==t)){const e=o,a=r.clientHeight+r.scrollTop,i=e.offsetTop+e.offsetHeight;i>a?r.scrollTop=i-r.clientHeight:e.offsetTop-e.offsetHeight*(M?1.3:0){if(!ye)return;const n=function(e,a){if(!ae.current||e<0||e>=we.length)return-1;let i=e;for(;;){const t=ae.current.querySelector(`[data-option-index="${i}"]`),n=!A&&(!t||t.disabled||"true"===t.getAttribute("aria-disabled"));if(t&&t.hasAttribute("tabindex")&&!n)return i;if(i="next"===a?(i+1)%we.length:(i-1+we.length)%we.length,i===e)return-1}}((()=>{const e=we.length-1;if("reset"===a)return oe;if("start"===a)return 0;if("end"===a)return e;const i=se.current+a;return i<0?-1===i&&L?-1:z&&-1!==se.current||Math.abs(a)>1?0:e:i>e?i===e+1&&L?-1:z||Math.abs(a)>1?e:0:i})(),i);if(ze({index:n,reason:t,event:e}),c&&"reset"!==a)if(-1===n)ee.current.value=ce;else{const e=Z(we[n]);ee.current.value=e;0===e.toLowerCase().indexOf(ce.toLowerCase())&&ce.length>0&&ee.current.setSelectionRange(ce.length,e.length)}})),je=n.useCallback((()=>{if(!ye)return;const e=(()=>{if(-1!==se.current&&Se.filteredOptions&&Se.filteredOptions.length!==we.length&&Se.inputValue===ce&&(E?le.length===Se.value.length&&Se.value.every(((e,a)=>Z(le[a])===Z(e))):(e=Se.value,a=le,(e?Z(e):"")===(a?Z(a):"")))){const e=Se.filteredOptions[se.current];if(e)return u(we,(a=>Z(a)===Z(e)))}var e,a;return-1})();if(-1!==e)return void(se.current=e);const a=E?le[0]:le;if(0!==we.length&&null!=a){if(ae.current)if(null==a)se.current>=we.length-1?ze({index:we.length-1}):ze({index:se.current});else{const e=we[se.current];if(E&&e&&-1!==u(le,(a=>N(e,a))))return;const i=u(we,(e=>N(e,a)));-1===i?Pe({diff:"reset"}):ze({index:i})}}else Pe({diff:"reset"})}),[we.length,!E&&le,j,Pe,ze,ye,ce,E]),Ce=(0,l.A)((e=>{(0,d.A)(ae,e),e&&je()}));n.useEffect((()=>{je()}),[je]);const xe=e=>{ge||(he(!0),ve(!0),G&&G(e))},De=(e,a)=>{ge&&(he(!1),_&&_(e,a))},Oe=(e,a,i,t)=>{if(E){if(le.length===a.length&&le.every(((e,i)=>e===a[i])))return}else if(le===a)return;F&&F(e,a,i,t),de(a)},Me=n.useRef(!1),Ie=(e,a,i="selectOption",t="options")=>{let n=i,r=a;if(E){r=Array.isArray(le)?le.slice():[];const e=u(r,(e=>N(a,e)));-1===e?r.push(a):"freeSolo"!==t&&(r.splice(e,1),n="removeOption")}be(e,r),Oe(e,r,n,{option:a}),S||e&&(e.ctrlKey||e.metaKey)||De(e,n),(!0===h||"touch"===h&&Me.current||"mouse"===h&&!Me.current)&&ee.current.blur()},Be=(e,a)=>{if(!E)return;""===ce&&De(e,"toggleInput");let i=ne;-1===ne?""===ce&&"previous"===a&&(i=le.length-1):(i+="next"===a?1:-1,i<0&&(i=0),i===le.length&&(i=-1)),i=function(e,a){if(-1===e)return-1;let i=e;for(;;){if("next"===a&&i===le.length||"previous"===a&&-1===i)return-1;const e=ie.querySelector(`[data-tag-index="${i}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return i;i+="next"===a?1:-1}}(i,a),re(i),Ae(i)},Le=e=>{Y.current=!0,ue(""),U&&U(e,"","clear"),Oe(e,E?[]:null,"clear")},Re=e=>a=>{if(e.onKeyDown&&e.onKeyDown(a),!a.defaultMuiPrevented&&(-1!==ne&&-1===["ArrowLeft","ArrowRight"].indexOf(a.key)&&(re(-1),Ae(-1)),229!==a.which))switch(a.key){case"Home":ye&&I&&(a.preventDefault(),Pe({diff:"start",direction:"next",reason:"keyboard",event:a}));break;case"End":ye&&I&&(a.preventDefault(),Pe({diff:"end",direction:"previous",reason:"keyboard",event:a}));break;case"PageUp":a.preventDefault(),Pe({diff:-5,direction:"previous",reason:"keyboard",event:a}),xe(a);break;case"PageDown":a.preventDefault(),Pe({diff:5,direction:"next",reason:"keyboard",event:a}),xe(a);break;case"ArrowDown":a.preventDefault(),Pe({diff:1,direction:"next",reason:"keyboard",event:a}),xe(a);break;case"ArrowUp":a.preventDefault(),Pe({diff:-1,direction:"previous",reason:"keyboard",event:a}),xe(a);break;case"ArrowLeft":Be(a,"previous");break;case"ArrowRight":Be(a,"next");break;case"Enter":if(-1!==se.current&&ye){const e=we[se.current],i=!!x&&x(e);if(a.preventDefault(),i)return;Ie(a,e,"selectOption"),c&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else C&&""!==ce&&!1===fe&&(E&&a.preventDefault(),Ie(a,ce,"createOption","freeSolo"));break;case"Escape":ye?(a.preventDefault(),a.stopPropagation(),De(a,"escape")):v&&(""!==ce||E&&le.length>0)&&(a.preventDefault(),a.stopPropagation(),Le(a));break;case"Backspace":if(E&&!H&&""===ce&&le.length>0){const e=-1===ne?le.length-1:ne,i=le.slice();i.splice(e,1),Oe(a,i,"removeOption",{option:le[e]})}break;case"Delete":if(E&&!H&&""===ce&&le.length>0&&-1!==ne){const e=ne,i=le.slice();i.splice(e,1),Oe(a,i,"removeOption",{option:le[e]})}}},Ne=e=>{me(!0),V&&!Y.current&&xe(e)},Ee=e=>{a(ae)?ee.current.focus():(me(!1),X.current=!0,Y.current=!1,g&&-1!==se.current&&ye?Ie(e,we[se.current],"blur"):g&&C&&""!==ce?Ie(e,ce,"blur","freeSolo"):k&&be(e,le),De(e,"blur"))},Fe=e=>{const a=e.target.value;ce!==a&&(ue(a),ve(!1),U&&U(e,a,"input")),""===a?w||E||Oe(e,null,"clear"):xe(e)},_e=e=>{const a=Number(e.currentTarget.getAttribute("data-option-index"));se.current!==a&&ze({event:e,index:a,reason:"mouse"})},We=e=>{ze({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Me.current=!0},Ue=e=>{const a=Number(e.currentTarget.getAttribute("data-option-index"));Ie(e,we[a],"selectOption"),Me.current=!1},Ge=e=>a=>{const i=le.slice();i.splice(e,1),Oe(a,i,"removeOption",{option:le[e]})},Ke=e=>{ge?De(e,"toggleInput"):xe(e)},Ve=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Q&&e.preventDefault()},qe=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),$&&X.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),X.current=!1)},He=e=>{T||""!==ce&&ge||Ke(e)};let $e=C&&ce.length>0;$e=$e||(E?le.length>0:null!==le);let Je=we;if(M){new Map;Je=we.reduce(((e,a,i)=>{const t=M(a);return e.length>0&&e[e.length-1].group===t?e[e.length-1].options.push(a):e.push({key:i,index:i,group:t,options:[a]}),e}),[])}return T&&pe&&Ee(),{getRootProps:(e={})=>(0,t.A)({"aria-owns":Te?`${Q}-listbox`:null},e,{onKeyDown:Re(e),onMouseDown:Ve,onClick:qe}),getInputLabelProps:()=>({id:`${Q}-label`,htmlFor:Q}),getInputProps:()=>({id:Q,value:ce,onBlur:Ee,onFocus:Ne,onChange:Fe,onMouseDown:He,"aria-activedescendant":ye?"":null,"aria-autocomplete":c?"both":"list","aria-controls":Te?`${Q}-listbox`:void 0,"aria-expanded":Te,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:T}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Le}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ke}),getTagProps:({index:e})=>(0,t.A)({key:e,"data-tag-index":e,tabIndex:-1},!H&&{onDelete:Ge(e)}),getListboxProps:()=>({role:"listbox",id:`${Q}-listbox`,"aria-labelledby":`${Q}-label`,ref:Ce,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:a})=>{var i;const t=(E?le:[le]).some((e=>null!=e&&N(a,e))),n=!!x&&x(a);return{key:null!=(i=null==D?void 0:D(a))?i:Z(a),tabIndex:-1,role:"option",id:`${Q}-option-${e}`,onMouseMove:_e,onClick:Ue,onTouchStart:We,"data-option-index":e,"aria-disabled":n,"aria-selected":t}},id:Q,inputValue:ce,value:le,dirty:$e,expanded:ye&&ie,popupOpen:ye,focused:pe||-1!==ne,anchorEl:ie,setAnchorEl:te,focusedTag:ne,groupedOptions:Je}}:null},54243:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=61!=i.j?function(e,a,i=(e,a)=>e===a){return e.length===a.length&&e.every(((e,t)=>i(e,a[t])))}:null},25697:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(25438).A},82575:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(42952);const n=61!=i.j?t.A:null},23520:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(26325),n=i(30758),r=i(38954),o=i(86070);function s(e,a){function i(i,n){return(0,o.jsx)(r.A,(0,t.A)({"data-testid":`${a}Icon`,ref:n},i,{children:e}))}return i.muiName=r.A.muiName,n.memo(n.forwardRef(i))}},43924:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(93052).A},94191:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(64610);const n=61!=i.j?t.A:null},22735:(e,a,i)=>{"use strict";i.r(a),i.d(a,{capitalize:()=>n.A,createChainedFunction:()=>r.A,createSvgIcon:()=>o.A,debounce:()=>s.A,deprecatedPropType:()=>l.A,isMuiElement:()=>d.A,ownerDocument:()=>c.A,ownerWindow:()=>u.A,requirePropFactory:()=>p.A,setRef:()=>m.A,unstable_ClassNameGenerator:()=>w,unstable_useEnhancedEffect:()=>b.A,unstable_useId:()=>g.A,unsupportedProp:()=>h.A,useControlled:()=>k.A,useEventCallback:()=>v.A,useForkRef:()=>f.A,useIsFocusVisible:()=>y.A});var t=i(74986);if(61!=i.j)var n=i(25697);if(61!=i.j)var r=i(82575);if(61!=i.j)var o=i(23520);if(61!=i.j)var s=i(43924);if(61!=i.j)var l=i(94191);if(61!=i.j)var d=i(63720);if(61!=i.j)var c=i(90737);if(61!=i.j)var u=i(35968);if(61!=i.j)var p=i(38319);if(61!=i.j)var m=i(51258);if(61!=i.j)var b=i(13571);if(61!=i.j)var g=i(25925);if(61!=i.j)var h=i(87521);if(61!=i.j)var k=i(51262);if(61!=i.j)var v=i(63361);if(61!=i.j)var f=i(7443);if(61!=i.j)var y=i(15506);const w={configure:e=>{t.A.configure(e)}}},63720:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n=function(e,a){var i,n;return t.isValidElement(e)&&-1!==a.indexOf(null!=(i=e.type.muiName)?i:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)}},90737:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(32324).A},35968:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(11668).A},38319:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(54146);const n=61!=i.j?t.A:null},51258:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(65620);const n=61!=i.j?t.A:null},21570:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(45268);const n=61!=i.j?e=>!e||!(0,t.A)(e):null},87521:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>n}),61!=i.j)var t=i(84404);const n=61!=i.j?t.A:null},51262:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(80380).A},13571:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(25160).A},63361:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(76566).A},7443:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(68886).A},25925:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(48260).A},15506:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=i(96536).A},48056:(e,a,i)=>{"use strict";i.d(a,{A:()=>p});var t=i(26325),n=i(39460),r=i(68886),o=i(43342),s=i(34052),l=i(53570);const d=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],c=["component","slots","slotProps"],u=["component"];function p(e,a){const{className:i,elementType:p,ownerState:m,externalForwardedProps:b,getSlotOwnerState:g,internalForwardedProps:h}=a,k=(0,n.A)(a,d),{component:v,slots:f={[e]:void 0},slotProps:y={[e]:void 0}}=b,w=(0,n.A)(b,c),S=f[e]||p,T=(0,s.A)(y[e],m),A=(0,l.A)((0,t.A)({className:i},k,{externalForwardedProps:"root"===e?w:void 0,externalSlotProps:T})),{props:{component:z},internalRef:P}=A,j=(0,n.A)(A.props,u),C=(0,r.A)(P,null==T?void 0:T.ref,a.ref),x=g?g(j):{},D=(0,t.A)({},m,x),O="root"===e?z||v:z,M=(0,o.A)(S,(0,t.A)({},"root"===e&&!v&&!f[e]&&h,"root"!==e&&!f[e]&&h,j,O&&{as:O},{ref:C}),D);return Object.keys(x).forEach((e=>{delete M[e]})),[S,M]}},38535:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});i(30758);var t=i(51935),n=i(86070);function r(e){const{styles:a,defaultTheme:i={}}=e,r="function"==typeof a?e=>{return a(null==(t=e)||0===Object.keys(t).length?i:e);var t}:a;return(0,n.jsx)(t.mL,{styles:r})}},85516:(e,a,i)=>{"use strict";i.r(a),i.d(a,{GlobalStyles:()=>T.A,StyledEngineProvider:()=>S,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>A,internal_processStyles:()=>z,keyframes:()=>v.i7});var t=i(26325),n=i(30758),r=i(96606),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,r.A)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=i(27700),d=i(9817),c=i(60398),u=i(59410),p=s,m=function(e){return"theme"!==e},b=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:m},g=function(e,a,i){var t;if(a){var n=a.shouldForwardProp;t=e.__emotion_forwardProp&&n?function(a){return e.__emotion_forwardProp(a)&&n(a)}:n}return"function"!=typeof t&&i&&(t=e.__emotion_forwardProp),t},h=function(e){var a=e.cache,i=e.serialized,t=e.isStringTag;return(0,d.SF)(a,i,t),(0,u.s)((function(){return(0,d.sk)(a,i,t)})),null},k=function e(a,i){var r,o,s=a.__emotion_real===a,u=s&&a.__emotion_base||a;void 0!==i&&(r=i.label,o=i.target);var p=g(a,i,s),m=p||b(u),k=!m("as");return function(){var v=arguments,f=s&&void 0!==a.__emotion_styles?a.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==v[0]||void 0===v[0].raw)f.push.apply(f,v);else{f.push(v[0][0]);for(var y=v.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=a(e.__emotion_styles))}},62162:(e,a,i)=>{"use strict";var t=i(5855);a.X4=m,a.e$=b,a.eM=function(e,a){const i=p(e),t=p(a);return(Math.max(i,t)+.05)/(Math.min(i,t)+.05)},a.a=g;var n=t(i(9961)),r=t(i(78419));function o(e,a=0,i=1){return(0,r.default)(e,a,i)}function s(e){e=e.slice(1);const a=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(a);return i&&1===i[0].length&&(i=i.map((e=>e+e))),i?`rgb${4===i.length?"a":""}(${i.map(((e,a)=>a<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const a=e.indexOf("("),i=e.substring(0,a);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw new Error((0,n.default)(9,e));let t,r=e.substring(a+1,e.length-1);if("color"===i){if(r=r.split(" "),t=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw new Error((0,n.default)(10,t))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:i,values:r,colorSpace:t}}const d=e=>{const a=l(e);return a.values.slice(0,3).map(((e,i)=>-1!==a.type.indexOf("hsl")&&0!==i?`${e}%`:e)).join(" ")};function c(e){const{type:a,colorSpace:i}=e;let{values:t}=e;return-1!==a.indexOf("rgb")?t=t.map(((e,a)=>a<3?parseInt(e,10):e)):-1!==a.indexOf("hsl")&&(t[1]=`${t[1]}%`,t[2]=`${t[2]}%`),t=-1!==a.indexOf("color")?`${i} ${t.join(" ")}`:`${t.join(", ")}`,`${a}(${t})`}function u(e){e=l(e);const{values:a}=e,i=a[0],t=a[1]/100,n=a[2]/100,r=t*Math.min(n,1-n),o=(e,a=(e+i/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);let s="rgb";const d=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(s+="a",d.push(a[3])),c({type:s,values:d})}function p(e){let a="hsl"===(e=l(e)).type||"hsla"===e.type?l(u(e)).values:e.values;return a=a.map((a=>("color"!==e.type&&(a/=255),a<=.03928?a/12.92:((a+.055)/1.055)**2.4))),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function m(e,a){return e=l(e),a=o(a),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${a}`:e.values[3]=a,c(e)}function b(e,a){if(e=l(e),a=o(a),-1!==e.type.indexOf("hsl"))e.values[2]*=1-a;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-a;return c(e)}function g(e,a){if(e=l(e),a=o(a),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*a;else if(-1!==e.type.indexOf("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*a;else if(-1!==e.type.indexOf("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*a;return c(e)}function h(e,a=.15){return p(e)>.5?b(e,a):g(e,a)}},11828:(e,a,i)=>{"use strict";var t=i(5855);a.Ay=function(e={}){const{themeId:a,defaultTheme:i=g,rootShouldForwardProp:t=b,slotShouldForwardProp:l=b}=e,c=e=>(0,d.default)((0,n.default)({},e,{theme:k((0,n.default)({},e,{defaultTheme:i,themeId:a}))}));return c.__mui_systemSx=!0,(e,d={})=>{(0,o.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:u,slot:m,skipVariantsResolver:g,skipSx:y,overridesResolver:w=v(h(m))}=d,S=(0,r.default)(d,p),T=void 0!==g?g:m&&"Root"!==m&&"root"!==m||!1,A=y||!1;let z=b;"Root"===m||"root"===m?z=t:m?z=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(z=void 0);const P=(0,o.default)(e,(0,n.default)({shouldForwardProp:z,label:undefined},S)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?t=>f(e,(0,n.default)({},t,{theme:k({theme:t.theme,defaultTheme:i,themeId:a})})):e,C=(t,...r)=>{let o=j(t);const s=r?r.map(j):[];u&&w&&s.push((e=>{const t=k((0,n.default)({},e,{defaultTheme:i,themeId:a}));if(!t.components||!t.components[u]||!t.components[u].styleOverrides)return null;const r=t.components[u].styleOverrides,o={};return Object.entries(r).forEach((([a,i])=>{o[a]=f(i,(0,n.default)({},e,{theme:t}))})),w(e,o)})),u&&!T&&s.push((e=>{var t;const r=k((0,n.default)({},e,{defaultTheme:i,themeId:a}));return f({variants:null==r||null==(t=r.components)||null==(t=t[u])?void 0:t.variants},(0,n.default)({},e,{theme:r}))})),A||s.push(c);const l=s.length-r.length;if(Array.isArray(t)&&l>0){const e=new Array(l).fill("");o=[...t,...e],o.raw=[...t.raw,...e]}const d=P(o,...s);return e.muiName&&(d.muiName=e.muiName),d};return P.withConfig&&(C.withConfig=P.withConfig),C}};var n=t(i(14099)),r=t(i(1066)),o=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=n?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,i&&i.set(e,t),t}(i(85516)),s=i(81034),l=(t(i(71742)),t(i(94921)),t(i(25805))),d=t(i(53506));const c=["ownerState"],u=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}function b(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const g=(0,l.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:a,themeId:i}){return t=a,0===Object.keys(t).length?e:a[i]||a;var t}function v(e){return e?(a,i)=>i[e]:null}function f(e,a){let{ownerState:i}=a,t=(0,r.default)(a,c);const o="function"==typeof e?e((0,n.default)({ownerState:i},t)):e;if(Array.isArray(o))return o.flatMap((e=>f(e,(0,n.default)({ownerState:i},t))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let a=(0,r.default)(o,u);return e.forEach((e=>{let r=!0;"function"==typeof e.props?r=e.props((0,n.default)({ownerState:i},t,i)):Object.keys(e.props).forEach((a=>{(null==i?void 0:i[a])!==e.props[a]&&t[a]!==e.props[a]&&(r=!1)})),r&&(Array.isArray(a)||(a=[a]),a.push("function"==typeof e.style?e.style((0,n.default)({ownerState:i},t,i)):e.style))})),a}return o}},44838:(e,a,i)=>{"use strict";i.d(a,{A:()=>l,b:()=>s});var t=i(30758),n=i(63318),r=i(86070);const o=t.createContext(void 0);function s({props:e,name:a}){return function(e){const{theme:a,name:i,props:t}=e;if(!a||!a.components||!a.components[i])return t;const r=a.components[i];return r.defaultProps?(0,n.A)(r.defaultProps,t):r.styleOverrides||r.variants?t:(0,n.A)(r,t)}({props:e,name:a,theme:{components:t.useContext(o)}})}const l=function({value:e,children:a}){return(0,r.jsx)(o.Provider,{value:e,children:a})}},70955:(e,a,i)=>{"use strict";i.d(a,{A:()=>c,I:()=>d});var t=i(26325),n=i(39460),r=i(30758),o=i(86070);const s=["value"],l=r.createContext();const d=()=>{const e=r.useContext(l);return null!=e&&e},c=function(e){let{value:a}=e,i=(0,n.A)(e,s);return(0,o.jsx)(l.Provider,(0,t.A)({value:null==a||a},i))}},54247:(e,a,i)=>{"use strict";i.d(a,{EU:()=>s,NI:()=>o,iZ:()=>d,kW:()=>c,vf:()=>l,zu:()=>n});var t=i(75572);const n={xs:0,sm:600,md:900,lg:1200,xl:1536},r={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function o(e,a,i){const t=e.theme||{};if(Array.isArray(a)){const e=t.breakpoints||r;return a.reduce(((t,n,r)=>(t[e.up(e.keys[r])]=i(a[r]),t)),{})}if("object"==typeof a){const e=t.breakpoints||r;return Object.keys(a).reduce(((t,r)=>{if(-1!==Object.keys(e.values||n).indexOf(r)){t[e.up(r)]=i(a[r],r)}else{const e=r;t[e]=a[e]}return t}),{})}return i(a)}function s(e={}){var a;return(null==(a=e.keys)?void 0:a.reduce(((a,i)=>(a[e.up(i)]={},a)),{}))||{}}function l(e,a){return e.reduce(((e,a)=>{const i=e[a];return(!i||0===Object.keys(i).length)&&delete e[a],e}),a)}function d(e,...a){const i=s(e),n=[i,...a].reduce(((e,a)=>(0,t.A)(e,a)),{});return l(Object.keys(i),n)}function c({values:e,breakpoints:a,base:i}){const t=i||function(e,a){if("object"!=typeof e)return{};const i={},t=Object.keys(a);return Array.isArray(e)?t.forEach(((a,t)=>{t{null!=e[a]&&(i[a]=!0)})),i}(e,a),n=Object.keys(t);if(0===n.length)return e;let r;return n.reduce(((a,i,t)=>(Array.isArray(e)?(a[i]=null!=e[t]?e[t]:e[r],r=t):"object"==typeof e?(a[i]=null!=e[i]?e[i]:e[r],r=i):a[i]=e,a)),{})}},77623:(e,a,i)=>{"use strict";function t(e,a){const i=this;if(i.vars&&"function"==typeof i.getColorSchemeSelector){const t=i.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[t]:a}}return i.palette.mode===e?a:{}}i.d(a,{A:()=>t})},81205:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(39460),n=i(26325);const r=["values","unit","step"],o=e=>{const a=Object.keys(e).map((a=>({key:a,val:e[a]})))||[];return a.sort(((e,a)=>e.val-a.val)),a.reduce(((e,a)=>(0,n.A)({},e,{[a.key]:a.val})),{})};function s(e){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:s=5}=e,l=(0,t.A)(e,r),d=o(a),c=Object.keys(d);function u(e){return`@media (min-width:${"number"==typeof a[e]?a[e]:e}${i})`}function p(e){return`@media (max-width:${("number"==typeof a[e]?a[e]:e)-s/100}${i})`}function m(e,t){const n=c.indexOf(t);return`@media (min-width:${"number"==typeof a[e]?a[e]:e}${i}) and (max-width:${(-1!==n&&"number"==typeof a[c[n]]?a[c[n]]:t)-s/100}${i})`}return(0,n.A)({keys:c,values:d,up:u,down:p,between:m,only:function(e){return c.indexOf(e)+1{"use strict";i.d(a,{A:()=>m});var t=i(26325),n=i(39460),r=i(75572),o=i(81205);const s={borderRadius:4};var l=i(29001);var d=i(80780),c=i(33081),u=i(77623);const p=["breakpoints","palette","spacing","shape"];const m=function(e={},...a){const{breakpoints:i={},palette:m={},spacing:b,shape:g={}}=e,h=(0,n.A)(e,p),k=(0,o.A)(i),v=function(e=8){if(e.mui)return e;const a=(0,l.LX)({spacing:e}),i=(...e)=>(0===e.length?[1]:e).map((e=>{const i=a(e);return"number"==typeof i?`${i}px`:i})).join(" ");return i.mui=!0,i}(b);let f=(0,r.A)({breakpoints:k,direction:"ltr",components:{},palette:(0,t.A)({mode:"light"},m),spacing:v,shape:(0,t.A)({},s,g)},h);return f.applyStyles=u.A,f=a.reduce(((e,a)=>(0,r.A)(e,a)),f),f.unstable_sxConfig=(0,t.A)({},c.A,null==h?void 0:h.unstable_sxConfig),f.unstable_sx=function(e){return(0,d.A)({sx:e,theme:this})},f}},25805:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,private_createBreakpoints:()=>n.A,unstable_applyStyles:()=>r.A});var t=i(63924),n=i(81205),r=i(77623)},9383:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(75572);const n=function(e,a){return a?(0,t.A)(e,a,{clone:!1}):e}},29001:(e,a,i)=>{"use strict";i.d(a,{LX:()=>b,MA:()=>m,_W:()=>g,Lc:()=>v,Ms:()=>f});var t=i(54247),n=i(7450),r=i(9383);const o={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},d=function(e){const a={};return i=>(void 0===a[i]&&(a[i]=e(i)),a[i])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[a,i]=e.split(""),t=o[a],n=s[i]||"";return Array.isArray(n)?n.map((e=>t+e)):[t+n]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],u=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...u];function m(e,a,i,t){var r;const o=null!=(r=(0,n.Yn)(e,a,!1))?r:i;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function b(e){return m(e,"spacing",8)}function g(e,a){if("string"==typeof a||null==a)return a;const i=e(Math.abs(a));return a>=0?i:"number"==typeof i?-i:`-${i}`}function h(e,a,i,n){if(-1===a.indexOf(i))return null;const r=function(e,a){return i=>e.reduce(((e,t)=>(e[t]=g(a,i),e)),{})}(d(i),n),o=e[i];return(0,t.NI)(e,o,r)}function k(e,a){const i=b(e.theme);return Object.keys(e).map((t=>h(e,a,t,i))).reduce(r.A,{})}function v(e){return k(e,c)}function f(e){return k(e,u)}function y(e){return k(e,p)}v.propTypes={},v.filterProps=c,f.propTypes={},f.filterProps=u,y.propTypes={},y.filterProps=p},7450:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>s,BO:()=>o,Yn:()=>r});var t=i(25438),n=i(54247);function r(e,a,i=!0){if(!a||"string"!=typeof a)return null;if(e&&e.vars&&i){const i=`vars.${a}`.split(".").reduce(((e,a)=>e&&e[a]?e[a]:null),e);if(null!=i)return i}return a.split(".").reduce(((e,a)=>e&&null!=e[a]?e[a]:null),e)}function o(e,a,i,t=i){let n;return n="function"==typeof e?e(i):Array.isArray(e)?e[i]||t:r(e,i)||t,a&&(n=a(n,t,e)),n}const s=function(e){const{prop:a,cssProperty:i=e.prop,themeKey:s,transform:l}=e,d=e=>{if(null==e[a])return null;const d=e[a],c=r(e.theme,s)||{};return(0,n.NI)(e,d,(e=>{let n=o(c,l,e);return e===n&&"string"==typeof e&&(n=o(c,l,`${a}${"default"===e?"":(0,t.A)(e)}`,e)),!1===i?n:{[i]:n}}))};return d.propTypes={},d.filterProps=[a],d}},33081:(e,a,i)=>{"use strict";i.d(a,{A:()=>B});var t=i(29001),n=i(7450),r=i(9383);const o=function(...e){const a=e.reduce(((e,a)=>(a.filterProps.forEach((i=>{e[i]=a})),e)),{}),i=e=>Object.keys(e).reduce(((i,t)=>a[t]?(0,r.A)(i,a[t](e)):i),{});return i.propTypes={},i.filterProps=e.reduce(((e,a)=>e.concat(a.filterProps)),[]),i};var s=i(54247);function l(e){return"number"!=typeof e?e:`${e}px solid`}function d(e,a){return(0,n.Ay)({prop:e,themeKey:"borders",transform:a})}const c=d("border",l),u=d("borderTop",l),p=d("borderRight",l),m=d("borderBottom",l),b=d("borderLeft",l),g=d("borderColor"),h=d("borderTopColor"),k=d("borderRightColor"),v=d("borderBottomColor"),f=d("borderLeftColor"),y=d("outline",l),w=d("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const a=(0,t.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),i=e=>({borderRadius:(0,t._W)(a,e)});return(0,s.NI)(e,e.borderRadius,i)}return null};S.propTypes={},S.filterProps=["borderRadius"];o(c,u,p,m,b,g,h,k,v,f,S,y,w);const T=e=>{if(void 0!==e.gap&&null!==e.gap){const a=(0,t.MA)(e.theme,"spacing",8,"gap"),i=e=>({gap:(0,t._W)(a,e)});return(0,s.NI)(e,e.gap,i)}return null};T.propTypes={},T.filterProps=["gap"];const A=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const a=(0,t.MA)(e.theme,"spacing",8,"columnGap"),i=e=>({columnGap:(0,t._W)(a,e)});return(0,s.NI)(e,e.columnGap,i)}return null};A.propTypes={},A.filterProps=["columnGap"];const z=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const a=(0,t.MA)(e.theme,"spacing",8,"rowGap"),i=e=>({rowGap:(0,t._W)(a,e)});return(0,s.NI)(e,e.rowGap,i)}return null};z.propTypes={},z.filterProps=["rowGap"];o(T,A,z,(0,n.Ay)({prop:"gridColumn"}),(0,n.Ay)({prop:"gridRow"}),(0,n.Ay)({prop:"gridAutoFlow"}),(0,n.Ay)({prop:"gridAutoColumns"}),(0,n.Ay)({prop:"gridAutoRows"}),(0,n.Ay)({prop:"gridTemplateColumns"}),(0,n.Ay)({prop:"gridTemplateRows"}),(0,n.Ay)({prop:"gridTemplateAreas"}),(0,n.Ay)({prop:"gridArea"}));function P(e,a){return"grey"===a?a:e}o((0,n.Ay)({prop:"color",themeKey:"palette",transform:P}),(0,n.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:P}),(0,n.Ay)({prop:"backgroundColor",themeKey:"palette",transform:P}));function j(e){return e<=1&&0!==e?100*e+"%":e}const C=(0,n.Ay)({prop:"width",transform:j}),x=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const a=a=>{var i,t;const n=(null==(i=e.theme)||null==(i=i.breakpoints)||null==(i=i.values)?void 0:i[a])||s.zu[a];return n?"px"!==(null==(t=e.theme)||null==(t=t.breakpoints)?void 0:t.unit)?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:j(a)}};return(0,s.NI)(e,e.maxWidth,a)}return null};x.filterProps=["maxWidth"];const D=(0,n.Ay)({prop:"minWidth",transform:j}),O=(0,n.Ay)({prop:"height",transform:j}),M=(0,n.Ay)({prop:"maxHeight",transform:j}),I=(0,n.Ay)({prop:"minHeight",transform:j}),B=((0,n.Ay)({prop:"size",cssProperty:"width",transform:j}),(0,n.Ay)({prop:"size",cssProperty:"height",transform:j}),o(C,x,D,O,M,I,(0,n.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:P},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:P},backgroundColor:{themeKey:"palette",transform:P},p:{style:t.Ms},pt:{style:t.Ms},pr:{style:t.Ms},pb:{style:t.Ms},pl:{style:t.Ms},px:{style:t.Ms},py:{style:t.Ms},padding:{style:t.Ms},paddingTop:{style:t.Ms},paddingRight:{style:t.Ms},paddingBottom:{style:t.Ms},paddingLeft:{style:t.Ms},paddingX:{style:t.Ms},paddingY:{style:t.Ms},paddingInline:{style:t.Ms},paddingInlineStart:{style:t.Ms},paddingInlineEnd:{style:t.Ms},paddingBlock:{style:t.Ms},paddingBlockStart:{style:t.Ms},paddingBlockEnd:{style:t.Ms},m:{style:t.Lc},mt:{style:t.Lc},mr:{style:t.Lc},mb:{style:t.Lc},ml:{style:t.Lc},mx:{style:t.Lc},my:{style:t.Lc},margin:{style:t.Lc},marginTop:{style:t.Lc},marginRight:{style:t.Lc},marginBottom:{style:t.Lc},marginLeft:{style:t.Lc},marginX:{style:t.Lc},marginY:{style:t.Lc},marginInline:{style:t.Lc},marginInlineStart:{style:t.Lc},marginInlineEnd:{style:t.Lc},marginBlock:{style:t.Lc},marginBlockStart:{style:t.Lc},marginBlockEnd:{style:t.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:T},rowGap:{style:z},columnGap:{style:A},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:x},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},60506:(e,a,i)=>{"use strict";i.d(a,{A:()=>d});var t=i(26325),n=i(39460),r=i(75572),o=i(33081);const s=["sx"],l=e=>{var a,i;const t={systemProps:{},otherProps:{}},n=null!=(a=null==e||null==(i=e.theme)?void 0:i.unstable_sxConfig)?a:o.A;return Object.keys(e).forEach((a=>{n[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]})),t};function d(e){const{sx:a}=e,i=(0,n.A)(e,s),{systemProps:o,otherProps:d}=l(i);let c;return c=Array.isArray(a)?[o,...a]:"function"==typeof a?(...e)=>{const i=a(...e);return(0,r.Q)(i)?(0,t.A)({},o,i):o}:(0,t.A)({},o,a),(0,t.A)({},d,{sx:c})}},53506:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,extendSxProp:()=>n.A,unstable_createStyleFunctionSx:()=>t.k,unstable_defaultSxConfig:()=>r.A});var t=i(80780),n=i(60506),r=i(33081)},80780:(e,a,i)=>{"use strict";i.d(a,{A:()=>c,k:()=>l});var t=i(25438),n=i(9383),r=i(7450),o=i(54247),s=i(33081);function l(){function e(e,a,i,n){const s={[e]:a,theme:i},l=n[e];if(!l)return{[e]:a};const{cssProperty:d=e,themeKey:c,transform:u,style:p}=l;if(null==a)return null;if("typography"===c&&"inherit"===a)return{[e]:a};const m=(0,r.Yn)(i,c)||{};if(p)return p(s);return(0,o.NI)(s,a,(a=>{let i=(0,r.BO)(m,u,a);return a===i&&"string"==typeof a&&(i=(0,r.BO)(m,u,`${e}${"default"===a?"":(0,t.A)(a)}`,a)),!1===d?i:{[d]:i}}))}return function a(i){var t;const{sx:r,theme:l={}}=i||{};if(!r)return null;const d=null!=(t=l.unstable_sxConfig)?t:s.A;function c(i){let t=i;if("function"==typeof i)t=i(l);else if("object"!=typeof i)return i;if(!t)return null;const r=(0,o.EU)(l.breakpoints),s=Object.keys(r);let c=r;return Object.keys(t).forEach((i=>{const r=(s=t[i],u=l,"function"==typeof s?s(u):s);var s,u;if(null!=r)if("object"==typeof r)if(d[i])c=(0,n.A)(c,e(i,r,l,d));else{const e=(0,o.NI)({theme:l},r,(e=>({[i]:e})));!function(...e){const a=e.reduce(((e,a)=>e.concat(Object.keys(a))),[]),i=new Set(a);return e.every((e=>i.size===Object.keys(e).length))}(e,r)?c=(0,n.A)(c,e):c[i]=a({sx:r,theme:l})}else c=(0,n.A)(c,e(i,r,l,d))})),(0,o.vf)(s,c)}return Array.isArray(r)?r.map(c):c(r)}}const d=l();d.filterProps=["sx"];const c=d},11371:(e,a,i)=>{"use strict";i.d(a,{A:()=>v});var t=i(26325),n=i(39460),r=i(85516),o=i(75572),s=i(63924),l=i(80780);const d=["ownerState"],c=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,s.A)(),b=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:a,themeId:i}){return t=a,0===Object.keys(t).length?e:a[i]||a;var t}function h(e){return e?(a,i)=>i[e]:null}function k(e,a){let{ownerState:i}=a,r=(0,n.A)(a,d);const o="function"==typeof e?e((0,t.A)({ownerState:i},r)):e;if(Array.isArray(o))return o.flatMap((e=>k(e,(0,t.A)({ownerState:i},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let a=(0,n.A)(o,c);return e.forEach((e=>{let n=!0;"function"==typeof e.props?n=e.props((0,t.A)({ownerState:i},r,i)):Object.keys(e.props).forEach((a=>{(null==i?void 0:i[a])!==e.props[a]&&r[a]!==e.props[a]&&(n=!1)})),n&&(Array.isArray(a)||(a=[a]),a.push("function"==typeof e.style?e.style((0,t.A)({ownerState:i},r,i)):e.style))})),a}return o}const v=function(e={}){const{themeId:a,defaultTheme:i=m,rootShouldForwardProp:s=p,slotShouldForwardProp:d=p}=e,c=e=>(0,l.A)((0,t.A)({},e,{theme:g((0,t.A)({},e,{defaultTheme:i,themeId:a}))}));return c.__mui_systemSx=!0,(e,l={})=>{(0,r.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:m,slot:v,skipVariantsResolver:f,skipSx:y,overridesResolver:w=h(b(v))}=l,S=(0,n.A)(l,u),T=void 0!==f?f:v&&"Root"!==v&&"root"!==v||!1,A=y||!1;let z=p;"Root"===v||"root"===v?z=s:v?z=d:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(z=void 0);const P=(0,r.default)(e,(0,t.A)({shouldForwardProp:z,label:undefined},S)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.Q)(e)?n=>k(e,(0,t.A)({},n,{theme:g({theme:n.theme,defaultTheme:i,themeId:a})})):e,C=(n,...r)=>{let o=j(n);const s=r?r.map(j):[];m&&w&&s.push((e=>{const n=g((0,t.A)({},e,{defaultTheme:i,themeId:a}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;const r=n.components[m].styleOverrides,o={};return Object.entries(r).forEach((([a,i])=>{o[a]=k(i,(0,t.A)({},e,{theme:n}))})),w(e,o)})),m&&!T&&s.push((e=>{var n;const r=g((0,t.A)({},e,{defaultTheme:i,themeId:a}));return k({variants:null==r||null==(n=r.components)||null==(n=n[m])?void 0:n.variants},(0,t.A)({},e,{theme:r}))})),A||s.push(c);const l=s.length-r.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const d=P(o,...s);return e.muiName&&(d.muiName=e.muiName),d};return P.withConfig&&(C.withConfig=P.withConfig),C}}()},8583:(e,a,i)=>{"use strict";i.d(a,{A:()=>o});var t=i(63924),n=i(41402);const r=(0,t.A)();const o=function(e=r){return(0,n.A)(e)}},84087:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(63318);var n=i(8583);function r({props:e,name:a,defaultTheme:i,themeId:r}){let o=(0,n.A)(i);r&&(o=o[r]||o);const s=function(e){const{theme:a,name:i,props:n}=e;return a&&a.components&&a.components[i]&&a.components[i].defaultProps?(0,t.A)(a.components[i].defaultProps,n):n}({theme:o,name:a,props:e});return s}},41402:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758),n=i(27700);const r=function(e=null){const a=t.useContext(n.T);return a&&(i=a,0!==Object.keys(i).length)?a:e;var i}},23238:(e,a,i)=>{"use strict";a.A=void 0;var t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=r(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=n?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(t,o,s):t[o]=e[o]}return t.default=e,i&&i.set(e,t),t}(i(30758)),n=i(85516);function r(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(r=function(e){return e?i:a})(e)}a.A=function(e=null){const a=t.useContext(n.ThemeContext);return a&&(i=a,0!==Object.keys(i).length)?a:e;var i}},74986:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});const t=e=>e,n=(()=>{let e=t;return{configure(a){e=a},generate:a=>e(a),reset(){e=t}}})()},43342:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(26325),n=i(45268);const r=function(e,a,i){return void 0===e||(0,n.A)(e)?a:(0,t.A)({},a,{ownerState:(0,t.A)({},a.ownerState,i)})}},25438:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(40508);function n(e){if("string"!=typeof e)throw new Error((0,t.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},71742:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(25438)},900:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(e,i))}},78419:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(900)},85154:(e,a,i)=>{"use strict";function t(e,a,i=void 0){const t={};return Object.keys(e).forEach((n=>{t[n]=e[n].reduce(((e,t)=>{if(t){const n=a(t);""!==n&&e.push(n),i&&i[t]&&e.push(i[t])}return e}),[]).join(" ")})),t}i.d(a,{A:()=>t})},42952:(e,a,i)=>{"use strict";function t(...e){return e.reduce(((e,a)=>null==a?e:function(...i){e.apply(this,i),a.apply(this,i)}),(()=>{}))}i.d(a,{A:()=>t})},93052:(e,a,i)=>{"use strict";function t(e,a=166){let i;function t(...t){clearTimeout(i),i=setTimeout((()=>{e.apply(this,t)}),a)}return t.clear=()=>{clearTimeout(i)},t}i.d(a,{A:()=>t})},75572:(e,a,i)=>{"use strict";i.d(a,{A:()=>o,Q:()=>n});var t=i(26325);function n(e){if("object"!=typeof e||null===e)return!1;const a=Object.getPrototypeOf(e);return!(null!==a&&a!==Object.prototype&&null!==Object.getPrototypeOf(a)||Symbol.toStringTag in e||Symbol.iterator in e)}function r(e){if(!n(e))return e;const a={};return Object.keys(e).forEach((i=>{a[i]=r(e[i])})),a}function o(e,a,i={clone:!0}){const s=i.clone?(0,t.A)({},e):e;return n(e)&&n(a)&&Object.keys(a).forEach((t=>{n(a[t])&&Object.prototype.hasOwnProperty.call(e,t)&&n(e[t])?s[t]=o(e[t],a[t],i):i.clone?s[t]=n(a[t])?r(a[t]):a[t]:s[t]=a[t]})),s}},81034:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A,isPlainObject:()=>t.Q});var t=i(75572)},64610:(e,a,i)=>{"use strict";function t(e,a){return()=>null}i.d(a,{A:()=>t})},38242:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a=[]){if(void 0===e)return{};const i={};return Object.keys(e).filter((i=>i.match(/^on[A-Z]/)&&"function"==typeof e[i]&&!a.includes(i))).forEach((a=>{i[a]=e[a]})),i}},40508:(e,a,i)=>{"use strict";function t(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;et})},9961:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>t.A});var t=i(40508)},26468:(e,a,i)=>{"use strict";i.d(a,{Ay:()=>r});var t=i(74986);const n={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function r(e,a,i="Mui"){const r=n[a];return r?`${i}-${r}`:`${t.A.generate(e)}-${a}`}},13028:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(26468);function n(e,a,i="Mui"){const n={};return a.forEach((a=>{n[a]=(0,t.Ay)(e,a,i)})),n}},94921:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>l,getFunctionName:()=>r});var t=i(84276);const n=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function r(e){const a=`${e}`.match(n);return a&&a[1]||""}function o(e,a=""){return e.displayName||e.name||r(e)||a}function s(e,a,i){const t=o(a);return e.displayName||(""!==t?`${i}(${t})`:i)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case t.ForwardRef:return s(e,e.render,"ForwardRef");case t.Memo:return s(e,e.type,"memo");default:return}}}},68196:(e,a,i)=>{"use strict";function t(e){const a=e.documentElement.clientWidth;return Math.abs(window.innerWidth-a)}i.d(a,{A:()=>t})},81628:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);function n(e){return t.Children.toArray(e).filter((e=>t.isValidElement(e)))}},45268:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e){return"string"==typeof e}},53570:(e,a,i)=>{"use strict";i.d(a,{A:()=>s});var t=i(26325),n=i(13526),r=i(38242);const o=function(e){if(void 0===e)return{};const a={};return Object.keys(e).filter((a=>!(a.match(/^on[A-Z]/)&&"function"==typeof e[a]))).forEach((i=>{a[i]=e[i]})),a};const s=function(e){const{getSlotProps:a,additionalProps:i,externalSlotProps:s,externalForwardedProps:l,className:d}=e;if(!a){const e=(0,n.A)(null==i?void 0:i.className,d,null==l?void 0:l.className,null==s?void 0:s.className),a=(0,t.A)({},null==i?void 0:i.style,null==l?void 0:l.style,null==s?void 0:s.style),r=(0,t.A)({},i,l,s);return e.length>0&&(r.className=e),Object.keys(a).length>0&&(r.style=a),{props:r,internalRef:void 0}}const c=(0,r.A)((0,t.A)({},l,s)),u=o(s),p=o(l),m=a(c),b=(0,n.A)(null==m?void 0:m.className,null==i?void 0:i.className,d,null==l?void 0:l.className,null==s?void 0:s.className),g=(0,t.A)({},null==m?void 0:m.style,null==i?void 0:i.style,null==l?void 0:l.style,null==s?void 0:s.style),h=(0,t.A)({},m,i,p,u);return b.length>0&&(h.className=b),Object.keys(g).length>0&&(h.style=g),{props:h,internalRef:m.ref}}},32324:(e,a,i)=>{"use strict";function t(e){return e&&e.ownerDocument||document}i.d(a,{A:()=>t})},11668:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(32324);function n(e){return(0,t.A)(e).defaultView||window}},54146:(e,a,i)=>{"use strict";if(i.d(a,{A:()=>t}),61!=i.j)i(26325);function t(e,a){return()=>null}},34052:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=function(e,a,i){return"function"==typeof e?e(a,i):e}},63318:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(26325);function n(e,a){const i=(0,t.A)({},a);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))i[r]=(0,t.A)({},e[r],i[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},s=a[r];i[r]={},s&&Object.keys(s)?o&&Object.keys(o)?(i[r]=(0,t.A)({},s),Object.keys(o).forEach((e=>{i[r][e]=n(o[e],s[e])}))):i[r]=s:i[r]=o}else void 0===i[r]&&(i[r]=e[r])})),i}},69898:(e,a,i)=>{"use strict";let t;function n(){if(t)return t;const e=document.createElement("div"),a=document.createElement("div");return a.style.width="10px",a.style.height="1px",e.appendChild(a),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),t="reverse",e.scrollLeft>0?t="default":(e.scrollLeft=1,0===e.scrollLeft&&(t="negative")),document.body.removeChild(e),t}function r(e,a){const i=e.scrollLeft;if("rtl"!==a)return i;switch(n()){case"negative":return e.scrollWidth-e.clientWidth+i;case"reverse":return e.scrollWidth-e.clientWidth-i;default:return i}}i.d(a,{A:()=>r,t:()=>n})},65620:(e,a,i)=>{"use strict";function t(e,a){"function"==typeof e?e(a):e&&(e.current=a)}i.d(a,{A:()=>t})},84404:(e,a,i)=>{"use strict";function t(e,a,i,t,n){return null}i.d(a,{A:()=>t})},80380:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);function n({controlled:e,default:a,name:i,state:n="value"}){const{current:r}=t.useRef(void 0!==e),[o,s]=t.useState(a);return[r?e:o,t.useCallback((e=>{r||s(e)}),[])]}},25160:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n="undefined"!=typeof window?t.useLayoutEffect:t.useEffect},76566:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758),n=i(25160);const r=function(e){const a=t.useRef(e);return(0,n.A)((()=>{a.current=e})),t.useRef(((...e)=>(0,a.current)(...e))).current}},68886:(e,a,i)=>{"use strict";i.d(a,{A:()=>r});var t=i(30758),n=i(65620);function r(...e){return t.useMemo((()=>e.every((e=>null==e))?null:a=>{e.forEach((e=>{(0,n.A)(e,a)}))}),e)}},48260:(e,a,i)=>{"use strict";var t;i.d(a,{A:()=>s});var n=i(30758);let r=0;const o=(t||(t=i.t(n,2)))["useId".toString()];function s(e){if(void 0!==o){const a=o();return null!=e?e:a}return function(e){const[a,i]=n.useState(e),t=e||a;return n.useEffect((()=>{null==a&&(r+=1,i(`mui-${r}`))}),[a]),t}(e)}},96536:(e,a,i)=>{"use strict";i.d(a,{A:()=>m});var t=i(30758),n=i(48467);let r=!0,o=!1;const s=new n.E,l={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 d(e){e.metaKey||e.altKey||e.ctrlKey||(r=!0)}function c(){r=!1}function u(){"hidden"===this.visibilityState&&o&&(r=!0)}function p(e){const{target:a}=e;try{return a.matches(":focus-visible")}catch(e){}return r||function(e){const{type:a,tagName:i}=e;return!("INPUT"!==i||!l[a]||e.readOnly)||"TEXTAREA"===i&&!e.readOnly||!!e.isContentEditable}(a)}function m(){const e=t.useCallback((e=>{var a;null!=e&&((a=e.ownerDocument).addEventListener("keydown",d,!0),a.addEventListener("mousedown",c,!0),a.addEventListener("pointerdown",c,!0),a.addEventListener("touchstart",c,!0),a.addEventListener("visibilitychange",u,!0))}),[]),a=t.useRef(!1);return{isFocusVisibleRef:a,onFocus:function(e){return!!p(e)&&(a.current=!0,!0)},onBlur:function(){return!!a.current&&(o=!0,s.start(100,(()=>{o=!1})),a.current=!1,!0)},ref:e}}},40034:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});var t=i(30758);const n=61!=i.j?e=>{const a=t.useRef({});return t.useEffect((()=>{a.current=e})),a.current}:null},54860:(e,a,i)=>{"use strict";i.d(a,{A:()=>c});var t=i(26325),n=i(39460),r=i(68886),o=i(43342),s=i(53570),l=i(34052);const d=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const c=function(e){var a;const{elementType:i,externalSlotProps:c,ownerState:u,skipResolvingSlotProps:p=!1}=e,m=(0,n.A)(e,d),b=p?{}:(0,l.A)(c,u),{props:g,internalRef:h}=(0,s.A)((0,t.A)({},m,{externalSlotProps:b})),k=(0,r.A)(h,null==b?void 0:b.ref,null==(a=e.additionalProps)?void 0:a.ref);return(0,o.A)(i,(0,t.A)({},g,{ref:k}),u)}},48467:(e,a,i)=>{"use strict";i.d(a,{E:()=>o,A:()=>s});var t=i(30758);const n={};const r=[];class o{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,a){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,a()}),e)}}function s(){const e=function(e,a){const i=t.useRef(n);return i.current===n&&(i.current=e(a)),i}(o.create).current;var a;return a=e.disposeEffect,t.useEffect(a,r),e}},48012:(e,a,i)=>{"use strict";i.d(a,{A:()=>t});const t=61!=i.j?{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}:null},115:(e,a,i)=>{"use strict"; /** - * @remix-run/router v1.19.0 + * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. * @@ -162,7 +162,7 @@ * * @license MIT */ -function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;au,B6:()=>O,Gh:()=>L,HS:()=>N,Oi:()=>s,Rr:()=>p,TM:()=>r,VV:()=>G,aE:()=>ie,pX:()=>U,pb:()=>M,rc:()=>n,tH:()=>W,ue:()=>k,yD:()=>R}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));const o="popstate";function r(e){return void 0===e&&(e={}),b((function(e,a){let{pathname:i="/",search:t="",hash:n=""}=p(e.location.hash.substr(1));return i.startsWith("/")||i.startsWith(".")||(i="/"+i),c("",{pathname:i,search:t,hash:n},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}),(function(e,a){let i=e.document.querySelector("base"),t="";if(i&&i.getAttribute("href")){let a=e.location.href,i=a.indexOf("#");t=-1===i?a:a.slice(0,i)}return t+"#"+("string"==typeof a?a:u(a))}),(function(e,a){l("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}),e)}function s(e,a){if(!1===e||null==e)throw new Error(a)}function l(e,a){if(!e)try{throw new Error(a)}catch(e){}}function d(e,a){return{usr:e.state,key:e.key,idx:a}}function c(e,a,i,n){return void 0===i&&(i=null),t({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof a?p(a):a,{state:i,key:a&&a.key||n||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:a="/",search:i="",hash:t=""}=e;return i&&"?"!==i&&(a+="?"===i.charAt(0)?i:"?"+i),t&&"#"!==t&&(a+="#"===t.charAt(0)?t:"#"+t),a}function p(e){let a={};if(e){let i=e.indexOf("#");i>=0&&(a.hash=e.substr(i),e=e.substr(0,i));let t=e.indexOf("?");t>=0&&(a.search=e.substr(t),e=e.substr(0,t)),e&&(a.pathname=e)}return a}function b(e,a,i,r){void 0===r&&(r={});let{window:l=document.defaultView,v5Compat:p=!1}=r,b=l.history,g=n.Pop,m=null,h=k();function k(){return(b.state||{idx:null}).idx}function v(){g=n.Pop;let e=k(),a=null==e?null:e-h;h=e,m&&m({action:g,location:y.location,delta:a})}function f(e){let a="null"!==l.location.origin?l.location.origin:l.location.href,i="string"==typeof e?e:u(e);return i=i.replace(/ $/,"%20"),s(a,"No window.location.(origin|href) available to create URL for href: "+i),new URL(i,a)}null==h&&(h=0,b.replaceState(t({},b.state,{idx:h}),""));let y={get action(){return g},get location(){return e(l,b)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(o,v),m=e,()=>{l.removeEventListener(o,v),m=null}},createHref:e=>a(l,e),createURL:f,encodeLocation(e){let a=f(e);return{pathname:a.pathname,search:a.search,hash:a.hash}},push:function(e,a){g=n.Push;let t=c(y.location,e,a);i&&i(t,e),h=k()+1;let o=d(t,h),r=y.createHref(t);try{b.pushState(o,"",r)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;l.location.assign(r)}p&&m&&m({action:g,location:y.location,delta:1})},replace:function(e,a){g=n.Replace;let t=c(y.location,e,a);i&&i(t,e),h=k();let o=d(t,h),r=y.createHref(t);b.replaceState(o,"",r),p&&m&&m({action:g,location:y.location,delta:0})},go:e=>b.go(e)};return y}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const m=new Set(["lazy","caseSensitive","path","id","index","children"]);function h(e,a,i,n){return void 0===i&&(i=[]),void 0===n&&(n={}),e.map(((e,o)=>{let r=[...i,String(o)],l="string"==typeof e.id?e.id:r.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!n[l],'Found a route id collision on id "'+l+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let i=t({},e,a(e),{id:l});return n[l]=i,i}{let i=t({},e,a(e),{id:l,children:void 0});return n[l]=i,e.children&&(i.children=h(e.children,a,r,n)),i}}))}function k(e,a,i){return void 0===i&&(i="/"),v(e,a,i,!1)}function v(e,a,i,t){let n=M(("string"==typeof a?p(a):a).pathname||"/",i);if(null==n)return null;let o=f(e);!function(e){e.sort(((e,a)=>e.score!==a.score?a.score-e.score:function(e,a){let i=e.length===a.length&&e.slice(0,-1).every(((e,i)=>e===a[i]));return i?e[e.length-1]-a[a.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),a.routesMeta.map((e=>e.childrenIndex)))))}(o);let r=null;for(let e=0;null==r&&e{let r={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};r.relativePath.startsWith("/")&&(s(r.relativePath.startsWith(t),'Absolute route path "'+r.relativePath+'" nested under path "'+t+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),r.relativePath=r.relativePath.slice(t.length));let l=N([t,r.relativePath]),d=i.concat(r);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),f(e.children,a,d,l)),(null!=e.path||e.index)&&a.push({path:l,score:P(l,e.index),routesMeta:d})};return e.forEach(((e,a)=>{var i;if(""!==e.path&&null!=(i=e.path)&&i.includes("?"))for(let i of y(e.path))n(e,a,i);else n(e,a)})),a}function y(e){let a=e.split("/");if(0===a.length)return[];let[i,...t]=a,n=i.endsWith("?"),o=i.replace(/\?$/,"");if(0===t.length)return n?[o,""]:[o];let r=y(t.join("/")),s=[];return s.push(...r.map((e=>""===e?o:[o,e].join("/")))),n&&s.push(...r),s.map((a=>e.startsWith("/")&&""===a?"/":a))}const S=/^:[\w-]+$/,w=3,T=2,A=1,z=10,j=61!=i.j?-2:null,C=e=>"*"===e;function P(e,a){let i=e.split("/"),t=i.length;return i.some(C)&&(t+=j),a&&(t+=T),i.filter((e=>!C(e))).reduce(((e,a)=>e+(S.test(a)?w:""===a?A:z)),t)}function x(e,a,i){void 0===i&&(i=!1);let{routesMeta:t}=e,n={},o="/",r=[];for(let e=0;e(t.push({paramName:a,isOptional:null!=i}),i?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(t.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let o=new RegExp(n,a?void 0:"i");return[o,t]}(e.path,e.caseSensitive,e.end),n=a.match(i);if(!n)return null;let o=n[0],r=o.replace(/(.)\/+$/,"$1"),s=n.slice(1);return{params:t.reduce(((e,a,i)=>{let{paramName:t,isOptional:n}=a;if("*"===t){let e=s[i]||"";r=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[i];return e[t]=n&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:r,pattern:e}}function D(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(a){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+a+")."),e}}function M(e,a){if("/"===a)return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,t=e.charAt(i);return t&&"/"!==t?null:e.slice(i)||"/"}function I(e,a,i,t){return"Cannot include a '"+e+"' character in a manually specified `to."+a+"` field ["+JSON.stringify(t)+"]. Please separate it out to the `to."+i+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function B(e){return e.filter(((e,a)=>0===a||e.route.path&&e.route.path.length>0))}function R(e,a){let i=B(e);return a?i.map(((e,a)=>a===i.length-1?e.pathname:e.pathnameBase)):i.map((e=>e.pathnameBase))}function L(e,a,i,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=p(e):(o=t({},e),s(!o.pathname||!o.pathname.includes("?"),I("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),I("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),I("#","search","hash",o)));let r,l=""===e||""===o.pathname,d=l?"/":o.pathname;if(null==d)r=i;else{let e=a.length-1;if(!n&&d.startsWith("..")){let a=d.split("/");for(;".."===a[0];)a.shift(),e-=1;o.pathname=a.join("/")}r=e>=0?a[e]:"/"}let c=function(e,a){void 0===a&&(a="/");let{pathname:i,search:t="",hash:n=""}="string"==typeof e?p(e):e,o=i?i.startsWith("/")?i:function(e,a){let i=a.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?i.length>1&&i.pop():"."!==e&&i.push(e)})),i.length>1?i.join("/"):"/"}(i,a):a;return{pathname:o,search:_(t),hash:F(n)}}(o,r),u=d&&"/"!==d&&d.endsWith("/"),b=(l||"."===d)&&i.endsWith("/");return c.pathname.endsWith("/")||!u&&!b||(c.pathname+="/"),c}const N=e=>e.join("/").replace(/\/\/+/g,"/"),E=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class W extends(61!=i.j?Error:null){}class G{constructor(e,a,i,t){void 0===t&&(t=!1),this.status=e,this.statusText=a||"",this.internal=t,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function U(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const q=["post","put","patch","delete"],K=new Set(q),V=["get",...q],H=new Set(V),$=new Set([301,302,303,307,308]),J=new Set([307,308]),Q={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Y={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},X=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ee=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ae="remix-router-transitions";function ie(e){const a=e.window?e.window:"undefined"!=typeof window?window:void 0,i=void 0!==a&&void 0!==a.document&&void 0!==a.document.createElement,o=!i;let r;if(s(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)r=e.mapRouteProperties;else if(e.detectErrorBoundary){let a=e.detectErrorBoundary;r=e=>({hasErrorBoundary:a(e)})}else r=ee;let d,u,p,b={},m=h(e.routes,r,void 0,b),f=e.basename||"/",y=e.unstable_dataStrategy||pe,S=e.unstable_patchRoutesOnMiss,w=t({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),T=null,A=new Set,z=null,j=null,C=null,P=null!=e.hydrationData,x=k(m,e.history.location,f),O=null;if(null==x&&!S){let a=je(404,{pathname:e.history.location.pathname}),{matches:i,route:t}=ze(m);x=i,O={[t.id]:a}}if(x&&!e.hydrationData){da(x,m,e.history.location.pathname).active&&(x=null)}if(x)if(x.some((e=>e.route.lazy)))u=!1;else if(x.some((e=>e.route.loader)))if(w.v7_partialHydration){let a=e.hydrationData?e.hydrationData.loaderData:null,i=e.hydrationData?e.hydrationData.errors:null,t=e=>!e.route.loader||("function"!=typeof e.route.loader||!0!==e.route.loader.hydrate)&&(a&&void 0!==a[e.route.id]||i&&void 0!==i[e.route.id]);if(i){let e=x.findIndex((e=>void 0!==i[e.route.id]));u=x.slice(0,e+1).every(t)}else u=x.every(t)}else u=null!=e.hydrationData;else u=!0;else if(u=!1,x=[],w.v7_partialHydration){let a=da(null,m,e.history.location.pathname);a.active&&a.matches&&(x=a.matches)}let D,I={historyAction:e.history.action,location:e.history.location,matches:x,initialized:u,navigation:Q,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},B=n.Pop,R=!1,L=!1,N=new Map,E=null,_=!1,F=!1,W=[],G=new Set,q=new Map,K=0,V=-1,H=new Map,$=new Set,ie=new Map,oe=new Map,se=new Set,le=new Map,ue=new Map,ve=new Map,fe=!1;function ye(e,a){void 0===a&&(a={}),I=t({},I,e);let i=[],n=[];w.v7_fetcherPersist&&I.fetchers.forEach(((e,a)=>{"idle"===e.state&&(se.has(a)?n.push(a):i.push(a))})),[...A].forEach((e=>e(I,{deletedFetchers:n,unstable_viewTransitionOpts:a.viewTransitionOpts,unstable_flushSync:!0===a.flushSync}))),w.v7_fetcherPersist&&(i.forEach((e=>I.fetchers.delete(e))),n.forEach((e=>Qe(e))))}function Pe(a,i,o){var r,s;let l,{flushSync:c}=void 0===o?{}:o,u=null!=I.actionData&&null!=I.navigation.formMethod&&Le(I.navigation.formMethod)&&"loading"===I.navigation.state&&!0!==(null==(r=a.state)?void 0:r._isRedirect);l=i.actionData?Object.keys(i.actionData).length>0?i.actionData:null:u?I.actionData:null;let p=i.loaderData?we(I.loaderData,i.loaderData,i.matches||[],i.errors):I.loaderData,b=I.blockers;b.size>0&&(b=new Map(b),b.forEach(((e,a)=>b.set(a,Y))));let g,h=!0===R||null!=I.navigation.formMethod&&Le(I.navigation.formMethod)&&!0!==(null==(s=a.state)?void 0:s._isRedirect);if(d&&(m=d,d=void 0),_||B===n.Pop||(B===n.Push?e.history.push(a,a.state):B===n.Replace&&e.history.replace(a,a.state)),B===n.Pop){let e=N.get(I.location.pathname);e&&e.has(a.pathname)?g={currentLocation:I.location,nextLocation:a}:N.has(a.pathname)&&(g={currentLocation:a,nextLocation:I.location})}else if(L){let e=N.get(I.location.pathname);e?e.add(a.pathname):(e=new Set([a.pathname]),N.set(I.location.pathname,e)),g={currentLocation:I.location,nextLocation:a}}ye(t({},i,{actionData:l,loaderData:p,historyAction:B,location:a,initialized:!0,navigation:Q,revalidation:"idle",restoreScrollPosition:la(a,i.matches||I.matches),preventScrollReset:h,blockers:b}),{viewTransitionOpts:g,flushSync:!0===c}),B=n.Pop,R=!1,L=!1,_=!1,F=!1,W=[]}async function Ie(a,i,o){D&&D.abort(),D=null,B=a,_=!0===(o&&o.startUninterruptedRevalidation),function(e,a){if(z&&C){let i=sa(e,a);z[i]=C()}}(I.location,I.matches),R=!0===(o&&o.preventScrollReset),L=!0===(o&&o.enableViewTransition);let r=d||m,s=o&&o.overrideNavigation,l=k(r,i,f),c=!0===(o&&o.flushSync),u=da(l,r,i.pathname);if(u.active&&u.matches&&(l=u.matches),!l){let{error:e,notFoundMatches:a,route:t}=na(i.pathname);return void Pe(i,{matches:a,loaderData:{},errors:{[t.id]:e}},{flushSync:c})}if(I.initialized&&!F&&function(e,a){if(e.pathname!==a.pathname||e.search!==a.search)return!1;if(""===e.hash)return""!==a.hash;if(e.hash===a.hash)return!0;if(""!==a.hash)return!0;return!1}(I.location,i)&&!(o&&o.submission&&Le(o.submission.formMethod)))return void Pe(i,{matches:l},{flushSync:c});D=new AbortController;let p,b=ke(e.history,i,D.signal,o&&o.submission);if(o&&o.pendingError)p=[Ae(l).route.id,{type:g.error,error:o.pendingError}];else if(o&&o.submission&&Le(o.submission.formMethod)){let a=await async function(e,a,i,t,o,r){void 0===r&&(r={});Ve();let s,l=function(e,a){let i={state:"submitting",location:e,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text};return i}(a,i);if(ye({navigation:l},{flushSync:!0===r.flushSync}),o){let i=await ca(t,a.pathname,e.signal);if("aborted"===i.type)return{shortCircuited:!0};if("error"===i.type){let{boundaryId:e,error:t}=oa(a.pathname,i);return{matches:i.partialMatches,pendingActionResult:[e,{type:g.error,error:t}]}}if(!i.matches){let{notFoundMatches:e,error:i,route:t}=na(a.pathname);return{matches:e,pendingActionResult:[t.id,{type:g.error,error:i}]}}t=i.matches}let d=Fe(t,a);if(d.route.action||d.route.lazy){if(s=(await _e("action",e,[d],t))[0],e.signal.aborted)return{shortCircuited:!0}}else s={type:g.error,error:je(405,{method:e.method,pathname:a.pathname,routeId:d.route.id})};if(Me(s)){let a;if(r&&null!=r.replace)a=r.replace;else{a=he(s.response.headers.get("Location"),new URL(e.url),f)===I.location.pathname+I.location.search}return await Re(e,s,{submission:i,replace:a}),{shortCircuited:!0}}if(Oe(s))throw je(400,{type:"defer-action"});if(De(s)){let e=Ae(t,d.route.id);return!0!==(r&&r.replace)&&(B=n.Push),{matches:t,pendingActionResult:[e.route.id,s]}}return{matches:t,pendingActionResult:[d.route.id,s]}}(b,i,o.submission,l,u.active,{replace:o.replace,flushSync:c});if(a.shortCircuited)return;if(a.pendingActionResult){let[e,t]=a.pendingActionResult;if(De(t)&&U(t.error)&&404===t.error.status)return D=null,void Pe(i,{matches:a.matches,loaderData:{},errors:{[e]:t.error}})}l=a.matches||l,p=a.pendingActionResult,s=Ge(i,o.submission),c=!1,u.active=!1,b=ke(e.history,b.url,b.signal)}let{shortCircuited:h,matches:v,loaderData:y,errors:S}=await async function(a,i,n,o,r,s,l,c,u,p,b){let g=r||Ge(i,s),h=s||l||We(g),k=!(_||w.v7_partialHydration&&u);if(o){if(k){let e=Be(b);ye(t({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:p})}let e=await ca(n,i.pathname,a.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let{boundaryId:a,error:t}=oa(i.pathname,e);return{matches:e.partialMatches,loaderData:{},errors:{[a]:t}}}if(!e.matches){let{error:e,notFoundMatches:a,route:t}=na(i.pathname);return{matches:a,loaderData:{},errors:{[t.id]:e}}}n=e.matches}let v=d||m,[y,S]=re(e.history,I,n,h,i,w.v7_partialHydration&&!0===u,w.v7_skipActionErrorRevalidation,F,W,G,se,ie,$,v,f,b);if(ra((e=>!(n&&n.some((a=>a.route.id===e)))||y&&y.some((a=>a.route.id===e)))),V=++K,0===y.length&&0===S.length){let e=Xe();return Pe(i,t({matches:n,loaderData:{},errors:b&&De(b[1])?{[b[0]]:b[1].error}:null},Te(b),e?{fetchers:new Map(I.fetchers)}:{}),{flushSync:p}),{shortCircuited:!0}}if(k){let e={};if(!o){e.navigation=g;let a=Be(b);void 0!==a&&(e.actionData=a)}S.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let a=I.fetchers.get(e.key),i=Ue(void 0,a?a.data:void 0);I.fetchers.set(e.key,i)})),new Map(I.fetchers)}(S)),ye(e,{flushSync:p})}S.forEach((e=>{q.has(e.key)&&Ze(e.key),e.controller&&q.set(e.key,e.controller)}));let T=()=>S.forEach((e=>Ze(e.key)));D&&D.signal.addEventListener("abort",T);let{loaderResults:A,fetcherResults:z}=await Ke(I.matches,n,y,S,a);if(a.signal.aborted)return{shortCircuited:!0};D&&D.signal.removeEventListener("abort",T);S.forEach((e=>q.delete(e.key)));let j=Ce([...A,...z]);if(j){if(j.idx>=y.length){let e=S[j.idx-y.length].key;$.add(e)}return await Re(a,j.result,{replace:c}),{shortCircuited:!0}}let{loaderData:C,errors:P}=Se(I,n,y,A,b,S,z,le);le.forEach(((e,a)=>{e.subscribe((i=>{(i||e.done)&&le.delete(a)}))})),w.v7_partialHydration&&u&&I.errors&&Object.entries(I.errors).filter((e=>{let[a]=e;return!y.some((e=>e.route.id===a))})).forEach((e=>{let[a,i]=e;P=Object.assign(P||{},{[a]:i})}));let x=Xe(),O=ea(V),M=x||O||S.length>0;return t({matches:n,loaderData:C,errors:P},M?{fetchers:new Map(I.fetchers)}:{})}(b,i,l,u.active,s,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,c,p);h||(D=null,Pe(i,t({matches:v||l},Te(p),{loaderData:y,errors:S})))}function Be(e){return e&&!De(e[1])?{[e[0]]:e[1].data}:I.actionData?0===Object.keys(I.actionData).length?null:I.actionData:void 0}async function Re(o,r,l){let{submission:d,fetcherSubmission:u,replace:p}=void 0===l?{}:l;r.response.headers.has("X-Remix-Revalidate")&&(F=!0);let b=r.response.headers.get("Location");s(b,"Expected a Location header on the redirect Response"),b=he(b,new URL(o.url),f);let g=c(I.location,b,{_isRedirect:!0});if(i){let i=!1;if(r.response.headers.has("X-Remix-Reload-Document"))i=!0;else if(X.test(b)){const t=e.history.createURL(b);i=t.origin!==a.location.origin||null==M(t.pathname,f)}if(i)return void(p?a.location.replace(b):a.location.assign(b))}D=null;let m=!0===p||r.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:h,formAction:k,formEncType:v}=I.navigation;!d&&!u&&h&&k&&v&&(d=We(I.navigation));let y=d||u;if(J.has(r.response.status)&&y&&Le(y.formMethod))await Ie(m,g,{submission:t({},y,{formAction:b}),preventScrollReset:R});else{let e=Ge(g,d);await Ie(m,g,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:R})}}async function _e(e,a,i,t){try{let n=await be(y,e,a,i,t,b,r);return await Promise.all(n.map(((e,n)=>{if(xe(e)){let o=e.result;return{type:g.redirect,response:me(o,a,i[n].route.id,t,f,w.v7_relativeSplatPath)}}return ge(e)})))}catch(e){return i.map((()=>({type:g.error,error:e})))}}async function Ke(a,i,t,n,o){let[r,...s]=await Promise.all([t.length?_e("loader",o,t,i):[],...n.map((a=>{if(a.matches&&a.match&&a.controller){return _e("loader",ke(e.history,a.path,a.controller.signal),[a.match],a.matches).then((e=>e[0]))}return Promise.resolve({type:g.error,error:je(404,{pathname:a.path})})}))]);return await Promise.all([Ne(a,t,r,r.map((()=>o.signal)),!1,I.loaderData),Ne(a,n.map((e=>e.match)),s,n.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:r,fetcherResults:s}}function Ve(){F=!0,W.push(...ra()),ie.forEach(((e,a)=>{q.has(a)&&(G.add(a),Ze(a))}))}function He(e,a,i){void 0===i&&(i={}),I.fetchers.set(e,a),ye({fetchers:new Map(I.fetchers)},{flushSync:!0===(i&&i.flushSync)})}function $e(e,a,i,t){void 0===t&&(t={});let n=Ae(I.matches,a);Qe(e),ye({errors:{[n.route.id]:i},fetchers:new Map(I.fetchers)},{flushSync:!0===(t&&t.flushSync)})}function Je(e){return w.v7_fetcherPersist&&(oe.set(e,(oe.get(e)||0)+1),se.has(e)&&se.delete(e)),I.fetchers.get(e)||Z}function Qe(e){let a=I.fetchers.get(e);!q.has(e)||a&&"loading"===a.state&&H.has(e)||Ze(e),ie.delete(e),H.delete(e),$.delete(e),se.delete(e),G.delete(e),I.fetchers.delete(e)}function Ze(e){let a=q.get(e);s(a,"Expected fetch controller: "+e),a.abort(),q.delete(e)}function Ye(e){for(let a of e){let e=qe(Je(a).data);I.fetchers.set(a,e)}}function Xe(){let e=[],a=!1;for(let i of $){let t=I.fetchers.get(i);s(t,"Expected fetcher: "+i),"loading"===t.state&&($.delete(i),e.push(i),a=!0)}return Ye(e),a}function ea(e){let a=[];for(let[i,t]of H)if(t0}function aa(e){I.blockers.delete(e),ue.delete(e)}function ia(e,a){let i=I.blockers.get(e)||Y;s("unblocked"===i.state&&"blocked"===a.state||"blocked"===i.state&&"blocked"===a.state||"blocked"===i.state&&"proceeding"===a.state||"blocked"===i.state&&"unblocked"===a.state||"proceeding"===i.state&&"unblocked"===a.state,"Invalid blocker state transition: "+i.state+" -> "+a.state);let t=new Map(I.blockers);t.set(e,a),ye({blockers:t})}function ta(e){let{currentLocation:a,nextLocation:i,historyAction:t}=e;if(0===ue.size)return;ue.size>1&&l(!1,"A router only supports one blocker at a time");let n=Array.from(ue.entries()),[o,r]=n[n.length-1],s=I.blockers.get(o);return s&&"proceeding"===s.state?void 0:r({currentLocation:a,nextLocation:i,historyAction:t})?o:void 0}function na(e){let a=je(404,{pathname:e}),i=d||m,{matches:t,route:n}=ze(i);return ra(),{notFoundMatches:t,route:n,error:a}}function oa(e,a){return{boundaryId:Ae(a.partialMatches).route.id,error:je(400,{type:"route-discovery",pathname:e,message:null!=a.error&&"message"in a.error?a.error:String(a.error)})}}function ra(e){let a=[];return le.forEach(((i,t)=>{e&&!e(t)||(i.cancel(),a.push(t),le.delete(t))})),a}function sa(e,a){if(j){return j(e,a.map((e=>function(e,a){let{route:i,pathname:t,params:n}=e;return{id:i.id,pathname:t,params:n,data:a[i.id],handle:i.handle}}(e,I.loaderData))))||e.key}return e.key}function la(e,a){if(z){let i=sa(e,a),t=z[i];if("number"==typeof t)return t}return null}function da(e,a,i){if(S){if(!e){return{active:!0,matches:v(a,i,f,!0)||[]}}{let t=e[e.length-1].route;if(t.path&&("*"===t.path||t.path.endsWith("/*"))){return{active:!0,matches:v(a,i,f,!0)}}}}return{active:!1,matches:null}}async function ca(e,a,i){let t=e,n=t.length>0?t[t.length-1].route:null;for(;;){let e=null==d,o=d||m;try{await de(S,a,t,o,b,r,ve,i)}catch(e){return{type:"error",error:e,partialMatches:t}}finally{e&&(m=[...m])}if(i.aborted)return{type:"aborted"};let s=k(o,a,f),l=!1;if(s){let e=s[s.length-1].route;if(e.index)return{type:"success",matches:s};if(e.path&&e.path.length>0){if("*"!==e.path)return{type:"success",matches:s};l=!0}}let c=v(o,a,f,!0);if(!c||t.map((e=>e.route.id)).join("-")===c.map((e=>e.route.id)).join("-"))return{type:"success",matches:l?s:null};if(t=c,n=t[t.length-1].route,"*"===n.path)return{type:"success",matches:t}}}return p={get basename(){return f},get future(){return w},get state(){return I},get routes(){return m},get window(){return a},initialize:function(){if(T=e.history.listen((a=>{let{action:i,location:t,delta:n}=a;if(fe)return void(fe=!1);l(0===ue.size||null!=n,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=ta({currentLocation:I.location,nextLocation:t,historyAction:i});return o&&null!=n?(fe=!0,e.history.go(-1*n),void ia(o,{state:"blocked",location:t,proceed(){ia(o,{state:"proceeding",proceed:void 0,reset:void 0,location:t}),e.history.go(n)},reset(){let e=new Map(I.blockers);e.set(o,Y),ye({blockers:e})}})):Ie(i,t)})),i){!function(e,a){try{let i=e.sessionStorage.getItem(ae);if(i){let e=JSON.parse(i);for(let[i,t]of Object.entries(e||{}))t&&Array.isArray(t)&&a.set(i,new Set(t||[]))}}catch(e){}}(a,N);let e=()=>function(e,a){if(a.size>0){let i={};for(let[e,t]of a)i[e]=[...t];try{e.sessionStorage.setItem(ae,JSON.stringify(i))}catch(e){l(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(a,N);a.addEventListener("pagehide",e),E=()=>a.removeEventListener("pagehide",e)}return I.initialized||Ie(n.Pop,I.location,{initialHydration:!0}),p},subscribe:function(e){return A.add(e),()=>A.delete(e)},enableScrollRestoration:function(e,a,i){if(z=e,C=a,j=i||null,!P&&I.navigation===Q){P=!0;let e=la(I.location,I.matches);null!=e&&ye({restoreScrollPosition:e})}return()=>{z=null,C=null,j=null}},navigate:async function a(i,o){if("number"==typeof i)return void e.history.go(i);let r=te(I.location,I.matches,f,w.v7_prependBasename,i,w.v7_relativeSplatPath,null==o?void 0:o.fromRouteId,null==o?void 0:o.relative),{path:s,submission:l,error:d}=ne(w.v7_normalizeFormMethod,!1,r,o),u=I.location,p=c(I.location,s,o&&o.state);p=t({},p,e.history.encodeLocation(p));let b=o&&null!=o.replace?o.replace:void 0,g=n.Push;!0===b?g=n.Replace:!1===b||null!=l&&Le(l.formMethod)&&l.formAction===I.location.pathname+I.location.search&&(g=n.Replace);let m=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,h=!0===(o&&o.unstable_flushSync),k=ta({currentLocation:u,nextLocation:p,historyAction:g});if(!k)return await Ie(g,p,{submission:l,pendingError:d,preventScrollReset:m,replace:o&&o.replace,enableViewTransition:o&&o.unstable_viewTransition,flushSync:h});ia(k,{state:"blocked",location:p,proceed(){ia(k,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),a(i,o)},reset(){let e=new Map(I.blockers);e.set(k,Y),ye({blockers:e})}})},fetch:function(a,i,t,n){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(a)&&Ze(a);let r=!0===(n&&n.unstable_flushSync),l=d||m,c=te(I.location,I.matches,f,w.v7_prependBasename,t,w.v7_relativeSplatPath,i,null==n?void 0:n.relative),u=k(l,c,f),p=da(u,l,c);if(p.active&&p.matches&&(u=p.matches),!u)return void $e(a,i,je(404,{pathname:c}),{flushSync:r});let{path:b,submission:g,error:h}=ne(w.v7_normalizeFormMethod,!0,c,n);if(h)return void $e(a,i,h,{flushSync:r});let v=Fe(u,b);R=!0===(n&&n.preventScrollReset),g&&Le(g.formMethod)?async function(a,i,t,n,o,r,l,c){function u(e){if(!e.route.action&&!e.route.lazy){let e=je(405,{method:c.formMethod,pathname:t,routeId:i});return $e(a,i,e,{flushSync:l}),!0}return!1}if(Ve(),ie.delete(a),!r&&u(n))return;let p=I.fetchers.get(a);He(a,function(e,a){let i={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:a?a.data:void 0};return i}(c,p),{flushSync:l});let b=new AbortController,g=ke(e.history,t,b.signal,c);if(r){let e=await ca(o,t,g.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=oa(t,e);return void $e(a,i,n,{flushSync:l})}if(!e.matches)return void $e(a,i,je(404,{pathname:t}),{flushSync:l});if(u(n=Fe(o=e.matches,t)))return}q.set(a,b);let h=K,v=await _e("action",g,[n],o),y=v[0];if(g.signal.aborted)return void(q.get(a)===b&&q.delete(a));if(w.v7_fetcherPersist&&se.has(a)){if(Me(y)||De(y))return void He(a,qe(void 0))}else{if(Me(y))return q.delete(a),V>h?void He(a,qe(void 0)):($.add(a),He(a,Ue(c)),Re(g,y,{fetcherSubmission:c}));if(De(y))return void $e(a,i,y.error)}if(Oe(y))throw je(400,{type:"defer-action"});let S=I.navigation.location||I.location,T=ke(e.history,S,b.signal),A=d||m,z="idle"!==I.navigation.state?k(A,I.navigation.location,f):I.matches;s(z,"Didn't find any matches after fetcher action");let j=++K;H.set(a,j);let C=Ue(c,y.data);I.fetchers.set(a,C);let[P,x]=re(e.history,I,z,c,S,!1,w.v7_skipActionErrorRevalidation,F,W,G,se,ie,$,A,f,[n.route.id,y]);x.filter((e=>e.key!==a)).forEach((e=>{let a=e.key,i=I.fetchers.get(a),t=Ue(void 0,i?i.data:void 0);I.fetchers.set(a,t),q.has(a)&&Ze(a),e.controller&&q.set(a,e.controller)})),ye({fetchers:new Map(I.fetchers)});let O=()=>x.forEach((e=>Ze(e.key)));b.signal.addEventListener("abort",O);let{loaderResults:M,fetcherResults:R}=await Ke(I.matches,z,P,x,T);if(b.signal.aborted)return;b.signal.removeEventListener("abort",O),H.delete(a),q.delete(a),x.forEach((e=>q.delete(e.key)));let L=Ce([...M,...R]);if(L){if(L.idx>=P.length){let e=x[L.idx-P.length].key;$.add(e)}return Re(T,L.result)}let{loaderData:N,errors:E}=Se(I,I.matches,P,M,void 0,x,R,le);if(I.fetchers.has(a)){let e=qe(y.data);I.fetchers.set(a,e)}ea(j),"loading"===I.navigation.state&&j>V?(s(B,"Expected pending action"),D&&D.abort(),Pe(I.navigation.location,{matches:z,loaderData:N,errors:E,fetchers:new Map(I.fetchers)})):(ye({errors:E,loaderData:we(I.loaderData,N,z,E),fetchers:new Map(I.fetchers)}),F=!1)}(a,i,b,v,u,p.active,r,g):(ie.set(a,{routeId:i,path:b}),async function(a,i,t,n,o,r,l,d){let c=I.fetchers.get(a);He(a,Ue(d,c?c.data:void 0),{flushSync:l});let u=new AbortController,p=ke(e.history,t,u.signal);if(r){let e=await ca(o,t,p.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=oa(t,e);return void $e(a,i,n,{flushSync:l})}if(!e.matches)return void $e(a,i,je(404,{pathname:t}),{flushSync:l});n=Fe(o=e.matches,t)}q.set(a,u);let b=K,g=await _e("loader",p,[n],o),m=g[0];Oe(m)&&(m=await Ee(m,p.signal,!0)||m);q.get(a)===u&&q.delete(a);if(p.signal.aborted)return;if(se.has(a))return void He(a,qe(void 0));if(Me(m))return V>b?void He(a,qe(void 0)):($.add(a),void await Re(p,m));if(De(m))return void $e(a,i,m.error);s(!Oe(m),"Unhandled fetcher deferred data"),He(a,qe(m.data))}(a,i,b,v,u,p.active,r,g))},revalidate:function(){Ve(),ye({revalidation:"loading"}),"submitting"!==I.navigation.state&&("idle"!==I.navigation.state?Ie(B||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation}):Ie(I.historyAction,I.location,{startUninterruptedRevalidation:!0}))},createHref:a=>e.history.createHref(a),encodeLocation:a=>e.history.encodeLocation(a),getFetcher:Je,deleteFetcher:function(e){if(w.v7_fetcherPersist){let a=(oe.get(e)||0)-1;a<=0?(oe.delete(e),se.add(e)):oe.set(e,a)}else Qe(e);ye({fetchers:new Map(I.fetchers)})},dispose:function(){T&&T(),E&&E(),A.clear(),D&&D.abort(),I.fetchers.forEach(((e,a)=>Qe(a))),I.blockers.forEach(((e,a)=>aa(a)))},getBlocker:function(e,a){let i=I.blockers.get(e)||Y;return ue.get(e)!==a&&ue.set(e,a),i},deleteBlocker:aa,patchRoutes:function(e,a){let i=null==d;ce(e,a,d||m,b,r),i&&(m=[...m],ye({}))},_internalFetchControllers:q,_internalActiveDeferreds:le,_internalSetRoutes:function(e){b={},d=h(e,r,void 0,b)}},p}Symbol("deferred");function te(e,a,i,t,n,o,r,s){let l,d;if(r){l=[];for(let e of a)if(l.push(e),e.route.id===r){d=e;break}}else l=a,d=a[a.length-1];let c=L(n||".",R(l,o),M(e.pathname,i)||e.pathname,"path"===s);return null==n&&(c.search=e.search,c.hash=e.hash),null!=n&&""!==n&&"."!==n||!d||!d.route.index||_e(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),t&&"/"!==i&&(c.pathname="/"===c.pathname?i:N([i,c.pathname])),u(c)}function ne(e,a,i,t){if(!t||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(t))return{path:i};if(t.formMethod&&!Re(t.formMethod))return{path:i,error:je(405,{method:t.formMethod})};let n,o,r=()=>({path:i,error:je(400,{type:"invalid-body"})}),l=t.formMethod||"get",d=e?l.toUpperCase():l.toLowerCase(),c=Pe(i);if(void 0!==t.body){if("text/plain"===t.formEncType){if(!Le(d))return r();let e="string"==typeof t.body?t.body:t.body instanceof FormData||t.body instanceof URLSearchParams?Array.from(t.body.entries()).reduce(((e,a)=>{let[i,t]=a;return""+e+i+"="+t+"\n"}),""):String(t.body);return{path:i,submission:{formMethod:d,formAction:c,formEncType:t.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===t.formEncType){if(!Le(d))return r();try{let e="string"==typeof t.body?JSON.parse(t.body):t.body;return{path:i,submission:{formMethod:d,formAction:c,formEncType:t.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return r()}}}if(s("function"==typeof FormData,"FormData is not available in this environment"),t.formData)n=ve(t.formData),o=t.formData;else if(t.body instanceof FormData)n=ve(t.body),o=t.body;else if(t.body instanceof URLSearchParams)n=t.body,o=fe(n);else if(null==t.body)n=new URLSearchParams,o=new FormData;else try{n=new URLSearchParams(t.body),o=fe(n)}catch(e){return r()}let b={formMethod:d,formAction:c,formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Le(b.formMethod))return{path:i,submission:b};let g=p(i);return a&&g.search&&_e(g.search)&&n.append("index",""),g.search="?"+n,{path:u(g),submission:b}}function oe(e,a){let i=e;if(a){let t=e.findIndex((e=>e.route.id===a));t>=0&&(i=e.slice(0,t))}return i}function re(e,a,i,n,o,r,s,l,d,c,u,p,b,g,m,h){let v=h?De(h[1])?h[1].error:h[1].data:void 0,f=e.createURL(a.location),y=e.createURL(o),S=h&&De(h[1])?h[0]:void 0,w=S?oe(i,S):i,T=h?h[1].statusCode:void 0,A=s&&T&&T>=400,z=w.filter(((e,i)=>{let{route:o}=e;if(o.lazy)return!0;if(null==o.loader)return!1;if(r)return!("function"==typeof o.loader&&!o.loader.hydrate)||void 0===a.loaderData[o.id]&&(!a.errors||void 0===a.errors[o.id]);if(function(e,a,i){let t=!a||i.route.id!==a.route.id,n=void 0===e[i.route.id];return t||n}(a.loaderData,a.matches[i],e)||d.some((a=>a===e.route.id)))return!0;let s=a.matches[i],c=e;return le(e,t({currentUrl:f,currentParams:s.params,nextUrl:y,nextParams:c.params},n,{actionResult:v,actionStatus:T,defaultShouldRevalidate:!A&&(l||f.pathname+f.search===y.pathname+y.search||f.search!==y.search||se(s,c))}))})),j=[];return p.forEach(((e,o)=>{if(r||!i.some((a=>a.route.id===e.routeId))||u.has(o))return;let s=k(g,e.path,m);if(!s)return void j.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let d=a.fetchers.get(o),p=Fe(s,e.path),h=!1;b.has(o)?h=!1:c.has(o)?(c.delete(o),h=!0):h=d&&"idle"!==d.state&&void 0===d.data?l:le(p,t({currentUrl:f,currentParams:a.matches[a.matches.length-1].params,nextUrl:y,nextParams:i[i.length-1].params},n,{actionResult:v,actionStatus:T,defaultShouldRevalidate:!A&&l})),h&&j.push({key:o,routeId:e.routeId,path:e.path,matches:s,match:p,controller:new AbortController})})),[z,j]}function se(e,a){let i=e.route.path;return e.pathname!==a.pathname||null!=i&&i.endsWith("*")&&e.params["*"]!==a.params["*"]}function le(e,a){if(e.route.shouldRevalidate){let i=e.route.shouldRevalidate(a);if("boolean"==typeof i)return i}return a.defaultShouldRevalidate}async function de(e,a,i,t,n,o,r,s){let l=[a,...i.map((e=>e.route.id))].join("-");try{let c=r.get(l);c||(c=e({path:a,matches:i,patch:(e,a)=>{s.aborted||ce(e,a,t,n,o)}}),r.set(l,c)),c&&("object"==typeof(d=c)&&null!=d&&"then"in d)&&await c}finally{r.delete(l)}var d}function ce(e,a,i,t,n){if(e){var o;let i=t[e];s(i,"No route found to patch children into: routeId = "+e);let r=h(a,n,[e,"patch",String((null==(o=i.children)?void 0:o.length)||"0")],t);i.children?i.children.push(...r):i.children=r}else{let e=h(a,n,["patch",String(i.length||"0")],t);i.push(...e)}}async function ue(e,a,i){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let o=i[e.id];s(o,"No route found in manifest");let r={};for(let e in n){let a=void 0!==o[e]&&"hasErrorBoundary"!==e;l(!a,'Route "'+o.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),a||m.has(e)||(r[e]=n[e])}Object.assign(o,r),Object.assign(o,t({},a(o),{lazy:void 0}))}function pe(e){return Promise.all(e.matches.map((e=>e.resolve())))}async function be(e,a,i,n,o,r,l,d){let c=n.reduce(((e,a)=>e.add(a.route.id)),new Set),u=new Set,p=await e({matches:o.map((e=>{let n=c.has(e.route.id);return t({},e,{shouldLoad:n,resolve:t=>(u.add(e.route.id),n?async function(e,a,i,t,n,o,r){let l,d,c=t=>{let n,s=new Promise(((e,a)=>n=a));d=()=>n(),a.signal.addEventListener("abort",d);let l,c=n=>"function"!=typeof t?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+i.route.id+"]")):t({request:a,params:i.params,context:r},...void 0!==n?[n]:[]);return l=o?o((e=>c(e))):(async()=>{try{return{type:"data",result:await c()}}catch(e){return{type:"error",result:e}}})(),Promise.race([l,s])};try{let o=i.route[e];if(i.route.lazy)if(o){let e,[a]=await Promise.all([c(o).catch((a=>{e=a})),ue(i.route,n,t)]);if(void 0!==e)throw e;l=a}else{if(await ue(i.route,n,t),o=i.route[e],!o){if("action"===e){let e=new URL(a.url),t=e.pathname+e.search;throw je(405,{method:a.method,pathname:t,routeId:i.route.id})}return{type:g.data,result:void 0}}l=await c(o)}else{if(!o){let e=new URL(a.url);throw je(404,{pathname:e.pathname+e.search})}l=await c(o)}s(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+i.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:g.error,result:e}}finally{d&&a.signal.removeEventListener("abort",d)}return l}(a,i,e,r,l,t,d):Promise.resolve({type:g.data,result:void 0}))})})),request:i,params:o[0].params,context:d});return o.forEach((e=>s(u.has(e.route.id),'`match.resolve()` was not called for route id "'+e.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.'))),p.filter(((e,a)=>c.has(o[a].route.id)))}async function ge(e){let{result:a,type:i}=e;if(Be(a)){let e;try{let i=a.headers.get("Content-Type");e=i&&/\bapplication\/json\b/.test(i)?null==a.body?null:await a.json():await a.text()}catch(e){return{type:g.error,error:e}}return i===g.error?{type:g.error,error:new G(a.status,a.statusText,e),statusCode:a.status,headers:a.headers}:{type:g.data,data:e,statusCode:a.status,headers:a.headers}}if(i===g.error){if(Ie(a)){var t,n;if(a.data instanceof Error)return{type:g.error,error:a.data,statusCode:null==(n=a.init)?void 0:n.status};a=new G((null==(t=a.init)?void 0:t.status)||500,void 0,a.data)}return{type:g.error,error:a,statusCode:U(a)?a.status:void 0}}var o,r,s,l;return function(e){let a=e;return a&&"object"==typeof a&&"object"==typeof a.data&&"function"==typeof a.subscribe&&"function"==typeof a.cancel&&"function"==typeof a.resolveData}(a)?{type:g.deferred,deferredData:a,statusCode:null==(o=a.init)?void 0:o.status,headers:(null==(r=a.init)?void 0:r.headers)&&new Headers(a.init.headers)}:Ie(a)?{type:g.data,data:a.data,statusCode:null==(s=a.init)?void 0:s.status,headers:null!=(l=a.init)&&l.headers?new Headers(a.init.headers):void 0}:{type:g.data,data:a}}function me(e,a,i,t,n,o){let r=e.headers.get("Location");if(s(r,"Redirects returned/thrown from loaders/actions must have a Location header"),!X.test(r)){let s=t.slice(0,t.findIndex((e=>e.route.id===i))+1);r=te(new URL(a.url),s,n,!0,r,o),e.headers.set("Location",r)}return e}function he(e,a,i){if(X.test(e)){let t=e,n=t.startsWith("//")?new URL(a.protocol+t):new URL(t),o=null!=M(n.pathname,i);if(n.origin===a.origin&&o)return n.pathname+n.search+n.hash}return e}function ke(e,a,i,t){let n=e.createURL(Pe(a)).toString(),o={signal:i};if(t&&Le(t.formMethod)){let{formMethod:e,formEncType:a}=t;o.method=e.toUpperCase(),"application/json"===a?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(t.json)):"text/plain"===a?o.body=t.text:"application/x-www-form-urlencoded"===a&&t.formData?o.body=ve(t.formData):o.body=t.formData}return new Request(n,o)}function ve(e){let a=new URLSearchParams;for(let[i,t]of e.entries())a.append(i,"string"==typeof t?t:t.name);return a}function fe(e){let a=new FormData;for(let[i,t]of e.entries())a.append(i,t);return a}function ye(e,a,i,t,n,o){let r,l={},d=null,c=!1,u={},p=t&&De(t[1])?t[1].error:void 0;return i.forEach(((i,t)=>{let b=a[t].route.id;if(s(!Me(i),"Cannot handle redirect results in processLoaderData"),De(i)){let a=i.error;if(void 0!==p&&(a=p,p=void 0),d=d||{},o)d[b]=a;else{let i=Ae(e,b);null==d[i.route.id]&&(d[i.route.id]=a)}l[b]=void 0,c||(c=!0,r=U(i.error)?i.error.status:500),i.headers&&(u[b]=i.headers)}else Oe(i)?(n.set(b,i.deferredData),l[b]=i.deferredData.data,null==i.statusCode||200===i.statusCode||c||(r=i.statusCode),i.headers&&(u[b]=i.headers)):(l[b]=i.data,i.statusCode&&200!==i.statusCode&&!c&&(r=i.statusCode),i.headers&&(u[b]=i.headers))})),void 0!==p&&t&&(d={[t[0]]:p},l[t[0]]=void 0),{loaderData:l,errors:d,statusCode:r||200,loaderHeaders:u}}function Se(e,a,i,n,o,r,l,d){let{loaderData:c,errors:u}=ye(a,i,n,o,d,!1);for(let a=0;ae.route.id===a))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function ze(e){let a=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function je(e,a){let{pathname:i,routeId:t,method:n,type:o,message:r}=void 0===a?{}:a,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request","route-discovery"===o?l='Unable to match URL "'+i+'" - the `unstable_patchRoutesOnMiss()` function threw the following error:\n'+r:n&&i&&t?l="You made a "+n+' request to "'+i+'" but did not provide a `loader` for route "'+t+'", so there is no way to handle the request.':"defer-action"===o?l="defer() is not supported in actions":"invalid-body"===o&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+t+'" does not match URL "'+i+'"'):404===e?(s="Not Found",l='No route matches URL "'+i+'"'):405===e&&(s="Method Not Allowed",n&&i&&t?l="You made a "+n.toUpperCase()+' request to "'+i+'" but did not provide an `action` for route "'+t+'", so there is no way to handle the request.':n&&(l='Invalid request method "'+n.toUpperCase()+'"')),new G(e||500,s,new Error(l),!0)}function Ce(e){for(let a=e.length-1;a>=0;a--){let i=e[a];if(Me(i))return{result:i,idx:a}}}function Pe(e){return u(t({},"string"==typeof e?p(e):e,{hash:""}))}function xe(e){return Be(e.result)&&$.has(e.result.status)}function Oe(e){return e.type===g.deferred}function De(e){return e.type===g.error}function Me(e){return(e&&e.type)===g.redirect}function Ie(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Be(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Re(e){return H.has(e.toLowerCase())}function Le(e){return K.has(e.toLowerCase())}async function Ne(e,a,i,t,n,o){for(let r=0;re.route.id===d.route.id)),u=null!=c&&!se(c,d)&&void 0!==(o&&o[d.route.id]);if(Oe(l)&&(n||u)){let e=t[r];s(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ee(l,e,n).then((e=>{e&&(i[r]=e||i[r])}))}}}async function Ee(e,a,i){if(void 0===i&&(i=!1),!await e.deferredData.resolveData(a)){if(i)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function _e(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Fe(e,a){let i="string"==typeof a?p(a).search:a.search;if(e[e.length-1].route.index&&_e(i||""))return e[e.length-1];let t=B(e);return t[t.length-1]}function We(e){let{formMethod:a,formAction:i,formEncType:t,text:n,formData:o,json:r}=e;if(a&&i&&t)return null!=n?{formMethod:a,formAction:i,formEncType:t,formData:void 0,json:void 0,text:n}:null!=o?{formMethod:a,formAction:i,formEncType:t,formData:o,json:void 0,text:void 0}:void 0!==r?{formMethod:a,formAction:i,formEncType:t,formData:void 0,json:r,text:void 0}:void 0}function Ge(e,a){if(a){return{state:"loading",location:e,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ue(e,a){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:a}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function qe(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},51219:function(e){ +function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;au,B6:()=>D,Gh:()=>R,HS:()=>N,Oi:()=>s,Rr:()=>p,TM:()=>o,VV:()=>U,aE:()=>ie,pX:()=>G,pb:()=>M,rc:()=>n,tH:()=>W,ue:()=>k,yD:()=>L}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));const r="popstate";function o(e){return void 0===e&&(e={}),m((function(e,a){let{pathname:i="/",search:t="",hash:n=""}=p(e.location.hash.substr(1));return i.startsWith("/")||i.startsWith(".")||(i="/"+i),c("",{pathname:i,search:t,hash:n},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}),(function(e,a){let i=e.document.querySelector("base"),t="";if(i&&i.getAttribute("href")){let a=e.location.href,i=a.indexOf("#");t=-1===i?a:a.slice(0,i)}return t+"#"+("string"==typeof a?a:u(a))}),(function(e,a){l("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}),e)}function s(e,a){if(!1===e||null==e)throw new Error(a)}function l(e,a){if(!e)try{throw new Error(a)}catch(e){}}function d(e,a){return{usr:e.state,key:e.key,idx:a}}function c(e,a,i,n){return void 0===i&&(i=null),t({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof a?p(a):a,{state:i,key:a&&a.key||n||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:a="/",search:i="",hash:t=""}=e;return i&&"?"!==i&&(a+="?"===i.charAt(0)?i:"?"+i),t&&"#"!==t&&(a+="#"===t.charAt(0)?t:"#"+t),a}function p(e){let a={};if(e){let i=e.indexOf("#");i>=0&&(a.hash=e.substr(i),e=e.substr(0,i));let t=e.indexOf("?");t>=0&&(a.search=e.substr(t),e=e.substr(0,t)),e&&(a.pathname=e)}return a}function m(e,a,i,o){void 0===o&&(o={});let{window:l=document.defaultView,v5Compat:p=!1}=o,m=l.history,b=n.Pop,g=null,h=k();function k(){return(m.state||{idx:null}).idx}function v(){b=n.Pop;let e=k(),a=null==e?null:e-h;h=e,g&&g({action:b,location:y.location,delta:a})}function f(e){let a="null"!==l.location.origin?l.location.origin:l.location.href,i="string"==typeof e?e:u(e);return i=i.replace(/ $/,"%20"),s(a,"No window.location.(origin|href) available to create URL for href: "+i),new URL(i,a)}null==h&&(h=0,m.replaceState(t({},m.state,{idx:h}),""));let y={get action(){return b},get location(){return e(l,m)},listen(e){if(g)throw new Error("A history only accepts one active listener");return l.addEventListener(r,v),g=e,()=>{l.removeEventListener(r,v),g=null}},createHref:e=>a(l,e),createURL:f,encodeLocation(e){let a=f(e);return{pathname:a.pathname,search:a.search,hash:a.hash}},push:function(e,a){b=n.Push;let t=c(y.location,e,a);i&&i(t,e),h=k()+1;let r=d(t,h),o=y.createHref(t);try{m.pushState(r,"",o)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;l.location.assign(o)}p&&g&&g({action:b,location:y.location,delta:1})},replace:function(e,a){b=n.Replace;let t=c(y.location,e,a);i&&i(t,e),h=k();let r=d(t,h),o=y.createHref(t);m.replaceState(r,"",o),p&&g&&g({action:b,location:y.location,delta:0})},go:e=>m.go(e)};return y}var b;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(b||(b={}));const g=new Set(["lazy","caseSensitive","path","id","index","children"]);function h(e,a,i,n){return void 0===i&&(i=[]),void 0===n&&(n={}),e.map(((e,r)=>{let o=[...i,String(r)],l="string"==typeof e.id?e.id:o.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!n[l],'Found a route id collision on id "'+l+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let i=t({},e,a(e),{id:l});return n[l]=i,i}{let i=t({},e,a(e),{id:l,children:void 0});return n[l]=i,e.children&&(i.children=h(e.children,a,o,n)),i}}))}function k(e,a,i){return void 0===i&&(i="/"),v(e,a,i,!1)}function v(e,a,i,t){let n=M(("string"==typeof a?p(a):a).pathname||"/",i);if(null==n)return null;let r=f(e);!function(e){e.sort(((e,a)=>e.score!==a.score?a.score-e.score:function(e,a){let i=e.length===a.length&&e.slice(0,-1).every(((e,i)=>e===a[i]));return i?e[e.length-1]-a[a.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),a.routesMeta.map((e=>e.childrenIndex)))))}(r);let o=null;for(let e=0;null==o&&e{let o={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};o.relativePath.startsWith("/")&&(s(o.relativePath.startsWith(t),'Absolute route path "'+o.relativePath+'" nested under path "'+t+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(t.length));let l=N([t,o.relativePath]),d=i.concat(o);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),f(e.children,a,d,l)),(null!=e.path||e.index)&&a.push({path:l,score:C(l,e.index),routesMeta:d})};return e.forEach(((e,a)=>{var i;if(""!==e.path&&null!=(i=e.path)&&i.includes("?"))for(let i of y(e.path))n(e,a,i);else n(e,a)})),a}function y(e){let a=e.split("/");if(0===a.length)return[];let[i,...t]=a,n=i.endsWith("?"),r=i.replace(/\?$/,"");if(0===t.length)return n?[r,""]:[r];let o=y(t.join("/")),s=[];return s.push(...o.map((e=>""===e?r:[r,e].join("/")))),n&&s.push(...o),s.map((a=>e.startsWith("/")&&""===a?"/":a))}const w=/^:[\w-]+$/,S=3,T=2,A=1,z=10,P=61!=i.j?-2:null,j=e=>"*"===e;function C(e,a){let i=e.split("/"),t=i.length;return i.some(j)&&(t+=P),a&&(t+=T),i.filter((e=>!j(e))).reduce(((e,a)=>e+(w.test(a)?S:""===a?A:z)),t)}function x(e,a,i){void 0===i&&(i=!1);let{routesMeta:t}=e,n={},r="/",o=[];for(let e=0;e(t.push({paramName:a,isOptional:null!=i}),i?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(t.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let r=new RegExp(n,a?void 0:"i");return[r,t]}(e.path,e.caseSensitive,e.end),n=a.match(i);if(!n)return null;let r=n[0],o=r.replace(/(.)\/+$/,"$1"),s=n.slice(1);return{params:t.reduce(((e,a,i)=>{let{paramName:t,isOptional:n}=a;if("*"===t){let e=s[i]||"";o=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[i];return e[t]=n&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:r,pathnameBase:o,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(a){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+a+")."),e}}function M(e,a){if("/"===a)return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,t=e.charAt(i);return t&&"/"!==t?null:e.slice(i)||"/"}function I(e,a,i,t){return"Cannot include a '"+e+"' character in a manually specified `to."+a+"` field ["+JSON.stringify(t)+"]. Please separate it out to the `to."+i+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function B(e){return e.filter(((e,a)=>0===a||e.route.path&&e.route.path.length>0))}function L(e,a){let i=B(e);return a?i.map(((e,a)=>a===i.length-1?e.pathname:e.pathnameBase)):i.map((e=>e.pathnameBase))}function R(e,a,i,n){let r;void 0===n&&(n=!1),"string"==typeof e?r=p(e):(r=t({},e),s(!r.pathname||!r.pathname.includes("?"),I("?","pathname","search",r)),s(!r.pathname||!r.pathname.includes("#"),I("#","pathname","hash",r)),s(!r.search||!r.search.includes("#"),I("#","search","hash",r)));let o,l=""===e||""===r.pathname,d=l?"/":r.pathname;if(null==d)o=i;else{let e=a.length-1;if(!n&&d.startsWith("..")){let a=d.split("/");for(;".."===a[0];)a.shift(),e-=1;r.pathname=a.join("/")}o=e>=0?a[e]:"/"}let c=function(e,a){void 0===a&&(a="/");let{pathname:i,search:t="",hash:n=""}="string"==typeof e?p(e):e,r=i?i.startsWith("/")?i:function(e,a){let i=a.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?i.length>1&&i.pop():"."!==e&&i.push(e)})),i.length>1?i.join("/"):"/"}(i,a):a;return{pathname:r,search:F(t),hash:_(n)}}(r,o),u=d&&"/"!==d&&d.endsWith("/"),m=(l||"."===d)&&i.endsWith("/");return c.pathname.endsWith("/")||!u&&!m||(c.pathname+="/"),c}const N=e=>e.join("/").replace(/\/\/+/g,"/"),E=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",_=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class W extends(61!=i.j?Error:null){}class U{constructor(e,a,i,t){void 0===t&&(t=!1),this.status=e,this.statusText=a||"",this.internal=t,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function G(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const K=["post","put","patch","delete"],V=new Set(K),q=["get",...K],H=new Set(q),$=new Set([301,302,303,307,308]),J=new Set([307,308]),Q={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Y={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},X=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ee=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ae="remix-router-transitions";function ie(e){const a=e.window?e.window:"undefined"!=typeof window?window:void 0,i=void 0!==a&&void 0!==a.document&&void 0!==a.document.createElement,r=!i;let o;if(s(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let a=e.detectErrorBoundary;o=e=>({hasErrorBoundary:a(e)})}else o=ee;let d,u,p,m={},g=h(e.routes,o,void 0,m),f=e.basename||"/",y=e.unstable_dataStrategy||pe,w=e.unstable_patchRoutesOnNavigation,S=t({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),T=null,A=new Set,z=1e3,P=new Set,j=null,C=null,x=null,D=null!=e.hydrationData,O=k(g,e.history.location,f),I=null;if(null==O&&!w){let a=Pe(404,{pathname:e.history.location.pathname}),{matches:i,route:t}=ze(g);O=i,I={[t.id]:a}}if(O&&!e.hydrationData){ua(O,g,e.history.location.pathname).active&&(O=null)}if(O)if(O.some((e=>e.route.lazy)))u=!1;else if(O.some((e=>e.route.loader)))if(S.v7_partialHydration){let a=e.hydrationData?e.hydrationData.loaderData:null,i=e.hydrationData?e.hydrationData.errors:null,t=e=>!e.route.loader||("function"!=typeof e.route.loader||!0!==e.route.loader.hydrate)&&(a&&void 0!==a[e.route.id]||i&&void 0!==i[e.route.id]);if(i){let e=O.findIndex((e=>void 0!==i[e.route.id]));u=O.slice(0,e+1).every(t)}else u=O.every(t)}else u=null!=e.hydrationData;else u=!0;else if(u=!1,O=[],S.v7_partialHydration){let a=ua(null,g,e.history.location.pathname);a.active&&a.matches&&(O=a.matches)}let B,L={historyAction:e.history.action,location:e.history.location,matches:O,initialized:u,navigation:Q,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||I,fetchers:new Map,blockers:new Map},R=n.Pop,N=!1,E=!1,F=new Map,_=null,W=!1,U=!1,K=[],V=new Set,q=new Map,H=0,$=-1,ie=new Map,re=new Set,se=new Map,le=new Map,ue=new Set,ve=new Map,fe=new Map,ye=new Map,Ce=!1;function Ie(e,a){void 0===a&&(a={}),L=t({},L,e);let i=[],n=[];S.v7_fetcherPersist&&L.fetchers.forEach(((e,a)=>{"idle"===e.state&&(ue.has(a)?n.push(a):i.push(a))})),[...A].forEach((e=>e(L,{deletedFetchers:n,unstable_viewTransitionOpts:a.viewTransitionOpts,unstable_flushSync:!0===a.flushSync}))),S.v7_fetcherPersist&&(i.forEach((e=>L.fetchers.delete(e))),n.forEach((e=>Ye(e))))}function Be(a,i,r){var o,s;let l,{flushSync:c}=void 0===r?{}:r,u=null!=L.actionData&&null!=L.navigation.formMethod&&Re(L.navigation.formMethod)&&"loading"===L.navigation.state&&!0!==(null==(o=a.state)?void 0:o._isRedirect);l=i.actionData?Object.keys(i.actionData).length>0?i.actionData:null:u?L.actionData:null;let p=i.loaderData?Se(L.loaderData,i.loaderData,i.matches||[],i.errors):L.loaderData,m=L.blockers;m.size>0&&(m=new Map(m),m.forEach(((e,a)=>m.set(a,Y))));let b,h=!0===N||null!=L.navigation.formMethod&&Re(L.navigation.formMethod)&&!0!==(null==(s=a.state)?void 0:s._isRedirect);if(d&&(g=d,d=void 0),W||R===n.Pop||(R===n.Push?e.history.push(a,a.state):R===n.Replace&&e.history.replace(a,a.state)),R===n.Pop){let e=F.get(L.location.pathname);e&&e.has(a.pathname)?b={currentLocation:L.location,nextLocation:a}:F.has(a.pathname)&&(b={currentLocation:a,nextLocation:L.location})}else if(E){let e=F.get(L.location.pathname);e?e.add(a.pathname):(e=new Set([a.pathname]),F.set(L.location.pathname,e)),b={currentLocation:L.location,nextLocation:a}}Ie(t({},i,{actionData:l,loaderData:p,historyAction:R,location:a,initialized:!0,navigation:Q,revalidation:"idle",restoreScrollPosition:ca(a,i.matches||L.matches),preventScrollReset:h,blockers:m}),{viewTransitionOpts:b,flushSync:!0===c}),R=n.Pop,N=!1,E=!1,W=!1,U=!1,K=[]}async function Le(a,i,r){B&&B.abort(),B=null,R=a,W=!0===(r&&r.startUninterruptedRevalidation),function(e,a){if(j&&x){let i=da(e,a);j[i]=x()}}(L.location,L.matches),N=!0===(r&&r.preventScrollReset),E=!0===(r&&r.enableViewTransition);let o=d||g,s=r&&r.overrideNavigation,l=k(o,i,f),c=!0===(r&&r.flushSync),u=ua(l,o,i.pathname);if(u.active&&u.matches&&(l=u.matches),!l){let{error:e,notFoundMatches:a,route:t}=oa(i.pathname);return void Be(i,{matches:a,loaderData:{},errors:{[t.id]:e}},{flushSync:c})}if(L.initialized&&!U&&function(e,a){if(e.pathname!==a.pathname||e.search!==a.search)return!1;if(""===e.hash)return""!==a.hash;if(e.hash===a.hash)return!0;if(""!==a.hash)return!0;return!1}(L.location,i)&&!(r&&r.submission&&Re(r.submission.formMethod)))return void Be(i,{matches:l},{flushSync:c});B=new AbortController;let p,m=ke(e.history,i,B.signal,r&&r.submission);if(r&&r.pendingError)p=[Ae(l).route.id,{type:b.error,error:r.pendingError}];else if(r&&r.submission&&Re(r.submission.formMethod)){let a=await async function(e,a,i,t,r,o){void 0===o&&(o={});$e();let s,l=function(e,a){let i={state:"submitting",location:e,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text};return i}(a,i);if(Ie({navigation:l},{flushSync:!0===o.flushSync}),r){let i=await pa(t,a.pathname,e.signal);if("aborted"===i.type)return{shortCircuited:!0};if("error"===i.type){let{boundaryId:e,error:t}=sa(a.pathname,i);return{matches:i.partialMatches,pendingActionResult:[e,{type:b.error,error:t}]}}if(!i.matches){let{notFoundMatches:e,error:i,route:t}=oa(a.pathname);return{matches:e,pendingActionResult:[t.id,{type:b.error,error:i}]}}t=i.matches}let d=_e(t,a);if(d.route.action||d.route.lazy){if(s=(await qe("action",e,[d],t))[0],e.signal.aborted)return{shortCircuited:!0}}else s={type:b.error,error:Pe(405,{method:e.method,pathname:a.pathname,routeId:d.route.id})};if(Me(s)){let a;if(o&&null!=o.replace)a=o.replace;else{a=he(s.response.headers.get("Location"),new URL(e.url),f)===L.location.pathname+L.location.search}return await Ve(e,s,{submission:i,replace:a}),{shortCircuited:!0}}if(De(s))throw Pe(400,{type:"defer-action"});if(Oe(s)){let e=Ae(t,d.route.id);return!0!==(o&&o.replace)&&(R=n.Push),{matches:t,pendingActionResult:[e.route.id,s]}}return{matches:t,pendingActionResult:[d.route.id,s]}}(m,i,r.submission,l,u.active,{replace:r.replace,flushSync:c});if(a.shortCircuited)return;if(a.pendingActionResult){let[e,t]=a.pendingActionResult;if(Oe(t)&&G(t.error)&&404===t.error.status)return B=null,void Be(i,{matches:a.matches,loaderData:{},errors:{[e]:t.error}})}l=a.matches||l,p=a.pendingActionResult,s=Ue(i,r.submission),c=!1,u.active=!1,m=ke(e.history,m.url,m.signal)}let{shortCircuited:h,matches:v,loaderData:y,errors:w}=await async function(a,i,n,r,o,s,l,c,u,p,m){let b=o||Ue(i,s),h=s||l||We(b),k=!(W||S.v7_partialHydration&&u);if(r){if(k){let e=Fe(m);Ie(t({navigation:b},void 0!==e?{actionData:e}:{}),{flushSync:p})}let e=await pa(n,i.pathname,a.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let{boundaryId:a,error:t}=sa(i.pathname,e);return{matches:e.partialMatches,loaderData:{},errors:{[a]:t}}}if(!e.matches){let{error:e,notFoundMatches:a,route:t}=oa(i.pathname);return{matches:a,loaderData:{},errors:{[t.id]:e}}}n=e.matches}let v=d||g,[y,w]=oe(e.history,L,n,h,i,S.v7_partialHydration&&!0===u,S.v7_skipActionErrorRevalidation,U,K,V,ue,se,re,v,f,m);if(la((e=>!(n&&n.some((a=>a.route.id===e)))||y&&y.some((a=>a.route.id===e)))),$=++H,0===y.length&&0===w.length){let e=aa();return Be(i,t({matches:n,loaderData:{},errors:m&&Oe(m[1])?{[m[0]]:m[1].error}:null},Te(m),e?{fetchers:new Map(L.fetchers)}:{}),{flushSync:p}),{shortCircuited:!0}}if(k){let e={};if(!r){e.navigation=b;let a=Fe(m);void 0!==a&&(e.actionData=a)}w.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let a=L.fetchers.get(e.key),i=Ge(void 0,a?a.data:void 0);L.fetchers.set(e.key,i)})),new Map(L.fetchers)}(w)),Ie(e,{flushSync:p})}w.forEach((e=>{q.has(e.key)&&Xe(e.key),e.controller&&q.set(e.key,e.controller)}));let T=()=>w.forEach((e=>Xe(e.key)));B&&B.signal.addEventListener("abort",T);let{loaderResults:A,fetcherResults:z}=await He(L.matches,n,y,w,a);if(a.signal.aborted)return{shortCircuited:!0};B&&B.signal.removeEventListener("abort",T);w.forEach((e=>q.delete(e.key)));let P=je([...A,...z]);if(P){if(P.idx>=y.length){let e=w[P.idx-y.length].key;re.add(e)}return await Ve(a,P.result,{replace:c}),{shortCircuited:!0}}let{loaderData:j,errors:C}=we(L,n,y,A,m,w,z,ve);ve.forEach(((e,a)=>{e.subscribe((i=>{(i||e.done)&&ve.delete(a)}))})),S.v7_partialHydration&&u&&L.errors&&Object.entries(L.errors).filter((e=>{let[a]=e;return!y.some((e=>e.route.id===a))})).forEach((e=>{let[a,i]=e;C=Object.assign(C||{},{[a]:i})}));let x=aa(),D=ia($),O=x||D||w.length>0;return t({matches:n,loaderData:j,errors:C},O?{fetchers:new Map(L.fetchers)}:{})}(m,i,l,u.active,s,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,c,p);h||(B=null,Be(i,t({matches:v||l},Te(p),{loaderData:y,errors:w})))}function Fe(e){return e&&!Oe(e[1])?{[e[0]]:e[1].data}:L.actionData?0===Object.keys(L.actionData).length?null:L.actionData:void 0}async function Ve(r,o,l){let{submission:d,fetcherSubmission:u,replace:p}=void 0===l?{}:l;o.response.headers.has("X-Remix-Revalidate")&&(U=!0);let m=o.response.headers.get("Location");s(m,"Expected a Location header on the redirect Response"),m=he(m,new URL(r.url),f);let b=c(L.location,m,{_isRedirect:!0});if(i){let i=!1;if(o.response.headers.has("X-Remix-Reload-Document"))i=!0;else if(X.test(m)){const t=e.history.createURL(m);i=t.origin!==a.location.origin||null==M(t.pathname,f)}if(i)return void(p?a.location.replace(m):a.location.assign(m))}B=null;let g=!0===p||o.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:h,formAction:k,formEncType:v}=L.navigation;!d&&!u&&h&&k&&v&&(d=We(L.navigation));let y=d||u;if(J.has(o.response.status)&&y&&Re(y.formMethod))await Le(g,b,{submission:t({},y,{formAction:m}),preventScrollReset:N});else{let e=Ue(b,d);await Le(g,b,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:N})}}async function qe(e,a,i,t){try{let n=await me(y,e,a,i,t,m,o);return await Promise.all(n.map(((e,n)=>{if(xe(e)){let r=e.result;return{type:b.redirect,response:ge(r,a,i[n].route.id,t,f,S.v7_relativeSplatPath)}}return be(e)})))}catch(e){return i.map((()=>({type:b.error,error:e})))}}async function He(a,i,t,n,r){let[o,...s]=await Promise.all([t.length?qe("loader",r,t,i):[],...n.map((a=>{if(a.matches&&a.match&&a.controller){return qe("loader",ke(e.history,a.path,a.controller.signal),[a.match],a.matches).then((e=>e[0]))}return Promise.resolve({type:b.error,error:Pe(404,{pathname:a.path})})}))]);return await Promise.all([Ne(a,t,o,o.map((()=>r.signal)),!1,L.loaderData),Ne(a,n.map((e=>e.match)),s,n.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:o,fetcherResults:s}}function $e(){U=!0,K.push(...la()),se.forEach(((e,a)=>{q.has(a)&&(V.add(a),Xe(a))}))}function Je(e,a,i){void 0===i&&(i={}),L.fetchers.set(e,a),Ie({fetchers:new Map(L.fetchers)},{flushSync:!0===(i&&i.flushSync)})}function Qe(e,a,i,t){void 0===t&&(t={});let n=Ae(L.matches,a);Ye(e),Ie({errors:{[n.route.id]:i},fetchers:new Map(L.fetchers)},{flushSync:!0===(t&&t.flushSync)})}function Ze(e){return S.v7_fetcherPersist&&(le.set(e,(le.get(e)||0)+1),ue.has(e)&&ue.delete(e)),L.fetchers.get(e)||Z}function Ye(e){let a=L.fetchers.get(e);!q.has(e)||a&&"loading"===a.state&&ie.has(e)||Xe(e),se.delete(e),ie.delete(e),re.delete(e),ue.delete(e),V.delete(e),L.fetchers.delete(e)}function Xe(e){let a=q.get(e);s(a,"Expected fetch controller: "+e),a.abort(),q.delete(e)}function ea(e){for(let a of e){let e=Ke(Ze(a).data);L.fetchers.set(a,e)}}function aa(){let e=[],a=!1;for(let i of re){let t=L.fetchers.get(i);s(t,"Expected fetcher: "+i),"loading"===t.state&&(re.delete(i),e.push(i),a=!0)}return ea(e),a}function ia(e){let a=[];for(let[i,t]of ie)if(t0}function ta(e){L.blockers.delete(e),fe.delete(e)}function na(e,a){let i=L.blockers.get(e)||Y;s("unblocked"===i.state&&"blocked"===a.state||"blocked"===i.state&&"blocked"===a.state||"blocked"===i.state&&"proceeding"===a.state||"blocked"===i.state&&"unblocked"===a.state||"proceeding"===i.state&&"unblocked"===a.state,"Invalid blocker state transition: "+i.state+" -> "+a.state);let t=new Map(L.blockers);t.set(e,a),Ie({blockers:t})}function ra(e){let{currentLocation:a,nextLocation:i,historyAction:t}=e;if(0===fe.size)return;fe.size>1&&l(!1,"A router only supports one blocker at a time");let n=Array.from(fe.entries()),[r,o]=n[n.length-1],s=L.blockers.get(r);return s&&"proceeding"===s.state?void 0:o({currentLocation:a,nextLocation:i,historyAction:t})?r:void 0}function oa(e){let a=Pe(404,{pathname:e}),i=d||g,{matches:t,route:n}=ze(i);return la(),{notFoundMatches:t,route:n,error:a}}function sa(e,a){return{boundaryId:Ae(a.partialMatches).route.id,error:Pe(400,{type:"route-discovery",pathname:e,message:null!=a.error&&"message"in a.error?a.error:String(a.error)})}}function la(e){let a=[];return ve.forEach(((i,t)=>{e&&!e(t)||(i.cancel(),a.push(t),ve.delete(t))})),a}function da(e,a){if(C){return C(e,a.map((e=>function(e,a){let{route:i,pathname:t,params:n}=e;return{id:i.id,pathname:t,params:n,data:a[i.id],handle:i.handle}}(e,L.loaderData))))||e.key}return e.key}function ca(e,a){if(j){let i=da(e,a),t=j[i];if("number"==typeof t)return t}return null}function ua(e,a,i){if(w){if(P.has(i))return{active:!1,matches:e};if(!e){return{active:!0,matches:v(a,i,f,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:v(a,i,f,!0)}}}return{active:!1,matches:null}}async function pa(e,a,i){let t=e;for(;;){let e=null==d,n=d||g;try{await de(w,a,t,n,m,o,ye,i)}catch(e){return{type:"error",error:e,partialMatches:t}}finally{e&&(g=[...g])}if(i.aborted)return{type:"aborted"};let r=k(n,a,f);if(r)return ma(a,P),{type:"success",matches:r};let s=v(n,a,f,!0);if(!s||t.length===s.length&&t.every(((e,a)=>e.route.id===s[a].route.id)))return ma(a,P),{type:"success",matches:null};t=s}}function ma(e,a){if(a.size>=z){let e=a.values().next().value;a.delete(e)}a.add(e)}return p={get basename(){return f},get future(){return S},get state(){return L},get routes(){return g},get window(){return a},initialize:function(){if(T=e.history.listen((a=>{let{action:i,location:t,delta:n}=a;if(Ce)return void(Ce=!1);l(0===fe.size||null!=n,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let r=ra({currentLocation:L.location,nextLocation:t,historyAction:i});return r&&null!=n?(Ce=!0,e.history.go(-1*n),void na(r,{state:"blocked",location:t,proceed(){na(r,{state:"proceeding",proceed:void 0,reset:void 0,location:t}),e.history.go(n)},reset(){let e=new Map(L.blockers);e.set(r,Y),Ie({blockers:e})}})):Le(i,t)})),i){!function(e,a){try{let i=e.sessionStorage.getItem(ae);if(i){let e=JSON.parse(i);for(let[i,t]of Object.entries(e||{}))t&&Array.isArray(t)&&a.set(i,new Set(t||[]))}}catch(e){}}(a,F);let e=()=>function(e,a){if(a.size>0){let i={};for(let[e,t]of a)i[e]=[...t];try{e.sessionStorage.setItem(ae,JSON.stringify(i))}catch(e){l(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(a,F);a.addEventListener("pagehide",e),_=()=>a.removeEventListener("pagehide",e)}return L.initialized||Le(n.Pop,L.location,{initialHydration:!0}),p},subscribe:function(e){return A.add(e),()=>A.delete(e)},enableScrollRestoration:function(e,a,i){if(j=e,x=a,C=i||null,!D&&L.navigation===Q){D=!0;let e=ca(L.location,L.matches);null!=e&&Ie({restoreScrollPosition:e})}return()=>{j=null,x=null,C=null}},navigate:async function a(i,r){if("number"==typeof i)return void e.history.go(i);let o=te(L.location,L.matches,f,S.v7_prependBasename,i,S.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:s,submission:l,error:d}=ne(S.v7_normalizeFormMethod,!1,o,r),u=L.location,p=c(L.location,s,r&&r.state);p=t({},p,e.history.encodeLocation(p));let m=r&&null!=r.replace?r.replace:void 0,b=n.Push;!0===m?b=n.Replace:!1===m||null!=l&&Re(l.formMethod)&&l.formAction===L.location.pathname+L.location.search&&(b=n.Replace);let g=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,h=!0===(r&&r.unstable_flushSync),k=ra({currentLocation:u,nextLocation:p,historyAction:b});if(!k)return await Le(b,p,{submission:l,pendingError:d,preventScrollReset:g,replace:r&&r.replace,enableViewTransition:r&&r.unstable_viewTransition,flushSync:h});na(k,{state:"blocked",location:p,proceed(){na(k,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),a(i,r)},reset(){let e=new Map(L.blockers);e.set(k,Y),Ie({blockers:e})}})},fetch:function(a,i,t,n){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(a)&&Xe(a);let o=!0===(n&&n.unstable_flushSync),l=d||g,c=te(L.location,L.matches,f,S.v7_prependBasename,t,S.v7_relativeSplatPath,i,null==n?void 0:n.relative),u=k(l,c,f),p=ua(u,l,c);if(p.active&&p.matches&&(u=p.matches),!u)return void Qe(a,i,Pe(404,{pathname:c}),{flushSync:o});let{path:m,submission:b,error:h}=ne(S.v7_normalizeFormMethod,!0,c,n);if(h)return void Qe(a,i,h,{flushSync:o});let v=_e(u,m);N=!0===(n&&n.preventScrollReset),b&&Re(b.formMethod)?async function(a,i,t,n,r,o,l,c){function u(e){if(!e.route.action&&!e.route.lazy){let e=Pe(405,{method:c.formMethod,pathname:t,routeId:i});return Qe(a,i,e,{flushSync:l}),!0}return!1}if($e(),se.delete(a),!o&&u(n))return;let p=L.fetchers.get(a);Je(a,function(e,a){let i={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:a?a.data:void 0};return i}(c,p),{flushSync:l});let m=new AbortController,b=ke(e.history,t,m.signal,c);if(o){let e=await pa(r,t,b.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=sa(t,e);return void Qe(a,i,n,{flushSync:l})}if(!e.matches)return void Qe(a,i,Pe(404,{pathname:t}),{flushSync:l});if(u(n=_e(r=e.matches,t)))return}q.set(a,m);let h=H,v=await qe("action",b,[n],r),y=v[0];if(b.signal.aborted)return void(q.get(a)===m&&q.delete(a));if(S.v7_fetcherPersist&&ue.has(a)){if(Me(y)||Oe(y))return void Je(a,Ke(void 0))}else{if(Me(y))return q.delete(a),$>h?void Je(a,Ke(void 0)):(re.add(a),Je(a,Ge(c)),Ve(b,y,{fetcherSubmission:c}));if(Oe(y))return void Qe(a,i,y.error)}if(De(y))throw Pe(400,{type:"defer-action"});let w=L.navigation.location||L.location,T=ke(e.history,w,m.signal),A=d||g,z="idle"!==L.navigation.state?k(A,L.navigation.location,f):L.matches;s(z,"Didn't find any matches after fetcher action");let P=++H;ie.set(a,P);let j=Ge(c,y.data);L.fetchers.set(a,j);let[C,x]=oe(e.history,L,z,c,w,!1,S.v7_skipActionErrorRevalidation,U,K,V,ue,se,re,A,f,[n.route.id,y]);x.filter((e=>e.key!==a)).forEach((e=>{let a=e.key,i=L.fetchers.get(a),t=Ge(void 0,i?i.data:void 0);L.fetchers.set(a,t),q.has(a)&&Xe(a),e.controller&&q.set(a,e.controller)})),Ie({fetchers:new Map(L.fetchers)});let D=()=>x.forEach((e=>Xe(e.key)));m.signal.addEventListener("abort",D);let{loaderResults:O,fetcherResults:M}=await He(L.matches,z,C,x,T);if(m.signal.aborted)return;m.signal.removeEventListener("abort",D),ie.delete(a),q.delete(a),x.forEach((e=>q.delete(e.key)));let I=je([...O,...M]);if(I){if(I.idx>=C.length){let e=x[I.idx-C.length].key;re.add(e)}return Ve(T,I.result)}let{loaderData:N,errors:E}=we(L,L.matches,C,O,void 0,x,M,ve);if(L.fetchers.has(a)){let e=Ke(y.data);L.fetchers.set(a,e)}ia(P),"loading"===L.navigation.state&&P>$?(s(R,"Expected pending action"),B&&B.abort(),Be(L.navigation.location,{matches:z,loaderData:N,errors:E,fetchers:new Map(L.fetchers)})):(Ie({errors:E,loaderData:Se(L.loaderData,N,z,E),fetchers:new Map(L.fetchers)}),U=!1)}(a,i,m,v,u,p.active,o,b):(se.set(a,{routeId:i,path:m}),async function(a,i,t,n,r,o,l,d){let c=L.fetchers.get(a);Je(a,Ge(d,c?c.data:void 0),{flushSync:l});let u=new AbortController,p=ke(e.history,t,u.signal);if(o){let e=await pa(r,t,p.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=sa(t,e);return void Qe(a,i,n,{flushSync:l})}if(!e.matches)return void Qe(a,i,Pe(404,{pathname:t}),{flushSync:l});n=_e(r=e.matches,t)}q.set(a,u);let m=H,b=await qe("loader",p,[n],r),g=b[0];De(g)&&(g=await Ee(g,p.signal,!0)||g);q.get(a)===u&&q.delete(a);if(p.signal.aborted)return;if(ue.has(a))return void Je(a,Ke(void 0));if(Me(g))return $>m?void Je(a,Ke(void 0)):(re.add(a),void await Ve(p,g));if(Oe(g))return void Qe(a,i,g.error);s(!De(g),"Unhandled fetcher deferred data"),Je(a,Ke(g.data))}(a,i,m,v,u,p.active,o,b))},revalidate:function(){$e(),Ie({revalidation:"loading"}),"submitting"!==L.navigation.state&&("idle"!==L.navigation.state?Le(R||L.historyAction,L.navigation.location,{overrideNavigation:L.navigation}):Le(L.historyAction,L.location,{startUninterruptedRevalidation:!0}))},createHref:a=>e.history.createHref(a),encodeLocation:a=>e.history.encodeLocation(a),getFetcher:Ze,deleteFetcher:function(e){if(S.v7_fetcherPersist){let a=(le.get(e)||0)-1;a<=0?(le.delete(e),ue.add(e)):le.set(e,a)}else Ye(e);Ie({fetchers:new Map(L.fetchers)})},dispose:function(){T&&T(),_&&_(),A.clear(),B&&B.abort(),L.fetchers.forEach(((e,a)=>Ye(a))),L.blockers.forEach(((e,a)=>ta(a)))},getBlocker:function(e,a){let i=L.blockers.get(e)||Y;return fe.get(e)!==a&&fe.set(e,a),i},deleteBlocker:ta,patchRoutes:function(e,a){let i=null==d;ce(e,a,d||g,m,o),i&&(g=[...g],Ie({}))},_internalFetchControllers:q,_internalActiveDeferreds:ve,_internalSetRoutes:function(e){m={},d=h(e,o,void 0,m)}},p}Symbol("deferred");function te(e,a,i,t,n,r,o,s){let l,d;if(o){l=[];for(let e of a)if(l.push(e),e.route.id===o){d=e;break}}else l=a,d=a[a.length-1];let c=R(n||".",L(l,r),M(e.pathname,i)||e.pathname,"path"===s);return null==n&&(c.search=e.search,c.hash=e.hash),null!=n&&""!==n&&"."!==n||!d||!d.route.index||Fe(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),t&&"/"!==i&&(c.pathname="/"===c.pathname?i:N([i,c.pathname])),u(c)}function ne(e,a,i,t){if(!t||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(t))return{path:i};if(t.formMethod&&!Le(t.formMethod))return{path:i,error:Pe(405,{method:t.formMethod})};let n,r,o=()=>({path:i,error:Pe(400,{type:"invalid-body"})}),l=t.formMethod||"get",d=e?l.toUpperCase():l.toLowerCase(),c=Ce(i);if(void 0!==t.body){if("text/plain"===t.formEncType){if(!Re(d))return o();let e="string"==typeof t.body?t.body:t.body instanceof FormData||t.body instanceof URLSearchParams?Array.from(t.body.entries()).reduce(((e,a)=>{let[i,t]=a;return""+e+i+"="+t+"\n"}),""):String(t.body);return{path:i,submission:{formMethod:d,formAction:c,formEncType:t.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===t.formEncType){if(!Re(d))return o();try{let e="string"==typeof t.body?JSON.parse(t.body):t.body;return{path:i,submission:{formMethod:d,formAction:c,formEncType:t.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return o()}}}if(s("function"==typeof FormData,"FormData is not available in this environment"),t.formData)n=ve(t.formData),r=t.formData;else if(t.body instanceof FormData)n=ve(t.body),r=t.body;else if(t.body instanceof URLSearchParams)n=t.body,r=fe(n);else if(null==t.body)n=new URLSearchParams,r=new FormData;else try{n=new URLSearchParams(t.body),r=fe(n)}catch(e){return o()}let m={formMethod:d,formAction:c,formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:r,json:void 0,text:void 0};if(Re(m.formMethod))return{path:i,submission:m};let b=p(i);return a&&b.search&&Fe(b.search)&&n.append("index",""),b.search="?"+n,{path:u(b),submission:m}}function re(e,a){let i=e;if(a){let t=e.findIndex((e=>e.route.id===a));t>=0&&(i=e.slice(0,t))}return i}function oe(e,a,i,n,r,o,s,l,d,c,u,p,m,b,g,h){let v=h?Oe(h[1])?h[1].error:h[1].data:void 0,f=e.createURL(a.location),y=e.createURL(r),w=h&&Oe(h[1])?h[0]:void 0,S=w?re(i,w):i,T=h?h[1].statusCode:void 0,A=s&&T&&T>=400,z=S.filter(((e,i)=>{let{route:r}=e;if(r.lazy)return!0;if(null==r.loader)return!1;if(o)return!("function"==typeof r.loader&&!r.loader.hydrate)||void 0===a.loaderData[r.id]&&(!a.errors||void 0===a.errors[r.id]);if(function(e,a,i){let t=!a||i.route.id!==a.route.id,n=void 0===e[i.route.id];return t||n}(a.loaderData,a.matches[i],e)||d.some((a=>a===e.route.id)))return!0;let s=a.matches[i],c=e;return le(e,t({currentUrl:f,currentParams:s.params,nextUrl:y,nextParams:c.params},n,{actionResult:v,actionStatus:T,defaultShouldRevalidate:!A&&(l||f.pathname+f.search===y.pathname+y.search||f.search!==y.search||se(s,c))}))})),P=[];return p.forEach(((e,r)=>{if(o||!i.some((a=>a.route.id===e.routeId))||u.has(r))return;let s=k(b,e.path,g);if(!s)return void P.push({key:r,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let d=a.fetchers.get(r),p=_e(s,e.path),h=!1;m.has(r)?h=!1:c.has(r)?(c.delete(r),h=!0):h=d&&"idle"!==d.state&&void 0===d.data?l:le(p,t({currentUrl:f,currentParams:a.matches[a.matches.length-1].params,nextUrl:y,nextParams:i[i.length-1].params},n,{actionResult:v,actionStatus:T,defaultShouldRevalidate:!A&&l})),h&&P.push({key:r,routeId:e.routeId,path:e.path,matches:s,match:p,controller:new AbortController})})),[z,P]}function se(e,a){let i=e.route.path;return e.pathname!==a.pathname||null!=i&&i.endsWith("*")&&e.params["*"]!==a.params["*"]}function le(e,a){if(e.route.shouldRevalidate){let i=e.route.shouldRevalidate(a);if("boolean"==typeof i)return i}return a.defaultShouldRevalidate}async function de(e,a,i,t,n,r,o,s){let l=[a,...i.map((e=>e.route.id))].join("-");try{let c=o.get(l);c||(c=e({path:a,matches:i,patch:(e,a)=>{s.aborted||ce(e,a,t,n,r)}}),o.set(l,c)),c&&("object"==typeof(d=c)&&null!=d&&"then"in d)&&await c}finally{o.delete(l)}var d}function ce(e,a,i,t,n){if(e){var r;let i=t[e];s(i,"No route found to patch children into: routeId = "+e);let o=h(a,n,[e,"patch",String((null==(r=i.children)?void 0:r.length)||"0")],t);i.children?i.children.push(...o):i.children=o}else{let e=h(a,n,["patch",String(i.length||"0")],t);i.push(...e)}}async function ue(e,a,i){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let r=i[e.id];s(r,"No route found in manifest");let o={};for(let e in n){let a=void 0!==r[e]&&"hasErrorBoundary"!==e;l(!a,'Route "'+r.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),a||g.has(e)||(o[e]=n[e])}Object.assign(r,o),Object.assign(r,t({},a(r),{lazy:void 0}))}function pe(e){return Promise.all(e.matches.map((e=>e.resolve())))}async function me(e,a,i,n,r,o,l,d){let c=n.reduce(((e,a)=>e.add(a.route.id)),new Set),u=new Set,p=await e({matches:r.map((e=>{let n=c.has(e.route.id);return t({},e,{shouldLoad:n,resolve:t=>(u.add(e.route.id),n?async function(e,a,i,t,n,r,o){let l,d,c=t=>{let n,s=new Promise(((e,a)=>n=a));d=()=>n(),a.signal.addEventListener("abort",d);let l,c=n=>"function"!=typeof t?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+i.route.id+"]")):t({request:a,params:i.params,context:o},...void 0!==n?[n]:[]);return l=r?r((e=>c(e))):(async()=>{try{return{type:"data",result:await c()}}catch(e){return{type:"error",result:e}}})(),Promise.race([l,s])};try{let r=i.route[e];if(i.route.lazy)if(r){let e,[a]=await Promise.all([c(r).catch((a=>{e=a})),ue(i.route,n,t)]);if(void 0!==e)throw e;l=a}else{if(await ue(i.route,n,t),r=i.route[e],!r){if("action"===e){let e=new URL(a.url),t=e.pathname+e.search;throw Pe(405,{method:a.method,pathname:t,routeId:i.route.id})}return{type:b.data,result:void 0}}l=await c(r)}else{if(!r){let e=new URL(a.url);throw Pe(404,{pathname:e.pathname+e.search})}l=await c(r)}s(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+i.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:b.error,result:e}}finally{d&&a.signal.removeEventListener("abort",d)}return l}(a,i,e,o,l,t,d):Promise.resolve({type:b.data,result:void 0}))})})),request:i,params:r[0].params,context:d});return r.forEach((e=>s(u.has(e.route.id),'`match.resolve()` was not called for route id "'+e.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.'))),p.filter(((e,a)=>c.has(r[a].route.id)))}async function be(e){let{result:a,type:i}=e;if(Be(a)){let e;try{let i=a.headers.get("Content-Type");e=i&&/\bapplication\/json\b/.test(i)?null==a.body?null:await a.json():await a.text()}catch(e){return{type:b.error,error:e}}return i===b.error?{type:b.error,error:new U(a.status,a.statusText,e),statusCode:a.status,headers:a.headers}:{type:b.data,data:e,statusCode:a.status,headers:a.headers}}if(i===b.error){if(Ie(a)){var t,n;if(a.data instanceof Error)return{type:b.error,error:a.data,statusCode:null==(n=a.init)?void 0:n.status};a=new U((null==(t=a.init)?void 0:t.status)||500,void 0,a.data)}return{type:b.error,error:a,statusCode:G(a)?a.status:void 0}}var r,o,s,l;return function(e){let a=e;return a&&"object"==typeof a&&"object"==typeof a.data&&"function"==typeof a.subscribe&&"function"==typeof a.cancel&&"function"==typeof a.resolveData}(a)?{type:b.deferred,deferredData:a,statusCode:null==(r=a.init)?void 0:r.status,headers:(null==(o=a.init)?void 0:o.headers)&&new Headers(a.init.headers)}:Ie(a)?{type:b.data,data:a.data,statusCode:null==(s=a.init)?void 0:s.status,headers:null!=(l=a.init)&&l.headers?new Headers(a.init.headers):void 0}:{type:b.data,data:a}}function ge(e,a,i,t,n,r){let o=e.headers.get("Location");if(s(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!X.test(o)){let s=t.slice(0,t.findIndex((e=>e.route.id===i))+1);o=te(new URL(a.url),s,n,!0,o,r),e.headers.set("Location",o)}return e}function he(e,a,i){if(X.test(e)){let t=e,n=t.startsWith("//")?new URL(a.protocol+t):new URL(t),r=null!=M(n.pathname,i);if(n.origin===a.origin&&r)return n.pathname+n.search+n.hash}return e}function ke(e,a,i,t){let n=e.createURL(Ce(a)).toString(),r={signal:i};if(t&&Re(t.formMethod)){let{formMethod:e,formEncType:a}=t;r.method=e.toUpperCase(),"application/json"===a?(r.headers=new Headers({"Content-Type":a}),r.body=JSON.stringify(t.json)):"text/plain"===a?r.body=t.text:"application/x-www-form-urlencoded"===a&&t.formData?r.body=ve(t.formData):r.body=t.formData}return new Request(n,r)}function ve(e){let a=new URLSearchParams;for(let[i,t]of e.entries())a.append(i,"string"==typeof t?t:t.name);return a}function fe(e){let a=new FormData;for(let[i,t]of e.entries())a.append(i,t);return a}function ye(e,a,i,t,n,r){let o,l={},d=null,c=!1,u={},p=t&&Oe(t[1])?t[1].error:void 0;return i.forEach(((i,t)=>{let m=a[t].route.id;if(s(!Me(i),"Cannot handle redirect results in processLoaderData"),Oe(i)){let a=i.error;if(void 0!==p&&(a=p,p=void 0),d=d||{},r)d[m]=a;else{let i=Ae(e,m);null==d[i.route.id]&&(d[i.route.id]=a)}l[m]=void 0,c||(c=!0,o=G(i.error)?i.error.status:500),i.headers&&(u[m]=i.headers)}else De(i)?(n.set(m,i.deferredData),l[m]=i.deferredData.data,null==i.statusCode||200===i.statusCode||c||(o=i.statusCode),i.headers&&(u[m]=i.headers)):(l[m]=i.data,i.statusCode&&200!==i.statusCode&&!c&&(o=i.statusCode),i.headers&&(u[m]=i.headers))})),void 0!==p&&t&&(d={[t[0]]:p},l[t[0]]=void 0),{loaderData:l,errors:d,statusCode:o||200,loaderHeaders:u}}function we(e,a,i,n,r,o,l,d){let{loaderData:c,errors:u}=ye(a,i,n,r,d,!1);for(let a=0;ae.route.id===a))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function ze(e){let a=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function Pe(e,a){let{pathname:i,routeId:t,method:n,type:r,message:o}=void 0===a?{}:a,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request","route-discovery"===r?l='Unable to match URL "'+i+'" - the `unstable_patchRoutesOnNavigation()` function threw the following error:\n'+o:n&&i&&t?l="You made a "+n+' request to "'+i+'" but did not provide a `loader` for route "'+t+'", so there is no way to handle the request.':"defer-action"===r?l="defer() is not supported in actions":"invalid-body"===r&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+t+'" does not match URL "'+i+'"'):404===e?(s="Not Found",l='No route matches URL "'+i+'"'):405===e&&(s="Method Not Allowed",n&&i&&t?l="You made a "+n.toUpperCase()+' request to "'+i+'" but did not provide an `action` for route "'+t+'", so there is no way to handle the request.':n&&(l='Invalid request method "'+n.toUpperCase()+'"')),new U(e||500,s,new Error(l),!0)}function je(e){for(let a=e.length-1;a>=0;a--){let i=e[a];if(Me(i))return{result:i,idx:a}}}function Ce(e){return u(t({},"string"==typeof e?p(e):e,{hash:""}))}function xe(e){return Be(e.result)&&$.has(e.result.status)}function De(e){return e.type===b.deferred}function Oe(e){return e.type===b.error}function Me(e){return(e&&e.type)===b.redirect}function Ie(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Be(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Le(e){return H.has(e.toLowerCase())}function Re(e){return V.has(e.toLowerCase())}async function Ne(e,a,i,t,n,r){for(let o=0;oe.route.id===d.route.id)),u=null!=c&&!se(c,d)&&void 0!==(r&&r[d.route.id]);if(De(l)&&(n||u)){let e=t[o];s(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ee(l,e,n).then((e=>{e&&(i[o]=e||i[o])}))}}}async function Ee(e,a,i){if(void 0===i&&(i=!1),!await e.deferredData.resolveData(a)){if(i)try{return{type:b.data,data:e.deferredData.unwrappedData}}catch(e){return{type:b.error,error:e}}return{type:b.data,data:e.deferredData.data}}}function Fe(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function _e(e,a){let i="string"==typeof a?p(a).search:a.search;if(e[e.length-1].route.index&&Fe(i||""))return e[e.length-1];let t=B(e);return t[t.length-1]}function We(e){let{formMethod:a,formAction:i,formEncType:t,text:n,formData:r,json:o}=e;if(a&&i&&t)return null!=n?{formMethod:a,formAction:i,formEncType:t,formData:void 0,json:void 0,text:n}:null!=r?{formMethod:a,formAction:i,formEncType:t,formData:r,json:void 0,text:void 0}:void 0!==o?{formMethod:a,formAction:i,formEncType:t,formData:void 0,json:o,text:void 0}:void 0}function Ue(e,a){if(a){return{state:"loading",location:e,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ge(e,a){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:a}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function Ke(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},51219:function(e){ /*! * Compressor.js v1.2.1 * https://fengyuanchen.github.io/compressorjs @@ -172,7 +172,7 @@ function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1 * * Date: 2023-02-28T14:09:41.732Z */ -e.exports=function(){"use strict";function e(e,a){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),i.push.apply(i,t)}return i}function a(a){for(var i=1;i0&&e<1/0},m=Array.prototype.slice;function h(e){return Array.from?Array.from(e):m.call(e)}var k=/^image\/.+$/;function v(e){return k.test(e)}function f(e){var a=v(e)?e.substr(6):"";return"jpeg"===a&&(a="jpg"),".".concat(a)}var y=String.fromCharCode;function S(e,a,i){var t,n="";for(i+=a,t=a;t0;)i.push(y.apply(null,h(n.subarray(0,t)))),n=n.subarray(t);return"data:".concat(a,";base64,").concat(w(i.join("")))}function A(e){var a,i=new DataView(e);try{var t,n,o;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var r=i.byteLength,s=2;s+1=8&&(o=l+c)}}}if(o){var u,p,b=i.getUint16(o,t);for(p=0;p1&&void 0!==arguments[1]?arguments[1]:1e11;return j.test(e)?Math.round(e*a)/a:e}function P(e){var a=e.aspectRatio,i=e.height,t=e.width,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",o=g(t),r=g(i);if(o&&r){var s=i*a;("contain"===n||"none"===n)&&s>t||"cover"===n&&s1&&r(l,z(d)),s&&(e.exif=x(n)),l.url=o||s?!I||d>1?T(n,t):I.createObjectURL(a):n,e.load(l)},l.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},l.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},l.onloadend=function(){e.reader=null},o||s?l.readAsArrayBuffer(a):l.readAsDataURL(a)}else this.load({url:I.createObjectURL(a)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var i=this,t=this.file,n=this.image;n.onload=function(){i.draw(a(a({},e),{},{naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}))},n.onabort=function(){i.fail(new Error("Aborted to load the image."))},n.onerror=function(){i.fail(new Error("Failed to load the image."))},b.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(b.navigator.userAgent)&&(n.crossOrigin="anonymous"),n.alt=t.name,n.src=e.url}},{key:"draw",value:function(e){var a=this,i=e.naturalWidth,t=e.naturalHeight,n=e.rotate,o=void 0===n?0:n,r=e.scaleX,s=void 0===r?1:r,l=e.scaleY,d=void 0===l?1:l,u=this.file,p=this.image,b=this.options,m=document.createElement("canvas"),h=m.getContext("2d"),k=Math.abs(o)%180==90,f=("contain"===b.resize||"cover"===b.resize)&&g(b.width)&&g(b.height),y=Math.max(b.maxWidth,0)||1/0,S=Math.max(b.maxHeight,0)||1/0,w=Math.max(b.minWidth,0)||0,A=Math.max(b.minHeight,0)||0,z=i/t,j=b.width,x=b.height;if(k){var D=[S,y];y=D[0],S=D[1];var I=[A,w];w=I[0],A=I[1];var B=[x,j];j=B[0],x=B[1]}f&&(z=j/x);var R=P({aspectRatio:z,width:y,height:S},"contain");y=R.width,S=R.height;var L=P({aspectRatio:z,width:w,height:A},"cover");if(w=L.width,A=L.height,f){var N=P({aspectRatio:z,width:j,height:x},b.resize);j=N.width,x=N.height}else{var E=P({aspectRatio:z,width:j,height:x}),_=E.width;j=void 0===_?i:_;var F=E.height;x=void 0===F?t:F}var W=-(j=Math.floor(C(Math.min(Math.max(j,w),y))))/2,G=-(x=Math.floor(C(Math.min(Math.max(x,A),S))))/2,U=j,q=x,K=[];if(f){var V=0,H=0,$=i,J=t,Q=P({aspectRatio:z,width:i,height:t},{contain:"cover",cover:"contain"}[b.resize]);$=Q.width,J=Q.height,V=(i-$)/2,H=(t-J)/2,K.push(V,H,$,J)}if(K.push(W,G,U,q),k){var Z=[x,j];j=Z[0],x=Z[1]}m.width=j,m.height=x,v(b.mimeType)||(b.mimeType=u.type);var Y="transparent";u.size>b.convertSize&&b.convertTypes.indexOf(b.mimeType)>=0&&(b.mimeType="image/jpeg");var X="image/jpeg"===b.mimeType;if(X&&(Y="#fff"),h.fillStyle=Y,h.fillRect(0,0,j,x),b.beforeDraw&&b.beforeDraw.call(this,h,m),!this.aborted&&(h.save(),h.translate(j/2,x/2),h.rotate(o*Math.PI/180),h.scale(s,d),h.drawImage.apply(h,[p].concat(K)),h.restore(),b.drew&&b.drew.call(this,h,m),!this.aborted)){var ee=function(e){if(!a.aborted){var n=function(e){return a.done({naturalWidth:i,naturalHeight:t,result:e})};if(e&&X&&b.retainExif&&a.exif&&a.exif.length>0){var o=function(e){return n(c(T(O(e,a.exif),b.mimeType)))};if(e.arrayBuffer)e.arrayBuffer().then(o).catch((function(){a.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))}));else{var r=new M;a.reader=r,r.onload=function(e){var a=e.target;o(a.result)},r.onabort=function(){a.fail(new Error("Aborted to read the compressed image with FileReader."))},r.onerror=function(){a.fail(new Error("Failed to read the compressed image with FileReader."))},r.onloadend=function(){a.reader=null},r.readAsArrayBuffer(e)}}else n(e)}};m.toBlob?m.toBlob(ee,b.mimeType,b.quality):ee(c(m.toDataURL(b.mimeType,b.quality)))}}},{key:"done",value:function(e){var a=e.naturalWidth,i=e.naturalHeight,t=e.result,n=this.file,o=this.image,r=this.options;if(I&&0===o.src.indexOf("blob:")&&I.revokeObjectURL(o.src),t)if(r.strict&&!r.retainExif&&t.size>n.size&&r.mimeType===n.type&&!(r.width>a||r.height>i||r.minWidth>a||r.minHeight>i||r.maxWidth{"use strict";var t=i(35959),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return t.isMemo(e)?r:s[e.$$typeof]||n}s[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[t.Memo]=r;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(a,i,t){if("string"!=typeof i){if(g){var n=b(i);n&&n!==g&&e(a,n,t)}var r=c(i);u&&(r=r.concat(u(i)));for(var s=l(a),m=l(i),h=0;h{var t;!function(){var n=Object.assign||function(e){for(var a,i=1;i=2?"s":"")}),"mois",(function(e){return"semaine"+(e>=2?"s":"")}),(function(e){return"jour"+(e>=2?"s":"")}),(function(e){return"heure"+(e>=2?"s":"")}),(function(e){return"minute"+(e>=2?"s":"")}),(function(e){return"seconde"+(e>=2?"s":"")}),(function(e){return"milliseconde"+(e>=2?"s":"")}),","),gr:r,he:l((function(e){return 1===e?"שנה":"שנים"}),(function(e){return 1===e?"חודש":"חודשים"}),(function(e){return 1===e?"שבוע":"שבועות"}),(function(e){return 1===e?"יום":"ימים"}),(function(e){return 1===e?"שעה":"שעות"}),(function(e){return 1===e?"דקה":"דקות"}),(function(e){return 1===e?"שניה":"שניות"}),(function(e){return 1===e?"מילישנייה":"מילישניות"})),hr:l((function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"}),(function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"}),(function(e){return e%10==1&&11!==e?"tjedan":"tjedna"}),(function(e){return 1===e?"dan":"dana"}),(function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"}),(function(e){var a=e%10;return 2!==a&&3!==a&&4!==a||!(e<10||e>14)?"minuta":"minute"}),(function(e){var a=e%10;return 5===a||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi"}),(function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"}),","),hi:l("साल",(function(e){return 1===e?"महीना":"महीने"}),(function(e){return 1===e?"हफ़्ता":"हफ्ते"}),"दिन",(function(e){return 1===e?"घंटा":"घंटे"}),"मिनट","सेकंड","मिलीसेकंड"),hu:l("év","hónap","hét","nap","óra","perc","másodperc","ezredmásodperc",","),id:l("tahun","bulan","minggu","hari","jam","menit","detik","milidetik"),is:l("ár",(function(e){return"mánuð"+(1===e?"ur":"ir")}),(function(e){return"vik"+(1===e?"a":"ur")}),(function(e){return"dag"+(1===e?"ur":"ar")}),(function(e){return"klukkutím"+(1===e?"i":"ar")}),(function(e){return"mínút"+(1===e?"a":"ur")}),(function(e){return"sekúnd"+(1===e?"a":"ur")}),(function(e){return"millisekúnd"+(1===e?"a":"ur")})),it:l((function(e){return"ann"+(1===e?"o":"i")}),(function(e){return"mes"+(1===e?"e":"i")}),(function(e){return"settiman"+(1===e?"a":"e")}),(function(e){return"giorn"+(1===e?"o":"i")}),(function(e){return"or"+(1===e?"a":"e")}),(function(e){return"minut"+(1===e?"o":"i")}),(function(e){return"second"+(1===e?"o":"i")}),(function(e){return"millisecond"+(1===e?"o":"i")}),","),ja:l("年","ヶ月","週","日","時間","分","秒","ミリ秒"),km:l("ឆ្នាំ","ខែ","សប្តាហ៍","ថ្ងៃ","ម៉ោង","នាទី","វិនាទី","មិល្លីវិនាទី"),kn:l((function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"}),(function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"}),(function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"}),(function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"}),(function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"}),(function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"}),(function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"}),(function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"})),ko:l("년","개월","주일","일","시간","분","초","밀리 초"),ku:l("sal","meh","hefte","roj","seet","deqe","saniye","mîlîçirk",","),lo:l("ປີ","ເດືອນ","ອາທິດ","ມື້","ຊົ່ວໂມງ","ນາທີ","ວິນາທີ","ມິນລິວິນາທີ",","),lt:l((function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"}),(function(e){return["mėnuo","mėnesiai","mėnesių"][b(e)]}),(function(e){return["savaitė","savaitės","savaičių"][b(e)]}),(function(e){return["diena","dienos","dienų"][b(e)]}),(function(e){return["valanda","valandos","valandų"][b(e)]}),(function(e){return["minutė","minutės","minučių"][b(e)]}),(function(e){return["sekundė","sekundės","sekundžių"][b(e)]}),(function(e){return["milisekundė","milisekundės","milisekundžių"][b(e)]}),","),lv:l((function(e){return g(e)?"gads":"gadi"}),(function(e){return g(e)?"mēnesis":"mēneši"}),(function(e){return g(e)?"nedēļa":"nedēļas"}),(function(e){return g(e)?"diena":"dienas"}),(function(e){return g(e)?"stunda":"stundas"}),(function(e){return g(e)?"minūte":"minūtes"}),(function(e){return g(e)?"sekunde":"sekundes"}),(function(e){return g(e)?"milisekunde":"milisekundes"}),","),mk:l((function(e){return 1===e?"година":"години"}),(function(e){return 1===e?"месец":"месеци"}),(function(e){return 1===e?"недела":"недели"}),(function(e){return 1===e?"ден":"дена"}),(function(e){return 1===e?"час":"часа"}),(function(e){return 1===e?"минута":"минути"}),(function(e){return 1===e?"секунда":"секунди"}),(function(e){return 1===e?"милисекунда":"милисекунди"}),","),mn:l("жил","сар","долоо хоног","өдөр","цаг","минут","секунд","миллисекунд"),mr:l((function(e){return 1===e?"वर्ष":"वर्षे"}),(function(e){return 1===e?"महिना":"महिने"}),(function(e){return 1===e?"आठवडा":"आठवडे"}),"दिवस","तास",(function(e){return 1===e?"मिनिट":"मिनिटे"}),"सेकंद","मिलिसेकंद"),ms:l("tahun","bulan","minggu","hari","jam","minit","saat","milisaat"),nl:l("jaar",(function(e){return 1===e?"maand":"maanden"}),(function(e){return 1===e?"week":"weken"}),(function(e){return 1===e?"dag":"dagen"}),"uur",(function(e){return 1===e?"minuut":"minuten"}),(function(e){return 1===e?"seconde":"seconden"}),(function(e){return 1===e?"milliseconde":"milliseconden"}),","),no:l("år",(function(e){return"måned"+(1===e?"":"er")}),(function(e){return"uke"+(1===e?"":"r")}),(function(e){return"dag"+(1===e?"":"er")}),(function(e){return"time"+(1===e?"":"r")}),(function(e){return"minutt"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),pl:l((function(e){return["rok","roku","lata","lat"][c(e)]}),(function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][c(e)]}),(function(e){return["tydzień","tygodnia","tygodnie","tygodni"][c(e)]}),(function(e){return["dzień","dnia","dni","dni"][c(e)]}),(function(e){return["godzina","godziny","godziny","godzin"][c(e)]}),(function(e){return["minuta","minuty","minuty","minut"][c(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekund"][c(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][c(e)]}),","),pt:l((function(e){return"ano"+(1===e?"":"s")}),(function(e){return 1===e?"mês":"meses"}),(function(e){return"semana"+(1===e?"":"s")}),(function(e){return"dia"+(1===e?"":"s")}),(function(e){return"hora"+(1===e?"":"s")}),(function(e){return"minuto"+(1===e?"":"s")}),(function(e){return"segundo"+(1===e?"":"s")}),(function(e){return"milissegundo"+(1===e?"":"s")}),","),ro:l((function(e){return 1===e?"an":"ani"}),(function(e){return 1===e?"lună":"luni"}),(function(e){return 1===e?"săptămână":"săptămâni"}),(function(e){return 1===e?"zi":"zile"}),(function(e){return 1===e?"oră":"ore"}),(function(e){return 1===e?"minut":"minute"}),(function(e){return 1===e?"secundă":"secunde"}),(function(e){return 1===e?"milisecundă":"milisecunde"}),","),ru:l((function(e){return["лет","год","года"][u(e)]}),(function(e){return["месяцев","месяц","месяца"][u(e)]}),(function(e){return["недель","неделя","недели"][u(e)]}),(function(e){return["дней","день","дня"][u(e)]}),(function(e){return["часов","час","часа"][u(e)]}),(function(e){return["минут","минута","минуты"][u(e)]}),(function(e){return["секунд","секунда","секунды"][u(e)]}),(function(e){return["миллисекунд","миллисекунда","миллисекунды"][u(e)]}),","),sq:l((function(e){return 1===e?"vit":"vjet"}),"muaj","javë","ditë","orë",(function(e){return"minut"+(1===e?"ë":"a")}),(function(e){return"sekond"+(1===e?"ë":"a")}),(function(e){return"milisekond"+(1===e?"ë":"a")}),","),sr:l((function(e){return["години","година","године"][u(e)]}),(function(e){return["месеци","месец","месеца"][u(e)]}),(function(e){return["недељи","недеља","недеље"][u(e)]}),(function(e){return["дани","дан","дана"][u(e)]}),(function(e){return["сати","сат","сата"][u(e)]}),(function(e){return["минута","минут","минута"][u(e)]}),(function(e){return["секунди","секунда","секунде"][u(e)]}),(function(e){return["милисекунди","милисекунда","милисекунде"][u(e)]}),","),ta:l((function(e){return 1===e?"வருடம்":"ஆண்டுகள்"}),(function(e){return 1===e?"மாதம்":"மாதங்கள்"}),(function(e){return 1===e?"வாரம்":"வாரங்கள்"}),(function(e){return 1===e?"நாள்":"நாட்கள்"}),(function(e){return 1===e?"மணி":"மணிநேரம்"}),(function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")}),(function(e){return"வினாடி"+(1===e?"":"கள்")}),(function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")})),te:l((function(e){return"సంవత్స"+(1===e?"రం":"రాల")}),(function(e){return"నెల"+(1===e?"":"ల")}),(function(e){return 1===e?"వారం":"వారాలు"}),(function(e){return"రోజు"+(1===e?"":"లు")}),(function(e){return"గంట"+(1===e?"":"లు")}),(function(e){return 1===e?"నిమిషం":"నిమిషాలు"}),(function(e){return 1===e?"సెకను":"సెకన్లు"}),(function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"})),uk:l((function(e){return["років","рік","роки"][u(e)]}),(function(e){return["місяців","місяць","місяці"][u(e)]}),(function(e){return["тижнів","тиждень","тижні"][u(e)]}),(function(e){return["днів","день","дні"][u(e)]}),(function(e){return["годин","година","години"][u(e)]}),(function(e){return["хвилин","хвилина","хвилини"][u(e)]}),(function(e){return["секунд","секунда","секунди"][u(e)]}),(function(e){return["мілісекунд","мілісекунда","мілісекунди"][u(e)]}),","),ur:l("سال",(function(e){return 1===e?"مہینہ":"مہینے"}),(function(e){return 1===e?"ہفتہ":"ہفتے"}),"دن",(function(e){return 1===e?"گھنٹہ":"گھنٹے"}),"منٹ","سیکنڈ","ملی سیکنڈ"),sk:l((function(e){return["rok","roky","roky","rokov"][p(e)]}),(function(e){return["mesiac","mesiace","mesiace","mesiacov"][p(e)]}),(function(e){return["týždeň","týždne","týždne","týždňov"][p(e)]}),(function(e){return["deň","dni","dni","dní"][p(e)]}),(function(e){return["hodina","hodiny","hodiny","hodín"][p(e)]}),(function(e){return["minúta","minúty","minúty","minút"][p(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekúnd"][p(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][p(e)]}),","),sl:l((function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"}),(function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"}),(function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"}),(function(e){return e%100==1?"dan":"dni"}),(function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"}),(function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"}),(function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"}),(function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"}),","),sv:l("år",(function(e){return"månad"+(1===e?"":"er")}),(function(e){return"veck"+(1===e?"a":"or")}),(function(e){return"dag"+(1===e?"":"ar")}),(function(e){return"timm"+(1===e?"e":"ar")}),(function(e){return"minut"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),sw:n(l((function(e){return 1===e?"mwaka":"miaka"}),(function(e){return 1===e?"mwezi":"miezi"}),"wiki",(function(e){return 1===e?"siku":"masiku"}),(function(e){return 1===e?"saa":"masaa"}),"dakika","sekunde","milisekunde"),{_numberFirst:!0}),tr:l("yıl","ay","hafta","gün","saat","dakika","saniye","milisaniye",","),th:l("ปี","เดือน","สัปดาห์","วัน","ชั่วโมง","นาที","วินาที","มิลลิวินาที"),uz:l("yil","oy","hafta","kun","soat","minut","sekund","millisekund"),uz_CYR:l("йил","ой","ҳафта","кун","соат","минут","секунд","миллисекунд"),vi:l("năm","tháng","tuần","ngày","giờ","phút","giây","mili giây",","),zh_CN:l("年","个月","周","天","小时","分钟","秒","毫秒"),zh_TW:l("年","個月","周","天","小時","分鐘","秒","毫秒")};function l(e,a,i,t,n,o,r,s,l){var d={y:e,mo:a,w:i,d:t,h:n,m:o,s:r,ms:s};return void 0!==l&&(d.decimal=l),d}function d(e){return 2===e?1:e>2&&e<11?2:0}function c(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function p(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function b(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function g(e){return e%10==1&&e%100!=11}function m(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function h(e,a,i){var t,n,o,r=e.unitName,s=e.unitCount,l=i.spacer,d=i.maxDecimalPoints;t=m(i,"decimal")?i.decimal:m(a,"decimal")?a.decimal:".","digitReplacements"in i?n=i.digitReplacements:"_digitReplacements"in a&&(n=a._digitReplacements);var c=(void 0===d?s:Math.floor(s*Math.pow(10,d))/Math.pow(10,d)).toString();if(a._hideCountIf2&&2===s)o="",l="";else if(n){o="";for(var u=0;u=0;t--)if(0!==(n=d[i=r[t]])){var m=Math.round(n);if(d[i]=m,0===t)break;var h=r[t-1],k=s[h],v=Math.floor(m*s[i]/k);if(!v)break;d[h]+=v,d[i]=0}}var f=[];for(t=0;t{},94045:()=>{},19481:(e,a,i)=>{"use strict"; +e.exports=function(){"use strict";function e(e,a){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),i.push.apply(i,t)}return i}function a(a){for(var i=1;i0&&e<1/0},g=Array.prototype.slice;function h(e){return Array.from?Array.from(e):g.call(e)}var k=/^image\/.+$/;function v(e){return k.test(e)}function f(e){var a=v(e)?e.substr(6):"";return"jpeg"===a&&(a="jpg"),".".concat(a)}var y=String.fromCharCode;function w(e,a,i){var t,n="";for(i+=a,t=a;t0;)i.push(y.apply(null,h(n.subarray(0,t)))),n=n.subarray(t);return"data:".concat(a,";base64,").concat(S(i.join("")))}function A(e){var a,i=new DataView(e);try{var t,n,r;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var o=i.byteLength,s=2;s+1=8&&(r=l+c)}}}if(r){var u,p,m=i.getUint16(r,t);for(p=0;p1&&void 0!==arguments[1]?arguments[1]:1e11;return P.test(e)?Math.round(e*a)/a:e}function C(e){var a=e.aspectRatio,i=e.height,t=e.width,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",r=b(t),o=b(i);if(r&&o){var s=i*a;("contain"===n||"none"===n)&&s>t||"cover"===n&&s1&&o(l,z(d)),s&&(e.exif=x(n)),l.url=r||s?!I||d>1?T(n,t):I.createObjectURL(a):n,e.load(l)},l.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},l.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},l.onloadend=function(){e.reader=null},r||s?l.readAsArrayBuffer(a):l.readAsDataURL(a)}else this.load({url:I.createObjectURL(a)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var i=this,t=this.file,n=this.image;n.onload=function(){i.draw(a(a({},e),{},{naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}))},n.onabort=function(){i.fail(new Error("Aborted to load the image."))},n.onerror=function(){i.fail(new Error("Failed to load the image."))},m.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(m.navigator.userAgent)&&(n.crossOrigin="anonymous"),n.alt=t.name,n.src=e.url}},{key:"draw",value:function(e){var a=this,i=e.naturalWidth,t=e.naturalHeight,n=e.rotate,r=void 0===n?0:n,o=e.scaleX,s=void 0===o?1:o,l=e.scaleY,d=void 0===l?1:l,u=this.file,p=this.image,m=this.options,g=document.createElement("canvas"),h=g.getContext("2d"),k=Math.abs(r)%180==90,f=("contain"===m.resize||"cover"===m.resize)&&b(m.width)&&b(m.height),y=Math.max(m.maxWidth,0)||1/0,w=Math.max(m.maxHeight,0)||1/0,S=Math.max(m.minWidth,0)||0,A=Math.max(m.minHeight,0)||0,z=i/t,P=m.width,x=m.height;if(k){var O=[w,y];y=O[0],w=O[1];var I=[A,S];S=I[0],A=I[1];var B=[x,P];P=B[0],x=B[1]}f&&(z=P/x);var L=C({aspectRatio:z,width:y,height:w},"contain");y=L.width,w=L.height;var R=C({aspectRatio:z,width:S,height:A},"cover");if(S=R.width,A=R.height,f){var N=C({aspectRatio:z,width:P,height:x},m.resize);P=N.width,x=N.height}else{var E=C({aspectRatio:z,width:P,height:x}),F=E.width;P=void 0===F?i:F;var _=E.height;x=void 0===_?t:_}var W=-(P=Math.floor(j(Math.min(Math.max(P,S),y))))/2,U=-(x=Math.floor(j(Math.min(Math.max(x,A),w))))/2,G=P,K=x,V=[];if(f){var q=0,H=0,$=i,J=t,Q=C({aspectRatio:z,width:i,height:t},{contain:"cover",cover:"contain"}[m.resize]);$=Q.width,J=Q.height,q=(i-$)/2,H=(t-J)/2,V.push(q,H,$,J)}if(V.push(W,U,G,K),k){var Z=[x,P];P=Z[0],x=Z[1]}g.width=P,g.height=x,v(m.mimeType)||(m.mimeType=u.type);var Y="transparent";u.size>m.convertSize&&m.convertTypes.indexOf(m.mimeType)>=0&&(m.mimeType="image/jpeg");var X="image/jpeg"===m.mimeType;if(X&&(Y="#fff"),h.fillStyle=Y,h.fillRect(0,0,P,x),m.beforeDraw&&m.beforeDraw.call(this,h,g),!this.aborted&&(h.save(),h.translate(P/2,x/2),h.rotate(r*Math.PI/180),h.scale(s,d),h.drawImage.apply(h,[p].concat(V)),h.restore(),m.drew&&m.drew.call(this,h,g),!this.aborted)){var ee=function(e){if(!a.aborted){var n=function(e){return a.done({naturalWidth:i,naturalHeight:t,result:e})};if(e&&X&&m.retainExif&&a.exif&&a.exif.length>0){var r=function(e){return n(c(T(D(e,a.exif),m.mimeType)))};if(e.arrayBuffer)e.arrayBuffer().then(r).catch((function(){a.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))}));else{var o=new M;a.reader=o,o.onload=function(e){var a=e.target;r(a.result)},o.onabort=function(){a.fail(new Error("Aborted to read the compressed image with FileReader."))},o.onerror=function(){a.fail(new Error("Failed to read the compressed image with FileReader."))},o.onloadend=function(){a.reader=null},o.readAsArrayBuffer(e)}}else n(e)}};g.toBlob?g.toBlob(ee,m.mimeType,m.quality):ee(c(g.toDataURL(m.mimeType,m.quality)))}}},{key:"done",value:function(e){var a=e.naturalWidth,i=e.naturalHeight,t=e.result,n=this.file,r=this.image,o=this.options;if(I&&0===r.src.indexOf("blob:")&&I.revokeObjectURL(r.src),t)if(o.strict&&!o.retainExif&&t.size>n.size&&o.mimeType===n.type&&!(o.width>a||o.height>i||o.minWidth>a||o.minHeight>i||o.maxWidth{"use strict";var t=i(35959),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return t.isMemo(e)?o:s[e.$$typeof]||n}s[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[t.Memo]=o;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,b=Object.prototype;e.exports=function e(a,i,t){if("string"!=typeof i){if(b){var n=m(i);n&&n!==b&&e(a,n,t)}var o=c(i);u&&(o=o.concat(u(i)));for(var s=l(a),g=l(i),h=0;h{var t;!function(){var n=Object.assign||function(e){for(var a,i=1;i=2?"s":"")}),"mois",(function(e){return"semaine"+(e>=2?"s":"")}),(function(e){return"jour"+(e>=2?"s":"")}),(function(e){return"heure"+(e>=2?"s":"")}),(function(e){return"minute"+(e>=2?"s":"")}),(function(e){return"seconde"+(e>=2?"s":"")}),(function(e){return"milliseconde"+(e>=2?"s":"")}),","),gr:o,he:l((function(e){return 1===e?"שנה":"שנים"}),(function(e){return 1===e?"חודש":"חודשים"}),(function(e){return 1===e?"שבוע":"שבועות"}),(function(e){return 1===e?"יום":"ימים"}),(function(e){return 1===e?"שעה":"שעות"}),(function(e){return 1===e?"דקה":"דקות"}),(function(e){return 1===e?"שניה":"שניות"}),(function(e){return 1===e?"מילישנייה":"מילישניות"})),hr:l((function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"}),(function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"}),(function(e){return e%10==1&&11!==e?"tjedan":"tjedna"}),(function(e){return 1===e?"dan":"dana"}),(function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"}),(function(e){var a=e%10;return 2!==a&&3!==a&&4!==a||!(e<10||e>14)?"minuta":"minute"}),(function(e){var a=e%10;return 5===a||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi"}),(function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"}),","),hi:l("साल",(function(e){return 1===e?"महीना":"महीने"}),(function(e){return 1===e?"हफ़्ता":"हफ्ते"}),"दिन",(function(e){return 1===e?"घंटा":"घंटे"}),"मिनट","सेकंड","मिलीसेकंड"),hu:l("év","hónap","hét","nap","óra","perc","másodperc","ezredmásodperc",","),id:l("tahun","bulan","minggu","hari","jam","menit","detik","milidetik"),is:l("ár",(function(e){return"mánuð"+(1===e?"ur":"ir")}),(function(e){return"vik"+(1===e?"a":"ur")}),(function(e){return"dag"+(1===e?"ur":"ar")}),(function(e){return"klukkutím"+(1===e?"i":"ar")}),(function(e){return"mínút"+(1===e?"a":"ur")}),(function(e){return"sekúnd"+(1===e?"a":"ur")}),(function(e){return"millisekúnd"+(1===e?"a":"ur")})),it:l((function(e){return"ann"+(1===e?"o":"i")}),(function(e){return"mes"+(1===e?"e":"i")}),(function(e){return"settiman"+(1===e?"a":"e")}),(function(e){return"giorn"+(1===e?"o":"i")}),(function(e){return"or"+(1===e?"a":"e")}),(function(e){return"minut"+(1===e?"o":"i")}),(function(e){return"second"+(1===e?"o":"i")}),(function(e){return"millisecond"+(1===e?"o":"i")}),","),ja:l("年","ヶ月","週","日","時間","分","秒","ミリ秒"),km:l("ឆ្នាំ","ខែ","សប្តាហ៍","ថ្ងៃ","ម៉ោង","នាទី","វិនាទី","មិល្លីវិនាទី"),kn:l((function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"}),(function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"}),(function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"}),(function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"}),(function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"}),(function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"}),(function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"}),(function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"})),ko:l("년","개월","주일","일","시간","분","초","밀리 초"),ku:l("sal","meh","hefte","roj","seet","deqe","saniye","mîlîçirk",","),lo:l("ປີ","ເດືອນ","ອາທິດ","ມື້","ຊົ່ວໂມງ","ນາທີ","ວິນາທີ","ມິນລິວິນາທີ",","),lt:l((function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"}),(function(e){return["mėnuo","mėnesiai","mėnesių"][m(e)]}),(function(e){return["savaitė","savaitės","savaičių"][m(e)]}),(function(e){return["diena","dienos","dienų"][m(e)]}),(function(e){return["valanda","valandos","valandų"][m(e)]}),(function(e){return["minutė","minutės","minučių"][m(e)]}),(function(e){return["sekundė","sekundės","sekundžių"][m(e)]}),(function(e){return["milisekundė","milisekundės","milisekundžių"][m(e)]}),","),lv:l((function(e){return b(e)?"gads":"gadi"}),(function(e){return b(e)?"mēnesis":"mēneši"}),(function(e){return b(e)?"nedēļa":"nedēļas"}),(function(e){return b(e)?"diena":"dienas"}),(function(e){return b(e)?"stunda":"stundas"}),(function(e){return b(e)?"minūte":"minūtes"}),(function(e){return b(e)?"sekunde":"sekundes"}),(function(e){return b(e)?"milisekunde":"milisekundes"}),","),mk:l((function(e){return 1===e?"година":"години"}),(function(e){return 1===e?"месец":"месеци"}),(function(e){return 1===e?"недела":"недели"}),(function(e){return 1===e?"ден":"дена"}),(function(e){return 1===e?"час":"часа"}),(function(e){return 1===e?"минута":"минути"}),(function(e){return 1===e?"секунда":"секунди"}),(function(e){return 1===e?"милисекунда":"милисекунди"}),","),mn:l("жил","сар","долоо хоног","өдөр","цаг","минут","секунд","миллисекунд"),mr:l((function(e){return 1===e?"वर्ष":"वर्षे"}),(function(e){return 1===e?"महिना":"महिने"}),(function(e){return 1===e?"आठवडा":"आठवडे"}),"दिवस","तास",(function(e){return 1===e?"मिनिट":"मिनिटे"}),"सेकंद","मिलिसेकंद"),ms:l("tahun","bulan","minggu","hari","jam","minit","saat","milisaat"),nl:l("jaar",(function(e){return 1===e?"maand":"maanden"}),(function(e){return 1===e?"week":"weken"}),(function(e){return 1===e?"dag":"dagen"}),"uur",(function(e){return 1===e?"minuut":"minuten"}),(function(e){return 1===e?"seconde":"seconden"}),(function(e){return 1===e?"milliseconde":"milliseconden"}),","),no:l("år",(function(e){return"måned"+(1===e?"":"er")}),(function(e){return"uke"+(1===e?"":"r")}),(function(e){return"dag"+(1===e?"":"er")}),(function(e){return"time"+(1===e?"":"r")}),(function(e){return"minutt"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),pl:l((function(e){return["rok","roku","lata","lat"][c(e)]}),(function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][c(e)]}),(function(e){return["tydzień","tygodnia","tygodnie","tygodni"][c(e)]}),(function(e){return["dzień","dnia","dni","dni"][c(e)]}),(function(e){return["godzina","godziny","godziny","godzin"][c(e)]}),(function(e){return["minuta","minuty","minuty","minut"][c(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekund"][c(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][c(e)]}),","),pt:l((function(e){return"ano"+(1===e?"":"s")}),(function(e){return 1===e?"mês":"meses"}),(function(e){return"semana"+(1===e?"":"s")}),(function(e){return"dia"+(1===e?"":"s")}),(function(e){return"hora"+(1===e?"":"s")}),(function(e){return"minuto"+(1===e?"":"s")}),(function(e){return"segundo"+(1===e?"":"s")}),(function(e){return"milissegundo"+(1===e?"":"s")}),","),ro:l((function(e){return 1===e?"an":"ani"}),(function(e){return 1===e?"lună":"luni"}),(function(e){return 1===e?"săptămână":"săptămâni"}),(function(e){return 1===e?"zi":"zile"}),(function(e){return 1===e?"oră":"ore"}),(function(e){return 1===e?"minut":"minute"}),(function(e){return 1===e?"secundă":"secunde"}),(function(e){return 1===e?"milisecundă":"milisecunde"}),","),ru:l((function(e){return["лет","год","года"][u(e)]}),(function(e){return["месяцев","месяц","месяца"][u(e)]}),(function(e){return["недель","неделя","недели"][u(e)]}),(function(e){return["дней","день","дня"][u(e)]}),(function(e){return["часов","час","часа"][u(e)]}),(function(e){return["минут","минута","минуты"][u(e)]}),(function(e){return["секунд","секунда","секунды"][u(e)]}),(function(e){return["миллисекунд","миллисекунда","миллисекунды"][u(e)]}),","),sq:l((function(e){return 1===e?"vit":"vjet"}),"muaj","javë","ditë","orë",(function(e){return"minut"+(1===e?"ë":"a")}),(function(e){return"sekond"+(1===e?"ë":"a")}),(function(e){return"milisekond"+(1===e?"ë":"a")}),","),sr:l((function(e){return["години","година","године"][u(e)]}),(function(e){return["месеци","месец","месеца"][u(e)]}),(function(e){return["недељи","недеља","недеље"][u(e)]}),(function(e){return["дани","дан","дана"][u(e)]}),(function(e){return["сати","сат","сата"][u(e)]}),(function(e){return["минута","минут","минута"][u(e)]}),(function(e){return["секунди","секунда","секунде"][u(e)]}),(function(e){return["милисекунди","милисекунда","милисекунде"][u(e)]}),","),ta:l((function(e){return 1===e?"வருடம்":"ஆண்டுகள்"}),(function(e){return 1===e?"மாதம்":"மாதங்கள்"}),(function(e){return 1===e?"வாரம்":"வாரங்கள்"}),(function(e){return 1===e?"நாள்":"நாட்கள்"}),(function(e){return 1===e?"மணி":"மணிநேரம்"}),(function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")}),(function(e){return"வினாடி"+(1===e?"":"கள்")}),(function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")})),te:l((function(e){return"సంవత్స"+(1===e?"రం":"రాల")}),(function(e){return"నెల"+(1===e?"":"ల")}),(function(e){return 1===e?"వారం":"వారాలు"}),(function(e){return"రోజు"+(1===e?"":"లు")}),(function(e){return"గంట"+(1===e?"":"లు")}),(function(e){return 1===e?"నిమిషం":"నిమిషాలు"}),(function(e){return 1===e?"సెకను":"సెకన్లు"}),(function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"})),uk:l((function(e){return["років","рік","роки"][u(e)]}),(function(e){return["місяців","місяць","місяці"][u(e)]}),(function(e){return["тижнів","тиждень","тижні"][u(e)]}),(function(e){return["днів","день","дні"][u(e)]}),(function(e){return["годин","година","години"][u(e)]}),(function(e){return["хвилин","хвилина","хвилини"][u(e)]}),(function(e){return["секунд","секунда","секунди"][u(e)]}),(function(e){return["мілісекунд","мілісекунда","мілісекунди"][u(e)]}),","),ur:l("سال",(function(e){return 1===e?"مہینہ":"مہینے"}),(function(e){return 1===e?"ہفتہ":"ہفتے"}),"دن",(function(e){return 1===e?"گھنٹہ":"گھنٹے"}),"منٹ","سیکنڈ","ملی سیکنڈ"),sk:l((function(e){return["rok","roky","roky","rokov"][p(e)]}),(function(e){return["mesiac","mesiace","mesiace","mesiacov"][p(e)]}),(function(e){return["týždeň","týždne","týždne","týždňov"][p(e)]}),(function(e){return["deň","dni","dni","dní"][p(e)]}),(function(e){return["hodina","hodiny","hodiny","hodín"][p(e)]}),(function(e){return["minúta","minúty","minúty","minút"][p(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekúnd"][p(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][p(e)]}),","),sl:l((function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"}),(function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"}),(function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"}),(function(e){return e%100==1?"dan":"dni"}),(function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"}),(function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"}),(function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"}),(function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"}),","),sv:l("år",(function(e){return"månad"+(1===e?"":"er")}),(function(e){return"veck"+(1===e?"a":"or")}),(function(e){return"dag"+(1===e?"":"ar")}),(function(e){return"timm"+(1===e?"e":"ar")}),(function(e){return"minut"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),sw:n(l((function(e){return 1===e?"mwaka":"miaka"}),(function(e){return 1===e?"mwezi":"miezi"}),"wiki",(function(e){return 1===e?"siku":"masiku"}),(function(e){return 1===e?"saa":"masaa"}),"dakika","sekunde","milisekunde"),{_numberFirst:!0}),tr:l("yıl","ay","hafta","gün","saat","dakika","saniye","milisaniye",","),th:l("ปี","เดือน","สัปดาห์","วัน","ชั่วโมง","นาที","วินาที","มิลลิวินาที"),uz:l("yil","oy","hafta","kun","soat","minut","sekund","millisekund"),uz_CYR:l("йил","ой","ҳафта","кун","соат","минут","секунд","миллисекунд"),vi:l("năm","tháng","tuần","ngày","giờ","phút","giây","mili giây",","),zh_CN:l("年","个月","周","天","小时","分钟","秒","毫秒"),zh_TW:l("年","個月","周","天","小時","分鐘","秒","毫秒")};function l(e,a,i,t,n,r,o,s,l){var d={y:e,mo:a,w:i,d:t,h:n,m:r,s:o,ms:s};return void 0!==l&&(d.decimal=l),d}function d(e){return 2===e?1:e>2&&e<11?2:0}function c(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function p(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function m(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function b(e){return e%10==1&&e%100!=11}function g(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function h(e,a,i){var t,n,r,o=e.unitName,s=e.unitCount,l=i.spacer,d=i.maxDecimalPoints;t=g(i,"decimal")?i.decimal:g(a,"decimal")?a.decimal:".","digitReplacements"in i?n=i.digitReplacements:"_digitReplacements"in a&&(n=a._digitReplacements);var c=(void 0===d?s:Math.floor(s*Math.pow(10,d))/Math.pow(10,d)).toString();if(a._hideCountIf2&&2===s)r="",l="";else if(n){r="";for(var u=0;u=0;t--)if(0!==(n=d[i=o[t]])){var g=Math.round(n);if(d[i]=g,0===t)break;var h=o[t-1],k=s[h],v=Math.floor(g*s[i]/k);if(!v)break;d[h]+=v,d[i]=0}}var f=[];for(t=0;t{},99212:()=>{},19481:(e,a,i)=>{"use strict"; /** * @license React * react-dom.production.min.js @@ -181,7 +181,7 @@ e.exports=function(){"use strict";function e(e,a){var i=Object.keys(e);if(Object * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var t=i(30758),n=i(31896);function o(e){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i